@newfold/huapi-js 1.897.0 → 1.905.0-alpha.2
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/README.md +0 -0
- package/orval.config.d.ts +0 -0
- package/orval.config.js +0 -3
- package/package.json +3 -3
- package/src/index.d.ts +1660 -159
- package/src/index.js +1615 -455
- package/src/index.schemas.d.ts +580 -319
- package/src/index.schemas.js +6 -0
- package/src/index.msw.d.ts +0 -979
- package/src/index.msw.js +0 -430
package/src/index.schemas.d.ts
CHANGED
|
@@ -1,226 +1,343 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v6.
|
|
2
|
+
* Generated by orval v6.31.0 🍺
|
|
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.905.0
|
|
7
7
|
*/
|
|
8
8
|
export declare type SitesSecuritySitelockV2200 = {
|
|
9
|
+
/** @nullable */
|
|
9
10
|
addon_id?: number | null;
|
|
10
|
-
|
|
11
|
-
plan?: string | null;
|
|
11
|
+
/** @nullable */
|
|
12
12
|
billing_code?: string | null;
|
|
13
|
-
success?: number;
|
|
14
|
-
platform_id?: string | null;
|
|
15
|
-
upgrade_levels?: string[];
|
|
16
13
|
domains?: string[];
|
|
17
|
-
|
|
14
|
+
/** @nullable */
|
|
18
15
|
has_cdn?: boolean | null;
|
|
19
|
-
|
|
16
|
+
message?: string;
|
|
17
|
+
/** @nullable */
|
|
18
|
+
plan?: string | null;
|
|
19
|
+
/** @nullable */
|
|
20
|
+
platform_id?: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Sitelock can be attached directly to a site, or it will fallback and return the sitelock for entire hosting account
|
|
23
|
+
* @nullable
|
|
24
|
+
*/
|
|
20
25
|
scope?: string | null;
|
|
26
|
+
/** @nullable */
|
|
27
|
+
source?: string | null;
|
|
28
|
+
success?: number;
|
|
29
|
+
upgrade_levels?: string[];
|
|
30
|
+
};
|
|
31
|
+
export declare type SitesSecuritySitelockV2Source = typeof SitesSecuritySitelockV2Source[keyof typeof SitesSecuritySitelockV2Source];
|
|
32
|
+
export declare const SitesSecuritySitelockV2Source: {
|
|
33
|
+
readonly hal: "hal";
|
|
34
|
+
readonly fg: "fg";
|
|
35
|
+
readonly halfg: "halfg";
|
|
21
36
|
};
|
|
22
37
|
export declare type SitesSecuritySitelockV2Params = {
|
|
23
38
|
/**
|
|
24
39
|
* fetch the sitelock data based on source(fg/hal)
|
|
25
40
|
*/
|
|
26
|
-
source?:
|
|
41
|
+
source?: SitesSecuritySitelockV2Source;
|
|
27
42
|
};
|
|
28
43
|
export declare type SitesDomainsV2200DomainsItem = {
|
|
29
|
-
|
|
44
|
+
/** @nullable */
|
|
30
45
|
account_back_ref?: string | null;
|
|
46
|
+
/** @nullable */
|
|
31
47
|
authoritative?: boolean | null;
|
|
48
|
+
/** @nullable */
|
|
32
49
|
autogen_id?: number | null;
|
|
50
|
+
/** @nullable */
|
|
33
51
|
back_reference?: string | null;
|
|
34
52
|
base_domain?: string;
|
|
35
53
|
date_added?: string;
|
|
36
54
|
date_modified?: string;
|
|
55
|
+
/** @nullable */
|
|
37
56
|
date_ssl_exp?: string | null;
|
|
38
|
-
docroot?: string | null;
|
|
39
57
|
dns_status?: string;
|
|
58
|
+
/** @nullable */
|
|
59
|
+
docroot?: string | null;
|
|
40
60
|
domain?: string;
|
|
61
|
+
/** @nullable */
|
|
41
62
|
homedir?: string | null;
|
|
63
|
+
/** @nullable */
|
|
42
64
|
hosting_id?: number | null;
|
|
65
|
+
id?: number;
|
|
66
|
+
/** @nullable */
|
|
43
67
|
ssl_issuer?: string | null;
|
|
68
|
+
/** @nullable */
|
|
44
69
|
ssl_status?: string | null;
|
|
70
|
+
/** @nullable */
|
|
45
71
|
ssl_type?: string | null;
|
|
46
72
|
status?: string;
|
|
47
73
|
type?: string;
|
|
48
74
|
};
|
|
49
75
|
export declare type SitesDomainsV2200 = {
|
|
50
|
-
total?: number;
|
|
51
|
-
page?: number;
|
|
52
|
-
limit?: number;
|
|
53
76
|
domains?: SitesDomainsV2200DomainsItem[];
|
|
77
|
+
limit?: number;
|
|
78
|
+
page?: number;
|
|
79
|
+
total?: number;
|
|
54
80
|
};
|
|
55
81
|
export declare type SitesDomainsV2Params = {
|
|
56
82
|
scan?: boolean;
|
|
57
83
|
};
|
|
58
84
|
export declare type SitesListV2200 = {
|
|
59
|
-
total?: number;
|
|
60
|
-
page?: number;
|
|
61
|
-
limit?: number;
|
|
62
85
|
items?: SitesListV2200ItemsItem[];
|
|
86
|
+
limit?: number;
|
|
87
|
+
page?: number;
|
|
88
|
+
total?: number;
|
|
63
89
|
};
|
|
64
90
|
export declare type SitesListV2200ItemsItemResourcesStorage = {
|
|
91
|
+
/** @nullable */
|
|
65
92
|
available?: number | null;
|
|
93
|
+
/** @nullable */
|
|
66
94
|
total?: number | null;
|
|
67
95
|
unit?: string;
|
|
96
|
+
/** @nullable */
|
|
68
97
|
used?: number | null;
|
|
69
98
|
};
|
|
70
99
|
export declare type SitesListV2200ItemsItemResources = {
|
|
71
100
|
storage?: SitesListV2200ItemsItemResourcesStorage;
|
|
101
|
+
/** @nullable */
|
|
72
102
|
workers?: number | null;
|
|
73
103
|
};
|
|
74
104
|
/**
|
|
75
|
-
*
|
|
105
|
+
* @nullable
|
|
76
106
|
*/
|
|
77
|
-
export declare type SitesListV2200ItemsItemJobs = {
|
|
78
|
-
[key: string]: any;
|
|
79
|
-
};
|
|
80
107
|
export declare type SitesListV2200ItemsItemPendingUrlData = {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
/** The root domain name */
|
|
108
|
+
/**
|
|
109
|
+
* The root domain name
|
|
110
|
+
* @nullable
|
|
111
|
+
*/
|
|
86
112
|
base_domain?: string | null;
|
|
113
|
+
/**
|
|
114
|
+
* The Fully Qualified Domain Name (FQDN)
|
|
115
|
+
* @nullable
|
|
116
|
+
*/
|
|
117
|
+
domain?: string | null;
|
|
118
|
+
/** @nullable */
|
|
119
|
+
error?: string | null;
|
|
87
120
|
/** Flag indicating whether the pending_url is temporary or not */
|
|
88
121
|
is_temp?: boolean;
|
|
122
|
+
/** @nullable */
|
|
123
|
+
stage?: string | null;
|
|
124
|
+
} | null;
|
|
125
|
+
/**
|
|
126
|
+
* Job ids for the site
|
|
127
|
+
* @nullable
|
|
128
|
+
*/
|
|
129
|
+
export declare type SitesListV2200ItemsItemJobs = {
|
|
130
|
+
[key: string]: unknown;
|
|
89
131
|
} | null;
|
|
90
132
|
export declare type SitesListV2200ItemsItem = {
|
|
91
|
-
|
|
133
|
+
/** @nullable */
|
|
92
134
|
account_back_ref?: string | null;
|
|
93
135
|
account_id?: string;
|
|
136
|
+
/** @nullable */
|
|
94
137
|
base_domain?: string | null;
|
|
95
|
-
/**
|
|
138
|
+
/**
|
|
139
|
+
* False if site was added by site scanner
|
|
140
|
+
* @nullable
|
|
141
|
+
*/
|
|
96
142
|
confirmed?: boolean | null;
|
|
143
|
+
/** @nullable */
|
|
97
144
|
datacenter?: string | null;
|
|
98
145
|
date_added?: string;
|
|
99
146
|
date_modified?: string;
|
|
100
147
|
detected_type?: string;
|
|
148
|
+
/** @nullable */
|
|
101
149
|
docroot?: string | null;
|
|
150
|
+
/** @nullable */
|
|
102
151
|
domain?: string | null;
|
|
103
152
|
edge_cache?: boolean;
|
|
153
|
+
handler_404?: string;
|
|
154
|
+
id?: number;
|
|
155
|
+
/** @nullable */
|
|
156
|
+
installed_id?: string | null;
|
|
104
157
|
/** True if docpath is public_html, otherwise False */
|
|
105
158
|
is_primary?: boolean;
|
|
159
|
+
/**
|
|
160
|
+
* Job ids for the site
|
|
161
|
+
* @nullable
|
|
162
|
+
*/
|
|
163
|
+
jobs?: SitesListV2200ItemsItemJobs;
|
|
164
|
+
/** @nullable */
|
|
106
165
|
last_error?: string | null;
|
|
107
|
-
|
|
108
|
-
handler_404?: string;
|
|
166
|
+
/** @nullable */
|
|
109
167
|
migration_id?: string | null;
|
|
168
|
+
/** @nullable */
|
|
110
169
|
name?: string | null;
|
|
170
|
+
path?: string;
|
|
171
|
+
/** @nullable */
|
|
111
172
|
pending_url?: string | null;
|
|
112
|
-
/**
|
|
173
|
+
/** @nullable */
|
|
174
|
+
pending_url_data?: SitesListV2200ItemsItemPendingUrlData;
|
|
175
|
+
/**
|
|
176
|
+
* The Php Version. If unable to determine, it will be NULL
|
|
177
|
+
* @nullable
|
|
178
|
+
*/
|
|
113
179
|
php_version?: string | null;
|
|
180
|
+
resources?: SitesListV2200ItemsItemResources;
|
|
114
181
|
status?: string;
|
|
115
182
|
subtype?: string;
|
|
116
183
|
type?: string;
|
|
184
|
+
/** @nullable */
|
|
117
185
|
url?: string | null;
|
|
186
|
+
/** @nullable */
|
|
118
187
|
url_is_provisional?: boolean | null;
|
|
188
|
+
/** @nullable */
|
|
119
189
|
version?: string | null;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
190
|
+
/**
|
|
191
|
+
* The WP Version
|
|
192
|
+
* @nullable
|
|
193
|
+
*/
|
|
123
194
|
version_ptr?: string | null;
|
|
124
|
-
/** Job ids for the site */
|
|
125
|
-
jobs?: SitesListV2200ItemsItemJobs;
|
|
126
|
-
resources?: SitesListV2200ItemsItemResources;
|
|
127
195
|
};
|
|
128
196
|
export declare type SshKeyListV2200RowsItem = {
|
|
197
|
+
key?: string;
|
|
198
|
+
mtime?: string;
|
|
129
199
|
name?: string;
|
|
130
200
|
type?: string;
|
|
131
|
-
mtime?: string;
|
|
132
|
-
key?: string;
|
|
133
201
|
};
|
|
134
202
|
export declare type SshKeyListV2200 = {
|
|
135
203
|
rows?: SshKeyListV2200RowsItem[];
|
|
136
204
|
};
|
|
137
205
|
export declare type HostingSitesV2200ItemsItemResourcesStorage = {
|
|
206
|
+
/** @nullable */
|
|
138
207
|
available?: number | null;
|
|
208
|
+
/** @nullable */
|
|
139
209
|
total?: number | null;
|
|
140
210
|
unit?: string;
|
|
211
|
+
/** @nullable */
|
|
141
212
|
used?: number | null;
|
|
142
213
|
};
|
|
143
214
|
export declare type HostingSitesV2200ItemsItemResources = {
|
|
144
215
|
storage?: HostingSitesV2200ItemsItemResourcesStorage;
|
|
216
|
+
/** @nullable */
|
|
145
217
|
workers?: number | null;
|
|
146
218
|
};
|
|
147
219
|
/**
|
|
148
|
-
*
|
|
220
|
+
* @nullable
|
|
149
221
|
*/
|
|
150
|
-
export declare type HostingSitesV2200ItemsItemJobs = {
|
|
151
|
-
[key: string]: any;
|
|
152
|
-
};
|
|
153
222
|
export declare type HostingSitesV2200ItemsItemPendingUrlData = {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
/** The root domain name */
|
|
223
|
+
/**
|
|
224
|
+
* The root domain name
|
|
225
|
+
* @nullable
|
|
226
|
+
*/
|
|
159
227
|
base_domain?: string | null;
|
|
228
|
+
/**
|
|
229
|
+
* The Fully Qualified Domain Name (FQDN)
|
|
230
|
+
* @nullable
|
|
231
|
+
*/
|
|
232
|
+
domain?: string | null;
|
|
233
|
+
/** @nullable */
|
|
234
|
+
error?: string | null;
|
|
160
235
|
/** Flag indicating whether the pending_url is temporary or not */
|
|
161
236
|
is_temp?: boolean;
|
|
237
|
+
/** @nullable */
|
|
238
|
+
stage?: string | null;
|
|
239
|
+
} | null;
|
|
240
|
+
/**
|
|
241
|
+
* Job ids for the site
|
|
242
|
+
* @nullable
|
|
243
|
+
*/
|
|
244
|
+
export declare type HostingSitesV2200ItemsItemJobs = {
|
|
245
|
+
[key: string]: unknown;
|
|
162
246
|
} | null;
|
|
163
247
|
export declare type HostingSitesV2200ItemsItem = {
|
|
164
|
-
|
|
248
|
+
/** @nullable */
|
|
165
249
|
account_back_ref?: string | null;
|
|
166
250
|
account_id?: string;
|
|
167
|
-
/**
|
|
251
|
+
/** @nullable */
|
|
252
|
+
base_domain?: string | null;
|
|
253
|
+
/**
|
|
254
|
+
* False if site was added by site scanner
|
|
255
|
+
* @nullable
|
|
256
|
+
*/
|
|
168
257
|
confirmed?: boolean | null;
|
|
258
|
+
/** @nullable */
|
|
169
259
|
datacenter?: string | null;
|
|
170
260
|
date_added?: string;
|
|
171
261
|
date_modified?: string;
|
|
172
262
|
detected_type?: string;
|
|
263
|
+
/** @nullable */
|
|
173
264
|
docroot?: string | null;
|
|
265
|
+
/** @nullable */
|
|
266
|
+
domain?: string | null;
|
|
174
267
|
edge_cache?: boolean;
|
|
268
|
+
handler_404?: string;
|
|
269
|
+
id?: number;
|
|
270
|
+
/** @nullable */
|
|
271
|
+
installed_id?: string | null;
|
|
175
272
|
/** True if docpath is public_html, otherwise False */
|
|
176
273
|
is_primary?: boolean;
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
274
|
+
/**
|
|
275
|
+
* Job ids for the site
|
|
276
|
+
* @nullable
|
|
277
|
+
*/
|
|
278
|
+
jobs?: HostingSitesV2200ItemsItemJobs;
|
|
279
|
+
/** @nullable */
|
|
181
280
|
last_error?: string | null;
|
|
281
|
+
/** @nullable */
|
|
182
282
|
migration_id?: string | null;
|
|
283
|
+
/** @nullable */
|
|
183
284
|
name?: string | null;
|
|
285
|
+
path?: string;
|
|
286
|
+
/** @nullable */
|
|
184
287
|
pending_url?: string | null;
|
|
185
|
-
/**
|
|
288
|
+
/** @nullable */
|
|
289
|
+
pending_url_data?: HostingSitesV2200ItemsItemPendingUrlData;
|
|
290
|
+
/**
|
|
291
|
+
* The Php Version. If unable to determine, it will be NULL
|
|
292
|
+
* @nullable
|
|
293
|
+
*/
|
|
186
294
|
php_version?: string | null;
|
|
295
|
+
resources?: HostingSitesV2200ItemsItemResources;
|
|
187
296
|
status?: string;
|
|
188
297
|
subtype?: string;
|
|
189
298
|
type?: string;
|
|
299
|
+
/** @nullable */
|
|
190
300
|
url?: string | null;
|
|
301
|
+
/** @nullable */
|
|
191
302
|
url_is_provisional?: boolean | null;
|
|
303
|
+
/** @nullable */
|
|
192
304
|
version?: string | null;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
305
|
+
/**
|
|
306
|
+
* The WP Version
|
|
307
|
+
* @nullable
|
|
308
|
+
*/
|
|
196
309
|
version_ptr?: string | null;
|
|
197
|
-
/** Job ids for the site */
|
|
198
|
-
jobs?: HostingSitesV2200ItemsItemJobs;
|
|
199
|
-
resources?: HostingSitesV2200ItemsItemResources;
|
|
200
310
|
};
|
|
201
311
|
export declare type HostingSitesV2200 = {
|
|
202
|
-
|
|
203
|
-
|
|
312
|
+
/**
|
|
313
|
+
* Remaining number of sites the customer can create. Max sites - used sites. Null means 'unlimited'.
|
|
314
|
+
* @nullable
|
|
315
|
+
*/
|
|
316
|
+
available_sites?: number | null;
|
|
317
|
+
items?: HostingSitesV2200ItemsItem[];
|
|
204
318
|
limit?: number;
|
|
205
|
-
/**
|
|
319
|
+
/**
|
|
320
|
+
* Maximum number of sites the customer can have. Null means 'unlimited'.
|
|
321
|
+
* @nullable
|
|
322
|
+
*/
|
|
206
323
|
max_sites?: number | null;
|
|
324
|
+
page?: number;
|
|
325
|
+
total?: number;
|
|
207
326
|
/** Current number of sites in use by the customer. its normal for this value to be different than the total number of sites in the list. */
|
|
208
327
|
used_sites?: number;
|
|
209
|
-
/** Remaining number of sites the customer can create. Max sites - used sites. Null means 'unlimited'. */
|
|
210
|
-
available_sites?: number | null;
|
|
211
|
-
items?: HostingSitesV2200ItemsItem[];
|
|
212
328
|
};
|
|
213
329
|
export declare type HostingNameserversV2200HostsItem = {
|
|
214
330
|
host?: string;
|
|
215
331
|
ips?: string[];
|
|
216
332
|
};
|
|
217
333
|
export declare type HostingNameserversV2200 = {
|
|
218
|
-
id: number;
|
|
219
|
-
is_default?: string;
|
|
220
334
|
brand: string;
|
|
221
335
|
hosts: HostingNameserversV2200HostsItem[];
|
|
336
|
+
id: number;
|
|
337
|
+
is_default?: string;
|
|
222
338
|
};
|
|
223
339
|
export declare type AddonsSitelockSsoV2200 = {
|
|
340
|
+
/** @nullable */
|
|
224
341
|
site_url?: string | null;
|
|
225
342
|
sitelock_id?: string;
|
|
226
343
|
url?: string;
|
|
@@ -255,21 +372,25 @@ export declare type SiteUsers200 = {
|
|
|
255
372
|
users: SiteUsers200UsersItem[];
|
|
256
373
|
};
|
|
257
374
|
export declare type SiteStatus200 = {
|
|
258
|
-
|
|
259
|
-
pending_url?: string;
|
|
375
|
+
/** @nullable */
|
|
260
376
|
cloudflare_ready?: boolean | null;
|
|
377
|
+
pending_url?: string;
|
|
378
|
+
url?: string;
|
|
261
379
|
};
|
|
262
380
|
export declare type SitesSso200OtherItem = {
|
|
381
|
+
added?: string;
|
|
263
382
|
addon_id?: number;
|
|
264
|
-
type?: string;
|
|
265
|
-
subtype?: string;
|
|
266
383
|
domain?: string;
|
|
267
|
-
|
|
384
|
+
subtype?: string;
|
|
385
|
+
type?: string;
|
|
268
386
|
};
|
|
269
387
|
export declare type SitesSso200 = {
|
|
388
|
+
/** @nullable */
|
|
389
|
+
other?: SitesSso200OtherItem[] | null;
|
|
390
|
+
/** @nullable */
|
|
270
391
|
sso?: string | null;
|
|
392
|
+
/** @nullable */
|
|
271
393
|
type?: string | null;
|
|
272
|
-
other?: SitesSso200OtherItem[] | null;
|
|
273
394
|
};
|
|
274
395
|
export declare type SitesSsoBounceName = typeof SitesSsoBounceName[keyof typeof SitesSsoBounceName];
|
|
275
396
|
export declare const SitesSsoBounceName: {
|
|
@@ -295,65 +416,79 @@ export declare type SitesSsoParams = {
|
|
|
295
416
|
export declare type SitesSsl200 = {
|
|
296
417
|
domain?: string;
|
|
297
418
|
domain_dns_status?: string;
|
|
419
|
+
/** @nullable */
|
|
298
420
|
expiration?: string | null;
|
|
421
|
+
/** @nullable */
|
|
299
422
|
issuer?: string | null;
|
|
423
|
+
/** @nullable */
|
|
300
424
|
product?: string | null;
|
|
425
|
+
/** @nullable */
|
|
301
426
|
provider?: string | null;
|
|
302
427
|
status?: string;
|
|
428
|
+
/** @nullable */
|
|
303
429
|
type?: string | null;
|
|
304
430
|
upgradeable?: boolean;
|
|
305
431
|
};
|
|
306
432
|
export declare type SitesSshUserUpdate200 = {
|
|
307
|
-
[key: string]:
|
|
433
|
+
[key: string]: unknown;
|
|
308
434
|
};
|
|
309
435
|
export declare type SitesSshUserUpdateBody = {
|
|
310
|
-
/**
|
|
311
|
-
|
|
436
|
+
/** optional flag to generate public key */
|
|
437
|
+
generate_pubkey?: boolean;
|
|
312
438
|
/** optional password */
|
|
313
439
|
pass?: string;
|
|
314
440
|
/** optional public key */
|
|
315
441
|
pubkey?: string;
|
|
316
|
-
/**
|
|
317
|
-
|
|
442
|
+
/** username of user */
|
|
443
|
+
ssh_user: string;
|
|
318
444
|
};
|
|
319
445
|
export declare type SitesSshUserDelete200 = {
|
|
320
|
-
[key: string]:
|
|
446
|
+
[key: string]: unknown;
|
|
321
447
|
};
|
|
322
448
|
export declare type SitesSshUserDeleteBody = {
|
|
323
449
|
ssh_user?: string;
|
|
324
450
|
};
|
|
325
451
|
export declare type SitesSshUserCreate200 = {
|
|
326
|
-
/**
|
|
327
|
-
|
|
328
|
-
|
|
452
|
+
/**
|
|
453
|
+
* optional private key
|
|
454
|
+
* @nullable
|
|
455
|
+
*/
|
|
329
456
|
private_key?: string | null;
|
|
457
|
+
/**
|
|
458
|
+
* optional public key
|
|
459
|
+
* @nullable
|
|
460
|
+
*/
|
|
461
|
+
public_key?: string | null;
|
|
330
462
|
};
|
|
331
463
|
export declare type SitesSshUserCreateBody = {
|
|
332
|
-
/**
|
|
333
|
-
|
|
464
|
+
/** optional auto-generate public key flag */
|
|
465
|
+
generate_pubkey?: boolean;
|
|
334
466
|
/** optional password */
|
|
335
467
|
pass?: string;
|
|
336
468
|
/** optional public key */
|
|
337
469
|
pubkey?: string;
|
|
338
|
-
/**
|
|
339
|
-
|
|
470
|
+
/** username of user */
|
|
471
|
+
ssh_user: string;
|
|
340
472
|
};
|
|
341
473
|
export declare type SitesSshUserList200 = {
|
|
342
|
-
[key: string]:
|
|
474
|
+
[key: string]: unknown;
|
|
343
475
|
};
|
|
344
476
|
export declare type SitesSettingsPhpVersions200 = {
|
|
345
477
|
default?: string;
|
|
478
|
+
deprecated?: string[];
|
|
346
479
|
latest?: string;
|
|
347
480
|
versions?: string[];
|
|
348
|
-
deprecated?: string[];
|
|
349
481
|
};
|
|
350
482
|
export declare type SitesSettingsPhpVersionUpdate200 = {
|
|
351
483
|
success?: number;
|
|
352
484
|
};
|
|
353
485
|
export declare type SitesSettingsPhpVersionUpdateBody = {
|
|
354
|
-
/** The version should match the pattern i.e. PHP 8.0 */
|
|
355
|
-
php_version: string;
|
|
356
486
|
force?: boolean;
|
|
487
|
+
/**
|
|
488
|
+
* The version should match the pattern i.e. PHP 8.0
|
|
489
|
+
* @pattern ^(PHP) ([0-9]+.[0-9])$
|
|
490
|
+
*/
|
|
491
|
+
php_version: string;
|
|
357
492
|
};
|
|
358
493
|
export declare type SitesSettingsDebugToggle200 = {
|
|
359
494
|
success?: number;
|
|
@@ -375,41 +510,41 @@ export declare type SitesSettingsComingSoon200 = {
|
|
|
375
510
|
};
|
|
376
511
|
export declare type SitesSecuritySslStatus200 = {
|
|
377
512
|
domain?: string;
|
|
378
|
-
ssl_status?: string;
|
|
379
513
|
message?: string;
|
|
380
514
|
product?: string;
|
|
381
515
|
provider?: string;
|
|
516
|
+
ssl_status?: string;
|
|
382
517
|
upgradeable?: boolean;
|
|
383
518
|
};
|
|
384
519
|
export declare type SitesSecuritySslAcme200 = {
|
|
385
|
-
success?: number;
|
|
386
520
|
message?: string;
|
|
521
|
+
success?: number;
|
|
387
522
|
};
|
|
388
523
|
export declare type SitesSecuritySitelock200 = {
|
|
389
524
|
addon_id?: number;
|
|
390
|
-
plan?: string;
|
|
391
525
|
billing_code?: string;
|
|
392
|
-
success?: number;
|
|
393
|
-
platform_id?: string;
|
|
394
|
-
upgrade_levels?: string[];
|
|
395
|
-
message?: string;
|
|
396
526
|
has_cdn?: boolean;
|
|
527
|
+
message?: string;
|
|
528
|
+
plan?: string;
|
|
529
|
+
platform_id?: string;
|
|
397
530
|
/** Sitelock can be attached directly to a site, or it will fallback and return the sitelock for entire hosting account */
|
|
398
531
|
scope?: string;
|
|
532
|
+
success?: number;
|
|
533
|
+
upgrade_levels?: string[];
|
|
399
534
|
};
|
|
400
535
|
export declare type SitesSecurityHttpsEnableDisableSsl200 = {
|
|
401
|
-
success?: number;
|
|
402
|
-
redirection_status?: number;
|
|
403
536
|
message?: string;
|
|
537
|
+
redirection_status?: number;
|
|
538
|
+
success?: number;
|
|
404
539
|
};
|
|
405
540
|
export declare type SitesSecurityHttpsEnableDisableSslBody = {
|
|
406
541
|
/** enable or disable */
|
|
407
542
|
forced_redirection?: string;
|
|
408
543
|
};
|
|
409
544
|
export declare type SitesSecurityHttpsRedirectionStatus200 = {
|
|
410
|
-
success?: number;
|
|
411
|
-
redirection_status?: number;
|
|
412
545
|
message?: string;
|
|
546
|
+
redirection_status?: number;
|
|
547
|
+
success?: number;
|
|
413
548
|
};
|
|
414
549
|
export declare type SitesSecurityResetCoreFiles200 = {
|
|
415
550
|
results?: string;
|
|
@@ -424,10 +559,10 @@ export declare type ResetSite200 = {
|
|
|
424
559
|
status: string;
|
|
425
560
|
};
|
|
426
561
|
export declare type ResetSiteBody = {
|
|
427
|
-
/** Site type to morph to */
|
|
428
|
-
type?: string;
|
|
429
562
|
/** Site subtype to morph to */
|
|
430
563
|
subtype?: string;
|
|
564
|
+
/** Site type to morph to */
|
|
565
|
+
type?: string;
|
|
431
566
|
};
|
|
432
567
|
export declare type SitePluginsUpdate200 = {
|
|
433
568
|
success: boolean;
|
|
@@ -440,10 +575,10 @@ export declare type SitePluginsToggle200 = {
|
|
|
440
575
|
success: boolean;
|
|
441
576
|
};
|
|
442
577
|
export declare type SitePluginsToggleBody = {
|
|
443
|
-
/** The plugin id */
|
|
444
|
-
id: string;
|
|
445
578
|
/** activate or deactivate the plugin */
|
|
446
579
|
activate: boolean;
|
|
580
|
+
/** The plugin id */
|
|
581
|
+
id: string;
|
|
447
582
|
};
|
|
448
583
|
export declare type SitePluginsAutoupdate200 = {
|
|
449
584
|
success: boolean;
|
|
@@ -456,10 +591,10 @@ export declare type SitePluginUpdate200 = {
|
|
|
456
591
|
status: string;
|
|
457
592
|
};
|
|
458
593
|
export declare type SitePluginUpdateBody = {
|
|
459
|
-
/** The plugin id */
|
|
460
|
-
id: string;
|
|
461
594
|
/** activate or deactivate the plugin */
|
|
462
595
|
activate: boolean;
|
|
596
|
+
/** The plugin id */
|
|
597
|
+
id: string;
|
|
463
598
|
};
|
|
464
599
|
export declare type SitePlugins200PluginsItem = {
|
|
465
600
|
id: string;
|
|
@@ -469,9 +604,9 @@ export declare type SitePlugins200PluginsItem = {
|
|
|
469
604
|
version?: string;
|
|
470
605
|
};
|
|
471
606
|
export declare type SitePlugins200 = {
|
|
472
|
-
subtype: string;
|
|
473
607
|
auto_update: boolean;
|
|
474
608
|
plugins: SitePlugins200PluginsItem[];
|
|
609
|
+
subtype: string;
|
|
475
610
|
};
|
|
476
611
|
export declare type SitePluginsParams = {
|
|
477
612
|
plugin_id?: string;
|
|
@@ -481,19 +616,20 @@ export declare type SitesPerformanceEndurancePageCache200 = {
|
|
|
481
616
|
status?: string;
|
|
482
617
|
};
|
|
483
618
|
export declare type SitesPerformanceEnduranceCacheLevel200Options = {
|
|
484
|
-
[key: string]:
|
|
619
|
+
[key: string]: unknown;
|
|
485
620
|
};
|
|
486
621
|
export declare type SitesPerformanceEnduranceCacheLevel200 = {
|
|
487
622
|
options?: SitesPerformanceEnduranceCacheLevel200Options;
|
|
488
623
|
};
|
|
489
624
|
export declare type SitesPerformanceEnduranceCacheLevelBody = {
|
|
625
|
+
/** @maximum 3 */
|
|
490
626
|
endurance_cache_level?: number;
|
|
491
627
|
};
|
|
492
628
|
export declare type SitesPerformanceEnduranceCacheLevelStatus200 = {
|
|
493
629
|
endurance_cache_level?: number;
|
|
494
630
|
};
|
|
495
631
|
export declare type SitesPerformanceEdgecache200 = {
|
|
496
|
-
[key: string]:
|
|
632
|
+
[key: string]: unknown;
|
|
497
633
|
};
|
|
498
634
|
export declare type SitesPerformanceEdgecacheBody = {
|
|
499
635
|
/** Pass either 0 or 1 */
|
|
@@ -505,20 +641,26 @@ export declare type SitesPerformanceCachepurge200 = {
|
|
|
505
641
|
export declare type SitesPerformanceCachepurgeBody = {
|
|
506
642
|
/** */
|
|
507
643
|
assets?: string[];
|
|
508
|
-
/** */
|
|
509
|
-
hosts: string[];
|
|
510
644
|
/** Pass either 0, basic, premium, india or hostgator */
|
|
511
645
|
cf?: string;
|
|
512
646
|
/** Pass either 0 or 1 */
|
|
513
647
|
epc?: number;
|
|
648
|
+
/** */
|
|
649
|
+
hosts: string[];
|
|
514
650
|
};
|
|
515
651
|
export declare type SitePendingDomainDelete200 = {
|
|
516
|
-
[key: string]:
|
|
652
|
+
[key: string]: unknown;
|
|
517
653
|
};
|
|
518
654
|
export declare type SiteMalwareStatus200 = {
|
|
519
|
-
/**
|
|
655
|
+
/**
|
|
656
|
+
* malware status given by jetpack protect addon
|
|
657
|
+
* @nullable
|
|
658
|
+
*/
|
|
520
659
|
malware_status?: string | null;
|
|
521
|
-
/**
|
|
660
|
+
/**
|
|
661
|
+
* scanner state
|
|
662
|
+
* @nullable
|
|
663
|
+
*/
|
|
522
664
|
scanner_state?: string | null;
|
|
523
665
|
};
|
|
524
666
|
export declare type SitesErrorLogsDownloadSort = typeof SitesErrorLogsDownloadSort[keyof typeof SitesErrorLogsDownloadSort];
|
|
@@ -545,20 +687,21 @@ export declare type SitesErrorLogsDownloadParams = {
|
|
|
545
687
|
};
|
|
546
688
|
export declare type SitesErrorLogs200LogsItem = {
|
|
547
689
|
datetime?: string;
|
|
690
|
+
epoch?: number;
|
|
548
691
|
file?: string;
|
|
549
692
|
kind?: string;
|
|
550
693
|
line?: number;
|
|
551
694
|
message?: string;
|
|
552
695
|
name?: string;
|
|
553
696
|
severity?: string;
|
|
554
|
-
epoch?: number;
|
|
555
697
|
};
|
|
556
698
|
export declare type SitesErrorLogs200 = {
|
|
557
699
|
datetime_end?: string;
|
|
558
700
|
datetime_start?: string;
|
|
701
|
+
logs?: SitesErrorLogs200LogsItem[];
|
|
702
|
+
/** @nullable */
|
|
559
703
|
page_id?: string | null;
|
|
560
704
|
total?: number;
|
|
561
|
-
logs?: SitesErrorLogs200LogsItem[];
|
|
562
705
|
};
|
|
563
706
|
export declare type SitesErrorLogsSort = typeof SitesErrorLogsSort[keyof typeof SitesErrorLogsSort];
|
|
564
707
|
export declare const SitesErrorLogsSort: {
|
|
@@ -617,6 +760,7 @@ export declare type SitesAccessLogs200LogsItem = {
|
|
|
617
760
|
body_bytes_sent?: number;
|
|
618
761
|
cached?: string;
|
|
619
762
|
datetime?: string;
|
|
763
|
+
epoch?: number;
|
|
620
764
|
http_host?: string;
|
|
621
765
|
http_referrer?: string;
|
|
622
766
|
http_user_agent?: string;
|
|
@@ -628,16 +772,16 @@ export declare type SitesAccessLogs200LogsItem = {
|
|
|
628
772
|
request_url?: string;
|
|
629
773
|
scheme?: string;
|
|
630
774
|
status?: number;
|
|
631
|
-
epoch?: number;
|
|
632
775
|
type?: string;
|
|
633
776
|
user_ip?: string;
|
|
634
777
|
};
|
|
635
778
|
export declare type SitesAccessLogs200 = {
|
|
636
779
|
datetime_end?: string;
|
|
637
780
|
datetime_start?: string;
|
|
781
|
+
logs?: SitesAccessLogs200LogsItem[];
|
|
782
|
+
/** @nullable */
|
|
638
783
|
page_id?: string | null;
|
|
639
784
|
total?: number;
|
|
640
|
-
logs?: SitesAccessLogs200LogsItem[];
|
|
641
785
|
};
|
|
642
786
|
export declare type SitesAccessLogsSort = typeof SitesAccessLogsSort[keyof typeof SitesAccessLogsSort];
|
|
643
787
|
export declare const SitesAccessLogsSort: {
|
|
@@ -685,10 +829,10 @@ export declare type SitesDomainUrlBody = {
|
|
|
685
829
|
force?: boolean;
|
|
686
830
|
/** Option to create the temporary domain */
|
|
687
831
|
temp_domain?: boolean;
|
|
688
|
-
/** URL of the site to be updated */
|
|
689
|
-
url?: string;
|
|
690
832
|
/** Optional to unassign the domain after switching to temporary domain */
|
|
691
833
|
unassign_domain?: boolean;
|
|
834
|
+
/** URL of the site to be updated */
|
|
835
|
+
url?: string;
|
|
692
836
|
};
|
|
693
837
|
export declare type SitesDomain200Wanted = {
|
|
694
838
|
a?: string[];
|
|
@@ -699,10 +843,10 @@ export declare type SitesDomain200Detected = {
|
|
|
699
843
|
ns?: string[];
|
|
700
844
|
};
|
|
701
845
|
export declare type SitesDomain200 = {
|
|
702
|
-
connected?: boolean;
|
|
703
846
|
a_match?: boolean;
|
|
704
|
-
|
|
847
|
+
connected?: boolean;
|
|
705
848
|
detected?: SitesDomain200Detected;
|
|
849
|
+
nameserver_match?: boolean;
|
|
706
850
|
wanted?: SitesDomain200Wanted;
|
|
707
851
|
};
|
|
708
852
|
export declare type SitesDomainParams = {
|
|
@@ -710,23 +854,25 @@ export declare type SitesDomainParams = {
|
|
|
710
854
|
};
|
|
711
855
|
export declare type SitesDns200RecordsItem = {
|
|
712
856
|
name?: string;
|
|
713
|
-
value?: string;
|
|
714
857
|
type?: string;
|
|
858
|
+
value?: string;
|
|
715
859
|
};
|
|
716
860
|
export declare type SitesDns200 = {
|
|
717
|
-
success?: boolean;
|
|
718
|
-
source?: string;
|
|
719
861
|
records?: SitesDns200RecordsItem[];
|
|
862
|
+
source?: string;
|
|
863
|
+
success?: boolean;
|
|
720
864
|
};
|
|
721
865
|
export declare type SitesDnsParams = {
|
|
722
866
|
type?: string;
|
|
723
867
|
};
|
|
724
868
|
export declare type SitesDatabasePasswordsync200 = {
|
|
725
|
-
[key: string]:
|
|
869
|
+
[key: string]: unknown;
|
|
726
870
|
};
|
|
727
871
|
export declare type SitesDatabaseInfo200 = {
|
|
728
|
-
|
|
872
|
+
/** @nullable */
|
|
729
873
|
charset?: string | null;
|
|
874
|
+
/** @nullable */
|
|
875
|
+
collation?: string | null;
|
|
730
876
|
};
|
|
731
877
|
export declare type SiteAddonCloudflare400 = {
|
|
732
878
|
error?: string;
|
|
@@ -735,53 +881,67 @@ export declare type SiteAddonCloudflare200 = {
|
|
|
735
881
|
addon_id?: number;
|
|
736
882
|
};
|
|
737
883
|
export declare type BackupsJetpackBackup200 = {
|
|
738
|
-
[key: string]:
|
|
884
|
+
[key: string]: unknown;
|
|
739
885
|
};
|
|
740
886
|
export declare type JetpackBackupStatus200 = {
|
|
741
|
-
|
|
887
|
+
/** @nullable */
|
|
888
|
+
addon_back_reference?: string | null;
|
|
742
889
|
addon_exists?: boolean;
|
|
890
|
+
/** @nullable */
|
|
743
891
|
addon_id?: string | null;
|
|
744
|
-
status?: string | null;
|
|
745
|
-
plan_name?: string | null;
|
|
746
892
|
can_upgrade?: boolean;
|
|
747
|
-
has_active_plugin?: boolean;
|
|
748
893
|
has_active_addon?: boolean;
|
|
749
|
-
|
|
750
|
-
|
|
894
|
+
has_active_plugin?: boolean;
|
|
895
|
+
/** @nullable */
|
|
751
896
|
next_url?: string | null;
|
|
897
|
+
pending_upgrade?: boolean;
|
|
898
|
+
/** @nullable */
|
|
899
|
+
plan_name?: string | null;
|
|
900
|
+
plugin_exists?: boolean;
|
|
901
|
+
/** @nullable */
|
|
902
|
+
status?: string | null;
|
|
752
903
|
};
|
|
753
904
|
export declare type SitesBackupsDetails200Jetpack = {
|
|
754
|
-
|
|
905
|
+
/** @nullable */
|
|
906
|
+
addon_back_reference?: string | null;
|
|
755
907
|
addon_exists?: boolean;
|
|
908
|
+
/** @nullable */
|
|
756
909
|
addon_id?: string | null;
|
|
757
|
-
status?: string | null;
|
|
758
|
-
plan_name?: string | null;
|
|
759
910
|
can_upgrade?: boolean;
|
|
760
|
-
has_active_plugin?: boolean;
|
|
761
911
|
has_active_addon?: boolean;
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
next_url?: string | null;
|
|
912
|
+
has_active_plugin?: boolean;
|
|
913
|
+
/** @nullable */
|
|
765
914
|
last_backup_date?: string | null;
|
|
915
|
+
/** @nullable */
|
|
916
|
+
next_url?: string | null;
|
|
917
|
+
pending_upgrade?: boolean;
|
|
918
|
+
/** @nullable */
|
|
919
|
+
plan_name?: string | null;
|
|
920
|
+
plugin_exists?: boolean;
|
|
921
|
+
/** @nullable */
|
|
922
|
+
status?: string | null;
|
|
766
923
|
};
|
|
767
924
|
export declare type SitesBackupsDetails200Codeguard = {
|
|
925
|
+
activated?: boolean;
|
|
768
926
|
addon_id?: string;
|
|
769
|
-
|
|
927
|
+
/** @nullable */
|
|
928
|
+
database_id?: string | null;
|
|
770
929
|
seats_available?: number;
|
|
771
930
|
seats_count?: number;
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
activated?: boolean;
|
|
931
|
+
status?: boolean;
|
|
932
|
+
/** @nullable */
|
|
775
933
|
url?: string | null;
|
|
934
|
+
/** @nullable */
|
|
935
|
+
website_id?: string | null;
|
|
776
936
|
};
|
|
777
937
|
export declare type SitesBackupsDetails200 = {
|
|
778
938
|
codeguard?: SitesBackupsDetails200Codeguard;
|
|
779
939
|
jetpack?: SitesBackupsDetails200Jetpack;
|
|
780
940
|
};
|
|
781
941
|
export declare type SitesBackupsCodeguard200 = {
|
|
782
|
-
website_id?: number;
|
|
783
942
|
database_id?: number;
|
|
784
943
|
success?: number;
|
|
944
|
+
website_id?: number;
|
|
785
945
|
};
|
|
786
946
|
export declare type SitesHasBackups200 = {
|
|
787
947
|
has_backups?: boolean;
|
|
@@ -799,10 +959,10 @@ export declare const SitesAutoupdatesUpdateBodyType: {
|
|
|
799
959
|
readonly themes: "themes";
|
|
800
960
|
};
|
|
801
961
|
export declare type SitesAutoupdatesUpdateBody = {
|
|
802
|
-
/** autoupdate type */
|
|
803
|
-
type: SitesAutoupdatesUpdateBodyType;
|
|
804
962
|
/** true to enable, false for disable */
|
|
805
963
|
enabled: boolean;
|
|
964
|
+
/** autoupdate type */
|
|
965
|
+
type: SitesAutoupdatesUpdateBodyType;
|
|
806
966
|
};
|
|
807
967
|
export declare type Site200 = {
|
|
808
968
|
success: boolean;
|
|
@@ -823,93 +983,136 @@ export declare const SiteUpdateBodyVersionPtr: {
|
|
|
823
983
|
readonly beta: "beta";
|
|
824
984
|
};
|
|
825
985
|
export declare type SiteUpdateBody = {
|
|
826
|
-
/**
|
|
827
|
-
|
|
986
|
+
/** Disk space in GiB */
|
|
987
|
+
disk_limit_gib?: number;
|
|
828
988
|
/** domain for the site to be added */
|
|
829
989
|
domain?: string;
|
|
990
|
+
/** toggle between wordpress/lightweight for non-existent static file */
|
|
991
|
+
handler_404?: boolean;
|
|
830
992
|
/** filesystem path that follows the domain in the url */
|
|
831
993
|
path?: string;
|
|
832
|
-
/** Disk space in GiB */
|
|
833
|
-
disk_limit_gib?: number;
|
|
834
|
-
/** Number of PHP workers */
|
|
835
|
-
workers?: number;
|
|
836
994
|
/** Skip FG domain checks for HAL domain */
|
|
837
995
|
skip_fg_checks?: boolean;
|
|
996
|
+
/** title of the site to be updated */
|
|
997
|
+
title?: string;
|
|
838
998
|
/** WP version */
|
|
839
999
|
version_ptr?: SiteUpdateBodyVersionPtr;
|
|
840
|
-
/**
|
|
841
|
-
|
|
1000
|
+
/** Number of PHP workers */
|
|
1001
|
+
workers?: number;
|
|
842
1002
|
};
|
|
843
1003
|
export declare type SitesInfo200ResourcesStorage = {
|
|
1004
|
+
/** @nullable */
|
|
844
1005
|
available?: number | null;
|
|
1006
|
+
/** @nullable */
|
|
845
1007
|
total?: number | null;
|
|
846
1008
|
unit?: string;
|
|
1009
|
+
/** @nullable */
|
|
847
1010
|
used?: number | null;
|
|
848
1011
|
};
|
|
849
1012
|
export declare type SitesInfo200Resources = {
|
|
850
1013
|
storage?: SitesInfo200ResourcesStorage;
|
|
1014
|
+
/** @nullable */
|
|
851
1015
|
workers?: number | null;
|
|
852
1016
|
};
|
|
853
1017
|
/**
|
|
854
|
-
*
|
|
1018
|
+
* @nullable
|
|
855
1019
|
*/
|
|
856
|
-
export declare type SitesInfo200Jobs = {
|
|
857
|
-
[key: string]: any;
|
|
858
|
-
};
|
|
859
1020
|
export declare type SitesInfo200PendingUrlData = {
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
/** The root domain name */
|
|
1021
|
+
/**
|
|
1022
|
+
* The root domain name
|
|
1023
|
+
* @nullable
|
|
1024
|
+
*/
|
|
865
1025
|
base_domain?: string | null;
|
|
1026
|
+
/**
|
|
1027
|
+
* The Fully Qualified Domain Name (FQDN)
|
|
1028
|
+
* @nullable
|
|
1029
|
+
*/
|
|
1030
|
+
domain?: string | null;
|
|
1031
|
+
/** @nullable */
|
|
1032
|
+
error?: string | null;
|
|
866
1033
|
/** Flag indicating whether the pending_url is temporary or not */
|
|
867
1034
|
is_temp?: boolean;
|
|
1035
|
+
/** @nullable */
|
|
1036
|
+
stage?: string | null;
|
|
1037
|
+
} | null;
|
|
1038
|
+
/**
|
|
1039
|
+
* Job ids for the site
|
|
1040
|
+
* @nullable
|
|
1041
|
+
*/
|
|
1042
|
+
export declare type SitesInfo200Jobs = {
|
|
1043
|
+
[key: string]: unknown;
|
|
868
1044
|
} | null;
|
|
869
1045
|
export declare type SitesInfo200 = {
|
|
870
|
-
|
|
1046
|
+
/** @nullable */
|
|
871
1047
|
account_back_ref?: string | null;
|
|
872
1048
|
account_id?: string;
|
|
873
|
-
/**
|
|
1049
|
+
/** @nullable */
|
|
1050
|
+
base_domain?: string | null;
|
|
1051
|
+
/**
|
|
1052
|
+
* False if site was added by site scanner
|
|
1053
|
+
* @nullable
|
|
1054
|
+
*/
|
|
874
1055
|
confirmed?: boolean | null;
|
|
1056
|
+
/** @nullable */
|
|
875
1057
|
datacenter?: string | null;
|
|
876
1058
|
date_added?: string;
|
|
877
1059
|
date_modified?: string;
|
|
878
1060
|
detected_type?: string;
|
|
1061
|
+
/** @nullable */
|
|
879
1062
|
docroot?: string | null;
|
|
1063
|
+
/** @nullable */
|
|
1064
|
+
domain?: string | null;
|
|
880
1065
|
edge_cache?: boolean;
|
|
1066
|
+
/** @nullable */
|
|
1067
|
+
handler_404?: string | null;
|
|
1068
|
+
id?: number;
|
|
1069
|
+
/** @nullable */
|
|
1070
|
+
installed_id?: string | null;
|
|
881
1071
|
/** True if docpath is public_html, otherwise False */
|
|
882
1072
|
is_primary?: boolean;
|
|
1073
|
+
/**
|
|
1074
|
+
* Job ids for the site
|
|
1075
|
+
* @nullable
|
|
1076
|
+
*/
|
|
1077
|
+
jobs?: SitesInfo200Jobs;
|
|
1078
|
+
/** @nullable */
|
|
883
1079
|
last_error?: string | null;
|
|
884
|
-
|
|
885
|
-
domain?: string | null;
|
|
886
|
-
base_domain?: string | null;
|
|
1080
|
+
/** @nullable */
|
|
887
1081
|
migration_id?: string | null;
|
|
1082
|
+
/** @nullable */
|
|
888
1083
|
name?: string | null;
|
|
1084
|
+
path?: string;
|
|
1085
|
+
/** @nullable */
|
|
889
1086
|
pending_url?: string | null;
|
|
890
|
-
/**
|
|
1087
|
+
/** @nullable */
|
|
1088
|
+
pending_url_data?: SitesInfo200PendingUrlData;
|
|
1089
|
+
/**
|
|
1090
|
+
* The Php Version. If unable to determine, it will be NULL
|
|
1091
|
+
* @nullable
|
|
1092
|
+
*/
|
|
891
1093
|
php_version?: string | null;
|
|
1094
|
+
resources?: SitesInfo200Resources;
|
|
892
1095
|
status?: string;
|
|
893
1096
|
subtype?: string;
|
|
894
1097
|
type?: string;
|
|
1098
|
+
/** @nullable */
|
|
895
1099
|
url?: string | null;
|
|
1100
|
+
/** @nullable */
|
|
896
1101
|
url_is_provisional?: boolean | null;
|
|
1102
|
+
/** @nullable */
|
|
897
1103
|
version?: string | null;
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
1104
|
+
/**
|
|
1105
|
+
* The WP Version
|
|
1106
|
+
* @nullable
|
|
1107
|
+
*/
|
|
902
1108
|
version_ptr?: string | null;
|
|
903
|
-
/** Job ids for the site */
|
|
904
|
-
jobs?: SitesInfo200Jobs;
|
|
905
|
-
resources?: SitesInfo200Resources;
|
|
906
1109
|
};
|
|
907
1110
|
export declare type SitesList200ItemsItem = {
|
|
1111
|
+
docroot?: string;
|
|
908
1112
|
id?: string;
|
|
909
1113
|
name?: string;
|
|
910
|
-
url?: string;
|
|
911
|
-
docroot?: string;
|
|
912
1114
|
status?: string;
|
|
1115
|
+
url?: string;
|
|
913
1116
|
};
|
|
914
1117
|
export declare type SitesList200 = {
|
|
915
1118
|
items?: SitesList200ItemsItem[];
|
|
@@ -979,7 +1182,10 @@ export declare type SshKeyGenerateBody = {
|
|
|
979
1182
|
name: string;
|
|
980
1183
|
/** A note to log alongside the secure_action_log entry. */
|
|
981
1184
|
note?: string;
|
|
982
|
-
/**
|
|
1185
|
+
/**
|
|
1186
|
+
* The SSH key's password. Must be four or more secure characters.
|
|
1187
|
+
* @minLength 4
|
|
1188
|
+
*/
|
|
983
1189
|
pass?: string;
|
|
984
1190
|
/** The entity that initiated the GAP call */
|
|
985
1191
|
source?: string;
|
|
@@ -1012,14 +1218,17 @@ export declare type SshKeyImportBody = {
|
|
|
1012
1218
|
name: string;
|
|
1013
1219
|
/** A note to log alongside the secure_action_log entry. */
|
|
1014
1220
|
note?: string;
|
|
1015
|
-
/**
|
|
1221
|
+
/**
|
|
1222
|
+
* The SSH key's password. Must be four or more secure characters.
|
|
1223
|
+
* @minLength 4
|
|
1224
|
+
*/
|
|
1016
1225
|
pass?: string;
|
|
1017
1226
|
/** The entity that initiated the GAP call */
|
|
1018
1227
|
source?: string;
|
|
1019
1228
|
};
|
|
1020
1229
|
export declare type SshKeyFetch200 = {
|
|
1021
|
-
key_name?: string;
|
|
1022
1230
|
key?: string;
|
|
1231
|
+
key_name?: string;
|
|
1023
1232
|
type?: string;
|
|
1024
1233
|
};
|
|
1025
1234
|
export declare type SshKeyFetchPrivate = typeof SshKeyFetchPrivate[keyof typeof SshKeyFetchPrivate];
|
|
@@ -1039,10 +1248,10 @@ export declare type SitesBatch200 = {
|
|
|
1039
1248
|
success?: boolean;
|
|
1040
1249
|
};
|
|
1041
1250
|
export declare type SitesBatchBodySitesItem = {
|
|
1042
|
-
/** site_id of the site to be updated */
|
|
1043
|
-
site_id?: number;
|
|
1044
1251
|
/** Disk space in GiB */
|
|
1045
1252
|
disk_limit_gib?: number;
|
|
1253
|
+
/** site_id of the site to be updated */
|
|
1254
|
+
site_id?: number;
|
|
1046
1255
|
/** Number of PHP workers */
|
|
1047
1256
|
workers?: number;
|
|
1048
1257
|
};
|
|
@@ -1065,30 +1274,30 @@ export declare const HostingSiteAddBodyDatacenter: {
|
|
|
1065
1274
|
readonly 'Los_Angeles,_California': "Los Angeles, California";
|
|
1066
1275
|
};
|
|
1067
1276
|
export declare type HostingSiteAddBody = {
|
|
1277
|
+
/** Admin email for the site user */
|
|
1278
|
+
admin_email?: string;
|
|
1279
|
+
/** Admin user for the site */
|
|
1280
|
+
admin_user?: string;
|
|
1281
|
+
/** HAL site id to clone */
|
|
1282
|
+
clone_site_id?: number;
|
|
1283
|
+
/** Datacenter to host site in. */
|
|
1284
|
+
datacenter?: HostingSiteAddBodyDatacenter;
|
|
1285
|
+
/** Disk space in GiB */
|
|
1286
|
+
disk_limit_gib?: number;
|
|
1068
1287
|
/** domain for the site to be added */
|
|
1069
1288
|
domain?: string;
|
|
1289
|
+
/** toggle between wordpress/lightweight for non-existent static file */
|
|
1290
|
+
handler_404?: boolean;
|
|
1291
|
+
/** Migrate an existing wordpress site */
|
|
1292
|
+
migration_id?: string;
|
|
1070
1293
|
/** Installation Path */
|
|
1071
1294
|
path?: string;
|
|
1072
1295
|
/** Site Subtype */
|
|
1073
1296
|
subtype: string;
|
|
1074
1297
|
/** title of the site to be added */
|
|
1075
1298
|
title?: string;
|
|
1076
|
-
/** Migrate an existing wordpress site */
|
|
1077
|
-
migration_id?: string;
|
|
1078
|
-
/** Admin email for the site user */
|
|
1079
|
-
admin_email?: string;
|
|
1080
|
-
/** Admin user for the site */
|
|
1081
|
-
admin_user?: string;
|
|
1082
|
-
/** Disk space in GiB */
|
|
1083
|
-
disk_limit_gib?: number;
|
|
1084
1299
|
/** Number of PHP workers */
|
|
1085
1300
|
workers?: number;
|
|
1086
|
-
/** toggle between wordpress/lightweight for non-existent static file */
|
|
1087
|
-
handler_404?: boolean;
|
|
1088
|
-
/** Datacenter to host site in. */
|
|
1089
|
-
datacenter?: HostingSiteAddBodyDatacenter;
|
|
1090
|
-
/** HAL site id to clone */
|
|
1091
|
-
clone_site_id?: number;
|
|
1092
1301
|
};
|
|
1093
1302
|
export declare type HostingShellInfo200 = {
|
|
1094
1303
|
enabled?: boolean;
|
|
@@ -1110,14 +1319,15 @@ export declare type HostingOnboardingDataUpdateBody = {
|
|
|
1110
1319
|
completed?: boolean;
|
|
1111
1320
|
};
|
|
1112
1321
|
export declare type HostingOnboardingData200 = {
|
|
1322
|
+
/** @nullable */
|
|
1113
1323
|
completed?: boolean | null;
|
|
1114
1324
|
};
|
|
1115
1325
|
export declare type HostingNameservers200 = {
|
|
1116
1326
|
nameservers: string[];
|
|
1117
1327
|
};
|
|
1118
1328
|
export declare type HostingMigrationSiteScanStatus200 = {
|
|
1119
|
-
transferable?: boolean;
|
|
1120
1329
|
callback_url?: string;
|
|
1330
|
+
transferable?: boolean;
|
|
1121
1331
|
};
|
|
1122
1332
|
export declare type HostingMigrationSiteScanStatusParams = {
|
|
1123
1333
|
/**
|
|
@@ -1126,13 +1336,13 @@ export declare type HostingMigrationSiteScanStatusParams = {
|
|
|
1126
1336
|
prospect_url: string;
|
|
1127
1337
|
};
|
|
1128
1338
|
export declare type HostingMigrationInfo200 = {
|
|
1129
|
-
migration_id?: string;
|
|
1130
1339
|
domain?: string;
|
|
1131
|
-
site_url?: string;
|
|
1132
|
-
hostname?: string;
|
|
1133
1340
|
feasible?: string;
|
|
1341
|
+
hostname?: string;
|
|
1134
1342
|
incoming_domain?: string;
|
|
1135
1343
|
is_valid_migration_id?: boolean;
|
|
1344
|
+
migration_id?: string;
|
|
1345
|
+
site_url?: string;
|
|
1136
1346
|
};
|
|
1137
1347
|
export declare type HostingMigrationInfoParams = {
|
|
1138
1348
|
migration_id: string;
|
|
@@ -1151,13 +1361,13 @@ export declare const HostingMigrationsEventBodyEventName: {
|
|
|
1151
1361
|
readonly failedCreate: "failedCreate";
|
|
1152
1362
|
};
|
|
1153
1363
|
export declare type HostingMigrationsEventBody = {
|
|
1364
|
+
event_name: HostingMigrationsEventBodyEventName;
|
|
1154
1365
|
/** The migration id that corresponds to CWM */
|
|
1155
1366
|
migration_id: string;
|
|
1156
|
-
event_name: HostingMigrationsEventBodyEventName;
|
|
1157
1367
|
};
|
|
1158
1368
|
export declare type HostingMigrationsCheck200 = {
|
|
1159
|
-
transferable?: boolean;
|
|
1160
1369
|
description?: string;
|
|
1370
|
+
transferable?: boolean;
|
|
1161
1371
|
};
|
|
1162
1372
|
export declare type HostingMigrationsCheckParams = {
|
|
1163
1373
|
/**
|
|
@@ -1174,28 +1384,31 @@ export declare type HostingMigrationsBody = {
|
|
|
1174
1384
|
};
|
|
1175
1385
|
export declare type HostingMigrationStatus200RowsItem = {
|
|
1176
1386
|
id?: string;
|
|
1177
|
-
type?: string;
|
|
1178
|
-
subtype?: string;
|
|
1179
1387
|
status?: string;
|
|
1388
|
+
subtype?: string;
|
|
1389
|
+
type?: string;
|
|
1180
1390
|
};
|
|
1181
1391
|
export declare type HostingMigrationStatus200 = {
|
|
1182
1392
|
rows?: HostingMigrationStatus200RowsItem[];
|
|
1183
1393
|
};
|
|
1184
1394
|
export declare type HostingLead400 = {
|
|
1185
|
-
[key: string]:
|
|
1395
|
+
[key: string]: unknown;
|
|
1186
1396
|
};
|
|
1187
1397
|
export declare type HostingLead200ResponseItemData = {
|
|
1188
1398
|
leadId?: string;
|
|
1189
1399
|
message?: string;
|
|
1190
1400
|
};
|
|
1191
1401
|
export declare type HostingLead200ResponseItem = {
|
|
1192
|
-
providerApplicationName?: string;
|
|
1193
1402
|
clientRequestId?: string;
|
|
1194
|
-
status?: string;
|
|
1195
|
-
errors?: string;
|
|
1196
1403
|
data?: HostingLead200ResponseItemData;
|
|
1404
|
+
errors?: string;
|
|
1197
1405
|
messageId?: string;
|
|
1406
|
+
providerApplicationName?: string;
|
|
1407
|
+
status?: string;
|
|
1198
1408
|
};
|
|
1409
|
+
/**
|
|
1410
|
+
* @nullable
|
|
1411
|
+
*/
|
|
1199
1412
|
export declare type HostingLead200 = {
|
|
1200
1413
|
response?: HostingLead200ResponseItem[];
|
|
1201
1414
|
} | null;
|
|
@@ -1203,11 +1416,14 @@ export declare type HostingLeadParams = {
|
|
|
1203
1416
|
phone?: string;
|
|
1204
1417
|
};
|
|
1205
1418
|
export declare type HostingInfoDiskUsage200 = {
|
|
1206
|
-
|
|
1419
|
+
/** @nullable */
|
|
1420
|
+
disklasttupdated?: string | null;
|
|
1207
1421
|
disklimit?: string;
|
|
1422
|
+
diskused?: string;
|
|
1423
|
+
/** @nullable */
|
|
1208
1424
|
fileslimit?: number | null;
|
|
1425
|
+
/** @nullable */
|
|
1209
1426
|
filesused?: number | null;
|
|
1210
|
-
disklasttupdated?: string | null;
|
|
1211
1427
|
};
|
|
1212
1428
|
export declare type HostingInfo200 = {
|
|
1213
1429
|
ip?: string;
|
|
@@ -1218,14 +1434,14 @@ export declare type HostingFtp200 = {
|
|
|
1218
1434
|
user?: string;
|
|
1219
1435
|
};
|
|
1220
1436
|
export declare type HostingFtpBody = {
|
|
1221
|
-
/** Username for FTP account to delete. */
|
|
1222
|
-
user: string;
|
|
1223
1437
|
/** Tear down FTP account home directory. Defaults to false (i.e., do not destroy). WARNING: There are many cases where destroying the ftp directory would be undesirable. */
|
|
1224
1438
|
destroy?: boolean;
|
|
1225
1439
|
/** Optional: A note to log alongside the secure_action_log entry. */
|
|
1226
1440
|
note?: string;
|
|
1227
1441
|
/** Optional: The entity that initiated the GAP call, eg. i_cluster, admin_user, script, cron, addon_$type($id) */
|
|
1228
1442
|
source?: string;
|
|
1443
|
+
/** Username for FTP account to delete. */
|
|
1444
|
+
user: string;
|
|
1229
1445
|
};
|
|
1230
1446
|
export declare type HostingFtpUpdate200 = {
|
|
1231
1447
|
status?: number;
|
|
@@ -1239,64 +1455,68 @@ export declare const HostingFtpUpdateBodyUserTypeSet: {
|
|
|
1239
1455
|
readonly quota: "quota";
|
|
1240
1456
|
};
|
|
1241
1457
|
export declare type HostingFtpUpdateBody = {
|
|
1242
|
-
/** Username for FTP account. */
|
|
1243
|
-
user: string;
|
|
1244
|
-
/** Update quota for user. Quota value should be greater than or equal to 0. */
|
|
1245
|
-
quota?: number;
|
|
1246
1458
|
/** Update password for user */
|
|
1247
1459
|
password?: string;
|
|
1460
|
+
/** Update quota for user. Quota value should be greater than or equal to 0. */
|
|
1461
|
+
quota?: number;
|
|
1462
|
+
/** Username for FTP account. */
|
|
1463
|
+
user: string;
|
|
1248
1464
|
/** Must pass either password or quota. */
|
|
1249
1465
|
user_type_set?: HostingFtpUpdateBodyUserTypeSet;
|
|
1250
1466
|
};
|
|
1251
1467
|
export declare type HostingFtpAdd200 = {
|
|
1252
|
-
user?: string;
|
|
1253
1468
|
pass?: string;
|
|
1469
|
+
user?: string;
|
|
1254
1470
|
};
|
|
1255
1471
|
export declare type HostingFtpAddBody = {
|
|
1256
|
-
/** Optional username. If not included then type is required and will generate a random username. Good for temp ftp user. Do not append domain. */
|
|
1257
|
-
user: string;
|
|
1258
|
-
/** Optional password. One will be generated if not included */
|
|
1259
|
-
pass?: string;
|
|
1260
1472
|
/** Optional domain. If provided, returns the username as $user@$domain instead of just $user. Either way, FTP logins must still be fully qualified as $user@some-domain-on-account. */
|
|
1261
1473
|
domain?: string;
|
|
1262
1474
|
/** Path to FTP folder. Default is /. (will be relative from homedir) */
|
|
1263
1475
|
folder?: string;
|
|
1264
|
-
/** Text to prepended in random username generation. */
|
|
1265
|
-
type?: string;
|
|
1266
1476
|
/** Optional: A note to log alongside the secure_action_log entry. */
|
|
1267
1477
|
note?: string;
|
|
1478
|
+
/** Optional password. One will be generated if not included */
|
|
1479
|
+
pass?: string;
|
|
1268
1480
|
/** Optional: The entity that initiated the GAP call, eg. i_cluster, admin_user, script, cron, addon_$type($id) */
|
|
1269
1481
|
source?: string;
|
|
1482
|
+
/** Text to prepended in random username generation. */
|
|
1483
|
+
type?: string;
|
|
1484
|
+
/** Optional username. If not included then type is required and will generate a random username. Good for temp ftp user. Do not append domain. */
|
|
1485
|
+
user: string;
|
|
1270
1486
|
user_type_set?: string;
|
|
1271
1487
|
};
|
|
1272
1488
|
export declare type HostingFtpList200SpecialFtpAccountsItem = {
|
|
1273
|
-
user?: string;
|
|
1274
|
-
homedir?: string;
|
|
1275
|
-
type?: string;
|
|
1276
1489
|
account?: string;
|
|
1277
1490
|
domain?: string;
|
|
1278
|
-
};
|
|
1279
|
-
export declare type HostingFtpList200FtpAccountsItem = {
|
|
1280
|
-
user?: string;
|
|
1281
1491
|
homedir?: string;
|
|
1282
1492
|
type?: string;
|
|
1493
|
+
user?: string;
|
|
1494
|
+
};
|
|
1495
|
+
export declare type HostingFtpList200FtpAccountsItem = {
|
|
1283
1496
|
account?: string;
|
|
1284
1497
|
domain?: string;
|
|
1498
|
+
homedir?: string;
|
|
1499
|
+
type?: string;
|
|
1500
|
+
user?: string;
|
|
1285
1501
|
};
|
|
1286
1502
|
export declare type HostingFtpList200 = {
|
|
1287
1503
|
ftp_accounts?: HostingFtpList200FtpAccountsItem[];
|
|
1288
|
-
special_ftp_accounts?: HostingFtpList200SpecialFtpAccountsItem[];
|
|
1289
1504
|
server_name?: string;
|
|
1505
|
+
special_ftp_accounts?: HostingFtpList200SpecialFtpAccountsItem[];
|
|
1290
1506
|
};
|
|
1507
|
+
/**
|
|
1508
|
+
* @nullable
|
|
1509
|
+
*/
|
|
1291
1510
|
export declare type HostingEcommerceInfo200 = {
|
|
1292
1511
|
addon_id?: number;
|
|
1293
1512
|
/** eCommerce addon back reference (a.k.a. prodInstId) */
|
|
1294
1513
|
back_ref?: string;
|
|
1295
1514
|
level?: string;
|
|
1296
1515
|
name?: string;
|
|
1297
|
-
type?: string;
|
|
1298
1516
|
status?: string;
|
|
1517
|
+
/** @nullable */
|
|
1299
1518
|
subtype?: string | null;
|
|
1519
|
+
type?: string;
|
|
1300
1520
|
} | null;
|
|
1301
1521
|
export declare type HostingDomainsUnassign200 = {
|
|
1302
1522
|
queued?: boolean;
|
|
@@ -1308,8 +1528,8 @@ export declare type HostingDomainsUnassignBody = {
|
|
|
1308
1528
|
export declare type Domains200DomainsItem = {
|
|
1309
1529
|
docroot: string;
|
|
1310
1530
|
domain: string;
|
|
1311
|
-
type: string;
|
|
1312
1531
|
id: number;
|
|
1532
|
+
type: string;
|
|
1313
1533
|
};
|
|
1314
1534
|
export declare type Domains200 = {
|
|
1315
1535
|
domains: Domains200DomainsItem[];
|
|
@@ -1334,15 +1554,15 @@ export declare type DbUserList200 = {
|
|
|
1334
1554
|
users?: DbUserList200UsersItem[];
|
|
1335
1555
|
};
|
|
1336
1556
|
export declare type DbUserDelete200 = {
|
|
1337
|
-
[key: string]:
|
|
1557
|
+
[key: string]: unknown;
|
|
1338
1558
|
};
|
|
1339
1559
|
export declare type DbUserDeleteBody = {
|
|
1340
1560
|
/** The complete database username */
|
|
1341
1561
|
dbuser: string;
|
|
1342
1562
|
};
|
|
1343
1563
|
export declare type DbUserAdd200 = {
|
|
1344
|
-
username?: string;
|
|
1345
1564
|
password?: string;
|
|
1565
|
+
username?: string;
|
|
1346
1566
|
};
|
|
1347
1567
|
/**
|
|
1348
1568
|
* Set for wanting either mysql or postgres
|
|
@@ -1353,13 +1573,20 @@ export declare const DbUserAddBodyDbType: {
|
|
|
1353
1573
|
readonly postgres: "postgres";
|
|
1354
1574
|
};
|
|
1355
1575
|
export declare type DbUserAddBody = {
|
|
1356
|
-
/** username to be created for the DB */
|
|
1357
|
-
dbuser: string;
|
|
1358
1576
|
/** Set for wanting either mysql or postgres */
|
|
1359
1577
|
db_type?: DbUserAddBodyDbType;
|
|
1360
|
-
/**
|
|
1578
|
+
/** username to be created for the DB */
|
|
1579
|
+
dbuser: string;
|
|
1580
|
+
/**
|
|
1581
|
+
* Database password for this new user. If not provided one will be generated.
|
|
1582
|
+
* @minLength 12
|
|
1583
|
+
*/
|
|
1361
1584
|
password?: string;
|
|
1362
|
-
/**
|
|
1585
|
+
/**
|
|
1586
|
+
* The account type; eg, cg for codeguard, used for auto-generated usernames. Max 2 characters.
|
|
1587
|
+
* @minLength 1
|
|
1588
|
+
* @maxLength 2
|
|
1589
|
+
*/
|
|
1363
1590
|
type?: string;
|
|
1364
1591
|
};
|
|
1365
1592
|
export declare type DbUserPrivsGet200 = {
|
|
@@ -1370,8 +1597,9 @@ export declare type DbUserPrivsGetParams = {
|
|
|
1370
1597
|
dbuser: string;
|
|
1371
1598
|
};
|
|
1372
1599
|
export declare type DbUsage200 = {
|
|
1373
|
-
db_limit?: number | null;
|
|
1374
1600
|
db_count?: number;
|
|
1601
|
+
/** @nullable */
|
|
1602
|
+
db_limit?: number | null;
|
|
1375
1603
|
};
|
|
1376
1604
|
export declare type DbList200DatabasesItemUserlistItem = {
|
|
1377
1605
|
db?: string;
|
|
@@ -1386,8 +1614,8 @@ export declare type DbList200DatabasesItem = {
|
|
|
1386
1614
|
userlist?: DbList200DatabasesItemUserlistItem[];
|
|
1387
1615
|
};
|
|
1388
1616
|
export declare type DbList200 = {
|
|
1389
|
-
status?: boolean;
|
|
1390
1617
|
databases?: DbList200DatabasesItem[];
|
|
1618
|
+
status?: boolean;
|
|
1391
1619
|
};
|
|
1392
1620
|
export declare type Db200 = {
|
|
1393
1621
|
dbname?: string;
|
|
@@ -1422,7 +1650,10 @@ export declare const DbAddBodyType: {
|
|
|
1422
1650
|
readonly postgres: "postgres";
|
|
1423
1651
|
};
|
|
1424
1652
|
export declare type DbAddBody = {
|
|
1425
|
-
/**
|
|
1653
|
+
/**
|
|
1654
|
+
* The database name. Account username_ will be prepended. Max length is 54 characters
|
|
1655
|
+
* @maxLength 54
|
|
1656
|
+
*/
|
|
1426
1657
|
dbname: string;
|
|
1427
1658
|
/** Type of database to add */
|
|
1428
1659
|
type?: DbAddBodyType;
|
|
@@ -1438,22 +1669,22 @@ export declare type UpdateCron200 = {
|
|
|
1438
1669
|
key?: number;
|
|
1439
1670
|
};
|
|
1440
1671
|
export declare type UpdateCronBody = {
|
|
1441
|
-
/** unique key for cron that is being updated */
|
|
1442
|
-
key: number;
|
|
1443
1672
|
/** command to run as a cron, needs to be a valid string */
|
|
1444
1673
|
command: string;
|
|
1445
1674
|
/** The day of the month on which the cron job runs. An integer between 1 and 31. * - Every day. *\/2 - Every other day. 1,15 - On the 1st and 15th of the month. */
|
|
1446
1675
|
day: string;
|
|
1447
1676
|
/** The hour of the day on which the cron job runs. An integer between 0 and 23. * - Every hour. *\/2 - Every other hour. 0,12 - Every 12 hours. */
|
|
1448
1677
|
hour: string;
|
|
1678
|
+
/** unique key for cron that is being updated */
|
|
1679
|
+
key: number;
|
|
1449
1680
|
/** The minute of the hour on which the cron job runs. An integer between 0 and 59. * - Once per minute. *\/2 - Every other minute. *\/10 - Every 10 minutes. 0,30 - Every 30 minutes. */
|
|
1450
1681
|
minute: string;
|
|
1451
1682
|
/** The month of the year on which the cron job runs. An integer between 1 and 12. * - Every month. *\/2 - Every other month. *\/6 - Every six months. */
|
|
1452
1683
|
month: string;
|
|
1453
|
-
/** The day of the week on which the cron job runs, 0-6. 0 - Sunday. 1 - Monday. 2 - Tuesday. 3 - Wednesday. 4 - Thursday. 5 - Friday. 6 - Saturday. * - Every day. */
|
|
1454
|
-
weekday: string;
|
|
1455
1684
|
/** Type of command (command, variable, comment, blank, unparsed) */
|
|
1456
1685
|
type?: string;
|
|
1686
|
+
/** The day of the week on which the cron job runs, 0-6. 0 - Sunday. 1 - Monday. 2 - Tuesday. 3 - Wednesday. 4 - Thursday. 5 - Friday. 6 - Saturday. * - Every day. */
|
|
1687
|
+
weekday: string;
|
|
1457
1688
|
};
|
|
1458
1689
|
export declare type AddCron400 = {
|
|
1459
1690
|
error?: string;
|
|
@@ -1462,7 +1693,10 @@ export declare type AddCron200 = {
|
|
|
1462
1693
|
key?: string;
|
|
1463
1694
|
};
|
|
1464
1695
|
export declare type AddCronBody = {
|
|
1465
|
-
/**
|
|
1696
|
+
/**
|
|
1697
|
+
* command to run as a cron, needs to be a valid string
|
|
1698
|
+
* @minLength 1
|
|
1699
|
+
*/
|
|
1466
1700
|
command: string;
|
|
1467
1701
|
/** The day of the month on which the cron job runs. An integer between 1 and 31. * - Every day. *\/2 - Every other day. 1,15 - On the 1st and 15th of the month. */
|
|
1468
1702
|
day?: string;
|
|
@@ -1478,6 +1712,7 @@ export declare type AddCronBody = {
|
|
|
1478
1712
|
export declare type ListCrons200RowsItem = {
|
|
1479
1713
|
command?: string;
|
|
1480
1714
|
day?: string;
|
|
1715
|
+
email?: string;
|
|
1481
1716
|
hour?: string;
|
|
1482
1717
|
key?: string;
|
|
1483
1718
|
line?: string;
|
|
@@ -1485,27 +1720,26 @@ export declare type ListCrons200RowsItem = {
|
|
|
1485
1720
|
month?: string;
|
|
1486
1721
|
type?: string;
|
|
1487
1722
|
weekday?: string;
|
|
1488
|
-
email?: string;
|
|
1489
1723
|
};
|
|
1490
1724
|
export declare type ListCrons200 = {
|
|
1491
1725
|
rows?: ListCrons200RowsItem[];
|
|
1492
1726
|
};
|
|
1493
1727
|
export declare type AddonCloudflare200 = {
|
|
1494
|
-
status?: string;
|
|
1495
1728
|
addon_id?: number;
|
|
1729
|
+
status?: string;
|
|
1496
1730
|
};
|
|
1497
1731
|
export declare type AddonCloudflareBody = {
|
|
1498
1732
|
/** The domain. */
|
|
1499
1733
|
domain: string;
|
|
1500
1734
|
};
|
|
1501
1735
|
export declare type HostingCapabilities200 = {
|
|
1736
|
+
advanced_hosting?: boolean;
|
|
1737
|
+
cpanel?: boolean;
|
|
1738
|
+
is_sitelock_migrated?: boolean;
|
|
1739
|
+
reset_password?: boolean;
|
|
1502
1740
|
server_controls?: boolean;
|
|
1503
1741
|
sites?: boolean;
|
|
1504
|
-
cpanel?: boolean;
|
|
1505
1742
|
whm?: boolean;
|
|
1506
|
-
advanced_hosting?: boolean;
|
|
1507
|
-
reset_password?: boolean;
|
|
1508
|
-
is_sitelock_migrated?: boolean;
|
|
1509
1743
|
};
|
|
1510
1744
|
export declare type HostingAdvancedSystemConsole200 = {
|
|
1511
1745
|
url?: string;
|
|
@@ -1519,32 +1753,35 @@ export declare type HostingAdvancedPassword200 = {
|
|
|
1519
1753
|
export declare type HostingAdvancedPasswordBody = {
|
|
1520
1754
|
/** The username to be updated */
|
|
1521
1755
|
account_username?: string;
|
|
1522
|
-
/**
|
|
1756
|
+
/**
|
|
1757
|
+
* The password to be updated to
|
|
1758
|
+
* @minLength 6
|
|
1759
|
+
*/
|
|
1523
1760
|
password: string;
|
|
1524
1761
|
};
|
|
1525
1762
|
export declare type HostingAdvancedServerStatus200Actions = {
|
|
1526
|
-
[key: string]:
|
|
1763
|
+
[key: string]: unknown;
|
|
1527
1764
|
};
|
|
1528
1765
|
export declare type HostingAdvancedServerStatus200 = {
|
|
1766
|
+
actions?: HostingAdvancedServerStatus200Actions;
|
|
1529
1767
|
status?: string;
|
|
1530
1768
|
uptime?: string;
|
|
1531
1769
|
uptime_seconds?: number;
|
|
1532
|
-
actions?: HostingAdvancedServerStatus200Actions;
|
|
1533
1770
|
};
|
|
1534
1771
|
export declare type HostingAdvancedServerStatusBody = {
|
|
1535
1772
|
/** action to be performed */
|
|
1536
1773
|
action?: string;
|
|
1537
1774
|
};
|
|
1538
|
-
export declare type HostingAdvancedServer200Actions = {
|
|
1539
|
-
[key: string]: any;
|
|
1540
|
-
};
|
|
1541
1775
|
export declare type HostingAdvancedServer200Ips = {
|
|
1776
|
+
other_ips?: string[];
|
|
1542
1777
|
/** primary IP of server */
|
|
1543
1778
|
primary_ip?: string;
|
|
1544
|
-
|
|
1779
|
+
};
|
|
1780
|
+
export declare type HostingAdvancedServer200Actions = {
|
|
1781
|
+
[key: string]: unknown;
|
|
1545
1782
|
};
|
|
1546
1783
|
export declare type HostingAdvancedServer200 = {
|
|
1547
|
-
|
|
1784
|
+
actions?: HostingAdvancedServer200Actions;
|
|
1548
1785
|
/** hostname of server */
|
|
1549
1786
|
hostname?: string;
|
|
1550
1787
|
ips?: HostingAdvancedServer200Ips;
|
|
@@ -1552,20 +1789,20 @@ export declare type HostingAdvancedServer200 = {
|
|
|
1552
1789
|
os_name?: string;
|
|
1553
1790
|
/** Operating system version */
|
|
1554
1791
|
os_version?: string;
|
|
1792
|
+
status?: string;
|
|
1555
1793
|
uptime?: string;
|
|
1556
1794
|
uptime_seconds?: number;
|
|
1557
|
-
actions?: HostingAdvancedServer200Actions;
|
|
1558
1795
|
};
|
|
1559
1796
|
export declare type HostingAddons200RowsItemMeta = {
|
|
1560
|
-
[key: string]:
|
|
1797
|
+
[key: string]: unknown;
|
|
1561
1798
|
};
|
|
1562
1799
|
export declare type HostingAddons200RowsItem = {
|
|
1563
1800
|
id?: string;
|
|
1564
|
-
|
|
1565
|
-
subtype?: string;
|
|
1801
|
+
meta?: HostingAddons200RowsItemMeta;
|
|
1566
1802
|
status?: string;
|
|
1567
1803
|
status_user?: string;
|
|
1568
|
-
|
|
1804
|
+
subtype?: string;
|
|
1805
|
+
type?: string;
|
|
1569
1806
|
};
|
|
1570
1807
|
export declare type HostingAddons200 = {
|
|
1571
1808
|
rows?: HostingAddons200RowsItem[];
|
|
@@ -1576,16 +1813,25 @@ export declare type HostingAddonsParams = {
|
|
|
1576
1813
|
type?: string;
|
|
1577
1814
|
};
|
|
1578
1815
|
export declare type HostingAccount200ResourcesWorkers = {
|
|
1816
|
+
/** @nullable */
|
|
1579
1817
|
available?: number | null;
|
|
1818
|
+
/** @nullable */
|
|
1580
1819
|
total?: number | null;
|
|
1820
|
+
/** @nullable */
|
|
1581
1821
|
used?: number | null;
|
|
1582
1822
|
};
|
|
1583
1823
|
export declare type HostingAccount200ResourcesStorage = {
|
|
1824
|
+
/** @nullable */
|
|
1584
1825
|
available?: number | null;
|
|
1826
|
+
/** @nullable */
|
|
1585
1827
|
total?: number | null;
|
|
1586
1828
|
unit?: string;
|
|
1829
|
+
/** @nullable */
|
|
1587
1830
|
used?: number | null;
|
|
1588
1831
|
};
|
|
1832
|
+
/**
|
|
1833
|
+
* @nullable
|
|
1834
|
+
*/
|
|
1589
1835
|
export declare type HostingAccount200Resources = {
|
|
1590
1836
|
storage?: HostingAccount200ResourcesStorage;
|
|
1591
1837
|
workers?: HostingAccount200ResourcesWorkers;
|
|
@@ -1594,39 +1840,51 @@ export declare type HostingAccount200Billing = {
|
|
|
1594
1840
|
product_name?: string;
|
|
1595
1841
|
};
|
|
1596
1842
|
export declare type HostingAccount200 = {
|
|
1597
|
-
id?: string;
|
|
1598
1843
|
account_id?: string;
|
|
1599
|
-
brand?: string;
|
|
1600
|
-
platform?: string;
|
|
1601
|
-
username?: string;
|
|
1602
|
-
status?: string;
|
|
1603
|
-
type?: string;
|
|
1604
1844
|
advanced?: boolean;
|
|
1605
1845
|
billing?: HostingAccount200Billing;
|
|
1846
|
+
brand?: string;
|
|
1847
|
+
id?: string;
|
|
1606
1848
|
panel?: string;
|
|
1607
1849
|
plan_key?: string;
|
|
1850
|
+
platform?: string;
|
|
1851
|
+
/** @nullable */
|
|
1608
1852
|
resources?: HostingAccount200Resources;
|
|
1853
|
+
status?: string;
|
|
1854
|
+
type?: string;
|
|
1855
|
+
username?: string;
|
|
1609
1856
|
};
|
|
1610
1857
|
export declare type DomainUnassign200 = {
|
|
1611
|
-
[key: string]:
|
|
1858
|
+
[key: string]: unknown;
|
|
1612
1859
|
};
|
|
1613
1860
|
export declare type DomainInfo200 = {
|
|
1614
|
-
|
|
1861
|
+
/** @nullable */
|
|
1615
1862
|
account_back_ref?: string | null;
|
|
1863
|
+
/** @nullable */
|
|
1616
1864
|
authoritative?: boolean | null;
|
|
1865
|
+
/** @nullable */
|
|
1617
1866
|
autogen_id?: number | null;
|
|
1867
|
+
/** @nullable */
|
|
1618
1868
|
back_reference?: string | null;
|
|
1619
1869
|
base_domain?: string;
|
|
1620
1870
|
date_added?: string;
|
|
1621
1871
|
date_modified?: string;
|
|
1872
|
+
/** @nullable */
|
|
1622
1873
|
date_ssl_exp?: string | null;
|
|
1623
|
-
docroot?: string | null;
|
|
1624
1874
|
dns_status?: string;
|
|
1875
|
+
/** @nullable */
|
|
1876
|
+
docroot?: string | null;
|
|
1625
1877
|
domain?: string;
|
|
1878
|
+
/** @nullable */
|
|
1626
1879
|
homedir?: string | null;
|
|
1880
|
+
/** @nullable */
|
|
1627
1881
|
hosting_id?: number | null;
|
|
1882
|
+
id?: number;
|
|
1883
|
+
/** @nullable */
|
|
1628
1884
|
ssl_issuer?: string | null;
|
|
1885
|
+
/** @nullable */
|
|
1629
1886
|
ssl_status?: string | null;
|
|
1887
|
+
/** @nullable */
|
|
1630
1888
|
ssl_type?: string | null;
|
|
1631
1889
|
status?: string;
|
|
1632
1890
|
type?: string;
|
|
@@ -1655,10 +1913,10 @@ export declare type CodeguardWebsiteBackupRestore200 = {
|
|
|
1655
1913
|
status?: string;
|
|
1656
1914
|
};
|
|
1657
1915
|
export declare type CodeguardWebsiteBackupRestoreBody = {
|
|
1658
|
-
/** The id of the website the given database is associated with. */
|
|
1659
|
-
website_id?: number;
|
|
1660
1916
|
/** The commit id to restore the website from. */
|
|
1661
1917
|
commit_id?: string;
|
|
1918
|
+
/** The id of the website the given database is associated with. */
|
|
1919
|
+
website_id?: number;
|
|
1662
1920
|
};
|
|
1663
1921
|
export declare type CodeguardWebsiteBackupCreate200 = {
|
|
1664
1922
|
status?: string;
|
|
@@ -1680,8 +1938,8 @@ export declare type CodeguardWebsiteBackupListParams = {
|
|
|
1680
1938
|
website_id?: number;
|
|
1681
1939
|
};
|
|
1682
1940
|
export declare type CodeguardWebsiteList200WebsiteListItemWebsite = {
|
|
1683
|
-
id?: number;
|
|
1684
1941
|
activated?: boolean;
|
|
1942
|
+
id?: number;
|
|
1685
1943
|
url?: string;
|
|
1686
1944
|
};
|
|
1687
1945
|
export declare type CodeguardWebsiteList200WebsiteListItem = {
|
|
@@ -1691,20 +1949,20 @@ export declare type CodeguardWebsiteList200 = {
|
|
|
1691
1949
|
website_list?: CodeguardWebsiteList200WebsiteListItem[];
|
|
1692
1950
|
};
|
|
1693
1951
|
export declare type CodeguardPlanInfo200SeatsItem = {
|
|
1694
|
-
url?: string;
|
|
1695
1952
|
activated?: boolean;
|
|
1953
|
+
url?: string;
|
|
1696
1954
|
website_id?: number;
|
|
1697
1955
|
};
|
|
1698
1956
|
export declare type CodeguardPlanInfo200 = {
|
|
1699
|
-
size?: number;
|
|
1700
|
-
size_limit?: number;
|
|
1701
|
-
seat_count?: number;
|
|
1702
|
-
seat_limit?: number;
|
|
1703
|
-
status?: string;
|
|
1704
1957
|
back_reference?: string;
|
|
1705
1958
|
can_upgrade?: boolean;
|
|
1706
1959
|
plan_name?: string;
|
|
1960
|
+
seat_count?: number;
|
|
1961
|
+
seat_limit?: number;
|
|
1707
1962
|
seats?: CodeguardPlanInfo200SeatsItem[];
|
|
1963
|
+
size?: number;
|
|
1964
|
+
size_limit?: number;
|
|
1965
|
+
status?: string;
|
|
1708
1966
|
};
|
|
1709
1967
|
export declare type CodeguardLoginLink200 = {
|
|
1710
1968
|
link?: string;
|
|
@@ -1713,12 +1971,12 @@ export declare type CodeguardDatabaseBackupRestore200 = {
|
|
|
1713
1971
|
status?: string;
|
|
1714
1972
|
};
|
|
1715
1973
|
export declare type CodeguardDatabaseBackupRestoreBody = {
|
|
1974
|
+
/** The commit_id for the backup to restore */
|
|
1975
|
+
commit_id?: string;
|
|
1716
1976
|
/** The id for the database to create a new backup for. */
|
|
1717
1977
|
database_id?: number;
|
|
1718
1978
|
/** The id of the website the given database is associated with. */
|
|
1719
1979
|
website_id?: number;
|
|
1720
|
-
/** The commit_id for the backup to restore */
|
|
1721
|
-
commit_id?: string;
|
|
1722
1980
|
};
|
|
1723
1981
|
export declare type CodeguardDatabaseBackupCreate200 = {
|
|
1724
1982
|
status?: string;
|
|
@@ -1741,62 +1999,62 @@ export declare type CodeguardDatabaseBackupListParams = {
|
|
|
1741
1999
|
website_id?: number;
|
|
1742
2000
|
};
|
|
1743
2001
|
export declare type CodeguardDatabaseList200DatabasesItemDatabaseBackup = {
|
|
1744
|
-
id?: number;
|
|
1745
2002
|
account?: string;
|
|
1746
|
-
website_id?: number;
|
|
1747
2003
|
commit_id?: string;
|
|
2004
|
+
id?: number;
|
|
2005
|
+
website_id?: number;
|
|
1748
2006
|
};
|
|
1749
2007
|
export declare type CodeguardDatabaseList200DatabasesItem = {
|
|
1750
2008
|
database_backup?: CodeguardDatabaseList200DatabasesItemDatabaseBackup;
|
|
1751
2009
|
};
|
|
1752
2010
|
export declare type CodeguardDatabaseList200 = {
|
|
1753
|
-
status?: number;
|
|
1754
2011
|
databases?: CodeguardDatabaseList200DatabasesItem[];
|
|
2012
|
+
status?: number;
|
|
1755
2013
|
};
|
|
1756
2014
|
export declare type CodeguardBackupRestore200 = {
|
|
1757
|
-
website_success?: boolean;
|
|
1758
2015
|
database_success?: boolean;
|
|
2016
|
+
website_success?: boolean;
|
|
1759
2017
|
};
|
|
1760
2018
|
export declare type CodeguardBackupRestoreBody = {
|
|
1761
|
-
/** The id of the website the given database is associated with. */
|
|
1762
|
-
website_id?: number;
|
|
1763
|
-
/** The commit id to restore the website from. */
|
|
1764
|
-
website_commit_id?: string;
|
|
1765
|
-
/** The id of the database the given database is associated with. */
|
|
1766
|
-
database_id?: number;
|
|
1767
2019
|
/** The commit id to restore the database from. */
|
|
1768
2020
|
database_commit_id?: string;
|
|
2021
|
+
/** The id of the database the given database is associated with. */
|
|
2022
|
+
database_id?: number;
|
|
2023
|
+
/** The commit id to restore the website from. */
|
|
2024
|
+
website_commit_id?: string;
|
|
2025
|
+
/** The id of the website the given database is associated with. */
|
|
2026
|
+
website_id?: number;
|
|
1769
2027
|
};
|
|
1770
2028
|
export declare type CodeguardBackupDownload200 = {
|
|
1771
2029
|
status?: string;
|
|
1772
2030
|
};
|
|
1773
2031
|
export declare type CodeguardBackupDownloadBody = {
|
|
1774
|
-
/** The id of the website the given database is associated with. */
|
|
1775
|
-
website_id?: number;
|
|
1776
|
-
/** The commit id to restore the website from. */
|
|
1777
|
-
website_commit_id?: string;
|
|
1778
2032
|
/** The commit id to restore the database from. */
|
|
1779
2033
|
database_commit_id?: string;
|
|
2034
|
+
/** The commit id to restore the website from. */
|
|
2035
|
+
website_commit_id?: string;
|
|
2036
|
+
/** The id of the website the given database is associated with. */
|
|
2037
|
+
website_id?: number;
|
|
1780
2038
|
};
|
|
1781
2039
|
export declare type CodeguardBackupCreate200 = {
|
|
1782
2040
|
status?: string;
|
|
1783
2041
|
};
|
|
1784
2042
|
export declare type CodeguardBackupCreateBody = {
|
|
1785
|
-
/** The id of the website the given database is associated with. */
|
|
1786
|
-
website_id?: number;
|
|
1787
2043
|
/** The id of the database the given database is associated with. */
|
|
1788
2044
|
database_id?: number;
|
|
2045
|
+
/** The id of the website the given database is associated with. */
|
|
2046
|
+
website_id?: number;
|
|
1789
2047
|
};
|
|
1790
2048
|
export declare type CodeguardBackupList200BackupsItemDatabaseBackupsItem = {
|
|
1791
|
-
id?: number;
|
|
1792
2049
|
commit_id?: string;
|
|
1793
2050
|
event_time?: string;
|
|
2051
|
+
id?: number;
|
|
1794
2052
|
recommended?: boolean;
|
|
1795
2053
|
};
|
|
1796
2054
|
export declare type CodeguardBackupList200BackupsItem = {
|
|
1797
|
-
website_commit_id?: string;
|
|
1798
|
-
event_time?: string;
|
|
1799
2055
|
database_backups?: CodeguardBackupList200BackupsItemDatabaseBackupsItem[];
|
|
2056
|
+
event_time?: string;
|
|
2057
|
+
website_commit_id?: string;
|
|
1800
2058
|
};
|
|
1801
2059
|
export declare type CodeguardBackupList200 = {
|
|
1802
2060
|
backups?: CodeguardBackupList200BackupsItem[];
|
|
@@ -1805,23 +2063,26 @@ export declare type CodeguardBackupListParams = {
|
|
|
1805
2063
|
website_id: number;
|
|
1806
2064
|
};
|
|
1807
2065
|
export declare type AccountHostingList200AccountsItem = {
|
|
1808
|
-
/** HAL Account back_reference */
|
|
1809
|
-
prod_inst_id?: string;
|
|
1810
|
-
feature_set?: string;
|
|
1811
|
-
status?: string;
|
|
1812
|
-
/** HAL Account ID */
|
|
1813
|
-
hosting_id?: string;
|
|
1814
|
-
platform?: string;
|
|
1815
2066
|
/** Jarvis Account ID, HAL tenant_back_ref */
|
|
1816
2067
|
account_id?: string;
|
|
1817
2068
|
current_sites?: number;
|
|
2069
|
+
feature_set?: string;
|
|
2070
|
+
/** HAL Account ID */
|
|
2071
|
+
hosting_id?: string;
|
|
1818
2072
|
max_sites?: string;
|
|
2073
|
+
platform?: string;
|
|
2074
|
+
/** HAL Account back_reference */
|
|
2075
|
+
prod_inst_id?: string;
|
|
2076
|
+
status?: string;
|
|
1819
2077
|
};
|
|
1820
2078
|
export declare type AccountHostingList200 = {
|
|
1821
2079
|
accounts?: AccountHostingList200AccountsItem[];
|
|
1822
2080
|
};
|
|
1823
2081
|
export interface SitesAutoupdatesResponse {
|
|
1824
|
-
|
|
2082
|
+
/** @nullable */
|
|
1825
2083
|
core?: boolean | null;
|
|
2084
|
+
/** @nullable */
|
|
2085
|
+
plugins?: boolean | null;
|
|
2086
|
+
/** @nullable */
|
|
1826
2087
|
themes?: boolean | null;
|
|
1827
2088
|
}
|