@newfold/huapi-js 2.1795.0 → 2.1805.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 +250 -1
- package/src/index.js +201 -1
- package/src/index.msw.d.ts +17 -1
- package/src/index.msw.js +100 -4
- package/src/index.schemas.d.ts +344 -122
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.1805.0
|
|
7
7
|
*/
|
|
8
8
|
export declare type SshKeyListV4200RowsItem = {
|
|
9
9
|
authorize?: boolean;
|
|
@@ -268,12 +268,6 @@ export declare type SiteMalwareStatusV2200 = {
|
|
|
268
268
|
*/
|
|
269
269
|
scanner_state?: string | null;
|
|
270
270
|
};
|
|
271
|
-
export declare type SitesDomainsV2200 = {
|
|
272
|
-
domains: SitesDomainsV2200DomainsItem[];
|
|
273
|
-
limit?: number;
|
|
274
|
-
page?: number;
|
|
275
|
-
total?: number;
|
|
276
|
-
};
|
|
277
271
|
/**
|
|
278
272
|
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
279
273
|
* @nullable
|
|
@@ -410,6 +404,12 @@ export declare type SitesDomainsV2200DomainsItem = {
|
|
|
410
404
|
*/
|
|
411
405
|
used_entri?: number | null;
|
|
412
406
|
};
|
|
407
|
+
export declare type SitesDomainsV2200 = {
|
|
408
|
+
domains: SitesDomainsV2200DomainsItem[];
|
|
409
|
+
limit?: number;
|
|
410
|
+
page?: number;
|
|
411
|
+
total?: number;
|
|
412
|
+
};
|
|
413
413
|
export declare type SitesDomainsV2Params = {
|
|
414
414
|
scan?: boolean;
|
|
415
415
|
};
|
|
@@ -933,12 +933,6 @@ export declare type HostingDomainsUnassignV2Body = {
|
|
|
933
933
|
/** The site id to be unassigned */
|
|
934
934
|
site_id: number;
|
|
935
935
|
};
|
|
936
|
-
export declare type HostingDomainsV2200 = {
|
|
937
|
-
domains: HostingDomainsV2200DomainsItem[];
|
|
938
|
-
limit?: number;
|
|
939
|
-
page?: number;
|
|
940
|
-
total?: number;
|
|
941
|
-
};
|
|
942
936
|
/**
|
|
943
937
|
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
944
938
|
* @nullable
|
|
@@ -1075,6 +1069,12 @@ export declare type HostingDomainsV2200DomainsItem = {
|
|
|
1075
1069
|
*/
|
|
1076
1070
|
used_entri?: number | null;
|
|
1077
1071
|
};
|
|
1072
|
+
export declare type HostingDomainsV2200 = {
|
|
1073
|
+
domains: HostingDomainsV2200DomainsItem[];
|
|
1074
|
+
limit?: number;
|
|
1075
|
+
page?: number;
|
|
1076
|
+
total?: number;
|
|
1077
|
+
};
|
|
1078
1078
|
export declare type HostingDomainsV2TypesItem = typeof HostingDomainsV2TypesItem[keyof typeof HostingDomainsV2TypesItem];
|
|
1079
1079
|
export declare const HostingDomainsV2TypesItem: {
|
|
1080
1080
|
readonly addon: "addon";
|
|
@@ -1230,6 +1230,43 @@ export declare type AddonsSitelockSsoV2Params = {
|
|
|
1230
1230
|
*/
|
|
1231
1231
|
source?: string;
|
|
1232
1232
|
};
|
|
1233
|
+
export declare type AllUserMonarxDetails200RowsItem = {
|
|
1234
|
+
/** Addon ID of the Monarx addon */
|
|
1235
|
+
addon_id: number;
|
|
1236
|
+
/**
|
|
1237
|
+
* Domain ID registered with Monarx
|
|
1238
|
+
* @nullable
|
|
1239
|
+
*/
|
|
1240
|
+
domain_id?: number | null;
|
|
1241
|
+
/** Domain name registered with Monarx */
|
|
1242
|
+
domain_name: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* Malware signal health status
|
|
1245
|
+
* @nullable
|
|
1246
|
+
*/
|
|
1247
|
+
health_status?: string | null;
|
|
1248
|
+
/** Hosting ID of the account */
|
|
1249
|
+
hosting_id: string;
|
|
1250
|
+
/**
|
|
1251
|
+
* Timestamp of last completed scan
|
|
1252
|
+
* @nullable
|
|
1253
|
+
*/
|
|
1254
|
+
last_scan_completed_at?: string | null;
|
|
1255
|
+
/**
|
|
1256
|
+
* Monarx plan purchased
|
|
1257
|
+
* @nullable
|
|
1258
|
+
*/
|
|
1259
|
+
plan?: string | null;
|
|
1260
|
+
/**
|
|
1261
|
+
* Hosting product name
|
|
1262
|
+
* @nullable
|
|
1263
|
+
*/
|
|
1264
|
+
prod_name?: string | null;
|
|
1265
|
+
};
|
|
1266
|
+
export declare type AllUserMonarxDetails200 = {
|
|
1267
|
+
/** Flattened list of Monarx addon records per domain */
|
|
1268
|
+
rows: AllUserMonarxDetails200RowsItem[];
|
|
1269
|
+
};
|
|
1233
1270
|
export declare type UserHostingOverview200 = {
|
|
1234
1271
|
/** Whether one (or more) of the hosting accounts manageable by this user allows unlimited sites */
|
|
1235
1272
|
has_unlimited_sites?: boolean;
|
|
@@ -1244,6 +1281,10 @@ export declare type UserHostingOverviewParams = {
|
|
|
1244
1281
|
*/
|
|
1245
1282
|
limit?: number;
|
|
1246
1283
|
};
|
|
1284
|
+
export declare type UserHosting200 = {
|
|
1285
|
+
/** Information for the paginated hosting accounts */
|
|
1286
|
+
rows?: UserHosting200RowsItem[];
|
|
1287
|
+
};
|
|
1247
1288
|
/**
|
|
1248
1289
|
* Usage statistics for staging sites
|
|
1249
1290
|
* @nullable
|
|
@@ -1439,10 +1480,6 @@ export declare type UserHosting200RowsItem = {
|
|
|
1439
1480
|
*/
|
|
1440
1481
|
used_stage?: UserHosting200RowsItemUsedStage;
|
|
1441
1482
|
};
|
|
1442
|
-
export declare type UserHosting200 = {
|
|
1443
|
-
/** Information for the paginated hosting accounts */
|
|
1444
|
-
rows?: UserHosting200RowsItem[];
|
|
1445
|
-
};
|
|
1446
1483
|
/**
|
|
1447
1484
|
* Region information for the account
|
|
1448
1485
|
* @nullable
|
|
@@ -2035,6 +2072,9 @@ export declare type SiteQualityMetrics200Audits = {
|
|
|
2035
2072
|
export declare type SiteQualityMetrics200AspectScores = {
|
|
2036
2073
|
performance?: number;
|
|
2037
2074
|
};
|
|
2075
|
+
export declare type SiteQualityMetrics200AspectDetails = {
|
|
2076
|
+
performance?: SiteQualityMetrics200AspectDetailsPerformance;
|
|
2077
|
+
};
|
|
2038
2078
|
export declare type SiteQualityMetrics200 = {
|
|
2039
2079
|
aspect_details: SiteQualityMetrics200AspectDetails;
|
|
2040
2080
|
aspect_scores: SiteQualityMetrics200AspectScores;
|
|
@@ -2065,9 +2105,6 @@ export declare type SiteQualityMetrics200AspectDetailsPerformance = {
|
|
|
2065
2105
|
'speed-index'?: SiteQualityMetrics200AspectDetailsPerformanceSpeedIndex;
|
|
2066
2106
|
'total-blocking-time'?: SiteQualityMetrics200AspectDetailsPerformanceTotalBlockingTime;
|
|
2067
2107
|
};
|
|
2068
|
-
export declare type SiteQualityMetrics200AspectDetails = {
|
|
2069
|
-
performance?: SiteQualityMetrics200AspectDetailsPerformance;
|
|
2070
|
-
};
|
|
2071
2108
|
export declare type SiteQualityMetricsStrategy = typeof SiteQualityMetricsStrategy[keyof typeof SiteQualityMetricsStrategy];
|
|
2072
2109
|
export declare const SiteQualityMetricsStrategy: {
|
|
2073
2110
|
readonly MOBILE: "MOBILE";
|
|
@@ -2157,6 +2194,28 @@ export declare type CreatePhpInfo200 = {
|
|
|
2157
2194
|
/** html file content */
|
|
2158
2195
|
html?: string;
|
|
2159
2196
|
};
|
|
2197
|
+
export declare type SitesPerformanceScansAdd200 = {
|
|
2198
|
+
[key: string]: unknown;
|
|
2199
|
+
};
|
|
2200
|
+
export declare type SitesPerformanceScansAddBody = {
|
|
2201
|
+
scan_now?: boolean;
|
|
2202
|
+
};
|
|
2203
|
+
export declare type SitesPerformanceScans200 = {
|
|
2204
|
+
[key: string]: unknown;
|
|
2205
|
+
};
|
|
2206
|
+
export declare type SitesPerformanceScansList200Meta = {
|
|
2207
|
+
page?: number;
|
|
2208
|
+
per_page?: number;
|
|
2209
|
+
total?: number;
|
|
2210
|
+
};
|
|
2211
|
+
export declare type SitesPerformanceScansList200 = {
|
|
2212
|
+
data?: PerformanceScanResultItemModel[];
|
|
2213
|
+
meta?: SitesPerformanceScansList200Meta;
|
|
2214
|
+
};
|
|
2215
|
+
export declare type SitesPerformanceScansListParams = {
|
|
2216
|
+
page?: number;
|
|
2217
|
+
per_page?: number;
|
|
2218
|
+
};
|
|
2160
2219
|
export declare type SitesPerformanceRedisPurge200 = {
|
|
2161
2220
|
[key: string]: unknown;
|
|
2162
2221
|
};
|
|
@@ -2221,13 +2280,6 @@ export declare type SitePendingDomainDelete200 = {
|
|
|
2221
2280
|
export declare type SitesOnboardingSteps200 = {
|
|
2222
2281
|
steps?: SiteOnboardingStepModel[];
|
|
2223
2282
|
};
|
|
2224
|
-
export declare type SitesMetricDimensions200 = {
|
|
2225
|
-
date_end?: string;
|
|
2226
|
-
date_start?: string;
|
|
2227
|
-
dimensions?: SitesMetricDimensions200Dimensions;
|
|
2228
|
-
elapsed?: number;
|
|
2229
|
-
metric?: string;
|
|
2230
|
-
};
|
|
2231
2283
|
export declare type SitesMetricDimensions200DimensionsWpAdminAjaxActionItemDimension = {
|
|
2232
2284
|
[key: string]: number;
|
|
2233
2285
|
};
|
|
@@ -2235,6 +2287,25 @@ export declare type SitesMetricDimensions200DimensionsWpAdminAjaxActionItem = {
|
|
|
2235
2287
|
dimension?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItemDimension;
|
|
2236
2288
|
timestamp?: number;
|
|
2237
2289
|
};
|
|
2290
|
+
export declare type SitesMetricDimensions200Dimensions = {
|
|
2291
|
+
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
2292
|
+
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
2293
|
+
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
2294
|
+
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
2295
|
+
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
2296
|
+
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
2297
|
+
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
2298
|
+
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
2299
|
+
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
2300
|
+
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
2301
|
+
};
|
|
2302
|
+
export declare type SitesMetricDimensions200 = {
|
|
2303
|
+
date_end?: string;
|
|
2304
|
+
date_start?: string;
|
|
2305
|
+
dimensions?: SitesMetricDimensions200Dimensions;
|
|
2306
|
+
elapsed?: number;
|
|
2307
|
+
metric?: string;
|
|
2308
|
+
};
|
|
2238
2309
|
export declare type SitesMetricDimensions200DimensionsVisitorIsCrawlerItemDimension = {
|
|
2239
2310
|
[key: string]: number;
|
|
2240
2311
|
};
|
|
@@ -2298,18 +2369,6 @@ export declare type SitesMetricDimensions200DimensionsHttpHostItem = {
|
|
|
2298
2369
|
dimension?: SitesMetricDimensions200DimensionsHttpHostItemDimension;
|
|
2299
2370
|
timestamp?: number;
|
|
2300
2371
|
};
|
|
2301
|
-
export declare type SitesMetricDimensions200Dimensions = {
|
|
2302
|
-
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
2303
|
-
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
2304
|
-
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
2305
|
-
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
2306
|
-
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
2307
|
-
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
2308
|
-
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
2309
|
-
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
2310
|
-
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
2311
|
-
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
2312
|
-
};
|
|
2313
2372
|
export declare type SitesMetricDimensionsParams = {
|
|
2314
2373
|
start?: string;
|
|
2315
2374
|
end?: string;
|
|
@@ -2798,6 +2857,13 @@ export declare type SiteUpdateBody = {
|
|
|
2798
2857
|
/** Number of PHP workers */
|
|
2799
2858
|
workers?: number;
|
|
2800
2859
|
};
|
|
2860
|
+
/**
|
|
2861
|
+
* @nullable
|
|
2862
|
+
*/
|
|
2863
|
+
export declare type SitesInfo200WpMultiSite = {
|
|
2864
|
+
canonicalize_aliases?: boolean;
|
|
2865
|
+
enable?: boolean;
|
|
2866
|
+
} | null;
|
|
2801
2867
|
/**
|
|
2802
2868
|
* @nullable
|
|
2803
2869
|
*/
|
|
@@ -2970,6 +3036,8 @@ export declare type SitesInfo200 = {
|
|
|
2970
3036
|
* @nullable
|
|
2971
3037
|
*/
|
|
2972
3038
|
version_ptr?: string | null;
|
|
3039
|
+
/** @nullable */
|
|
3040
|
+
wp_multi_site?: SitesInfo200WpMultiSite;
|
|
2973
3041
|
};
|
|
2974
3042
|
export declare type HostingVisitors200VisitorsItem = {
|
|
2975
3043
|
bandwidth?: number;
|
|
@@ -3309,6 +3377,9 @@ export declare type HostingRedirects200Item = {
|
|
|
3309
3377
|
url?: string;
|
|
3310
3378
|
wildcard?: boolean;
|
|
3311
3379
|
};
|
|
3380
|
+
export declare type ProductLicenseDetails200 = {
|
|
3381
|
+
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
3382
|
+
};
|
|
3312
3383
|
export declare type ProductLicenseDetails200WpsolutionCreatorItem = {
|
|
3313
3384
|
expirationDate?: string;
|
|
3314
3385
|
prodInstId?: string;
|
|
@@ -3322,9 +3393,6 @@ export declare type ProductLicenseDetails200Wpsolution = {
|
|
|
3322
3393
|
creator?: ProductLicenseDetails200WpsolutionCreatorItem[];
|
|
3323
3394
|
total?: number;
|
|
3324
3395
|
};
|
|
3325
|
-
export declare type ProductLicenseDetails200 = {
|
|
3326
|
-
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
3327
|
-
};
|
|
3328
3396
|
export declare type ProductLicenseDetailsProductName = typeof ProductLicenseDetailsProductName[keyof typeof ProductLicenseDetailsProductName];
|
|
3329
3397
|
export declare const ProductLicenseDetailsProductName: {
|
|
3330
3398
|
readonly wpsolution: "wpsolution";
|
|
@@ -3373,6 +3441,41 @@ export declare type HostingOnboardingData200 = {
|
|
|
3373
3441
|
export declare type HostingNameservers200 = {
|
|
3374
3442
|
nameservers: string[];
|
|
3375
3443
|
};
|
|
3444
|
+
export declare type HostingMonarxAddonsList200RowsItem = {
|
|
3445
|
+
/** Addon ID of the Monarx addon */
|
|
3446
|
+
addon_id: number;
|
|
3447
|
+
/** Domain registered with Monarx */
|
|
3448
|
+
domain_name: string;
|
|
3449
|
+
/**
|
|
3450
|
+
* Malware signal health status
|
|
3451
|
+
* @nullable
|
|
3452
|
+
*/
|
|
3453
|
+
health_status?: string | null;
|
|
3454
|
+
/** Hosting ID of the account */
|
|
3455
|
+
hosting_id: string;
|
|
3456
|
+
/**
|
|
3457
|
+
* Monarx plan purchased for the domain
|
|
3458
|
+
* @nullable
|
|
3459
|
+
*/
|
|
3460
|
+
plan?: string | null;
|
|
3461
|
+
};
|
|
3462
|
+
export declare type HostingMonarxAddonsList200 = {
|
|
3463
|
+
rows: HostingMonarxAddonsList200RowsItem[];
|
|
3464
|
+
};
|
|
3465
|
+
export declare type HostingMonarxAddonsListParams = {
|
|
3466
|
+
/**
|
|
3467
|
+
* HAL site id. At most one of site_id, domain_id, domain_name may be provided.
|
|
3468
|
+
*/
|
|
3469
|
+
site_id?: number;
|
|
3470
|
+
/**
|
|
3471
|
+
* HAL domain id. At most one of site_id, domain_id, domain_name may be provided.
|
|
3472
|
+
*/
|
|
3473
|
+
domain_id?: number;
|
|
3474
|
+
/**
|
|
3475
|
+
* Domain name associated with the account. At most one of site_id, domain_id, domain_name may be provided.
|
|
3476
|
+
*/
|
|
3477
|
+
domain_name?: string;
|
|
3478
|
+
};
|
|
3376
3479
|
export declare type HostingMigrationSiteScanStatus200 = {
|
|
3377
3480
|
callback_url?: string;
|
|
3378
3481
|
transferable?: boolean;
|
|
@@ -3429,6 +3532,12 @@ export declare type HostingMigrationStatus200RowsItem = {
|
|
|
3429
3532
|
export declare type HostingMigrationStatus200 = {
|
|
3430
3533
|
rows?: HostingMigrationStatus200RowsItem[];
|
|
3431
3534
|
};
|
|
3535
|
+
export declare type HostingLicenseInfo200 = {
|
|
3536
|
+
licenses?: HostingLicenseModel[];
|
|
3537
|
+
};
|
|
3538
|
+
export declare type HostingLicenseInfoParams = {
|
|
3539
|
+
subtype?: string[];
|
|
3540
|
+
};
|
|
3432
3541
|
export declare type HostingLead400 = {
|
|
3433
3542
|
[key: string]: unknown;
|
|
3434
3543
|
};
|
|
@@ -4451,6 +4560,10 @@ export declare type HostingEmailUpdateBody = {
|
|
|
4451
4560
|
/** The password for the email */
|
|
4452
4561
|
password?: string;
|
|
4453
4562
|
};
|
|
4563
|
+
export declare type HostingEmailList200 = {
|
|
4564
|
+
/** List of email resources */
|
|
4565
|
+
rows?: HostingEmailList200RowsItem[];
|
|
4566
|
+
};
|
|
4454
4567
|
/**
|
|
4455
4568
|
* List of suspensions that affect the entire user account
|
|
4456
4569
|
* @nullable
|
|
@@ -4540,10 +4653,6 @@ export declare type HostingEmailList200RowsItem = {
|
|
|
4540
4653
|
*/
|
|
4541
4654
|
utf8_folders?: boolean | null;
|
|
4542
4655
|
};
|
|
4543
|
-
export declare type HostingEmailList200 = {
|
|
4544
|
-
/** List of email resources */
|
|
4545
|
-
rows?: HostingEmailList200RowsItem[];
|
|
4546
|
-
};
|
|
4547
4656
|
export declare type HostingEmailDelete200 = {
|
|
4548
4657
|
[key: string]: unknown;
|
|
4549
4658
|
};
|
|
@@ -5134,6 +5243,8 @@ export declare type HostingAdvancedServerStatusBody = {
|
|
|
5134
5243
|
action?: string;
|
|
5135
5244
|
/** Admin email for the site user */
|
|
5136
5245
|
admin_email?: string;
|
|
5246
|
+
/** The hostname to be set for the server - only applicable for the 'sethostname' action */
|
|
5247
|
+
hostname?: string;
|
|
5137
5248
|
/** ID of the image to rebuild with - only applicable for the 'rebuild' action */
|
|
5138
5249
|
image_id?: string;
|
|
5139
5250
|
/** To skip site installation - DEPRECATED do not use */
|
|
@@ -5828,6 +5939,44 @@ export declare type AddonsSync200 = {
|
|
|
5828
5939
|
export declare type AddonsSpamexpertsSso200 = {
|
|
5829
5940
|
url?: string;
|
|
5830
5941
|
};
|
|
5942
|
+
export declare type MonarxAddonReportUrl200 = {
|
|
5943
|
+
/** Tokenized Monarx iframe URL */
|
|
5944
|
+
report_url: string;
|
|
5945
|
+
};
|
|
5946
|
+
export declare type MonarxAddonReportUrlParams = {
|
|
5947
|
+
/**
|
|
5948
|
+
* HAL site id. Exactly one of site_id, domain_id, domain_name must be provided.
|
|
5949
|
+
*/
|
|
5950
|
+
site_id?: number;
|
|
5951
|
+
/**
|
|
5952
|
+
* HAL domain id. Exactly one of site_id, domain_id, domain_name must be provided.
|
|
5953
|
+
*/
|
|
5954
|
+
domain_id?: number;
|
|
5955
|
+
/**
|
|
5956
|
+
* Domain name associated with the account. Exactly one of site_id, domain_id, domain_name must be provided.
|
|
5957
|
+
*/
|
|
5958
|
+
domain_name?: string;
|
|
5959
|
+
};
|
|
5960
|
+
export declare type MonarxAddonSealGeneration200 = {
|
|
5961
|
+
/** HTML snippet for displaying the Monarx verification seal */
|
|
5962
|
+
monarx_seal: string;
|
|
5963
|
+
/** Monarx site registration identifier */
|
|
5964
|
+
site_registration_id: string;
|
|
5965
|
+
};
|
|
5966
|
+
export declare type MonarxAddonSealGenerationParams = {
|
|
5967
|
+
/**
|
|
5968
|
+
* HAL site id. Exactly one of site_id, domain_id, domain_name must be provided.
|
|
5969
|
+
*/
|
|
5970
|
+
site_id?: number;
|
|
5971
|
+
/**
|
|
5972
|
+
* HAL domain id. Exactly one of site_id, domain_id, domain_name must be provided.
|
|
5973
|
+
*/
|
|
5974
|
+
domain_id?: number;
|
|
5975
|
+
/**
|
|
5976
|
+
* Domain name associated with the account. Exactly one of site_id, domain_id, domain_name must be provided.
|
|
5977
|
+
*/
|
|
5978
|
+
domain_name?: string;
|
|
5979
|
+
};
|
|
5831
5980
|
export declare type AddonsJetpackValidate200 = {
|
|
5832
5981
|
is_connected?: boolean;
|
|
5833
5982
|
};
|
|
@@ -5870,6 +6019,10 @@ export declare type AddonsCloudflareExternalNsCheckParams = {
|
|
|
5870
6019
|
export declare type AddonsCloudflare200 = {
|
|
5871
6020
|
status?: string;
|
|
5872
6021
|
};
|
|
6022
|
+
export declare type BackupMeta200 = {
|
|
6023
|
+
account?: BackupMeta200Account;
|
|
6024
|
+
site?: BackupMeta200Site;
|
|
6025
|
+
};
|
|
5873
6026
|
/**
|
|
5874
6027
|
* @nullable
|
|
5875
6028
|
*/
|
|
@@ -5940,10 +6093,6 @@ export declare type BackupMeta200Account = {
|
|
|
5940
6093
|
/** @nullable */
|
|
5941
6094
|
cbs_last_restore_timestamp?: string | null;
|
|
5942
6095
|
};
|
|
5943
|
-
export declare type BackupMeta200 = {
|
|
5944
|
-
account?: BackupMeta200Account;
|
|
5945
|
-
site?: BackupMeta200Site;
|
|
5946
|
-
};
|
|
5947
6096
|
export declare type BackupMetaParams = {
|
|
5948
6097
|
site_id?: number;
|
|
5949
6098
|
};
|
|
@@ -6146,6 +6295,9 @@ export declare type CodeguardBackupCreateBody = {
|
|
|
6146
6295
|
/** The id of the website the given database is associated with. */
|
|
6147
6296
|
website_id?: number;
|
|
6148
6297
|
};
|
|
6298
|
+
export declare type CodeguardBackupList200 = {
|
|
6299
|
+
backups?: CodeguardBackupList200BackupsItem[];
|
|
6300
|
+
};
|
|
6149
6301
|
export declare type CodeguardBackupList200BackupsItemDatabaseBackupsItem = {
|
|
6150
6302
|
commit_id?: string;
|
|
6151
6303
|
event_time?: string;
|
|
@@ -6157,9 +6309,6 @@ export declare type CodeguardBackupList200BackupsItem = {
|
|
|
6157
6309
|
event_time?: string;
|
|
6158
6310
|
website_commit_id?: string;
|
|
6159
6311
|
};
|
|
6160
|
-
export declare type CodeguardBackupList200 = {
|
|
6161
|
-
backups?: CodeguardBackupList200BackupsItem[];
|
|
6162
|
-
};
|
|
6163
6312
|
export declare type CodeguardBackupListParams = {
|
|
6164
6313
|
website_id: number;
|
|
6165
6314
|
};
|
|
@@ -6261,6 +6410,8 @@ export declare type AccountHostingList200AccountsItem = {
|
|
|
6261
6410
|
region_desc?: string;
|
|
6262
6411
|
/** Returns type of accounts where the hosting plan's data center is located */
|
|
6263
6412
|
region_type?: string;
|
|
6413
|
+
/** Returns type of server the hosting account is installed on */
|
|
6414
|
+
server_type?: string;
|
|
6264
6415
|
status?: string;
|
|
6265
6416
|
};
|
|
6266
6417
|
export declare type AccountHostingList200 = {
|
|
@@ -6271,6 +6422,24 @@ export declare type AccountHostingListParams = {
|
|
|
6271
6422
|
* Flag to exclude atomic site accounts from the response
|
|
6272
6423
|
*/
|
|
6273
6424
|
exclude_atomic_sites?: boolean;
|
|
6425
|
+
/**
|
|
6426
|
+
* Whether to prevent the site_list call which populates the current_sites value per account - pass true to prevent it
|
|
6427
|
+
*/
|
|
6428
|
+
bypass_sites?: boolean;
|
|
6429
|
+
/**
|
|
6430
|
+
* A list of statuses to query for - e.g. active, disabled
|
|
6431
|
+
*/
|
|
6432
|
+
status?: string[];
|
|
6433
|
+
/**
|
|
6434
|
+
* A list of server types to query for - e.g. shared_cpanel, shared
|
|
6435
|
+
*/
|
|
6436
|
+
server_type?: string[];
|
|
6437
|
+
};
|
|
6438
|
+
export declare type AccountFeatures200 = {
|
|
6439
|
+
/** Feature information for the paginated product instances */
|
|
6440
|
+
rows?: AccountFeatures200RowsItem[];
|
|
6441
|
+
/** Total number of product instance IDs available to that account */
|
|
6442
|
+
total_count?: number;
|
|
6274
6443
|
};
|
|
6275
6444
|
/**
|
|
6276
6445
|
* Usage statistics
|
|
@@ -6335,73 +6504,6 @@ export declare type AccountFeatures200RowsItemLimit = {
|
|
|
6335
6504
|
*/
|
|
6336
6505
|
workers?: number | null;
|
|
6337
6506
|
} | null;
|
|
6338
|
-
/**
|
|
6339
|
-
* Feature details from HAL account_feature_info_list
|
|
6340
|
-
*/
|
|
6341
|
-
export declare type AccountFeatures200RowsItem = {
|
|
6342
|
-
/**
|
|
6343
|
-
* Product auto-renew flag
|
|
6344
|
-
* @nullable
|
|
6345
|
-
*/
|
|
6346
|
-
autoRenewFlag?: boolean | null;
|
|
6347
|
-
/** HAL Account back_reference, used to link to the product instance */
|
|
6348
|
-
back_reference?: string;
|
|
6349
|
-
/**
|
|
6350
|
-
* Product expiration date
|
|
6351
|
-
* @nullable
|
|
6352
|
-
*/
|
|
6353
|
-
expirationDate?: string | null;
|
|
6354
|
-
/** Feature set name ex: hosting_40s */
|
|
6355
|
-
feature_set?: string;
|
|
6356
|
-
/** Additional information about the account */
|
|
6357
|
-
info?: AccountFeatures200RowsItemInfo;
|
|
6358
|
-
/**
|
|
6359
|
-
* Account limits
|
|
6360
|
-
* @nullable
|
|
6361
|
-
*/
|
|
6362
|
-
limit?: AccountFeatures200RowsItemLimit;
|
|
6363
|
-
/**
|
|
6364
|
-
* Remote limits for the account
|
|
6365
|
-
* @nullable
|
|
6366
|
-
*/
|
|
6367
|
-
limit_remote?: AccountFeatures200RowsItemLimitRemote;
|
|
6368
|
-
/**
|
|
6369
|
-
* Package name
|
|
6370
|
-
* @nullable
|
|
6371
|
-
*/
|
|
6372
|
-
package?: string | null;
|
|
6373
|
-
/**
|
|
6374
|
-
* Control panel type
|
|
6375
|
-
* @nullable
|
|
6376
|
-
*/
|
|
6377
|
-
panel?: string | null;
|
|
6378
|
-
/**
|
|
6379
|
-
* Product code
|
|
6380
|
-
* @nullable
|
|
6381
|
-
*/
|
|
6382
|
-
prodCode?: string | null;
|
|
6383
|
-
/**
|
|
6384
|
-
* Product name
|
|
6385
|
-
* @nullable
|
|
6386
|
-
*/
|
|
6387
|
-
prodName?: string | null;
|
|
6388
|
-
/**
|
|
6389
|
-
* Number of sites
|
|
6390
|
-
* @nullable
|
|
6391
|
-
*/
|
|
6392
|
-
sites?: number | null;
|
|
6393
|
-
/**
|
|
6394
|
-
* Usage statistics
|
|
6395
|
-
* @nullable
|
|
6396
|
-
*/
|
|
6397
|
-
used?: AccountFeatures200RowsItemUsed;
|
|
6398
|
-
};
|
|
6399
|
-
export declare type AccountFeatures200 = {
|
|
6400
|
-
/** Feature information for the paginated product instances */
|
|
6401
|
-
rows?: AccountFeatures200RowsItem[];
|
|
6402
|
-
/** Total number of product instance IDs available to that account */
|
|
6403
|
-
total_count?: number;
|
|
6404
|
-
};
|
|
6405
6507
|
/**
|
|
6406
6508
|
* Region information for the account
|
|
6407
6509
|
* @nullable
|
|
@@ -6538,6 +6640,67 @@ export declare type AccountFeatures200RowsItemInfo = {
|
|
|
6538
6640
|
*/
|
|
6539
6641
|
username?: string | null;
|
|
6540
6642
|
};
|
|
6643
|
+
/**
|
|
6644
|
+
* Feature details from HAL account_feature_info_list
|
|
6645
|
+
*/
|
|
6646
|
+
export declare type AccountFeatures200RowsItem = {
|
|
6647
|
+
/**
|
|
6648
|
+
* Product auto-renew flag
|
|
6649
|
+
* @nullable
|
|
6650
|
+
*/
|
|
6651
|
+
autoRenewFlag?: boolean | null;
|
|
6652
|
+
/** HAL Account back_reference, used to link to the product instance */
|
|
6653
|
+
back_reference?: string;
|
|
6654
|
+
/**
|
|
6655
|
+
* Product expiration date
|
|
6656
|
+
* @nullable
|
|
6657
|
+
*/
|
|
6658
|
+
expirationDate?: string | null;
|
|
6659
|
+
/** Feature set name ex: hosting_40s */
|
|
6660
|
+
feature_set?: string;
|
|
6661
|
+
/** Additional information about the account */
|
|
6662
|
+
info?: AccountFeatures200RowsItemInfo;
|
|
6663
|
+
/**
|
|
6664
|
+
* Account limits
|
|
6665
|
+
* @nullable
|
|
6666
|
+
*/
|
|
6667
|
+
limit?: AccountFeatures200RowsItemLimit;
|
|
6668
|
+
/**
|
|
6669
|
+
* Remote limits for the account
|
|
6670
|
+
* @nullable
|
|
6671
|
+
*/
|
|
6672
|
+
limit_remote?: AccountFeatures200RowsItemLimitRemote;
|
|
6673
|
+
/**
|
|
6674
|
+
* Package name
|
|
6675
|
+
* @nullable
|
|
6676
|
+
*/
|
|
6677
|
+
package?: string | null;
|
|
6678
|
+
/**
|
|
6679
|
+
* Control panel type
|
|
6680
|
+
* @nullable
|
|
6681
|
+
*/
|
|
6682
|
+
panel?: string | null;
|
|
6683
|
+
/**
|
|
6684
|
+
* Product code
|
|
6685
|
+
* @nullable
|
|
6686
|
+
*/
|
|
6687
|
+
prodCode?: string | null;
|
|
6688
|
+
/**
|
|
6689
|
+
* Product name
|
|
6690
|
+
* @nullable
|
|
6691
|
+
*/
|
|
6692
|
+
prodName?: string | null;
|
|
6693
|
+
/**
|
|
6694
|
+
* Number of sites
|
|
6695
|
+
* @nullable
|
|
6696
|
+
*/
|
|
6697
|
+
sites?: number | null;
|
|
6698
|
+
/**
|
|
6699
|
+
* Usage statistics
|
|
6700
|
+
* @nullable
|
|
6701
|
+
*/
|
|
6702
|
+
used?: AccountFeatures200RowsItemUsed;
|
|
6703
|
+
};
|
|
6541
6704
|
export declare type AccountFeaturesParams = {
|
|
6542
6705
|
/**
|
|
6543
6706
|
* Starting index for pagination (default: 0)
|
|
@@ -8696,6 +8859,28 @@ export interface SpamCustomScore {
|
|
|
8696
8859
|
/** The value for the corresponding score subtype */
|
|
8697
8860
|
value?: number;
|
|
8698
8861
|
}
|
|
8862
|
+
/**
|
|
8863
|
+
* @nullable
|
|
8864
|
+
*/
|
|
8865
|
+
export declare type HostingLicenseModelDetails = {
|
|
8866
|
+
/**
|
|
8867
|
+
* The number of seats provided by this license
|
|
8868
|
+
* @nullable
|
|
8869
|
+
*/
|
|
8870
|
+
seats?: number | null;
|
|
8871
|
+
} | null;
|
|
8872
|
+
export interface HostingLicenseModel {
|
|
8873
|
+
/** @nullable */
|
|
8874
|
+
details?: HostingLicenseModelDetails;
|
|
8875
|
+
/** Whether the license is eligible be upgraded */
|
|
8876
|
+
is_upgradeable?: boolean;
|
|
8877
|
+
/** The name of the level of license */
|
|
8878
|
+
name?: string;
|
|
8879
|
+
/** The status of the license addon */
|
|
8880
|
+
status?: string;
|
|
8881
|
+
/** The subtype of the license */
|
|
8882
|
+
subtype?: string;
|
|
8883
|
+
}
|
|
8699
8884
|
/**
|
|
8700
8885
|
* @nullable
|
|
8701
8886
|
*/
|
|
@@ -8922,6 +9107,11 @@ export declare type SiteOnboardingStepModelAction = {
|
|
|
8922
9107
|
* @nullable
|
|
8923
9108
|
*/
|
|
8924
9109
|
redirect?: string | null;
|
|
9110
|
+
/**
|
|
9111
|
+
* Which meta value to set after this step's action has been taken
|
|
9112
|
+
* @nullable
|
|
9113
|
+
*/
|
|
9114
|
+
set_meta?: string | null;
|
|
8925
9115
|
/**
|
|
8926
9116
|
* Which app or type of SSO should be used for this step, if type=sso
|
|
8927
9117
|
* @nullable
|
|
@@ -8934,13 +9124,45 @@ export declare type SiteOnboardingStepModelAction = {
|
|
|
8934
9124
|
};
|
|
8935
9125
|
export interface SiteOnboardingStepModel {
|
|
8936
9126
|
action?: SiteOnboardingStepModelAction;
|
|
8937
|
-
/** Whether this step should be marked completed */
|
|
8938
|
-
completed?: boolean;
|
|
8939
9127
|
/** Order in which this step should be displayed relative to the rest of the list (ascending) */
|
|
8940
9128
|
order?: number;
|
|
9129
|
+
/** The status of this step - not_started, in_progress, completed */
|
|
9130
|
+
status?: string;
|
|
8941
9131
|
/** Text to show for this step */
|
|
8942
9132
|
text?: string;
|
|
8943
9133
|
}
|
|
9134
|
+
export interface PerformanceScanResultItemModel {
|
|
9135
|
+
/** @nullable */
|
|
9136
|
+
accessibility_score?: number | null;
|
|
9137
|
+
/** @nullable */
|
|
9138
|
+
best_practices_score?: number | null;
|
|
9139
|
+
/** @nullable */
|
|
9140
|
+
created_at?: string | null;
|
|
9141
|
+
/** @nullable */
|
|
9142
|
+
cumulative_layout_shift?: number | null;
|
|
9143
|
+
/** @nullable */
|
|
9144
|
+
first_contentful_paint?: number | null;
|
|
9145
|
+
/** @nullable */
|
|
9146
|
+
id?: number | null;
|
|
9147
|
+
/** @nullable */
|
|
9148
|
+
is_active?: boolean | null;
|
|
9149
|
+
/** @nullable */
|
|
9150
|
+
job_id?: string | null;
|
|
9151
|
+
/** @nullable */
|
|
9152
|
+
largest_contentful_paint?: number | null;
|
|
9153
|
+
/** @nullable */
|
|
9154
|
+
last_scan_time?: string | null;
|
|
9155
|
+
/** @nullable */
|
|
9156
|
+
overall_score?: number | null;
|
|
9157
|
+
/** @nullable */
|
|
9158
|
+
performance_score?: number | null;
|
|
9159
|
+
/** @nullable */
|
|
9160
|
+
seo_score?: number | null;
|
|
9161
|
+
/** @nullable */
|
|
9162
|
+
speed_index?: number | null;
|
|
9163
|
+
/** @nullable */
|
|
9164
|
+
updated_at?: string | null;
|
|
9165
|
+
}
|
|
8944
9166
|
export interface SSHUsersV2Response {
|
|
8945
9167
|
installed?: boolean;
|
|
8946
9168
|
is_active?: boolean;
|