@newfold/huapi-js 2.2011.0 → 2.2026.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 +191 -1
- package/src/index.js +149 -1
- package/src/index.msw.d.ts +13 -1
- package/src/index.msw.js +75 -3
- package/src/index.schemas.d.ts +445 -144
- package/src/index.schemas.js +20 -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.2026.0
|
|
7
7
|
*/
|
|
8
8
|
export declare type SshKeyListV4200RowsItem = {
|
|
9
9
|
authorize?: boolean;
|
|
@@ -575,17 +575,6 @@ export declare type SitesDomainsV2200DomainsItem = {
|
|
|
575
575
|
export declare type SitesDomainsV2Params = {
|
|
576
576
|
scan?: boolean;
|
|
577
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
578
|
/**
|
|
590
579
|
* @nullable
|
|
591
580
|
*/
|
|
@@ -613,63 +602,6 @@ export declare type SitesListV2200ItemsItemStaging = {
|
|
|
613
602
|
/** A list of staging sites of the current site */
|
|
614
603
|
sites?: number[];
|
|
615
604
|
} | null;
|
|
616
|
-
export declare type SitesListV2200ItemsItemResourcesStorage = {
|
|
617
|
-
/** @nullable */
|
|
618
|
-
available?: number | null;
|
|
619
|
-
/** @nullable */
|
|
620
|
-
total?: number | null;
|
|
621
|
-
unit?: string;
|
|
622
|
-
/** @nullable */
|
|
623
|
-
used?: number | null;
|
|
624
|
-
};
|
|
625
|
-
export declare type SitesListV2200ItemsItemResources = {
|
|
626
|
-
storage?: SitesListV2200ItemsItemResourcesStorage;
|
|
627
|
-
/** @nullable */
|
|
628
|
-
workers?: number | null;
|
|
629
|
-
};
|
|
630
|
-
/**
|
|
631
|
-
* @nullable
|
|
632
|
-
*/
|
|
633
|
-
export declare type SitesListV2200ItemsItemPendingUrlData = {
|
|
634
|
-
/**
|
|
635
|
-
* The root domain name
|
|
636
|
-
* @nullable
|
|
637
|
-
*/
|
|
638
|
-
base_domain?: string | null;
|
|
639
|
-
/**
|
|
640
|
-
* The Fully Qualified Domain Name (FQDN)
|
|
641
|
-
* @nullable
|
|
642
|
-
*/
|
|
643
|
-
domain?: string | null;
|
|
644
|
-
/**
|
|
645
|
-
* The current pending_url's HAL Domain ID
|
|
646
|
-
* @nullable
|
|
647
|
-
*/
|
|
648
|
-
domain_id?: number | null;
|
|
649
|
-
/** @nullable */
|
|
650
|
-
error?: string | null;
|
|
651
|
-
/** Flag indicating whether the pending_url is temporary or not */
|
|
652
|
-
is_temp?: boolean;
|
|
653
|
-
/**
|
|
654
|
-
* Flag indicating whether the url_sync job has run out of attempts
|
|
655
|
-
* @nullable
|
|
656
|
-
*/
|
|
657
|
-
job_failed?: boolean | null;
|
|
658
|
-
/** @nullable */
|
|
659
|
-
stage?: string | null;
|
|
660
|
-
/**
|
|
661
|
-
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
662
|
-
* @nullable
|
|
663
|
-
*/
|
|
664
|
-
wp_session?: string | null;
|
|
665
|
-
} | null;
|
|
666
|
-
/**
|
|
667
|
-
* Job ids for the site
|
|
668
|
-
* @nullable
|
|
669
|
-
*/
|
|
670
|
-
export declare type SitesListV2200ItemsItemJobs = {
|
|
671
|
-
[key: string]: unknown;
|
|
672
|
-
} | null;
|
|
673
605
|
export declare type SitesListV2200ItemsItem = {
|
|
674
606
|
/** @nullable */
|
|
675
607
|
account_back_ref?: string | null;
|
|
@@ -748,6 +680,74 @@ export declare type SitesListV2200ItemsItem = {
|
|
|
748
680
|
*/
|
|
749
681
|
version_ptr?: string | null;
|
|
750
682
|
};
|
|
683
|
+
export declare type SitesListV2200 = {
|
|
684
|
+
items?: SitesListV2200ItemsItem[];
|
|
685
|
+
/** page size */
|
|
686
|
+
limit?: number;
|
|
687
|
+
/** current page number */
|
|
688
|
+
page?: number;
|
|
689
|
+
/** total number of pages */
|
|
690
|
+
pages?: number;
|
|
691
|
+
/** total number of sites returned */
|
|
692
|
+
total?: number;
|
|
693
|
+
};
|
|
694
|
+
export declare type SitesListV2200ItemsItemResourcesStorage = {
|
|
695
|
+
/** @nullable */
|
|
696
|
+
available?: number | null;
|
|
697
|
+
/** @nullable */
|
|
698
|
+
total?: number | null;
|
|
699
|
+
unit?: string;
|
|
700
|
+
/** @nullable */
|
|
701
|
+
used?: number | null;
|
|
702
|
+
};
|
|
703
|
+
export declare type SitesListV2200ItemsItemResources = {
|
|
704
|
+
storage?: SitesListV2200ItemsItemResourcesStorage;
|
|
705
|
+
/** @nullable */
|
|
706
|
+
workers?: number | null;
|
|
707
|
+
};
|
|
708
|
+
/**
|
|
709
|
+
* @nullable
|
|
710
|
+
*/
|
|
711
|
+
export declare type SitesListV2200ItemsItemPendingUrlData = {
|
|
712
|
+
/**
|
|
713
|
+
* The root domain name
|
|
714
|
+
* @nullable
|
|
715
|
+
*/
|
|
716
|
+
base_domain?: string | null;
|
|
717
|
+
/**
|
|
718
|
+
* The Fully Qualified Domain Name (FQDN)
|
|
719
|
+
* @nullable
|
|
720
|
+
*/
|
|
721
|
+
domain?: string | null;
|
|
722
|
+
/**
|
|
723
|
+
* The current pending_url's HAL Domain ID
|
|
724
|
+
* @nullable
|
|
725
|
+
*/
|
|
726
|
+
domain_id?: number | null;
|
|
727
|
+
/** @nullable */
|
|
728
|
+
error?: string | null;
|
|
729
|
+
/** Flag indicating whether the pending_url is temporary or not */
|
|
730
|
+
is_temp?: boolean;
|
|
731
|
+
/**
|
|
732
|
+
* Flag indicating whether the url_sync job has run out of attempts
|
|
733
|
+
* @nullable
|
|
734
|
+
*/
|
|
735
|
+
job_failed?: boolean | null;
|
|
736
|
+
/** @nullable */
|
|
737
|
+
stage?: string | null;
|
|
738
|
+
/**
|
|
739
|
+
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
740
|
+
* @nullable
|
|
741
|
+
*/
|
|
742
|
+
wp_session?: string | null;
|
|
743
|
+
} | null;
|
|
744
|
+
/**
|
|
745
|
+
* Job ids for the site
|
|
746
|
+
* @nullable
|
|
747
|
+
*/
|
|
748
|
+
export declare type SitesListV2200ItemsItemJobs = {
|
|
749
|
+
[key: string]: unknown;
|
|
750
|
+
} | null;
|
|
751
751
|
export declare type SshKeyV2200 = {
|
|
752
752
|
deleted?: number;
|
|
753
753
|
key_name?: string;
|
|
@@ -1884,8 +1884,11 @@ export declare type UserHosting200RowsItemBilling = {
|
|
|
1884
1884
|
export declare type UserHosting200RowsItem = {
|
|
1885
1885
|
/** Additional information about the account */
|
|
1886
1886
|
account_info?: UserHosting200RowsItemAccountInfo;
|
|
1887
|
-
/**
|
|
1888
|
-
|
|
1887
|
+
/**
|
|
1888
|
+
* HAL Account back_reference, used to link to the product instance
|
|
1889
|
+
* @nullable
|
|
1890
|
+
*/
|
|
1891
|
+
back_reference?: string | null;
|
|
1889
1892
|
/**
|
|
1890
1893
|
* Information from the billing system about this hosting account
|
|
1891
1894
|
* @nullable
|
|
@@ -2831,6 +2834,18 @@ export declare type SitesMetricDimensions200DimensionsVisitorAsnItem = {
|
|
|
2831
2834
|
dimension?: SitesMetricDimensions200DimensionsVisitorAsnItemDimension;
|
|
2832
2835
|
timestamp?: number;
|
|
2833
2836
|
};
|
|
2837
|
+
export declare type SitesMetricDimensions200Dimensions = {
|
|
2838
|
+
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
2839
|
+
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
2840
|
+
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
2841
|
+
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
2842
|
+
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
2843
|
+
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
2844
|
+
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
2845
|
+
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
2846
|
+
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
2847
|
+
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
2848
|
+
};
|
|
2834
2849
|
export declare type SitesMetricDimensions200DimensionsPageRendererItemDimension = {
|
|
2835
2850
|
[key: string]: number;
|
|
2836
2851
|
};
|
|
@@ -2845,18 +2860,6 @@ export declare type SitesMetricDimensions200DimensionsPageIsCachedItem = {
|
|
|
2845
2860
|
dimension?: SitesMetricDimensions200DimensionsPageIsCachedItemDimension;
|
|
2846
2861
|
timestamp?: number;
|
|
2847
2862
|
};
|
|
2848
|
-
export declare type SitesMetricDimensions200Dimensions = {
|
|
2849
|
-
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
2850
|
-
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
2851
|
-
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
2852
|
-
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
2853
|
-
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
2854
|
-
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
2855
|
-
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
2856
|
-
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
2857
|
-
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
2858
|
-
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
2859
|
-
};
|
|
2860
2863
|
export declare type SitesMetricDimensions200DimensionsHttpVersionItemDimension = {
|
|
2861
2864
|
[key: string]: number;
|
|
2862
2865
|
};
|
|
@@ -3434,6 +3437,20 @@ export declare type SitesInfo200Staging = {
|
|
|
3434
3437
|
/** A list of staging sites of the current site */
|
|
3435
3438
|
sites?: number[];
|
|
3436
3439
|
} | null;
|
|
3440
|
+
export declare type SitesInfo200ResourcesStorage = {
|
|
3441
|
+
/** @nullable */
|
|
3442
|
+
available?: number | null;
|
|
3443
|
+
/** @nullable */
|
|
3444
|
+
total?: number | null;
|
|
3445
|
+
unit?: string;
|
|
3446
|
+
/** @nullable */
|
|
3447
|
+
used?: number | null;
|
|
3448
|
+
};
|
|
3449
|
+
export declare type SitesInfo200Resources = {
|
|
3450
|
+
storage?: SitesInfo200ResourcesStorage;
|
|
3451
|
+
/** @nullable */
|
|
3452
|
+
workers?: number | null;
|
|
3453
|
+
};
|
|
3437
3454
|
/**
|
|
3438
3455
|
* @nullable
|
|
3439
3456
|
*/
|
|
@@ -3583,20 +3600,6 @@ export declare type SitesInfo200 = {
|
|
|
3583
3600
|
/** @nullable */
|
|
3584
3601
|
wp_multi_site?: SitesInfo200WpMultiSite;
|
|
3585
3602
|
};
|
|
3586
|
-
export declare type SitesInfo200ResourcesStorage = {
|
|
3587
|
-
/** @nullable */
|
|
3588
|
-
available?: number | null;
|
|
3589
|
-
/** @nullable */
|
|
3590
|
-
total?: number | null;
|
|
3591
|
-
unit?: string;
|
|
3592
|
-
/** @nullable */
|
|
3593
|
-
used?: number | null;
|
|
3594
|
-
};
|
|
3595
|
-
export declare type SitesInfo200Resources = {
|
|
3596
|
-
storage?: SitesInfo200ResourcesStorage;
|
|
3597
|
-
/** @nullable */
|
|
3598
|
-
workers?: number | null;
|
|
3599
|
-
};
|
|
3600
3603
|
export declare type PublicRegions200RowsItem = {
|
|
3601
3604
|
/**
|
|
3602
3605
|
* Whether dedicated configurator is active for this region
|
|
@@ -3648,6 +3651,16 @@ export declare type PublicRegions200 = {
|
|
|
3648
3651
|
/** List of regions */
|
|
3649
3652
|
rows?: PublicRegions200RowsItem[];
|
|
3650
3653
|
};
|
|
3654
|
+
export declare type PublicImages200 = {
|
|
3655
|
+
/** Limit the number of images returned */
|
|
3656
|
+
limit?: PublicImages200Limit;
|
|
3657
|
+
/** Number of images returned */
|
|
3658
|
+
n_rows?: PublicImages200NRows;
|
|
3659
|
+
/** Page number */
|
|
3660
|
+
page?: PublicImages200Page;
|
|
3661
|
+
/** List of images */
|
|
3662
|
+
rows?: PublicImages200RowsItem[];
|
|
3663
|
+
};
|
|
3651
3664
|
/**
|
|
3652
3665
|
* Links
|
|
3653
3666
|
* @nullable
|
|
@@ -3800,16 +3813,6 @@ export declare type PublicImages200NRows = string | number;
|
|
|
3800
3813
|
* Limit the number of images returned
|
|
3801
3814
|
*/
|
|
3802
3815
|
export declare type PublicImages200Limit = string | number;
|
|
3803
|
-
export declare type PublicImages200 = {
|
|
3804
|
-
/** Limit the number of images returned */
|
|
3805
|
-
limit?: PublicImages200Limit;
|
|
3806
|
-
/** Number of images returned */
|
|
3807
|
-
n_rows?: PublicImages200NRows;
|
|
3808
|
-
/** Page number */
|
|
3809
|
-
page?: PublicImages200Page;
|
|
3810
|
-
/** List of images */
|
|
3811
|
-
rows?: PublicImages200RowsItem[];
|
|
3812
|
-
};
|
|
3813
3816
|
export declare type PublicImagesParams = {
|
|
3814
3817
|
/**
|
|
3815
3818
|
* Brand identifier for HAL admin calls.
|
|
@@ -3830,17 +3833,6 @@ export declare type HostingVisitors200VisitorsItem = {
|
|
|
3830
3833
|
unique_visitors?: number;
|
|
3831
3834
|
visitors?: number;
|
|
3832
3835
|
};
|
|
3833
|
-
export declare type HostingVisitors200 = {
|
|
3834
|
-
daily?: HostingVisitors200Daily;
|
|
3835
|
-
is_linked_domain?: boolean;
|
|
3836
|
-
linked_domain?: string;
|
|
3837
|
-
total_bandwidth?: number;
|
|
3838
|
-
total_hits?: number;
|
|
3839
|
-
total_pages?: number;
|
|
3840
|
-
total_unique_visitors?: number;
|
|
3841
|
-
total_visitors?: number;
|
|
3842
|
-
visitors?: HostingVisitors200VisitorsItem[];
|
|
3843
|
-
};
|
|
3844
3836
|
export declare type HostingVisitors200DailyTotal = {
|
|
3845
3837
|
total_bandwidth?: number;
|
|
3846
3838
|
total_hits?: number;
|
|
@@ -3860,6 +3852,17 @@ export declare type HostingVisitors200Daily = {
|
|
|
3860
3852
|
data?: HostingVisitors200DailyDataItem[];
|
|
3861
3853
|
total?: HostingVisitors200DailyTotal;
|
|
3862
3854
|
};
|
|
3855
|
+
export declare type HostingVisitors200 = {
|
|
3856
|
+
daily?: HostingVisitors200Daily;
|
|
3857
|
+
is_linked_domain?: boolean;
|
|
3858
|
+
linked_domain?: string;
|
|
3859
|
+
total_bandwidth?: number;
|
|
3860
|
+
total_hits?: number;
|
|
3861
|
+
total_pages?: number;
|
|
3862
|
+
total_unique_visitors?: number;
|
|
3863
|
+
total_visitors?: number;
|
|
3864
|
+
visitors?: HostingVisitors200VisitorsItem[];
|
|
3865
|
+
};
|
|
3863
3866
|
export declare type HostingVisitorsSource = typeof HostingVisitorsSource[keyof typeof HostingVisitorsSource];
|
|
3864
3867
|
export declare const HostingVisitorsSource: {
|
|
3865
3868
|
readonly http: "http";
|
|
@@ -4018,6 +4021,8 @@ export declare type HostingSpamexpertsEligibleDomains200RowsItem = {
|
|
|
4018
4021
|
domain?: string;
|
|
4019
4022
|
/** HAL domain id */
|
|
4020
4023
|
id?: number;
|
|
4024
|
+
/** Whether the domain is autogenerated */
|
|
4025
|
+
is_autogen?: boolean;
|
|
4021
4026
|
/** Domain status on the hosting account */
|
|
4022
4027
|
status?: string;
|
|
4023
4028
|
/** Domain type */
|
|
@@ -4173,9 +4178,6 @@ export declare type HostingRedirects200Item = {
|
|
|
4173
4178
|
url?: string;
|
|
4174
4179
|
wildcard?: boolean;
|
|
4175
4180
|
};
|
|
4176
|
-
export declare type ProductLicenseDetails200 = {
|
|
4177
|
-
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
4178
|
-
};
|
|
4179
4181
|
export declare type ProductLicenseDetails200WpsolutionCreatorItem = {
|
|
4180
4182
|
expirationDate?: string;
|
|
4181
4183
|
prodInstId?: string;
|
|
@@ -4189,6 +4191,9 @@ export declare type ProductLicenseDetails200Wpsolution = {
|
|
|
4189
4191
|
creator?: ProductLicenseDetails200WpsolutionCreatorItem[];
|
|
4190
4192
|
total?: number;
|
|
4191
4193
|
};
|
|
4194
|
+
export declare type ProductLicenseDetails200 = {
|
|
4195
|
+
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
4196
|
+
};
|
|
4192
4197
|
export declare type ProductLicenseDetailsProductName = typeof ProductLicenseDetailsProductName[keyof typeof ProductLicenseDetailsProductName];
|
|
4193
4198
|
export declare const ProductLicenseDetailsProductName: {
|
|
4194
4199
|
readonly wpsolution: "wpsolution";
|
|
@@ -5144,12 +5149,6 @@ export declare type HostingEmailFiltersAddBody = {
|
|
|
5144
5149
|
/** list of rules to be applied to the filter */
|
|
5145
5150
|
rules?: HostingEmailFiltersAddBodyRulesItem[];
|
|
5146
5151
|
};
|
|
5147
|
-
export declare type HostingEmailFiltersList200 = {
|
|
5148
|
-
/** The number of filters */
|
|
5149
|
-
count?: number;
|
|
5150
|
-
/** List of filters */
|
|
5151
|
-
filters?: HostingEmailFiltersList200FiltersItem[];
|
|
5152
|
-
};
|
|
5153
5152
|
export declare type HostingEmailFiltersList200FiltersItemRulesItem = {
|
|
5154
5153
|
match?: FilterRuleMatch;
|
|
5155
5154
|
opt?: FilterRuleOpt;
|
|
@@ -5180,6 +5179,12 @@ export declare type HostingEmailFiltersList200FiltersItem = {
|
|
|
5180
5179
|
/** Whether the filter is unescaped */
|
|
5181
5180
|
unescaped?: boolean;
|
|
5182
5181
|
};
|
|
5182
|
+
export declare type HostingEmailFiltersList200 = {
|
|
5183
|
+
/** The number of filters */
|
|
5184
|
+
count?: number;
|
|
5185
|
+
/** List of filters */
|
|
5186
|
+
filters?: HostingEmailFiltersList200FiltersItem[];
|
|
5187
|
+
};
|
|
5183
5188
|
export declare type HostingEmailFiltersListParams = {
|
|
5184
5189
|
/**
|
|
5185
5190
|
* The email account address to query filters by
|
|
@@ -5356,10 +5361,6 @@ export declare type HostingEmailUpdateBody = {
|
|
|
5356
5361
|
/** The password for the email */
|
|
5357
5362
|
password?: string;
|
|
5358
5363
|
};
|
|
5359
|
-
export declare type HostingEmailList200 = {
|
|
5360
|
-
/** List of email resources */
|
|
5361
|
-
rows?: HostingEmailList200RowsItem[];
|
|
5362
|
-
};
|
|
5363
5364
|
/**
|
|
5364
5365
|
* List of suspensions that affect the entire user account
|
|
5365
5366
|
* @nullable
|
|
@@ -5449,6 +5450,10 @@ export declare type HostingEmailList200RowsItem = {
|
|
|
5449
5450
|
*/
|
|
5450
5451
|
utf8_folders?: boolean | null;
|
|
5451
5452
|
};
|
|
5453
|
+
export declare type HostingEmailList200 = {
|
|
5454
|
+
/** List of email resources */
|
|
5455
|
+
rows?: HostingEmailList200RowsItem[];
|
|
5456
|
+
};
|
|
5452
5457
|
export declare type HostingEmailDelete200 = {
|
|
5453
5458
|
[key: string]: unknown;
|
|
5454
5459
|
};
|
|
@@ -6508,6 +6513,19 @@ export declare type HostingAccount200ResourcesStorage = {
|
|
|
6508
6513
|
/** @nullable */
|
|
6509
6514
|
used?: number | null;
|
|
6510
6515
|
};
|
|
6516
|
+
/**
|
|
6517
|
+
* @nullable
|
|
6518
|
+
*/
|
|
6519
|
+
export declare type HostingAccount200Resources = {
|
|
6520
|
+
staging?: HostingAccount200ResourcesStaging;
|
|
6521
|
+
storage?: HostingAccount200ResourcesStorage;
|
|
6522
|
+
/**
|
|
6523
|
+
* Usage statistics for non-staging sites
|
|
6524
|
+
* @nullable
|
|
6525
|
+
*/
|
|
6526
|
+
used?: HostingAccount200ResourcesUsed;
|
|
6527
|
+
workers?: HostingAccount200ResourcesWorkers;
|
|
6528
|
+
} | null;
|
|
6511
6529
|
export declare type HostingAccount200ResourcesStagingWorkers = {
|
|
6512
6530
|
/** @nullable */
|
|
6513
6531
|
available?: number | null;
|
|
@@ -6529,19 +6547,6 @@ export declare type HostingAccount200ResourcesStaging = {
|
|
|
6529
6547
|
storage?: HostingAccount200ResourcesStagingStorage;
|
|
6530
6548
|
workers?: HostingAccount200ResourcesStagingWorkers;
|
|
6531
6549
|
};
|
|
6532
|
-
/**
|
|
6533
|
-
* @nullable
|
|
6534
|
-
*/
|
|
6535
|
-
export declare type HostingAccount200Resources = {
|
|
6536
|
-
staging?: HostingAccount200ResourcesStaging;
|
|
6537
|
-
storage?: HostingAccount200ResourcesStorage;
|
|
6538
|
-
/**
|
|
6539
|
-
* Usage statistics for non-staging sites
|
|
6540
|
-
* @nullable
|
|
6541
|
-
*/
|
|
6542
|
-
used?: HostingAccount200ResourcesUsed;
|
|
6543
|
-
workers?: HostingAccount200ResourcesWorkers;
|
|
6544
|
-
} | null;
|
|
6545
6550
|
export declare type HostingAccount200Billing = {
|
|
6546
6551
|
prod_code?: string;
|
|
6547
6552
|
product_name?: string;
|
|
@@ -6602,6 +6607,186 @@ export declare type AccessLogsParams = {
|
|
|
6602
6607
|
*/
|
|
6603
6608
|
type?: AccessLogsType;
|
|
6604
6609
|
};
|
|
6610
|
+
export declare type DomainHealth200SourcesZoneXns = {
|
|
6611
|
+
[key: string]: unknown;
|
|
6612
|
+
};
|
|
6613
|
+
export declare type DomainHealth200SourcesZoneRegistrar = {
|
|
6614
|
+
[key: string]: unknown;
|
|
6615
|
+
};
|
|
6616
|
+
export declare type DomainHealth200SourcesZoneBox = {
|
|
6617
|
+
[key: string]: unknown;
|
|
6618
|
+
};
|
|
6619
|
+
export declare type DomainHealth200SourcesDnsStatus = {
|
|
6620
|
+
[key: string]: unknown;
|
|
6621
|
+
};
|
|
6622
|
+
export declare type DomainHealth200SourcesDeliverability = {
|
|
6623
|
+
[key: string]: unknown;
|
|
6624
|
+
};
|
|
6625
|
+
/**
|
|
6626
|
+
* @nullable
|
|
6627
|
+
*/
|
|
6628
|
+
export declare type DomainHealth200Sources = {
|
|
6629
|
+
deliverability?: DomainHealth200SourcesDeliverability;
|
|
6630
|
+
dns_status?: DomainHealth200SourcesDnsStatus;
|
|
6631
|
+
zone_box?: DomainHealth200SourcesZoneBox;
|
|
6632
|
+
zone_registrar?: DomainHealth200SourcesZoneRegistrar;
|
|
6633
|
+
zone_xns?: DomainHealth200SourcesZoneXns;
|
|
6634
|
+
} | null;
|
|
6635
|
+
/**
|
|
6636
|
+
* @nullable
|
|
6637
|
+
*/
|
|
6638
|
+
export declare type DomainHealth200SourceTimings = {
|
|
6639
|
+
deliverability?: number;
|
|
6640
|
+
dns_status?: number;
|
|
6641
|
+
zone_box?: number;
|
|
6642
|
+
zone_registrar?: number;
|
|
6643
|
+
zone_xns?: number;
|
|
6644
|
+
} | null;
|
|
6645
|
+
export declare type DomainHealth200LayersLabels = {
|
|
6646
|
+
[key: string]: unknown;
|
|
6647
|
+
};
|
|
6648
|
+
/**
|
|
6649
|
+
* @nullable
|
|
6650
|
+
*/
|
|
6651
|
+
export declare type DomainHealth200Layers = {
|
|
6652
|
+
labels?: DomainHealth200LayersLabels;
|
|
6653
|
+
order?: string[];
|
|
6654
|
+
} | null;
|
|
6655
|
+
/**
|
|
6656
|
+
* @nullable
|
|
6657
|
+
*/
|
|
6658
|
+
export declare type DomainHealth200Context = {
|
|
6659
|
+
account_id?: number;
|
|
6660
|
+
back_reference?: string;
|
|
6661
|
+
domain?: string;
|
|
6662
|
+
domain_id?: string;
|
|
6663
|
+
parent_zone_domain?: string;
|
|
6664
|
+
} | null;
|
|
6665
|
+
export declare type DomainHealth200ChecksItemObserved = {
|
|
6666
|
+
cpanel?: string[];
|
|
6667
|
+
hosting_zone?: string[];
|
|
6668
|
+
internal_dns?: string[];
|
|
6669
|
+
public?: string[];
|
|
6670
|
+
public_dns?: string[];
|
|
6671
|
+
/** @nullable */
|
|
6672
|
+
registrar?: string[] | null;
|
|
6673
|
+
xns?: string[];
|
|
6674
|
+
};
|
|
6675
|
+
export declare type DomainHealth200ChecksItem = {
|
|
6676
|
+
cname_target?: string;
|
|
6677
|
+
code?: string;
|
|
6678
|
+
expected?: string[];
|
|
6679
|
+
explanation?: string;
|
|
6680
|
+
hostname?: string;
|
|
6681
|
+
layers_agree?: number;
|
|
6682
|
+
observed?: DomainHealth200ChecksItemObserved;
|
|
6683
|
+
reason?: string;
|
|
6684
|
+
record_type?: string;
|
|
6685
|
+
severity?: string;
|
|
6686
|
+
status?: string;
|
|
6687
|
+
support_category?: string;
|
|
6688
|
+
};
|
|
6689
|
+
/**
|
|
6690
|
+
* @nullable
|
|
6691
|
+
*/
|
|
6692
|
+
export declare type DomainHealth200Cache = {
|
|
6693
|
+
cached_at?: string;
|
|
6694
|
+
expires_at?: string;
|
|
6695
|
+
hit?: number;
|
|
6696
|
+
stale?: number;
|
|
6697
|
+
} | null;
|
|
6698
|
+
export declare type DomainHealth200 = {
|
|
6699
|
+
/**
|
|
6700
|
+
* The alignment status: aligned , misaligned , partial , propagating , unknown , error
|
|
6701
|
+
* @nullable
|
|
6702
|
+
*/
|
|
6703
|
+
alignment_status?: string | null;
|
|
6704
|
+
/** @nullable */
|
|
6705
|
+
cache?: DomainHealth200Cache;
|
|
6706
|
+
/**
|
|
6707
|
+
* Per-record A/NS checks with observed layers. Empty on cache hit.
|
|
6708
|
+
* @nullable
|
|
6709
|
+
*/
|
|
6710
|
+
checks?: DomainHealth200ChecksItem[] | null;
|
|
6711
|
+
/** @nullable */
|
|
6712
|
+
context?: DomainHealth200Context;
|
|
6713
|
+
/** @nullable */
|
|
6714
|
+
execution_ms?: number | null;
|
|
6715
|
+
/** @nullable */
|
|
6716
|
+
expected_source_order?: string[] | null;
|
|
6717
|
+
/** @nullable */
|
|
6718
|
+
layers?: DomainHealth200Layers;
|
|
6719
|
+
/**
|
|
6720
|
+
* Highest-severity issue code when not aligned.
|
|
6721
|
+
* @nullable
|
|
6722
|
+
*/
|
|
6723
|
+
primary_issue_code?: string | null;
|
|
6724
|
+
/**
|
|
6725
|
+
* The schema version: 1.1
|
|
6726
|
+
* @nullable
|
|
6727
|
+
*/
|
|
6728
|
+
schema_version?: string | null;
|
|
6729
|
+
/**
|
|
6730
|
+
* Severity: critical , high , medium , low , info
|
|
6731
|
+
* @nullable
|
|
6732
|
+
*/
|
|
6733
|
+
severity?: string | null;
|
|
6734
|
+
/** @nullable */
|
|
6735
|
+
source_timings?: DomainHealth200SourceTimings;
|
|
6736
|
+
/** @nullable */
|
|
6737
|
+
sources?: DomainHealth200Sources;
|
|
6738
|
+
/**
|
|
6739
|
+
* The success status: 1 when aligned; 0 otherwise.
|
|
6740
|
+
* @nullable
|
|
6741
|
+
*/
|
|
6742
|
+
success?: number | null;
|
|
6743
|
+
};
|
|
6744
|
+
export declare type DomainHealthCacheMode = typeof DomainHealthCacheMode[keyof typeof DomainHealthCacheMode];
|
|
6745
|
+
export declare const DomainHealthCacheMode: {
|
|
6746
|
+
readonly auto: "auto";
|
|
6747
|
+
readonly cache_only: "cache_only";
|
|
6748
|
+
readonly live: "live";
|
|
6749
|
+
};
|
|
6750
|
+
export declare type DomainHealthInclude = typeof DomainHealthInclude[keyof typeof DomainHealthInclude];
|
|
6751
|
+
export declare const DomainHealthInclude: {
|
|
6752
|
+
readonly public: "public";
|
|
6753
|
+
readonly box: "box";
|
|
6754
|
+
readonly xns: "xns";
|
|
6755
|
+
readonly registrar: "registrar";
|
|
6756
|
+
};
|
|
6757
|
+
export declare type DomainHealthChecksItem = typeof DomainHealthChecksItem[keyof typeof DomainHealthChecksItem];
|
|
6758
|
+
export declare const DomainHealthChecksItem: {
|
|
6759
|
+
readonly hosting: "hosting";
|
|
6760
|
+
readonly email: "email";
|
|
6761
|
+
readonly ssl_prereq: "ssl_prereq";
|
|
6762
|
+
readonly cdn: "cdn";
|
|
6763
|
+
};
|
|
6764
|
+
export declare type DomainHealthParams = {
|
|
6765
|
+
/**
|
|
6766
|
+
* The checks to perform
|
|
6767
|
+
*/
|
|
6768
|
+
checks?: DomainHealthChecksItem[];
|
|
6769
|
+
/**
|
|
6770
|
+
* Sources to collect
|
|
6771
|
+
*/
|
|
6772
|
+
include?: DomainHealthInclude;
|
|
6773
|
+
/**
|
|
6774
|
+
* Extra hostnames beyond apex/www
|
|
6775
|
+
*/
|
|
6776
|
+
hostnames?: string;
|
|
6777
|
+
/**
|
|
6778
|
+
* Cache mode: auto, cache_only, or live
|
|
6779
|
+
*/
|
|
6780
|
+
cache_mode?: DomainHealthCacheMode;
|
|
6781
|
+
/**
|
|
6782
|
+
* Perform deep DNS check; will require longer response time
|
|
6783
|
+
*/
|
|
6784
|
+
deep?: boolean;
|
|
6785
|
+
/**
|
|
6786
|
+
* Include raw_records in response only; does not change alignment logic
|
|
6787
|
+
*/
|
|
6788
|
+
raw_records?: boolean;
|
|
6789
|
+
};
|
|
6605
6790
|
export declare type DomainsUnsetEntriUsed200 = {
|
|
6606
6791
|
[key: string]: unknown;
|
|
6607
6792
|
};
|
|
@@ -7070,6 +7255,59 @@ export declare type MonarxAddonSealGenerationParams = {
|
|
|
7070
7255
|
*/
|
|
7071
7256
|
domain_name?: string;
|
|
7072
7257
|
};
|
|
7258
|
+
export declare type AddonsLlmKeysDelete200 = {
|
|
7259
|
+
[key: string]: unknown;
|
|
7260
|
+
};
|
|
7261
|
+
export declare type AddonsLlmKeysDeleteBody = {
|
|
7262
|
+
/** the name of the key to be deleted */
|
|
7263
|
+
key_name: string;
|
|
7264
|
+
};
|
|
7265
|
+
export declare type AddonsLlmKeysCreate200 = {
|
|
7266
|
+
/** URL to be used in conjunction with a key to communicate with the LLM Gateway */
|
|
7267
|
+
inference_base_url?: string;
|
|
7268
|
+
/** The key that was created */
|
|
7269
|
+
virtual_key?: string;
|
|
7270
|
+
};
|
|
7271
|
+
export declare type AddonsLlmKeysCreateBody = {
|
|
7272
|
+
/** the name of the key to be added */
|
|
7273
|
+
key_name: string;
|
|
7274
|
+
};
|
|
7275
|
+
export declare type AddonsLlmKeys200 = {
|
|
7276
|
+
/** URL to be used in conjunction with a key to communicate with the LLM Gateway */
|
|
7277
|
+
inference_base_url?: string;
|
|
7278
|
+
keys?: AddonsLlmKeyResponseModel[];
|
|
7279
|
+
/** page size */
|
|
7280
|
+
limit?: number;
|
|
7281
|
+
/** total number of pages */
|
|
7282
|
+
n_pages?: number;
|
|
7283
|
+
/** total number of keys */
|
|
7284
|
+
n_rows?: number;
|
|
7285
|
+
/** current page number */
|
|
7286
|
+
page?: number;
|
|
7287
|
+
};
|
|
7288
|
+
export declare type AddonsLlmKeysParams = {
|
|
7289
|
+
/**
|
|
7290
|
+
* How many results to limit each page of responses to
|
|
7291
|
+
*/
|
|
7292
|
+
limit?: number;
|
|
7293
|
+
/**
|
|
7294
|
+
* Which page to query results for
|
|
7295
|
+
*/
|
|
7296
|
+
page?: number;
|
|
7297
|
+
/**
|
|
7298
|
+
* The name of the specific key to query for
|
|
7299
|
+
*/
|
|
7300
|
+
key_name?: string;
|
|
7301
|
+
};
|
|
7302
|
+
export declare type AddonsLlmBalance200 = {
|
|
7303
|
+
/** Amount of credits available in the LLM account tied to the addon */
|
|
7304
|
+
credit_balance?: number;
|
|
7305
|
+
/**
|
|
7306
|
+
* Timestamp of when the credits will expire
|
|
7307
|
+
* @nullable
|
|
7308
|
+
*/
|
|
7309
|
+
credit_expires_at?: string | null;
|
|
7310
|
+
};
|
|
7073
7311
|
export declare type AddonsJetpackValidate200 = {
|
|
7074
7312
|
is_connected?: boolean;
|
|
7075
7313
|
};
|
|
@@ -7857,6 +8095,37 @@ export declare type CodeguardBackupList200 = {
|
|
|
7857
8095
|
export declare type CodeguardBackupListParams = {
|
|
7858
8096
|
website_id: number;
|
|
7859
8097
|
};
|
|
8098
|
+
export declare type AccountAddonList200 = {
|
|
8099
|
+
addons?: AccountAddonResponseModel[];
|
|
8100
|
+
/** page size */
|
|
8101
|
+
limit?: number;
|
|
8102
|
+
/** total number of keys */
|
|
8103
|
+
n_rows?: number;
|
|
8104
|
+
/** current page number */
|
|
8105
|
+
page?: number;
|
|
8106
|
+
};
|
|
8107
|
+
export declare type AccountAddonListParams = {
|
|
8108
|
+
/**
|
|
8109
|
+
* How many results to limit each page of responses to
|
|
8110
|
+
*/
|
|
8111
|
+
limit?: number;
|
|
8112
|
+
/**
|
|
8113
|
+
* Which page to query results for
|
|
8114
|
+
*/
|
|
8115
|
+
page?: number;
|
|
8116
|
+
/**
|
|
8117
|
+
* Flag to query only for tenant-level addons, disregarding hosting-level addons
|
|
8118
|
+
*/
|
|
8119
|
+
tenant_only?: boolean;
|
|
8120
|
+
/**
|
|
8121
|
+
* A list of types to query for - e.g. llm
|
|
8122
|
+
*/
|
|
8123
|
+
type?: string[];
|
|
8124
|
+
/**
|
|
8125
|
+
* A list of subtypes to query for - e.g. credits
|
|
8126
|
+
*/
|
|
8127
|
+
subtype?: string[];
|
|
8128
|
+
};
|
|
7860
8129
|
export declare type AccountPublicKeyDelete404 = {
|
|
7861
8130
|
error?: string;
|
|
7862
8131
|
};
|
|
@@ -8315,6 +8584,25 @@ export declare type AccountEventListParams = {
|
|
|
8315
8584
|
*/
|
|
8316
8585
|
date_last?: string;
|
|
8317
8586
|
};
|
|
8587
|
+
export interface AccountAddonResponseModel {
|
|
8588
|
+
/**
|
|
8589
|
+
* HAL addon back reference
|
|
8590
|
+
* @nullable
|
|
8591
|
+
*/
|
|
8592
|
+
back_reference?: string | null;
|
|
8593
|
+
/** Timestamp of when the addon was created */
|
|
8594
|
+
date_added?: string;
|
|
8595
|
+
/** HAL addon ID */
|
|
8596
|
+
id?: number;
|
|
8597
|
+
/** HAL addon status */
|
|
8598
|
+
status?: string;
|
|
8599
|
+
/** HAL addon subtype */
|
|
8600
|
+
subtype?: string;
|
|
8601
|
+
/** HAL tenant ID */
|
|
8602
|
+
tenant_id?: number;
|
|
8603
|
+
/** HAL addon type */
|
|
8604
|
+
type?: string;
|
|
8605
|
+
}
|
|
8318
8606
|
export interface AddonWorkflowListItem {
|
|
8319
8607
|
/** Whether the workflow has completed all stages */
|
|
8320
8608
|
is_completed?: boolean;
|
|
@@ -8372,6 +8660,19 @@ export interface BackupNotificationsEmail {
|
|
|
8372
8660
|
/** Notify on successful backups */
|
|
8373
8661
|
successful_backups: BackupNotificationsEmailSuccessfulBackups;
|
|
8374
8662
|
}
|
|
8663
|
+
export interface AddonsLlmKeyResponseModel {
|
|
8664
|
+
/** Timestamp of when the key was created */
|
|
8665
|
+
created_at?: string;
|
|
8666
|
+
/** The masked representation of the key */
|
|
8667
|
+
key_alias?: string;
|
|
8668
|
+
/** The name of the key */
|
|
8669
|
+
key_name?: string;
|
|
8670
|
+
/**
|
|
8671
|
+
* Timestamp of when the key was last used
|
|
8672
|
+
* @nullable
|
|
8673
|
+
*/
|
|
8674
|
+
last_used_at?: string | null;
|
|
8675
|
+
}
|
|
8375
8676
|
/**
|
|
8376
8677
|
* Visual severity level used by Account Manager to style the banner.
|
|
8377
8678
|
*/
|