@newfold/huapi-js 2.1317.0 → 2.1340.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 +227 -6
- package/src/index.js +174 -2
- package/src/index.msw.d.ts +17 -3
- package/src/index.msw.js +89 -5
- package/src/index.schemas.d.ts +304 -42
- package/src/index.schemas.js +35 -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.1340.0
|
|
7
7
|
*/
|
|
8
8
|
export declare type SshKeyListV4200RowsItem = {
|
|
9
9
|
authorize?: boolean;
|
|
@@ -55,6 +55,31 @@ export declare type SshKeyImportV3Body = {
|
|
|
55
55
|
/** The entity that initiated the GAP call */
|
|
56
56
|
source?: string;
|
|
57
57
|
};
|
|
58
|
+
export declare type SiteUsersV2200UsersItemMeta = {
|
|
59
|
+
maestro_web_pro?: string;
|
|
60
|
+
maestro_wpp_identifier?: string;
|
|
61
|
+
};
|
|
62
|
+
export declare type SiteUsersV2200UsersItem = {
|
|
63
|
+
display_name?: string;
|
|
64
|
+
id: number;
|
|
65
|
+
meta?: SiteUsersV2200UsersItemMeta;
|
|
66
|
+
post_count?: number;
|
|
67
|
+
role: string;
|
|
68
|
+
user_email: string;
|
|
69
|
+
user_id: number;
|
|
70
|
+
user_login: string;
|
|
71
|
+
user_nicename: string;
|
|
72
|
+
};
|
|
73
|
+
export declare type SiteUsersV2200 = {
|
|
74
|
+
/** Total number of users that linked to the site */
|
|
75
|
+
total_users: number;
|
|
76
|
+
users: SiteUsersV2200UsersItem[];
|
|
77
|
+
};
|
|
78
|
+
export declare type SiteUsersV2Params = {
|
|
79
|
+
limit?: number;
|
|
80
|
+
page?: number;
|
|
81
|
+
search?: string;
|
|
82
|
+
};
|
|
58
83
|
export declare type SitesSshUserListV2200 = {
|
|
59
84
|
users?: SSHUsersV2Response[];
|
|
60
85
|
};
|
|
@@ -96,6 +121,28 @@ export declare type SitesSecuritySitelockV2Params = {
|
|
|
96
121
|
*/
|
|
97
122
|
source?: SitesSecuritySitelockV2Source;
|
|
98
123
|
};
|
|
124
|
+
export declare type SiteMalwareStatusV2200 = {
|
|
125
|
+
/**
|
|
126
|
+
* addon state
|
|
127
|
+
* @nullable
|
|
128
|
+
*/
|
|
129
|
+
addon_state?: string | null;
|
|
130
|
+
/**
|
|
131
|
+
* malware status given by jetpack protect addon
|
|
132
|
+
* @nullable
|
|
133
|
+
*/
|
|
134
|
+
malware_state?: string | null;
|
|
135
|
+
/**
|
|
136
|
+
* plugin state
|
|
137
|
+
* @nullable
|
|
138
|
+
*/
|
|
139
|
+
plugin_state?: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* scanner state
|
|
142
|
+
* @nullable
|
|
143
|
+
*/
|
|
144
|
+
scanner_state?: string | null;
|
|
145
|
+
};
|
|
99
146
|
/**
|
|
100
147
|
* @nullable
|
|
101
148
|
*/
|
|
@@ -203,17 +250,6 @@ export declare type SitesDomainsV2200 = {
|
|
|
203
250
|
export declare type SitesDomainsV2Params = {
|
|
204
251
|
scan?: boolean;
|
|
205
252
|
};
|
|
206
|
-
export declare type SitesListV2200 = {
|
|
207
|
-
items?: SitesListV2200ItemsItem[];
|
|
208
|
-
/** page size */
|
|
209
|
-
limit?: number;
|
|
210
|
-
/** current page number */
|
|
211
|
-
page?: number;
|
|
212
|
-
/** total number of pages */
|
|
213
|
-
pages?: number;
|
|
214
|
-
/** total number of sites returned */
|
|
215
|
-
total?: number;
|
|
216
|
-
};
|
|
217
253
|
/**
|
|
218
254
|
* @nullable
|
|
219
255
|
*/
|
|
@@ -369,6 +405,17 @@ export declare type SitesListV2200ItemsItem = {
|
|
|
369
405
|
*/
|
|
370
406
|
version_ptr?: string | null;
|
|
371
407
|
};
|
|
408
|
+
export declare type SitesListV2200 = {
|
|
409
|
+
items?: SitesListV2200ItemsItem[];
|
|
410
|
+
/** page size */
|
|
411
|
+
limit?: number;
|
|
412
|
+
/** current page number */
|
|
413
|
+
page?: number;
|
|
414
|
+
/** total number of pages */
|
|
415
|
+
pages?: number;
|
|
416
|
+
/** total number of sites returned */
|
|
417
|
+
total?: number;
|
|
418
|
+
};
|
|
372
419
|
export declare type SshKeyV2200 = {
|
|
373
420
|
deleted?: number;
|
|
374
421
|
key_name?: string;
|
|
@@ -704,7 +751,7 @@ export declare type DbListV2200 = {
|
|
|
704
751
|
};
|
|
705
752
|
export declare type BackupStatusV2200 = {
|
|
706
753
|
/** @nullable */
|
|
707
|
-
|
|
754
|
+
backup_download_url?: string | null;
|
|
708
755
|
status?: string;
|
|
709
756
|
};
|
|
710
757
|
export declare type BackupStatusV2Params = {
|
|
@@ -1110,6 +1157,9 @@ export declare type SiteQualityMetrics200AspectScores = {
|
|
|
1110
1157
|
performance?: number;
|
|
1111
1158
|
seo?: number;
|
|
1112
1159
|
};
|
|
1160
|
+
export declare type SiteQualityMetrics200AspectDetails = {
|
|
1161
|
+
performance?: SiteQualityMetrics200AspectDetailsPerformance;
|
|
1162
|
+
};
|
|
1113
1163
|
export declare type SiteQualityMetrics200 = {
|
|
1114
1164
|
aspect_details: SiteQualityMetrics200AspectDetails;
|
|
1115
1165
|
aspect_scores: SiteQualityMetrics200AspectScores;
|
|
@@ -1140,9 +1190,6 @@ export declare type SiteQualityMetrics200AspectDetailsPerformance = {
|
|
|
1140
1190
|
'speed-index'?: SiteQualityMetrics200AspectDetailsPerformanceSpeedIndex;
|
|
1141
1191
|
'total-blocking-time'?: SiteQualityMetrics200AspectDetailsPerformanceTotalBlockingTime;
|
|
1142
1192
|
};
|
|
1143
|
-
export declare type SiteQualityMetrics200AspectDetails = {
|
|
1144
|
-
performance?: SiteQualityMetrics200AspectDetailsPerformance;
|
|
1145
|
-
};
|
|
1146
1193
|
export declare type SiteQualityMetricsStrategy = typeof SiteQualityMetricsStrategy[keyof typeof SiteQualityMetricsStrategy];
|
|
1147
1194
|
export declare const SiteQualityMetricsStrategy: {
|
|
1148
1195
|
readonly MOBILE: "MOBILE";
|
|
@@ -1918,17 +1965,6 @@ export declare type HostingVisitors200VisitorsItem = {
|
|
|
1918
1965
|
unique_visitors?: number;
|
|
1919
1966
|
visitors?: number;
|
|
1920
1967
|
};
|
|
1921
|
-
export declare type HostingVisitors200 = {
|
|
1922
|
-
daily?: HostingVisitors200Daily;
|
|
1923
|
-
is_linked_domain?: boolean;
|
|
1924
|
-
linked_domain?: string;
|
|
1925
|
-
total_bandwidth?: number;
|
|
1926
|
-
total_hits?: number;
|
|
1927
|
-
total_pages?: number;
|
|
1928
|
-
total_unique_visitors?: number;
|
|
1929
|
-
total_visitors?: number;
|
|
1930
|
-
visitors?: HostingVisitors200VisitorsItem[];
|
|
1931
|
-
};
|
|
1932
1968
|
export declare type HostingVisitors200DailyTotal = {
|
|
1933
1969
|
total_bandwidth?: number;
|
|
1934
1970
|
total_hits?: number;
|
|
@@ -1948,6 +1984,17 @@ export declare type HostingVisitors200Daily = {
|
|
|
1948
1984
|
data?: HostingVisitors200DailyDataItem[];
|
|
1949
1985
|
total?: HostingVisitors200DailyTotal;
|
|
1950
1986
|
};
|
|
1987
|
+
export declare type HostingVisitors200 = {
|
|
1988
|
+
daily?: HostingVisitors200Daily;
|
|
1989
|
+
is_linked_domain?: boolean;
|
|
1990
|
+
linked_domain?: string;
|
|
1991
|
+
total_bandwidth?: number;
|
|
1992
|
+
total_hits?: number;
|
|
1993
|
+
total_pages?: number;
|
|
1994
|
+
total_unique_visitors?: number;
|
|
1995
|
+
total_visitors?: number;
|
|
1996
|
+
visitors?: HostingVisitors200VisitorsItem[];
|
|
1997
|
+
};
|
|
1951
1998
|
export declare type HostingVisitorsSource = typeof HostingVisitorsSource[keyof typeof HostingVisitorsSource];
|
|
1952
1999
|
export declare const HostingVisitorsSource: {
|
|
1953
2000
|
readonly http: "http";
|
|
@@ -2580,6 +2627,139 @@ export declare type ListFilesParams = {
|
|
|
2580
2627
|
path: string;
|
|
2581
2628
|
showdotfiles?: boolean;
|
|
2582
2629
|
};
|
|
2630
|
+
export declare type HostingEmailSuspend512 = {
|
|
2631
|
+
/** Customer error code */
|
|
2632
|
+
error?: string;
|
|
2633
|
+
};
|
|
2634
|
+
export declare type HostingEmailSuspend403 = {
|
|
2635
|
+
/** Customer error code */
|
|
2636
|
+
error?: string;
|
|
2637
|
+
};
|
|
2638
|
+
export declare type HostingEmailSuspend200 = {
|
|
2639
|
+
/** The address that was (un)suspended */
|
|
2640
|
+
address?: string;
|
|
2641
|
+
};
|
|
2642
|
+
/**
|
|
2643
|
+
* The function to suspend
|
|
2644
|
+
*/
|
|
2645
|
+
export declare type HostingEmailSuspendBodyType = typeof HostingEmailSuspendBodyType[keyof typeof HostingEmailSuspendBodyType];
|
|
2646
|
+
export declare const HostingEmailSuspendBodyType: {
|
|
2647
|
+
readonly account_login: "account_login";
|
|
2648
|
+
readonly account_outgoing: "account_outgoing";
|
|
2649
|
+
readonly account_incoming: "account_incoming";
|
|
2650
|
+
};
|
|
2651
|
+
/**
|
|
2652
|
+
* Suspension action. Can be 'suspend' or 'unsuspend'.
|
|
2653
|
+
*/
|
|
2654
|
+
export declare type HostingEmailSuspendBodyAction = typeof HostingEmailSuspendBodyAction[keyof typeof HostingEmailSuspendBodyAction];
|
|
2655
|
+
export declare const HostingEmailSuspendBodyAction: {
|
|
2656
|
+
readonly suspend: "suspend";
|
|
2657
|
+
readonly unsuspend: "unsuspend";
|
|
2658
|
+
};
|
|
2659
|
+
export declare type HostingEmailSuspendBody = {
|
|
2660
|
+
/** Suspension action. Can be 'suspend' or 'unsuspend'. */
|
|
2661
|
+
action?: HostingEmailSuspendBodyAction;
|
|
2662
|
+
/** The email address to (un)suspend */
|
|
2663
|
+
address: string;
|
|
2664
|
+
/** The function to suspend */
|
|
2665
|
+
type: HostingEmailSuspendBodyType;
|
|
2666
|
+
};
|
|
2667
|
+
export declare type HostingEmailForwarderDelete400 = {
|
|
2668
|
+
/** Customer error code */
|
|
2669
|
+
error?: string;
|
|
2670
|
+
};
|
|
2671
|
+
export declare type HostingEmailForwarderDelete200 = {
|
|
2672
|
+
[key: string]: unknown;
|
|
2673
|
+
};
|
|
2674
|
+
export declare type HostingEmailForwarderDeleteParams = {
|
|
2675
|
+
/**
|
|
2676
|
+
* The source address or domain of the forwarder to be deleted
|
|
2677
|
+
*/
|
|
2678
|
+
source: string;
|
|
2679
|
+
/**
|
|
2680
|
+
* The destination of the forwarder to be deleted
|
|
2681
|
+
*/
|
|
2682
|
+
destination: string;
|
|
2683
|
+
};
|
|
2684
|
+
export declare type HostingEmailForwarderAdd512 = {
|
|
2685
|
+
/** Customer error code */
|
|
2686
|
+
error?: string;
|
|
2687
|
+
};
|
|
2688
|
+
export declare type HostingEmailForwarderAdd409 = {
|
|
2689
|
+
/** Customer error code */
|
|
2690
|
+
error?: string;
|
|
2691
|
+
};
|
|
2692
|
+
export declare type HostingEmailForwarderAdd403 = {
|
|
2693
|
+
/** Customer error code */
|
|
2694
|
+
error?: string;
|
|
2695
|
+
};
|
|
2696
|
+
export declare type HostingEmailForwarderAdd400 = {
|
|
2697
|
+
/** Customer error code */
|
|
2698
|
+
error?: string;
|
|
2699
|
+
};
|
|
2700
|
+
export declare type HostingEmailForwarderAdd200 = {
|
|
2701
|
+
[key: string]: unknown;
|
|
2702
|
+
};
|
|
2703
|
+
/**
|
|
2704
|
+
* The type of forwarder to add (defaults to 'account')
|
|
2705
|
+
*/
|
|
2706
|
+
export declare type HostingEmailForwarderAddBodyType = typeof HostingEmailForwarderAddBodyType[keyof typeof HostingEmailForwarderAddBodyType];
|
|
2707
|
+
export declare const HostingEmailForwarderAddBodyType: {
|
|
2708
|
+
readonly account: "account";
|
|
2709
|
+
readonly domain: "domain";
|
|
2710
|
+
};
|
|
2711
|
+
/**
|
|
2712
|
+
* The type of forwarder destination (defaults to 'email')
|
|
2713
|
+
*/
|
|
2714
|
+
export declare type HostingEmailForwarderAddBodyDestinationType = typeof HostingEmailForwarderAddBodyDestinationType[keyof typeof HostingEmailForwarderAddBodyDestinationType];
|
|
2715
|
+
export declare const HostingEmailForwarderAddBodyDestinationType: {
|
|
2716
|
+
readonly domain: "domain";
|
|
2717
|
+
readonly discard: "discard";
|
|
2718
|
+
readonly discard_with_error: "discard_with_error";
|
|
2719
|
+
readonly email: "email";
|
|
2720
|
+
readonly pipe: "pipe";
|
|
2721
|
+
readonly system: "system";
|
|
2722
|
+
};
|
|
2723
|
+
export declare type HostingEmailForwarderAddBody = {
|
|
2724
|
+
/** The forwarding destination - can be an email address, system username, script path, or error message string */
|
|
2725
|
+
destination?: string;
|
|
2726
|
+
/** The type of forwarder destination (defaults to 'email') */
|
|
2727
|
+
destination_type: HostingEmailForwarderAddBodyDestinationType;
|
|
2728
|
+
/** The source (email address or domain) of the forwarder being added */
|
|
2729
|
+
source: string;
|
|
2730
|
+
/** The type of forwarder to add (defaults to 'account') */
|
|
2731
|
+
type: HostingEmailForwarderAddBodyType;
|
|
2732
|
+
};
|
|
2733
|
+
export declare type HostingEmailForwardersList200ForwardersItem = {
|
|
2734
|
+
/** Where the email will be forwarded to */
|
|
2735
|
+
destination?: string;
|
|
2736
|
+
/** Where the email to be forwarded is coming from */
|
|
2737
|
+
source?: string;
|
|
2738
|
+
/**
|
|
2739
|
+
* The type of forwarder
|
|
2740
|
+
* @nullable
|
|
2741
|
+
*/
|
|
2742
|
+
type?: string | null;
|
|
2743
|
+
};
|
|
2744
|
+
export declare type HostingEmailForwardersList200 = {
|
|
2745
|
+
/** List of forwarders */
|
|
2746
|
+
forwarders?: HostingEmailForwardersList200ForwardersItem[];
|
|
2747
|
+
};
|
|
2748
|
+
export declare type HostingEmailForwardersListType = typeof HostingEmailForwardersListType[keyof typeof HostingEmailForwardersListType];
|
|
2749
|
+
export declare const HostingEmailForwardersListType: {
|
|
2750
|
+
readonly account: "account";
|
|
2751
|
+
readonly domain: "domain";
|
|
2752
|
+
};
|
|
2753
|
+
export declare type HostingEmailForwardersListParams = {
|
|
2754
|
+
/**
|
|
2755
|
+
* The type of forwarder list to query (default: account)
|
|
2756
|
+
*/
|
|
2757
|
+
type: HostingEmailForwardersListType;
|
|
2758
|
+
/**
|
|
2759
|
+
* The domain to query forwarders by
|
|
2760
|
+
*/
|
|
2761
|
+
domain?: string;
|
|
2762
|
+
};
|
|
2583
2763
|
export declare type HostingEmailUpdate512 = {
|
|
2584
2764
|
/** Customer error code */
|
|
2585
2765
|
error?: string;
|
|
@@ -3096,7 +3276,8 @@ export declare type DbAddBody = {
|
|
|
3096
3276
|
type?: DbAddBodyType;
|
|
3097
3277
|
};
|
|
3098
3278
|
export declare type CronLastRun200 = {
|
|
3099
|
-
|
|
3279
|
+
/** @nullable */
|
|
3280
|
+
last_run?: string | null;
|
|
3100
3281
|
};
|
|
3101
3282
|
export declare type CronLastRunParams = {
|
|
3102
3283
|
command: string;
|
|
@@ -3265,7 +3446,10 @@ export declare type HostingAdvancedDomainServicesBody = {
|
|
|
3265
3446
|
domain: string;
|
|
3266
3447
|
};
|
|
3267
3448
|
export declare type HostingAdvancedDomainServicesCheck200 = {
|
|
3449
|
+
/** 1 if domain services need to be configured, 0 if not */
|
|
3268
3450
|
configure_domain_services?: number;
|
|
3451
|
+
/** Whether a user exists that HAL doesn't know about; should disable some functionality if 0 and configure_domain_services is 1 */
|
|
3452
|
+
managed_cpanel_user_exists?: number;
|
|
3269
3453
|
};
|
|
3270
3454
|
export declare type HostingAdvancedDnsUpdate200 = {
|
|
3271
3455
|
[key: string]: unknown;
|
|
@@ -3412,6 +3596,38 @@ export declare type DomainZoneeditorUrl200 = {
|
|
|
3412
3596
|
export declare type DomainUnassign200 = {
|
|
3413
3597
|
[key: string]: unknown;
|
|
3414
3598
|
};
|
|
3599
|
+
export declare type AccessLogs200LogsItem = {
|
|
3600
|
+
/** @nullable */
|
|
3601
|
+
date?: string | null;
|
|
3602
|
+
/** @nullable */
|
|
3603
|
+
device?: string | null;
|
|
3604
|
+
/** @nullable */
|
|
3605
|
+
host?: string | null;
|
|
3606
|
+
/** @nullable */
|
|
3607
|
+
ip?: string | null;
|
|
3608
|
+
/** @nullable */
|
|
3609
|
+
request?: string | null;
|
|
3610
|
+
/** @nullable */
|
|
3611
|
+
response_code?: number | null;
|
|
3612
|
+
/** @nullable */
|
|
3613
|
+
response_size?: number | null;
|
|
3614
|
+
/** @nullable */
|
|
3615
|
+
server_ip?: string | null;
|
|
3616
|
+
};
|
|
3617
|
+
export declare type AccessLogs200 = {
|
|
3618
|
+
logs?: AccessLogs200LogsItem[];
|
|
3619
|
+
};
|
|
3620
|
+
export declare type AccessLogsType = typeof AccessLogsType[keyof typeof AccessLogsType];
|
|
3621
|
+
export declare const AccessLogsType: {
|
|
3622
|
+
readonly error: "error";
|
|
3623
|
+
readonly all: "all";
|
|
3624
|
+
};
|
|
3625
|
+
export declare type AccessLogsParams = {
|
|
3626
|
+
/**
|
|
3627
|
+
* Access logs type
|
|
3628
|
+
*/
|
|
3629
|
+
type?: AccessLogsType;
|
|
3630
|
+
};
|
|
3415
3631
|
export declare type DomainDnszoneReset200 = {
|
|
3416
3632
|
[key: string]: unknown;
|
|
3417
3633
|
};
|
|
@@ -3421,14 +3637,10 @@ export declare type DomainDnseditorEdit200 = {
|
|
|
3421
3637
|
export declare type DomainDnseditorEditBody = {
|
|
3422
3638
|
/** It describes dns point value for each type of record */
|
|
3423
3639
|
content?: string;
|
|
3424
|
-
/** mail server that domain of DNS record points to */
|
|
3425
|
-
exchange?: string;
|
|
3426
3640
|
/** Flag of each DNS record it has */
|
|
3427
3641
|
flag?: string;
|
|
3428
3642
|
/** name type of dns record */
|
|
3429
3643
|
name?: string;
|
|
3430
|
-
/** mail server that domain of DNS record points to */
|
|
3431
|
-
nsdname?: string;
|
|
3432
3644
|
/** actual cotent on which the records points to */
|
|
3433
3645
|
orig_content?: string;
|
|
3434
3646
|
/** actual name that records holds */
|
|
@@ -3436,6 +3648,8 @@ export declare type DomainDnseditorEditBody = {
|
|
|
3436
3648
|
/** Port of SRV DNS record */
|
|
3437
3649
|
port?: string;
|
|
3438
3650
|
/** Priority of each DNS record, Default priority would be set to one */
|
|
3651
|
+
preference?: string;
|
|
3652
|
+
/** Priority of each DNS record, Default priority would be set to one */
|
|
3439
3653
|
priority?: string;
|
|
3440
3654
|
/** protocal of DNS record */
|
|
3441
3655
|
protocol?: string;
|
|
@@ -3447,8 +3661,6 @@ export declare type DomainDnseditorEditBody = {
|
|
|
3447
3661
|
ttl?: string;
|
|
3448
3662
|
/** Add host records for your domain name, such as A Records, MX Records, or IPV6 (AAAA). Choose MANAGE to see the full list of supported records */
|
|
3449
3663
|
type?: string;
|
|
3450
|
-
/** mail server that domain of DNS record points to */
|
|
3451
|
-
value?: string;
|
|
3452
3664
|
/** Weight of each DNS record it holds */
|
|
3453
3665
|
weight?: string;
|
|
3454
3666
|
};
|
|
@@ -3488,11 +3700,61 @@ export declare type DomainDnseditorAddBodyRecordsItem = {
|
|
|
3488
3700
|
export declare type DomainDnseditorAddBody = {
|
|
3489
3701
|
records?: DomainDnseditorAddBodyRecordsItem[];
|
|
3490
3702
|
};
|
|
3491
|
-
export declare type
|
|
3492
|
-
|
|
3703
|
+
export declare type DomainDnseditorList200DnsRecordsItem = {
|
|
3704
|
+
/**
|
|
3705
|
+
* It describes dns point value for each type of record
|
|
3706
|
+
* @nullable
|
|
3707
|
+
*/
|
|
3708
|
+
content?: string | null;
|
|
3709
|
+
/**
|
|
3710
|
+
* Flag of each DNS record it has
|
|
3711
|
+
* @nullable
|
|
3712
|
+
*/
|
|
3713
|
+
flag?: string | null;
|
|
3714
|
+
/** name type of dns record with domain name */
|
|
3493
3715
|
name?: string;
|
|
3716
|
+
/**
|
|
3717
|
+
* Port of SRV DNS record
|
|
3718
|
+
* @nullable
|
|
3719
|
+
*/
|
|
3720
|
+
port?: string | null;
|
|
3721
|
+
/**
|
|
3722
|
+
* Priority of each DNS record, Default priority would be set to one
|
|
3723
|
+
* @nullable
|
|
3724
|
+
*/
|
|
3725
|
+
preference?: string | null;
|
|
3726
|
+
/**
|
|
3727
|
+
* Priority of each DNS record, Default priority would be set to one
|
|
3728
|
+
* @nullable
|
|
3729
|
+
*/
|
|
3730
|
+
priority?: string | null;
|
|
3731
|
+
/**
|
|
3732
|
+
* Tag of each DNS record
|
|
3733
|
+
* @nullable
|
|
3734
|
+
*/
|
|
3735
|
+
tag?: string | null;
|
|
3736
|
+
/**
|
|
3737
|
+
* Target of SRV DNS record example.domain.com
|
|
3738
|
+
* @nullable
|
|
3739
|
+
*/
|
|
3740
|
+
target?: string | null;
|
|
3741
|
+
/** How long the DNS record is valid for */
|
|
3494
3742
|
ttl?: number;
|
|
3743
|
+
/** manage domain DNS records (A, MX, CNAME, TXT and SRV Records) for individual services */
|
|
3495
3744
|
type?: string;
|
|
3745
|
+
/**
|
|
3746
|
+
* Tag value for CAA Record
|
|
3747
|
+
* @nullable
|
|
3748
|
+
*/
|
|
3749
|
+
value?: string | null;
|
|
3750
|
+
/**
|
|
3751
|
+
* Weight of each DNS record it holds
|
|
3752
|
+
* @nullable
|
|
3753
|
+
*/
|
|
3754
|
+
weight?: string | null;
|
|
3755
|
+
};
|
|
3756
|
+
export declare type DomainDnseditorList200 = {
|
|
3757
|
+
dns_records?: DomainDnseditorList200DnsRecordsItem[];
|
|
3496
3758
|
};
|
|
3497
3759
|
export declare type DomainDnseditor200 = {
|
|
3498
3760
|
success?: number;
|
|
@@ -3829,12 +4091,6 @@ export declare type CodeguardDatabaseBackupListParams = {
|
|
|
3829
4091
|
database_id?: number;
|
|
3830
4092
|
website_id?: number;
|
|
3831
4093
|
};
|
|
3832
|
-
export declare type CodeguardDatabaseList200DatabasesItemDatabaseBackup = {
|
|
3833
|
-
account?: string;
|
|
3834
|
-
commit_id?: string;
|
|
3835
|
-
id?: number;
|
|
3836
|
-
website_id?: number;
|
|
3837
|
-
};
|
|
3838
4094
|
export declare type CodeguardDatabaseList200DatabasesItem = {
|
|
3839
4095
|
database_backup?: CodeguardDatabaseList200DatabasesItemDatabaseBackup;
|
|
3840
4096
|
};
|
|
@@ -3842,6 +4098,12 @@ export declare type CodeguardDatabaseList200 = {
|
|
|
3842
4098
|
databases?: CodeguardDatabaseList200DatabasesItem[];
|
|
3843
4099
|
status?: number;
|
|
3844
4100
|
};
|
|
4101
|
+
export declare type CodeguardDatabaseList200DatabasesItemDatabaseBackup = {
|
|
4102
|
+
account?: string;
|
|
4103
|
+
commit_id?: string;
|
|
4104
|
+
id?: number;
|
|
4105
|
+
website_id?: number;
|
|
4106
|
+
};
|
|
3845
4107
|
export declare type CodeguardBackupRestore200 = {
|
|
3846
4108
|
database_success?: boolean;
|
|
3847
4109
|
website_success?: boolean;
|
package/src/index.schemas.js
CHANGED
|
@@ -168,6 +168,36 @@ export const HostingFtpUpdateBodyUserTypeSet = {
|
|
|
168
168
|
quota: 'quota',
|
|
169
169
|
};
|
|
170
170
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
171
|
+
export const HostingEmailSuspendBodyType = {
|
|
172
|
+
account_login: 'account_login',
|
|
173
|
+
account_outgoing: 'account_outgoing',
|
|
174
|
+
account_incoming: 'account_incoming',
|
|
175
|
+
};
|
|
176
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
177
|
+
export const HostingEmailSuspendBodyAction = {
|
|
178
|
+
suspend: 'suspend',
|
|
179
|
+
unsuspend: 'unsuspend',
|
|
180
|
+
};
|
|
181
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
182
|
+
export const HostingEmailForwarderAddBodyType = {
|
|
183
|
+
account: 'account',
|
|
184
|
+
domain: 'domain',
|
|
185
|
+
};
|
|
186
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
187
|
+
export const HostingEmailForwarderAddBodyDestinationType = {
|
|
188
|
+
domain: 'domain',
|
|
189
|
+
discard: 'discard',
|
|
190
|
+
discard_with_error: 'discard_with_error',
|
|
191
|
+
email: 'email',
|
|
192
|
+
pipe: 'pipe',
|
|
193
|
+
system: 'system',
|
|
194
|
+
};
|
|
195
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
196
|
+
export const HostingEmailForwardersListType = {
|
|
197
|
+
account: 'account',
|
|
198
|
+
domain: 'domain',
|
|
199
|
+
};
|
|
200
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
171
201
|
export const HostingEmailAddBodyType = {
|
|
172
202
|
box: 'box',
|
|
173
203
|
domainalias: 'domainalias',
|
|
@@ -229,6 +259,11 @@ export const DbAddBodyType = {
|
|
|
229
259
|
postgres: 'postgres',
|
|
230
260
|
};
|
|
231
261
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
262
|
+
export const AccessLogsType = {
|
|
263
|
+
error: 'error',
|
|
264
|
+
all: 'all',
|
|
265
|
+
};
|
|
266
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
232
267
|
export const BackupListBackupType = {
|
|
233
268
|
full: 'full',
|
|
234
269
|
home: 'home',
|