@newfold/huapi-js 2.1799.0 → 2.1820.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 +161 -1
- package/src/index.js +131 -1
- package/src/index.msw.d.ts +11 -1
- package/src/index.msw.js +66 -6
- package/src/index.schemas.d.ts +326 -162
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.1820.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,9 +404,26 @@ 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
|
};
|
|
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
|
+
};
|
|
416
427
|
/**
|
|
417
428
|
* @nullable
|
|
418
429
|
*/
|
|
@@ -575,17 +586,6 @@ export declare type SitesListV2200ItemsItem = {
|
|
|
575
586
|
*/
|
|
576
587
|
version_ptr?: string | null;
|
|
577
588
|
};
|
|
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;
|
|
@@ -1230,6 +1230,43 @@ export declare type AddonsSitelockSsoV2Params = {
|
|
|
1230
1230
|
*/
|
|
1231
1231
|
source?: string;
|
|
1232
1232
|
};
|
|
1233
|
+
export declare type AllUserMonarxDetails200RowsItem = {
|
|
1234
|
+
/** HAL Account back_reference, used to link to the product instance */
|
|
1235
|
+
account_back_ref?: string;
|
|
1236
|
+
/** Addon ID of the Monarx addon */
|
|
1237
|
+
addon_id: number;
|
|
1238
|
+
/**
|
|
1239
|
+
* Domain ID registered with Monarx
|
|
1240
|
+
* @nullable
|
|
1241
|
+
*/
|
|
1242
|
+
domain_id?: number | null;
|
|
1243
|
+
/** Domain name registered with Monarx */
|
|
1244
|
+
domain_name: string;
|
|
1245
|
+
/**
|
|
1246
|
+
* Malware signal health status
|
|
1247
|
+
* @nullable
|
|
1248
|
+
*/
|
|
1249
|
+
health_status?: string | null;
|
|
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
|
|
@@ -1265,70 +1306,6 @@ export declare type UserHosting200RowsItemUsedStage = {
|
|
|
1265
1306
|
*/
|
|
1266
1307
|
workers?: number | null;
|
|
1267
1308
|
} | 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
|
-
};
|
|
1332
1309
|
/**
|
|
1333
1310
|
* Usage statistics for non-staging sites
|
|
1334
1311
|
* @nullable
|
|
@@ -1443,6 +1420,66 @@ export declare type UserHosting200RowsItemBilling = {
|
|
|
1443
1420
|
*/
|
|
1444
1421
|
prod_name?: string | null;
|
|
1445
1422
|
} | null;
|
|
1423
|
+
export declare type UserHosting200RowsItem = {
|
|
1424
|
+
/** Additional information about the account */
|
|
1425
|
+
account_info?: UserHosting200RowsItemAccountInfo;
|
|
1426
|
+
/** HAL Account back_reference, used to link to the product instance */
|
|
1427
|
+
back_reference?: string;
|
|
1428
|
+
/**
|
|
1429
|
+
* Information from the billing system about this hosting account
|
|
1430
|
+
* @nullable
|
|
1431
|
+
*/
|
|
1432
|
+
billing?: UserHosting200RowsItemBilling;
|
|
1433
|
+
/**
|
|
1434
|
+
* Capability sites associated with the account
|
|
1435
|
+
* @nullable
|
|
1436
|
+
*/
|
|
1437
|
+
capability_sites?: string | null;
|
|
1438
|
+
/**
|
|
1439
|
+
* Feature set name ex: hosting_40s
|
|
1440
|
+
* @nullable
|
|
1441
|
+
*/
|
|
1442
|
+
feature_set?: string | null;
|
|
1443
|
+
/** Whether the product associated with this hosting account has panel mail (True) or not (False) */
|
|
1444
|
+
has_panel_mail?: boolean;
|
|
1445
|
+
/** Whether the product associated with this hosting account can be upgraded (True) or not (False) */
|
|
1446
|
+
is_upgradeable?: boolean;
|
|
1447
|
+
/**
|
|
1448
|
+
* Account limits
|
|
1449
|
+
* @nullable
|
|
1450
|
+
*/
|
|
1451
|
+
limit?: UserHosting200RowsItemLimit;
|
|
1452
|
+
/**
|
|
1453
|
+
* Remote limits for the account
|
|
1454
|
+
* @nullable
|
|
1455
|
+
*/
|
|
1456
|
+
limit_remote?: UserHosting200RowsItemLimitRemote;
|
|
1457
|
+
/**
|
|
1458
|
+
* Package name
|
|
1459
|
+
* @nullable
|
|
1460
|
+
*/
|
|
1461
|
+
package?: string | null;
|
|
1462
|
+
/**
|
|
1463
|
+
* Control panel type
|
|
1464
|
+
* @nullable
|
|
1465
|
+
*/
|
|
1466
|
+
panel?: string | null;
|
|
1467
|
+
/**
|
|
1468
|
+
* Number of sites
|
|
1469
|
+
* @nullable
|
|
1470
|
+
*/
|
|
1471
|
+
sites?: number | null;
|
|
1472
|
+
/**
|
|
1473
|
+
* Usage statistics for non-staging sites
|
|
1474
|
+
* @nullable
|
|
1475
|
+
*/
|
|
1476
|
+
used?: UserHosting200RowsItemUsed;
|
|
1477
|
+
/**
|
|
1478
|
+
* Usage statistics for staging sites
|
|
1479
|
+
* @nullable
|
|
1480
|
+
*/
|
|
1481
|
+
used_stage?: UserHosting200RowsItemUsedStage;
|
|
1482
|
+
};
|
|
1446
1483
|
/**
|
|
1447
1484
|
* Region information for the account
|
|
1448
1485
|
* @nullable
|
|
@@ -1484,6 +1521,11 @@ export declare type UserHosting200RowsItemAccountInfo = {
|
|
|
1484
1521
|
* @nullable
|
|
1485
1522
|
*/
|
|
1486
1523
|
addon_back_ref?: string | null;
|
|
1524
|
+
/**
|
|
1525
|
+
* Timestamp of when the hosting addon was created
|
|
1526
|
+
* @nullable
|
|
1527
|
+
*/
|
|
1528
|
+
addon_date_added?: string | null;
|
|
1487
1529
|
/**
|
|
1488
1530
|
* The ID of the addon associated with the account
|
|
1489
1531
|
* @nullable
|
|
@@ -3340,6 +3382,9 @@ export declare type HostingRedirects200Item = {
|
|
|
3340
3382
|
url?: string;
|
|
3341
3383
|
wildcard?: boolean;
|
|
3342
3384
|
};
|
|
3385
|
+
export declare type ProductLicenseDetails200 = {
|
|
3386
|
+
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
3387
|
+
};
|
|
3343
3388
|
export declare type ProductLicenseDetails200WpsolutionCreatorItem = {
|
|
3344
3389
|
expirationDate?: string;
|
|
3345
3390
|
prodInstId?: string;
|
|
@@ -3353,9 +3398,6 @@ export declare type ProductLicenseDetails200Wpsolution = {
|
|
|
3353
3398
|
creator?: ProductLicenseDetails200WpsolutionCreatorItem[];
|
|
3354
3399
|
total?: number;
|
|
3355
3400
|
};
|
|
3356
|
-
export declare type ProductLicenseDetails200 = {
|
|
3357
|
-
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
3358
|
-
};
|
|
3359
3401
|
export declare type ProductLicenseDetailsProductName = typeof ProductLicenseDetailsProductName[keyof typeof ProductLicenseDetailsProductName];
|
|
3360
3402
|
export declare const ProductLicenseDetailsProductName: {
|
|
3361
3403
|
readonly wpsolution: "wpsolution";
|
|
@@ -3404,6 +3446,41 @@ export declare type HostingOnboardingData200 = {
|
|
|
3404
3446
|
export declare type HostingNameservers200 = {
|
|
3405
3447
|
nameservers: string[];
|
|
3406
3448
|
};
|
|
3449
|
+
export declare type HostingMonarxAddonsList200RowsItem = {
|
|
3450
|
+
/** Addon ID of the Monarx addon */
|
|
3451
|
+
addon_id: number;
|
|
3452
|
+
/** Domain registered with Monarx */
|
|
3453
|
+
domain_name: string;
|
|
3454
|
+
/**
|
|
3455
|
+
* Malware signal health status
|
|
3456
|
+
* @nullable
|
|
3457
|
+
*/
|
|
3458
|
+
health_status?: string | null;
|
|
3459
|
+
/** Hosting ID of the account */
|
|
3460
|
+
hosting_id: string;
|
|
3461
|
+
/**
|
|
3462
|
+
* Monarx plan purchased for the domain
|
|
3463
|
+
* @nullable
|
|
3464
|
+
*/
|
|
3465
|
+
plan?: string | null;
|
|
3466
|
+
};
|
|
3467
|
+
export declare type HostingMonarxAddonsList200 = {
|
|
3468
|
+
rows: HostingMonarxAddonsList200RowsItem[];
|
|
3469
|
+
};
|
|
3470
|
+
export declare type HostingMonarxAddonsListParams = {
|
|
3471
|
+
/**
|
|
3472
|
+
* HAL site id. At most one of site_id, domain_id, domain_name may be provided.
|
|
3473
|
+
*/
|
|
3474
|
+
site_id?: number;
|
|
3475
|
+
/**
|
|
3476
|
+
* HAL domain id. At most one of site_id, domain_id, domain_name may be provided.
|
|
3477
|
+
*/
|
|
3478
|
+
domain_id?: number;
|
|
3479
|
+
/**
|
|
3480
|
+
* Domain name associated with the account. At most one of site_id, domain_id, domain_name may be provided.
|
|
3481
|
+
*/
|
|
3482
|
+
domain_name?: string;
|
|
3483
|
+
};
|
|
3407
3484
|
export declare type HostingMigrationSiteScanStatus200 = {
|
|
3408
3485
|
callback_url?: string;
|
|
3409
3486
|
transferable?: boolean;
|
|
@@ -3460,6 +3537,12 @@ export declare type HostingMigrationStatus200RowsItem = {
|
|
|
3460
3537
|
export declare type HostingMigrationStatus200 = {
|
|
3461
3538
|
rows?: HostingMigrationStatus200RowsItem[];
|
|
3462
3539
|
};
|
|
3540
|
+
export declare type HostingLicenseInfo200 = {
|
|
3541
|
+
licenses?: HostingLicenseModel[];
|
|
3542
|
+
};
|
|
3543
|
+
export declare type HostingLicenseInfoParams = {
|
|
3544
|
+
subtype?: string[];
|
|
3545
|
+
};
|
|
3463
3546
|
export declare type HostingLead400 = {
|
|
3464
3547
|
[key: string]: unknown;
|
|
3465
3548
|
};
|
|
@@ -5364,6 +5447,8 @@ export declare type HostingAccount200Resources = {
|
|
|
5364
5447
|
export declare type HostingAccount200 = {
|
|
5365
5448
|
account_id?: string;
|
|
5366
5449
|
account_limits?: HostingAccount200AccountLimits;
|
|
5450
|
+
/** The timestamp that the hosting addon was created */
|
|
5451
|
+
addon_date_added?: string;
|
|
5367
5452
|
advanced?: boolean;
|
|
5368
5453
|
billing?: HostingAccount200Billing;
|
|
5369
5454
|
brand?: string;
|
|
@@ -5861,11 +5946,49 @@ export declare type AddonsSync200 = {
|
|
|
5861
5946
|
export declare type AddonsSpamexpertsSso200 = {
|
|
5862
5947
|
url?: string;
|
|
5863
5948
|
};
|
|
5949
|
+
export declare type MonarxAddonReportUrl200 = {
|
|
5950
|
+
/** Tokenized Monarx iframe URL */
|
|
5951
|
+
report_url: string;
|
|
5952
|
+
};
|
|
5953
|
+
export declare type MonarxAddonReportUrlParams = {
|
|
5954
|
+
/**
|
|
5955
|
+
* HAL site id. Exactly one of site_id, domain_id, domain_name must be provided.
|
|
5956
|
+
*/
|
|
5957
|
+
site_id?: number;
|
|
5958
|
+
/**
|
|
5959
|
+
* HAL domain id. Exactly one of site_id, domain_id, domain_name must be provided.
|
|
5960
|
+
*/
|
|
5961
|
+
domain_id?: number;
|
|
5962
|
+
/**
|
|
5963
|
+
* Domain name associated with the account. Exactly one of site_id, domain_id, domain_name must be provided.
|
|
5964
|
+
*/
|
|
5965
|
+
domain_name?: string;
|
|
5966
|
+
};
|
|
5967
|
+
export declare type MonarxAddonSealGeneration200 = {
|
|
5968
|
+
/** HTML snippet for displaying the Monarx verification seal */
|
|
5969
|
+
monarx_seal: string;
|
|
5970
|
+
/** Monarx site registration identifier */
|
|
5971
|
+
site_registration_id: string;
|
|
5972
|
+
};
|
|
5973
|
+
export declare type MonarxAddonSealGenerationParams = {
|
|
5974
|
+
/**
|
|
5975
|
+
* HAL site id. Exactly one of site_id, domain_id, domain_name must be provided.
|
|
5976
|
+
*/
|
|
5977
|
+
site_id?: number;
|
|
5978
|
+
/**
|
|
5979
|
+
* HAL domain id. Exactly one of site_id, domain_id, domain_name must be provided.
|
|
5980
|
+
*/
|
|
5981
|
+
domain_id?: number;
|
|
5982
|
+
/**
|
|
5983
|
+
* Domain name associated with the account. Exactly one of site_id, domain_id, domain_name must be provided.
|
|
5984
|
+
*/
|
|
5985
|
+
domain_name?: string;
|
|
5986
|
+
};
|
|
5864
5987
|
export declare type AddonsJetpackValidate200 = {
|
|
5865
5988
|
is_connected?: boolean;
|
|
5866
5989
|
};
|
|
5867
5990
|
export declare type AddonsInfo200 = {
|
|
5868
|
-
id?:
|
|
5991
|
+
id?: number;
|
|
5869
5992
|
};
|
|
5870
5993
|
export declare type AddonsCloudflareExternalNsCheck200Www = {
|
|
5871
5994
|
/** @nullable */
|
|
@@ -5903,6 +6026,10 @@ export declare type AddonsCloudflareExternalNsCheckParams = {
|
|
|
5903
6026
|
export declare type AddonsCloudflare200 = {
|
|
5904
6027
|
status?: string;
|
|
5905
6028
|
};
|
|
6029
|
+
export declare type BackupMeta200 = {
|
|
6030
|
+
account?: BackupMeta200Account;
|
|
6031
|
+
site?: BackupMeta200Site;
|
|
6032
|
+
};
|
|
5906
6033
|
/**
|
|
5907
6034
|
* @nullable
|
|
5908
6035
|
*/
|
|
@@ -5973,10 +6100,6 @@ export declare type BackupMeta200Account = {
|
|
|
5973
6100
|
/** @nullable */
|
|
5974
6101
|
cbs_last_restore_timestamp?: string | null;
|
|
5975
6102
|
};
|
|
5976
|
-
export declare type BackupMeta200 = {
|
|
5977
|
-
account?: BackupMeta200Account;
|
|
5978
|
-
site?: BackupMeta200Site;
|
|
5979
|
-
};
|
|
5980
6103
|
export declare type BackupMetaParams = {
|
|
5981
6104
|
site_id?: number;
|
|
5982
6105
|
};
|
|
@@ -6179,6 +6302,9 @@ export declare type CodeguardBackupCreateBody = {
|
|
|
6179
6302
|
/** The id of the website the given database is associated with. */
|
|
6180
6303
|
website_id?: number;
|
|
6181
6304
|
};
|
|
6305
|
+
export declare type CodeguardBackupList200 = {
|
|
6306
|
+
backups?: CodeguardBackupList200BackupsItem[];
|
|
6307
|
+
};
|
|
6182
6308
|
export declare type CodeguardBackupList200BackupsItemDatabaseBackupsItem = {
|
|
6183
6309
|
commit_id?: string;
|
|
6184
6310
|
event_time?: string;
|
|
@@ -6190,9 +6316,6 @@ export declare type CodeguardBackupList200BackupsItem = {
|
|
|
6190
6316
|
event_time?: string;
|
|
6191
6317
|
website_commit_id?: string;
|
|
6192
6318
|
};
|
|
6193
|
-
export declare type CodeguardBackupList200 = {
|
|
6194
|
-
backups?: CodeguardBackupList200BackupsItem[];
|
|
6195
|
-
};
|
|
6196
6319
|
export declare type CodeguardBackupListParams = {
|
|
6197
6320
|
website_id: number;
|
|
6198
6321
|
};
|
|
@@ -6294,6 +6417,8 @@ export declare type AccountHostingList200AccountsItem = {
|
|
|
6294
6417
|
region_desc?: string;
|
|
6295
6418
|
/** Returns type of accounts where the hosting plan's data center is located */
|
|
6296
6419
|
region_type?: string;
|
|
6420
|
+
/** Returns type of server the hosting account is installed on */
|
|
6421
|
+
server_type?: string;
|
|
6297
6422
|
status?: string;
|
|
6298
6423
|
};
|
|
6299
6424
|
export declare type AccountHostingList200 = {
|
|
@@ -6304,6 +6429,24 @@ export declare type AccountHostingListParams = {
|
|
|
6304
6429
|
* Flag to exclude atomic site accounts from the response
|
|
6305
6430
|
*/
|
|
6306
6431
|
exclude_atomic_sites?: boolean;
|
|
6432
|
+
/**
|
|
6433
|
+
* Whether to prevent the site_list call which populates the current_sites value per account - pass true to prevent it
|
|
6434
|
+
*/
|
|
6435
|
+
bypass_sites?: boolean;
|
|
6436
|
+
/**
|
|
6437
|
+
* A list of statuses to query for - e.g. active, disabled
|
|
6438
|
+
*/
|
|
6439
|
+
status?: string[];
|
|
6440
|
+
/**
|
|
6441
|
+
* A list of server types to query for - e.g. shared_cpanel, shared
|
|
6442
|
+
*/
|
|
6443
|
+
server_type?: string[];
|
|
6444
|
+
};
|
|
6445
|
+
export declare type AccountFeatures200 = {
|
|
6446
|
+
/** Feature information for the paginated product instances */
|
|
6447
|
+
rows?: AccountFeatures200RowsItem[];
|
|
6448
|
+
/** Total number of product instance IDs available to that account */
|
|
6449
|
+
total_count?: number;
|
|
6307
6450
|
};
|
|
6308
6451
|
/**
|
|
6309
6452
|
* Usage statistics
|
|
@@ -6368,73 +6511,6 @@ export declare type AccountFeatures200RowsItemLimit = {
|
|
|
6368
6511
|
*/
|
|
6369
6512
|
workers?: number | null;
|
|
6370
6513
|
} | null;
|
|
6371
|
-
/**
|
|
6372
|
-
* Feature details from HAL account_feature_info_list
|
|
6373
|
-
*/
|
|
6374
|
-
export declare type AccountFeatures200RowsItem = {
|
|
6375
|
-
/**
|
|
6376
|
-
* Product auto-renew flag
|
|
6377
|
-
* @nullable
|
|
6378
|
-
*/
|
|
6379
|
-
autoRenewFlag?: boolean | null;
|
|
6380
|
-
/** HAL Account back_reference, used to link to the product instance */
|
|
6381
|
-
back_reference?: string;
|
|
6382
|
-
/**
|
|
6383
|
-
* Product expiration date
|
|
6384
|
-
* @nullable
|
|
6385
|
-
*/
|
|
6386
|
-
expirationDate?: string | null;
|
|
6387
|
-
/** Feature set name ex: hosting_40s */
|
|
6388
|
-
feature_set?: string;
|
|
6389
|
-
/** Additional information about the account */
|
|
6390
|
-
info?: AccountFeatures200RowsItemInfo;
|
|
6391
|
-
/**
|
|
6392
|
-
* Account limits
|
|
6393
|
-
* @nullable
|
|
6394
|
-
*/
|
|
6395
|
-
limit?: AccountFeatures200RowsItemLimit;
|
|
6396
|
-
/**
|
|
6397
|
-
* Remote limits for the account
|
|
6398
|
-
* @nullable
|
|
6399
|
-
*/
|
|
6400
|
-
limit_remote?: AccountFeatures200RowsItemLimitRemote;
|
|
6401
|
-
/**
|
|
6402
|
-
* Package name
|
|
6403
|
-
* @nullable
|
|
6404
|
-
*/
|
|
6405
|
-
package?: string | null;
|
|
6406
|
-
/**
|
|
6407
|
-
* Control panel type
|
|
6408
|
-
* @nullable
|
|
6409
|
-
*/
|
|
6410
|
-
panel?: string | null;
|
|
6411
|
-
/**
|
|
6412
|
-
* Product code
|
|
6413
|
-
* @nullable
|
|
6414
|
-
*/
|
|
6415
|
-
prodCode?: string | null;
|
|
6416
|
-
/**
|
|
6417
|
-
* Product name
|
|
6418
|
-
* @nullable
|
|
6419
|
-
*/
|
|
6420
|
-
prodName?: string | null;
|
|
6421
|
-
/**
|
|
6422
|
-
* Number of sites
|
|
6423
|
-
* @nullable
|
|
6424
|
-
*/
|
|
6425
|
-
sites?: number | null;
|
|
6426
|
-
/**
|
|
6427
|
-
* Usage statistics
|
|
6428
|
-
* @nullable
|
|
6429
|
-
*/
|
|
6430
|
-
used?: AccountFeatures200RowsItemUsed;
|
|
6431
|
-
};
|
|
6432
|
-
export declare type AccountFeatures200 = {
|
|
6433
|
-
/** Feature information for the paginated product instances */
|
|
6434
|
-
rows?: AccountFeatures200RowsItem[];
|
|
6435
|
-
/** Total number of product instance IDs available to that account */
|
|
6436
|
-
total_count?: number;
|
|
6437
|
-
};
|
|
6438
6514
|
/**
|
|
6439
6515
|
* Region information for the account
|
|
6440
6516
|
* @nullable
|
|
@@ -6571,6 +6647,67 @@ export declare type AccountFeatures200RowsItemInfo = {
|
|
|
6571
6647
|
*/
|
|
6572
6648
|
username?: string | null;
|
|
6573
6649
|
};
|
|
6650
|
+
/**
|
|
6651
|
+
* Feature details from HAL account_feature_info_list
|
|
6652
|
+
*/
|
|
6653
|
+
export declare type AccountFeatures200RowsItem = {
|
|
6654
|
+
/**
|
|
6655
|
+
* Product auto-renew flag
|
|
6656
|
+
* @nullable
|
|
6657
|
+
*/
|
|
6658
|
+
autoRenewFlag?: boolean | null;
|
|
6659
|
+
/** HAL Account back_reference, used to link to the product instance */
|
|
6660
|
+
back_reference?: string;
|
|
6661
|
+
/**
|
|
6662
|
+
* Product expiration date
|
|
6663
|
+
* @nullable
|
|
6664
|
+
*/
|
|
6665
|
+
expirationDate?: string | null;
|
|
6666
|
+
/** Feature set name ex: hosting_40s */
|
|
6667
|
+
feature_set?: string;
|
|
6668
|
+
/** Additional information about the account */
|
|
6669
|
+
info?: AccountFeatures200RowsItemInfo;
|
|
6670
|
+
/**
|
|
6671
|
+
* Account limits
|
|
6672
|
+
* @nullable
|
|
6673
|
+
*/
|
|
6674
|
+
limit?: AccountFeatures200RowsItemLimit;
|
|
6675
|
+
/**
|
|
6676
|
+
* Remote limits for the account
|
|
6677
|
+
* @nullable
|
|
6678
|
+
*/
|
|
6679
|
+
limit_remote?: AccountFeatures200RowsItemLimitRemote;
|
|
6680
|
+
/**
|
|
6681
|
+
* Package name
|
|
6682
|
+
* @nullable
|
|
6683
|
+
*/
|
|
6684
|
+
package?: string | null;
|
|
6685
|
+
/**
|
|
6686
|
+
* Control panel type
|
|
6687
|
+
* @nullable
|
|
6688
|
+
*/
|
|
6689
|
+
panel?: string | null;
|
|
6690
|
+
/**
|
|
6691
|
+
* Product code
|
|
6692
|
+
* @nullable
|
|
6693
|
+
*/
|
|
6694
|
+
prodCode?: string | null;
|
|
6695
|
+
/**
|
|
6696
|
+
* Product name
|
|
6697
|
+
* @nullable
|
|
6698
|
+
*/
|
|
6699
|
+
prodName?: string | null;
|
|
6700
|
+
/**
|
|
6701
|
+
* Number of sites
|
|
6702
|
+
* @nullable
|
|
6703
|
+
*/
|
|
6704
|
+
sites?: number | null;
|
|
6705
|
+
/**
|
|
6706
|
+
* Usage statistics
|
|
6707
|
+
* @nullable
|
|
6708
|
+
*/
|
|
6709
|
+
used?: AccountFeatures200RowsItemUsed;
|
|
6710
|
+
};
|
|
6574
6711
|
export declare type AccountFeaturesParams = {
|
|
6575
6712
|
/**
|
|
6576
6713
|
* Starting index for pagination (default: 0)
|
|
@@ -8729,6 +8866,28 @@ export interface SpamCustomScore {
|
|
|
8729
8866
|
/** The value for the corresponding score subtype */
|
|
8730
8867
|
value?: number;
|
|
8731
8868
|
}
|
|
8869
|
+
/**
|
|
8870
|
+
* @nullable
|
|
8871
|
+
*/
|
|
8872
|
+
export declare type HostingLicenseModelDetails = {
|
|
8873
|
+
/**
|
|
8874
|
+
* The number of seats provided by this license
|
|
8875
|
+
* @nullable
|
|
8876
|
+
*/
|
|
8877
|
+
seats?: number | null;
|
|
8878
|
+
} | null;
|
|
8879
|
+
export interface HostingLicenseModel {
|
|
8880
|
+
/** @nullable */
|
|
8881
|
+
details?: HostingLicenseModelDetails;
|
|
8882
|
+
/** Whether the license is eligible be upgraded */
|
|
8883
|
+
is_upgradeable?: boolean;
|
|
8884
|
+
/** The name of the level of license */
|
|
8885
|
+
name?: string;
|
|
8886
|
+
/** The status of the license addon */
|
|
8887
|
+
status?: string;
|
|
8888
|
+
/** The subtype of the license */
|
|
8889
|
+
subtype?: string;
|
|
8890
|
+
}
|
|
8732
8891
|
/**
|
|
8733
8892
|
* @nullable
|
|
8734
8893
|
*/
|
|
@@ -8955,6 +9114,11 @@ export declare type SiteOnboardingStepModelAction = {
|
|
|
8955
9114
|
* @nullable
|
|
8956
9115
|
*/
|
|
8957
9116
|
redirect?: string | null;
|
|
9117
|
+
/**
|
|
9118
|
+
* Which meta value to set after this step's action has been taken
|
|
9119
|
+
* @nullable
|
|
9120
|
+
*/
|
|
9121
|
+
set_meta?: string | null;
|
|
8958
9122
|
/**
|
|
8959
9123
|
* Which app or type of SSO should be used for this step, if type=sso
|
|
8960
9124
|
* @nullable
|
|
@@ -8967,10 +9131,10 @@ export declare type SiteOnboardingStepModelAction = {
|
|
|
8967
9131
|
};
|
|
8968
9132
|
export interface SiteOnboardingStepModel {
|
|
8969
9133
|
action?: SiteOnboardingStepModelAction;
|
|
8970
|
-
/** Whether this step should be marked completed */
|
|
8971
|
-
completed?: boolean;
|
|
8972
9134
|
/** Order in which this step should be displayed relative to the rest of the list (ascending) */
|
|
8973
9135
|
order?: number;
|
|
9136
|
+
/** The status of this step - not_started, in_progress, completed */
|
|
9137
|
+
status?: string;
|
|
8974
9138
|
/** Text to show for this step */
|
|
8975
9139
|
text?: string;
|
|
8976
9140
|
}
|