@newfold/huapi-js 2.1933.0 → 2.1974.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 +200 -7
- package/src/index.js +168 -10
- package/src/index.msw.d.ts +13 -1
- package/src/index.msw.js +75 -3
- package/src/index.schemas.d.ts +374 -171
- package/src/index.schemas.js +11 -0
package/src/index.schemas.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Hosting UAPI
|
|
5
5
|
* Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.1974.0
|
|
7
7
|
*/
|
|
8
8
|
export declare type SshKeyListV4200RowsItem = {
|
|
9
9
|
authorize?: boolean;
|
|
@@ -206,13 +206,6 @@ export declare type BackupStatusV3Params = {
|
|
|
206
206
|
*/
|
|
207
207
|
client_tracking_id: string;
|
|
208
208
|
};
|
|
209
|
-
export declare type BackupListV3200 = {
|
|
210
|
-
has_more?: boolean;
|
|
211
|
-
items?: BackupListV3200ItemsItem[];
|
|
212
|
-
limit?: number;
|
|
213
|
-
offset?: number;
|
|
214
|
-
total?: number;
|
|
215
|
-
};
|
|
216
209
|
/**
|
|
217
210
|
* @nullable
|
|
218
211
|
*/
|
|
@@ -247,6 +240,13 @@ export declare type BackupListV3200ItemsItem = {
|
|
|
247
240
|
timezone?: string;
|
|
248
241
|
type?: string;
|
|
249
242
|
};
|
|
243
|
+
export declare type BackupListV3200 = {
|
|
244
|
+
has_more?: boolean;
|
|
245
|
+
items?: BackupListV3200ItemsItem[];
|
|
246
|
+
limit?: number;
|
|
247
|
+
offset?: number;
|
|
248
|
+
total?: number;
|
|
249
|
+
};
|
|
250
250
|
export declare type BackupListV3Params = {
|
|
251
251
|
page?: number;
|
|
252
252
|
limit?: number;
|
|
@@ -429,6 +429,12 @@ export declare type SiteMalwareStatusV2200 = {
|
|
|
429
429
|
*/
|
|
430
430
|
scanner_state?: string | null;
|
|
431
431
|
};
|
|
432
|
+
export declare type SitesDomainsV2200 = {
|
|
433
|
+
domains: SitesDomainsV2200DomainsItem[];
|
|
434
|
+
limit?: number;
|
|
435
|
+
page?: number;
|
|
436
|
+
total?: number;
|
|
437
|
+
};
|
|
432
438
|
/**
|
|
433
439
|
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
434
440
|
* @nullable
|
|
@@ -486,6 +492,13 @@ export declare type SitesDomainsV2200DomainsItemSetupProgress = {
|
|
|
486
492
|
*/
|
|
487
493
|
validate_ssl_error_table?: SitesDomainsV2200DomainsItemSetupProgressValidateSslErrorTable;
|
|
488
494
|
} | null;
|
|
495
|
+
/**
|
|
496
|
+
* Job ids and names currently running on the domain
|
|
497
|
+
* @nullable
|
|
498
|
+
*/
|
|
499
|
+
export declare type SitesDomainsV2200DomainsItemJobs = {
|
|
500
|
+
[key: string]: unknown;
|
|
501
|
+
} | null;
|
|
489
502
|
export declare type SitesDomainsV2200DomainsItem = {
|
|
490
503
|
/** @nullable */
|
|
491
504
|
account_back_ref?: string | null;
|
|
@@ -558,19 +571,6 @@ export declare type SitesDomainsV2200DomainsItem = {
|
|
|
558
571
|
*/
|
|
559
572
|
used_entri?: number | null;
|
|
560
573
|
};
|
|
561
|
-
export declare type SitesDomainsV2200 = {
|
|
562
|
-
domains: SitesDomainsV2200DomainsItem[];
|
|
563
|
-
limit?: number;
|
|
564
|
-
page?: number;
|
|
565
|
-
total?: number;
|
|
566
|
-
};
|
|
567
|
-
/**
|
|
568
|
-
* Job ids and names currently running on the domain
|
|
569
|
-
* @nullable
|
|
570
|
-
*/
|
|
571
|
-
export declare type SitesDomainsV2200DomainsItemJobs = {
|
|
572
|
-
[key: string]: unknown;
|
|
573
|
-
} | null;
|
|
574
574
|
export declare type SitesDomainsV2Params = {
|
|
575
575
|
scan?: boolean;
|
|
576
576
|
};
|
|
@@ -1465,6 +1465,18 @@ export declare type AddonsSitelockSsoV2Params = {
|
|
|
1465
1465
|
*/
|
|
1466
1466
|
source?: string;
|
|
1467
1467
|
};
|
|
1468
|
+
export declare type WaldaiSso502 = {
|
|
1469
|
+
/** Error code */
|
|
1470
|
+
error?: string;
|
|
1471
|
+
};
|
|
1472
|
+
export declare type WaldaiSso404 = {
|
|
1473
|
+
/** Error code */
|
|
1474
|
+
error?: string;
|
|
1475
|
+
};
|
|
1476
|
+
export declare type WaldaiSso200 = {
|
|
1477
|
+
/** SSO redirect URL for WaldAI dashboard */
|
|
1478
|
+
redirect_url: string;
|
|
1479
|
+
};
|
|
1468
1480
|
export declare type AllUserMonarxDetails200RowsItem = {
|
|
1469
1481
|
/** HAL Account back_reference, used to link to the product instance */
|
|
1470
1482
|
account_back_ref?: string;
|
|
@@ -1516,6 +1528,10 @@ export declare type UserHostingOverviewParams = {
|
|
|
1516
1528
|
*/
|
|
1517
1529
|
limit?: number;
|
|
1518
1530
|
};
|
|
1531
|
+
export declare type UserHosting200 = {
|
|
1532
|
+
/** Information for the paginated hosting accounts */
|
|
1533
|
+
rows?: UserHosting200RowsItem[];
|
|
1534
|
+
};
|
|
1519
1535
|
/**
|
|
1520
1536
|
* Usage statistics for staging sites
|
|
1521
1537
|
* @nullable
|
|
@@ -1583,6 +1599,27 @@ export declare type UserHosting200RowsItemUsed = {
|
|
|
1583
1599
|
*/
|
|
1584
1600
|
workers?: number | null;
|
|
1585
1601
|
} | null;
|
|
1602
|
+
/**
|
|
1603
|
+
* Active panelemail purchase on this hosting account, if any
|
|
1604
|
+
* @nullable
|
|
1605
|
+
*/
|
|
1606
|
+
export declare type UserHosting200RowsItemPanelMailAddon = {
|
|
1607
|
+
/**
|
|
1608
|
+
* Jarvis prodInstId (addon back_reference)
|
|
1609
|
+
* @nullable
|
|
1610
|
+
*/
|
|
1611
|
+
back_reference?: string | null;
|
|
1612
|
+
/**
|
|
1613
|
+
* HAL addon id
|
|
1614
|
+
* @nullable
|
|
1615
|
+
*/
|
|
1616
|
+
id?: string | null;
|
|
1617
|
+
/**
|
|
1618
|
+
* Panelemail addon subtype
|
|
1619
|
+
* @nullable
|
|
1620
|
+
*/
|
|
1621
|
+
subtype?: string | null;
|
|
1622
|
+
} | null;
|
|
1586
1623
|
/**
|
|
1587
1624
|
* Remote limits for the account
|
|
1588
1625
|
* @nullable
|
|
@@ -1696,10 +1733,10 @@ export declare type UserHosting200RowsItem = {
|
|
|
1696
1733
|
*/
|
|
1697
1734
|
panel?: string | null;
|
|
1698
1735
|
/**
|
|
1699
|
-
*
|
|
1736
|
+
* Active panelemail purchase on this hosting account, if any
|
|
1700
1737
|
* @nullable
|
|
1701
1738
|
*/
|
|
1702
|
-
|
|
1739
|
+
panel_mail_addon?: UserHosting200RowsItemPanelMailAddon;
|
|
1703
1740
|
/**
|
|
1704
1741
|
* Number of sites
|
|
1705
1742
|
* @nullable
|
|
@@ -1716,10 +1753,6 @@ export declare type UserHosting200RowsItem = {
|
|
|
1716
1753
|
*/
|
|
1717
1754
|
used_stage?: UserHosting200RowsItemUsedStage;
|
|
1718
1755
|
};
|
|
1719
|
-
export declare type UserHosting200 = {
|
|
1720
|
-
/** Information for the paginated hosting accounts */
|
|
1721
|
-
rows?: UserHosting200RowsItem[];
|
|
1722
|
-
};
|
|
1723
1756
|
/**
|
|
1724
1757
|
* Region information for the account
|
|
1725
1758
|
* @nullable
|
|
@@ -2619,6 +2652,18 @@ export declare type SitesMetricDimensions200DimensionsPageIsCachedItem = {
|
|
|
2619
2652
|
dimension?: SitesMetricDimensions200DimensionsPageIsCachedItemDimension;
|
|
2620
2653
|
timestamp?: number;
|
|
2621
2654
|
};
|
|
2655
|
+
export declare type SitesMetricDimensions200Dimensions = {
|
|
2656
|
+
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
2657
|
+
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
2658
|
+
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
2659
|
+
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
2660
|
+
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
2661
|
+
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
2662
|
+
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
2663
|
+
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
2664
|
+
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
2665
|
+
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
2666
|
+
};
|
|
2622
2667
|
export declare type SitesMetricDimensions200DimensionsHttpVersionItemDimension = {
|
|
2623
2668
|
[key: string]: number;
|
|
2624
2669
|
};
|
|
@@ -2647,18 +2692,6 @@ export declare type SitesMetricDimensions200DimensionsHttpHostItem = {
|
|
|
2647
2692
|
dimension?: SitesMetricDimensions200DimensionsHttpHostItemDimension;
|
|
2648
2693
|
timestamp?: number;
|
|
2649
2694
|
};
|
|
2650
|
-
export declare type SitesMetricDimensions200Dimensions = {
|
|
2651
|
-
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
2652
|
-
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
2653
|
-
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
2654
|
-
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
2655
|
-
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
2656
|
-
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
2657
|
-
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
2658
|
-
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
2659
|
-
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
2660
|
-
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
2661
|
-
};
|
|
2662
2695
|
export declare type SitesMetricDimensionsParams = {
|
|
2663
2696
|
start?: string;
|
|
2664
2697
|
end?: string;
|
|
@@ -3208,6 +3241,57 @@ export declare type SitesInfo200Staging = {
|
|
|
3208
3241
|
/** A list of staging sites of the current site */
|
|
3209
3242
|
sites?: number[];
|
|
3210
3243
|
} | null;
|
|
3244
|
+
/**
|
|
3245
|
+
* @nullable
|
|
3246
|
+
*/
|
|
3247
|
+
export declare type SitesInfo200PendingUrlData = {
|
|
3248
|
+
/**
|
|
3249
|
+
* The root domain name
|
|
3250
|
+
* @nullable
|
|
3251
|
+
*/
|
|
3252
|
+
base_domain?: string | null;
|
|
3253
|
+
/**
|
|
3254
|
+
* The Fully Qualified Domain Name (FQDN)
|
|
3255
|
+
* @nullable
|
|
3256
|
+
*/
|
|
3257
|
+
domain?: string | null;
|
|
3258
|
+
/**
|
|
3259
|
+
* The current pending_url's HAL Domain ID
|
|
3260
|
+
* @nullable
|
|
3261
|
+
*/
|
|
3262
|
+
domain_id?: number | null;
|
|
3263
|
+
/** @nullable */
|
|
3264
|
+
error?: string | null;
|
|
3265
|
+
/** Flag indicating whether the pending_url is temporary or not */
|
|
3266
|
+
is_temp?: boolean;
|
|
3267
|
+
/**
|
|
3268
|
+
* Flag indicating whether the url_sync job has run out of attempts
|
|
3269
|
+
* @nullable
|
|
3270
|
+
*/
|
|
3271
|
+
job_failed?: boolean | null;
|
|
3272
|
+
/** @nullable */
|
|
3273
|
+
stage?: string | null;
|
|
3274
|
+
/**
|
|
3275
|
+
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
3276
|
+
* @nullable
|
|
3277
|
+
*/
|
|
3278
|
+
wp_session?: string | null;
|
|
3279
|
+
} | null;
|
|
3280
|
+
/**
|
|
3281
|
+
* @nullable
|
|
3282
|
+
*/
|
|
3283
|
+
export declare type SitesInfo200Pagespeed = {
|
|
3284
|
+
lastrun?: string;
|
|
3285
|
+
performance?: string;
|
|
3286
|
+
strategy?: string;
|
|
3287
|
+
} | null;
|
|
3288
|
+
/**
|
|
3289
|
+
* Job ids for the site
|
|
3290
|
+
* @nullable
|
|
3291
|
+
*/
|
|
3292
|
+
export declare type SitesInfo200Jobs = {
|
|
3293
|
+
[key: string]: unknown;
|
|
3294
|
+
} | null;
|
|
3211
3295
|
export declare type SitesInfo200 = {
|
|
3212
3296
|
/** @nullable */
|
|
3213
3297
|
account_back_ref?: string | null;
|
|
@@ -3320,57 +3404,57 @@ export declare type SitesInfo200Resources = {
|
|
|
3320
3404
|
/** @nullable */
|
|
3321
3405
|
workers?: number | null;
|
|
3322
3406
|
};
|
|
3323
|
-
|
|
3324
|
-
* @nullable
|
|
3325
|
-
*/
|
|
3326
|
-
export declare type SitesInfo200PendingUrlData = {
|
|
3407
|
+
export declare type PublicRegions200RowsItem = {
|
|
3327
3408
|
/**
|
|
3328
|
-
*
|
|
3409
|
+
* Whether dedicated configurator is active for this region
|
|
3329
3410
|
* @nullable
|
|
3330
3411
|
*/
|
|
3331
|
-
|
|
3412
|
+
dedi?: boolean | null;
|
|
3332
3413
|
/**
|
|
3333
|
-
*
|
|
3414
|
+
* Custom message when dedicated configurator is disabled
|
|
3334
3415
|
* @nullable
|
|
3335
3416
|
*/
|
|
3336
|
-
|
|
3417
|
+
dedi_msg?: string | null;
|
|
3337
3418
|
/**
|
|
3338
|
-
*
|
|
3419
|
+
* Region description
|
|
3339
3420
|
* @nullable
|
|
3340
3421
|
*/
|
|
3341
|
-
|
|
3342
|
-
/**
|
|
3343
|
-
|
|
3344
|
-
/** Flag indicating whether the pending_url is temporary or not */
|
|
3345
|
-
is_temp?: boolean;
|
|
3422
|
+
description?: string | null;
|
|
3423
|
+
/** Region ID */
|
|
3424
|
+
id: number;
|
|
3346
3425
|
/**
|
|
3347
|
-
*
|
|
3426
|
+
* Short code name for region
|
|
3348
3427
|
* @nullable
|
|
3349
3428
|
*/
|
|
3350
|
-
|
|
3351
|
-
/**
|
|
3352
|
-
|
|
3429
|
+
ident?: string | null;
|
|
3430
|
+
/** Long fixed name of the region */
|
|
3431
|
+
name: string;
|
|
3353
3432
|
/**
|
|
3354
|
-
*
|
|
3433
|
+
* Type of region
|
|
3355
3434
|
* @nullable
|
|
3356
3435
|
*/
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
*/
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3436
|
+
type?: string | null;
|
|
3437
|
+
/**
|
|
3438
|
+
* Whether VPS configurator is active for this region
|
|
3439
|
+
* @nullable
|
|
3440
|
+
*/
|
|
3441
|
+
vps?: boolean | null;
|
|
3442
|
+
/**
|
|
3443
|
+
* Custom message when VPS configurator is disabled
|
|
3444
|
+
* @nullable
|
|
3445
|
+
*/
|
|
3446
|
+
vps_msg?: string | null;
|
|
3447
|
+
};
|
|
3448
|
+
export declare type PublicRegions200 = {
|
|
3449
|
+
/** Limit the number of regions returned */
|
|
3450
|
+
limit?: number;
|
|
3451
|
+
/** Number of regions returned */
|
|
3452
|
+
n_rows?: number;
|
|
3453
|
+
/** Page number */
|
|
3454
|
+
page?: number;
|
|
3455
|
+
/** List of regions */
|
|
3456
|
+
rows?: PublicRegions200RowsItem[];
|
|
3457
|
+
};
|
|
3374
3458
|
/**
|
|
3375
3459
|
* Links
|
|
3376
3460
|
* @nullable
|
|
@@ -3528,6 +3612,12 @@ export declare type PublicImages200 = {
|
|
|
3528
3612
|
/** List of images */
|
|
3529
3613
|
rows?: PublicImages200RowsItem[];
|
|
3530
3614
|
};
|
|
3615
|
+
export declare type PublicImagesParams = {
|
|
3616
|
+
/**
|
|
3617
|
+
* Brand identifier for HAL admin calls.
|
|
3618
|
+
*/
|
|
3619
|
+
brand?: string;
|
|
3620
|
+
};
|
|
3531
3621
|
export declare type HostingVisitors200VisitorsItem = {
|
|
3532
3622
|
bandwidth?: number;
|
|
3533
3623
|
hits?: number;
|
|
@@ -4837,6 +4927,12 @@ export declare type HostingEmailFiltersAddBody = {
|
|
|
4837
4927
|
/** list of rules to be applied to the filter */
|
|
4838
4928
|
rules?: HostingEmailFiltersAddBodyRulesItem[];
|
|
4839
4929
|
};
|
|
4930
|
+
export declare type HostingEmailFiltersList200 = {
|
|
4931
|
+
/** The number of filters */
|
|
4932
|
+
count?: number;
|
|
4933
|
+
/** List of filters */
|
|
4934
|
+
filters?: HostingEmailFiltersList200FiltersItem[];
|
|
4935
|
+
};
|
|
4840
4936
|
export declare type HostingEmailFiltersList200FiltersItemRulesItem = {
|
|
4841
4937
|
match?: FilterRuleMatch;
|
|
4842
4938
|
opt?: FilterRuleOpt;
|
|
@@ -4867,12 +4963,6 @@ export declare type HostingEmailFiltersList200FiltersItem = {
|
|
|
4867
4963
|
/** Whether the filter is unescaped */
|
|
4868
4964
|
unescaped?: boolean;
|
|
4869
4965
|
};
|
|
4870
|
-
export declare type HostingEmailFiltersList200 = {
|
|
4871
|
-
/** The number of filters */
|
|
4872
|
-
count?: number;
|
|
4873
|
-
/** List of filters */
|
|
4874
|
-
filters?: HostingEmailFiltersList200FiltersItem[];
|
|
4875
|
-
};
|
|
4876
4966
|
export declare type HostingEmailFiltersListParams = {
|
|
4877
4967
|
/**
|
|
4878
4968
|
* The email account address to query filters by
|
|
@@ -5718,6 +5808,25 @@ export declare type HostingAdvancedPasswordBody = {
|
|
|
5718
5808
|
*/
|
|
5719
5809
|
password: string;
|
|
5720
5810
|
};
|
|
5811
|
+
export declare type HostingAdvancedServerHealthcheck200 = {
|
|
5812
|
+
/**
|
|
5813
|
+
* 1 if the panel responded (Windows servers)
|
|
5814
|
+
* @nullable
|
|
5815
|
+
*/
|
|
5816
|
+
panel_version?: number | null;
|
|
5817
|
+
/**
|
|
5818
|
+
* Dotted reason code when the server is not healthy
|
|
5819
|
+
* @nullable
|
|
5820
|
+
*/
|
|
5821
|
+
reason?: string | null;
|
|
5822
|
+
/**
|
|
5823
|
+
* 1 if the server responded to a hello probe (Linux servers)
|
|
5824
|
+
* @nullable
|
|
5825
|
+
*/
|
|
5826
|
+
server_hello?: number | null;
|
|
5827
|
+
/** Current server status */
|
|
5828
|
+
server_status: string;
|
|
5829
|
+
};
|
|
5721
5830
|
export declare type HostingAdvancedServerStatus200Actions = {
|
|
5722
5831
|
[key: string]: unknown;
|
|
5723
5832
|
};
|
|
@@ -5940,6 +6049,16 @@ export declare type HostingAdvancedDnsParams = {
|
|
|
5940
6049
|
domain: string;
|
|
5941
6050
|
dns_with_us?: number;
|
|
5942
6051
|
};
|
|
6052
|
+
export declare type HostingAdvancedConsole200 = {
|
|
6053
|
+
url?: string;
|
|
6054
|
+
};
|
|
6055
|
+
export declare type HostingAdvancedConsoleProtocol = typeof HostingAdvancedConsoleProtocol[keyof typeof HostingAdvancedConsoleProtocol];
|
|
6056
|
+
export declare const HostingAdvancedConsoleProtocol: {
|
|
6057
|
+
readonly ssh: "ssh";
|
|
6058
|
+
};
|
|
6059
|
+
export declare type HostingAdvancedConsoleParams = {
|
|
6060
|
+
protocol?: HostingAdvancedConsoleProtocol;
|
|
6061
|
+
};
|
|
5943
6062
|
export declare type HostingAddons200RowsItemMeta = {
|
|
5944
6063
|
[key: string]: string | number | boolean;
|
|
5945
6064
|
};
|
|
@@ -5983,31 +6102,6 @@ export declare type ActivityLog200 = {
|
|
|
5983
6102
|
export declare type ActivityLogParams = {
|
|
5984
6103
|
days?: number;
|
|
5985
6104
|
};
|
|
5986
|
-
export declare type HostingAccount200ResourcesWorkers = {
|
|
5987
|
-
/** @nullable */
|
|
5988
|
-
available?: number | null;
|
|
5989
|
-
/** @nullable */
|
|
5990
|
-
total?: number | null;
|
|
5991
|
-
/** @nullable */
|
|
5992
|
-
used?: number | null;
|
|
5993
|
-
};
|
|
5994
|
-
export declare type HostingAccount200ResourcesStorage = {
|
|
5995
|
-
/** @nullable */
|
|
5996
|
-
available?: number | null;
|
|
5997
|
-
/** @nullable */
|
|
5998
|
-
total?: number | null;
|
|
5999
|
-
unit?: string;
|
|
6000
|
-
/** @nullable */
|
|
6001
|
-
used?: number | null;
|
|
6002
|
-
};
|
|
6003
|
-
/**
|
|
6004
|
-
* @nullable
|
|
6005
|
-
*/
|
|
6006
|
-
export declare type HostingAccount200Resources = {
|
|
6007
|
-
staging?: HostingAccount200ResourcesStaging;
|
|
6008
|
-
storage?: HostingAccount200ResourcesStorage;
|
|
6009
|
-
workers?: HostingAccount200ResourcesWorkers;
|
|
6010
|
-
} | null;
|
|
6011
6105
|
export declare type HostingAccount200 = {
|
|
6012
6106
|
account_id?: string;
|
|
6013
6107
|
account_limits?: HostingAccount200AccountLimits;
|
|
@@ -6030,6 +6124,34 @@ export declare type HostingAccount200 = {
|
|
|
6030
6124
|
type?: string;
|
|
6031
6125
|
username?: string;
|
|
6032
6126
|
};
|
|
6127
|
+
export declare type HostingAccount200ResourcesWorkers = {
|
|
6128
|
+
/** @nullable */
|
|
6129
|
+
available?: number | null;
|
|
6130
|
+
/** @nullable */
|
|
6131
|
+
total?: number | null;
|
|
6132
|
+
/** @nullable */
|
|
6133
|
+
used?: number | null;
|
|
6134
|
+
};
|
|
6135
|
+
/**
|
|
6136
|
+
* Usage statistics for non-staging sites
|
|
6137
|
+
* @nullable
|
|
6138
|
+
*/
|
|
6139
|
+
export declare type HostingAccount200ResourcesUsed = {
|
|
6140
|
+
/**
|
|
6141
|
+
* Total number of domains used by this account
|
|
6142
|
+
* @nullable
|
|
6143
|
+
*/
|
|
6144
|
+
domain?: number | null;
|
|
6145
|
+
} | null;
|
|
6146
|
+
export declare type HostingAccount200ResourcesStorage = {
|
|
6147
|
+
/** @nullable */
|
|
6148
|
+
available?: number | null;
|
|
6149
|
+
/** @nullable */
|
|
6150
|
+
total?: number | null;
|
|
6151
|
+
unit?: string;
|
|
6152
|
+
/** @nullable */
|
|
6153
|
+
used?: number | null;
|
|
6154
|
+
};
|
|
6033
6155
|
export declare type HostingAccount200ResourcesStagingWorkers = {
|
|
6034
6156
|
/** @nullable */
|
|
6035
6157
|
available?: number | null;
|
|
@@ -6051,6 +6173,19 @@ export declare type HostingAccount200ResourcesStaging = {
|
|
|
6051
6173
|
storage?: HostingAccount200ResourcesStagingStorage;
|
|
6052
6174
|
workers?: HostingAccount200ResourcesStagingWorkers;
|
|
6053
6175
|
};
|
|
6176
|
+
/**
|
|
6177
|
+
* @nullable
|
|
6178
|
+
*/
|
|
6179
|
+
export declare type HostingAccount200Resources = {
|
|
6180
|
+
staging?: HostingAccount200ResourcesStaging;
|
|
6181
|
+
storage?: HostingAccount200ResourcesStorage;
|
|
6182
|
+
/**
|
|
6183
|
+
* Usage statistics for non-staging sites
|
|
6184
|
+
* @nullable
|
|
6185
|
+
*/
|
|
6186
|
+
used?: HostingAccount200ResourcesUsed;
|
|
6187
|
+
workers?: HostingAccount200ResourcesWorkers;
|
|
6188
|
+
} | null;
|
|
6054
6189
|
export declare type HostingAccount200Billing = {
|
|
6055
6190
|
prod_code?: string;
|
|
6056
6191
|
product_name?: string;
|
|
@@ -6062,6 +6197,11 @@ export declare type HostingAccount200AccountLimits = {
|
|
|
6062
6197
|
* @nullable
|
|
6063
6198
|
*/
|
|
6064
6199
|
email_accounts?: number | null;
|
|
6200
|
+
/**
|
|
6201
|
+
* Maxmimum number of domains that can be added to this account
|
|
6202
|
+
* @nullable
|
|
6203
|
+
*/
|
|
6204
|
+
max_domain?: number | null;
|
|
6065
6205
|
/**
|
|
6066
6206
|
* Number of max sites allowed for the hosting account
|
|
6067
6207
|
* @nullable
|
|
@@ -6361,6 +6501,70 @@ export declare type DomainCerts200CertsItem = {
|
|
|
6361
6501
|
export declare type DomainCerts200 = {
|
|
6362
6502
|
certs?: DomainCerts200CertsItem[];
|
|
6363
6503
|
};
|
|
6504
|
+
/**
|
|
6505
|
+
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
6506
|
+
* @nullable
|
|
6507
|
+
*/
|
|
6508
|
+
export declare type DomainInfo200SetupProgressValidateSslErrorTable = {
|
|
6509
|
+
[key: string]: unknown;
|
|
6510
|
+
} | null;
|
|
6511
|
+
/**
|
|
6512
|
+
* @nullable
|
|
6513
|
+
*/
|
|
6514
|
+
export declare type DomainInfo200SetupProgress = {
|
|
6515
|
+
/**
|
|
6516
|
+
* Result of domain cdn validation (null=not started,0=started,1=succeeded,2=skipped)
|
|
6517
|
+
* @nullable
|
|
6518
|
+
*/
|
|
6519
|
+
validate_cdn?: number | null;
|
|
6520
|
+
/**
|
|
6521
|
+
* Most recent error logged during domain cdn validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
6522
|
+
* @nullable
|
|
6523
|
+
*/
|
|
6524
|
+
validate_cdn_error?: string | null;
|
|
6525
|
+
/**
|
|
6526
|
+
* Result of domain dns validation (null=not started,0=started,1=succeeded,2=skipped)
|
|
6527
|
+
* @nullable
|
|
6528
|
+
*/
|
|
6529
|
+
validate_dns?: number | null;
|
|
6530
|
+
/**
|
|
6531
|
+
* Whether dns_auto_repair was run on this domain (1=true)
|
|
6532
|
+
* @nullable
|
|
6533
|
+
*/
|
|
6534
|
+
validate_dns_auto_repair?: number | null;
|
|
6535
|
+
/**
|
|
6536
|
+
* Most recent error logged during domain dns validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
6537
|
+
* @nullable
|
|
6538
|
+
*/
|
|
6539
|
+
validate_dns_error?: string | null;
|
|
6540
|
+
/**
|
|
6541
|
+
* Most recent error logged during domain validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
6542
|
+
* @nullable
|
|
6543
|
+
*/
|
|
6544
|
+
validate_error?: string | null;
|
|
6545
|
+
/**
|
|
6546
|
+
* Result of domain ssl validation (null=not started,0=started,1=succeeded,2=skipped)
|
|
6547
|
+
* @nullable
|
|
6548
|
+
*/
|
|
6549
|
+
validate_ssl?: number | null;
|
|
6550
|
+
/**
|
|
6551
|
+
* Most recent error logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
6552
|
+
* @nullable
|
|
6553
|
+
*/
|
|
6554
|
+
validate_ssl_error?: string | null;
|
|
6555
|
+
/**
|
|
6556
|
+
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
6557
|
+
* @nullable
|
|
6558
|
+
*/
|
|
6559
|
+
validate_ssl_error_table?: DomainInfo200SetupProgressValidateSslErrorTable;
|
|
6560
|
+
} | null;
|
|
6561
|
+
/**
|
|
6562
|
+
* Job ids and names currently running on the domain
|
|
6563
|
+
* @nullable
|
|
6564
|
+
*/
|
|
6565
|
+
export declare type DomainInfo200Jobs = {
|
|
6566
|
+
[key: string]: unknown;
|
|
6567
|
+
} | null;
|
|
6364
6568
|
export declare type DomainInfo200 = {
|
|
6365
6569
|
/** @nullable */
|
|
6366
6570
|
account_back_ref?: string | null;
|
|
@@ -6433,70 +6637,14 @@ export declare type DomainInfo200 = {
|
|
|
6433
6637
|
*/
|
|
6434
6638
|
used_entri?: number | null;
|
|
6435
6639
|
};
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
export declare type
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
* @nullable
|
|
6445
|
-
*/
|
|
6446
|
-
export declare type DomainInfo200SetupProgress = {
|
|
6447
|
-
/**
|
|
6448
|
-
* Result of domain cdn validation (null=not started,0=started,1=succeeded,2=skipped)
|
|
6449
|
-
* @nullable
|
|
6450
|
-
*/
|
|
6451
|
-
validate_cdn?: number | null;
|
|
6452
|
-
/**
|
|
6453
|
-
* Most recent error logged during domain cdn validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
6454
|
-
* @nullable
|
|
6455
|
-
*/
|
|
6456
|
-
validate_cdn_error?: string | null;
|
|
6457
|
-
/**
|
|
6458
|
-
* Result of domain dns validation (null=not started,0=started,1=succeeded,2=skipped)
|
|
6459
|
-
* @nullable
|
|
6460
|
-
*/
|
|
6461
|
-
validate_dns?: number | null;
|
|
6462
|
-
/**
|
|
6463
|
-
* Whether dns_auto_repair was run on this domain (1=true)
|
|
6464
|
-
* @nullable
|
|
6465
|
-
*/
|
|
6466
|
-
validate_dns_auto_repair?: number | null;
|
|
6467
|
-
/**
|
|
6468
|
-
* Most recent error logged during domain dns validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
6469
|
-
* @nullable
|
|
6470
|
-
*/
|
|
6471
|
-
validate_dns_error?: string | null;
|
|
6472
|
-
/**
|
|
6473
|
-
* Most recent error logged during domain validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
6474
|
-
* @nullable
|
|
6475
|
-
*/
|
|
6476
|
-
validate_error?: string | null;
|
|
6477
|
-
/**
|
|
6478
|
-
* Result of domain ssl validation (null=not started,0=started,1=succeeded,2=skipped)
|
|
6479
|
-
* @nullable
|
|
6480
|
-
*/
|
|
6481
|
-
validate_ssl?: number | null;
|
|
6482
|
-
/**
|
|
6483
|
-
* Most recent error logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
6484
|
-
* @nullable
|
|
6485
|
-
*/
|
|
6486
|
-
validate_ssl_error?: string | null;
|
|
6487
|
-
/**
|
|
6488
|
-
* Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
|
|
6489
|
-
* @nullable
|
|
6490
|
-
*/
|
|
6491
|
-
validate_ssl_error_table?: DomainInfo200SetupProgressValidateSslErrorTable;
|
|
6492
|
-
} | null;
|
|
6493
|
-
/**
|
|
6494
|
-
* Job ids and names currently running on the domain
|
|
6495
|
-
* @nullable
|
|
6496
|
-
*/
|
|
6497
|
-
export declare type DomainInfo200Jobs = {
|
|
6498
|
-
[key: string]: unknown;
|
|
6499
|
-
} | null;
|
|
6640
|
+
export declare type BullhornAnnouncements200 = {
|
|
6641
|
+
/** Bullhorn announcement banners for Account Manager. Empty when the feature is disabled or no announcements are configured. */
|
|
6642
|
+
bullhornAnnouncements: BullhornAnnouncement[];
|
|
6643
|
+
};
|
|
6644
|
+
export declare type Announcements200 = {
|
|
6645
|
+
/** Global announcement banners for Account Manager. Empty when the feature is disabled or no announcements are configured. */
|
|
6646
|
+
announcements: Announcement[];
|
|
6647
|
+
};
|
|
6500
6648
|
export declare type AddonsWorkflows200 = {
|
|
6501
6649
|
workflows?: AddonWorkflowListItem[];
|
|
6502
6650
|
};
|
|
@@ -7348,7 +7496,7 @@ export declare type AccountPublicKeyToggle409 = {
|
|
|
7348
7496
|
error?: string;
|
|
7349
7497
|
};
|
|
7350
7498
|
export declare type AccountPublicKeyToggle200 = {
|
|
7351
|
-
/**
|
|
7499
|
+
/** ID for the background validation task. */
|
|
7352
7500
|
job_id?: number;
|
|
7353
7501
|
};
|
|
7354
7502
|
export declare type AccountPublicKeyToggleBody = {
|
|
@@ -7848,6 +7996,61 @@ export interface BackupNotificationsEmail {
|
|
|
7848
7996
|
/** Notify on successful backups */
|
|
7849
7997
|
successful_backups: BackupNotificationsEmailSuccessfulBackups;
|
|
7850
7998
|
}
|
|
7999
|
+
/**
|
|
8000
|
+
* Visual severity level used by Account Manager to style the banner.
|
|
8001
|
+
*/
|
|
8002
|
+
export declare type AnnouncementSeverity = typeof AnnouncementSeverity[keyof typeof AnnouncementSeverity];
|
|
8003
|
+
export declare const AnnouncementSeverity: {
|
|
8004
|
+
readonly NEUTRAL: "NEUTRAL";
|
|
8005
|
+
readonly SUCCESS: "SUCCESS";
|
|
8006
|
+
readonly WARNING: "WARNING";
|
|
8007
|
+
readonly ERROR: "ERROR";
|
|
8008
|
+
};
|
|
8009
|
+
/**
|
|
8010
|
+
* A single global announcement banner loaded from object storage.
|
|
8011
|
+
*/
|
|
8012
|
+
export interface Announcement {
|
|
8013
|
+
/** Whether the announcement is active. Inactive announcements may still be returned; clients decide whether to hide them. */
|
|
8014
|
+
active?: boolean;
|
|
8015
|
+
/**
|
|
8016
|
+
* Optional call-to-action button label. Omitted from the response when not set in object storage.
|
|
8017
|
+
* @nullable
|
|
8018
|
+
*/
|
|
8019
|
+
'cta-label'?: string | null;
|
|
8020
|
+
/**
|
|
8021
|
+
* Optional URL opened when the call-to-action is clicked. Omitted from the response when not set in object storage.
|
|
8022
|
+
* @nullable
|
|
8023
|
+
*/
|
|
8024
|
+
'cta-redirect-url'?: string | null;
|
|
8025
|
+
/** Whether the user can dismiss the banner in Account Manager. */
|
|
8026
|
+
dismissible?: boolean;
|
|
8027
|
+
/** Primary banner text shown to the user. May contain plain text or HTML. */
|
|
8028
|
+
heading?: string;
|
|
8029
|
+
/** Unique identifier for the announcement. */
|
|
8030
|
+
id?: string;
|
|
8031
|
+
/** Pages or routes where the announcement should appear. Use "All" to show on every targeted Account Manager page. */
|
|
8032
|
+
pageTargets?: string[];
|
|
8033
|
+
/** Visual severity level used by Account Manager to style the banner. */
|
|
8034
|
+
severity?: AnnouncementSeverity;
|
|
8035
|
+
/**
|
|
8036
|
+
* Optional secondary banner text. Omitted from the response when not set in object storage.
|
|
8037
|
+
* @nullable
|
|
8038
|
+
*/
|
|
8039
|
+
'sub-heading'?: string | null;
|
|
8040
|
+
}
|
|
8041
|
+
/**
|
|
8042
|
+
* A single bullhorn announcement loaded from object storage.
|
|
8043
|
+
*/
|
|
8044
|
+
export interface BullhornAnnouncement {
|
|
8045
|
+
/** Supporting bullhorn announcement text. */
|
|
8046
|
+
body: string;
|
|
8047
|
+
/** Feature area where the bullhorn announcement should appear. */
|
|
8048
|
+
featureKey: string;
|
|
8049
|
+
/** Primary bullhorn announcement title. */
|
|
8050
|
+
header: string;
|
|
8051
|
+
/** Destination URL opened when the bullhorn announcement is clicked. */
|
|
8052
|
+
url: string;
|
|
8053
|
+
}
|
|
7851
8054
|
/**
|
|
7852
8055
|
* Which character set to use for the autorespond email content
|
|
7853
8056
|
*/
|