@newfold/huapi-js 2.1375.0 → 2.1398.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 +211 -120
- package/src/index.js +161 -97
- package/src/index.msw.d.ts +15 -9
- package/src/index.msw.js +79 -43
- package/src/index.schemas.d.ts +226 -160
- package/src/index.schemas.js +6 -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.1398.0
|
|
7
7
|
*/
|
|
8
8
|
export declare type SshKeyListV4200RowsItem = {
|
|
9
9
|
authorize?: boolean;
|
|
@@ -55,6 +55,23 @@ export declare type SshKeyImportV3Body = {
|
|
|
55
55
|
/** The entity that initiated the GAP call */
|
|
56
56
|
source?: string;
|
|
57
57
|
};
|
|
58
|
+
export declare type BackupCreateV3200 = {
|
|
59
|
+
message?: string;
|
|
60
|
+
tracking_id?: number;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* The type of the backup
|
|
64
|
+
*/
|
|
65
|
+
export declare type BackupCreateV3BodyBackupType = typeof BackupCreateV3BodyBackupType[keyof typeof BackupCreateV3BodyBackupType];
|
|
66
|
+
export declare const BackupCreateV3BodyBackupType: {
|
|
67
|
+
readonly home: "home";
|
|
68
|
+
readonly db: "db";
|
|
69
|
+
readonly home_db: "home_db";
|
|
70
|
+
};
|
|
71
|
+
export declare type BackupCreateV3Body = {
|
|
72
|
+
/** The type of the backup */
|
|
73
|
+
backup_type?: BackupCreateV3BodyBackupType;
|
|
74
|
+
};
|
|
58
75
|
export declare type SiteUsersV2200UsersItemMeta = {
|
|
59
76
|
maestro_web_pro?: string;
|
|
60
77
|
maestro_wpp_identifier?: string;
|
|
@@ -250,17 +267,6 @@ export declare type SitesDomainsV2200 = {
|
|
|
250
267
|
export declare type SitesDomainsV2Params = {
|
|
251
268
|
scan?: boolean;
|
|
252
269
|
};
|
|
253
|
-
export declare type SitesListV2200 = {
|
|
254
|
-
items?: SitesListV2200ItemsItem[];
|
|
255
|
-
/** page size */
|
|
256
|
-
limit?: number;
|
|
257
|
-
/** current page number */
|
|
258
|
-
page?: number;
|
|
259
|
-
/** total number of pages */
|
|
260
|
-
pages?: number;
|
|
261
|
-
/** total number of sites returned */
|
|
262
|
-
total?: number;
|
|
263
|
-
};
|
|
264
270
|
/**
|
|
265
271
|
* @nullable
|
|
266
272
|
*/
|
|
@@ -288,63 +294,6 @@ export declare type SitesListV2200ItemsItemStaging = {
|
|
|
288
294
|
/** A list of staging sites of the current site */
|
|
289
295
|
sites?: number[];
|
|
290
296
|
} | null;
|
|
291
|
-
export declare type SitesListV2200ItemsItemResourcesStorage = {
|
|
292
|
-
/** @nullable */
|
|
293
|
-
available?: number | null;
|
|
294
|
-
/** @nullable */
|
|
295
|
-
total?: number | null;
|
|
296
|
-
unit?: string;
|
|
297
|
-
/** @nullable */
|
|
298
|
-
used?: number | null;
|
|
299
|
-
};
|
|
300
|
-
export declare type SitesListV2200ItemsItemResources = {
|
|
301
|
-
storage?: SitesListV2200ItemsItemResourcesStorage;
|
|
302
|
-
/** @nullable */
|
|
303
|
-
workers?: number | null;
|
|
304
|
-
};
|
|
305
|
-
/**
|
|
306
|
-
* @nullable
|
|
307
|
-
*/
|
|
308
|
-
export declare type SitesListV2200ItemsItemPendingUrlData = {
|
|
309
|
-
/**
|
|
310
|
-
* The root domain name
|
|
311
|
-
* @nullable
|
|
312
|
-
*/
|
|
313
|
-
base_domain?: string | null;
|
|
314
|
-
/**
|
|
315
|
-
* The Fully Qualified Domain Name (FQDN)
|
|
316
|
-
* @nullable
|
|
317
|
-
*/
|
|
318
|
-
domain?: string | null;
|
|
319
|
-
/**
|
|
320
|
-
* The current pending_url's HAL Domain ID
|
|
321
|
-
* @nullable
|
|
322
|
-
*/
|
|
323
|
-
domain_id?: number | null;
|
|
324
|
-
/** @nullable */
|
|
325
|
-
error?: string | null;
|
|
326
|
-
/** Flag indicating whether the pending_url is temporary or not */
|
|
327
|
-
is_temp?: boolean;
|
|
328
|
-
/**
|
|
329
|
-
* Flag indicating whether the url_sync job has run out of attempts
|
|
330
|
-
* @nullable
|
|
331
|
-
*/
|
|
332
|
-
job_failed?: boolean | null;
|
|
333
|
-
/** @nullable */
|
|
334
|
-
stage?: string | null;
|
|
335
|
-
/**
|
|
336
|
-
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
337
|
-
* @nullable
|
|
338
|
-
*/
|
|
339
|
-
wp_session?: string | null;
|
|
340
|
-
} | null;
|
|
341
|
-
/**
|
|
342
|
-
* Job ids for the site
|
|
343
|
-
* @nullable
|
|
344
|
-
*/
|
|
345
|
-
export declare type SitesListV2200ItemsItemJobs = {
|
|
346
|
-
[key: string]: unknown;
|
|
347
|
-
} | null;
|
|
348
297
|
export declare type SitesListV2200ItemsItem = {
|
|
349
298
|
/** @nullable */
|
|
350
299
|
account_back_ref?: string | null;
|
|
@@ -418,6 +367,74 @@ export declare type SitesListV2200ItemsItem = {
|
|
|
418
367
|
*/
|
|
419
368
|
version_ptr?: string | null;
|
|
420
369
|
};
|
|
370
|
+
export declare type SitesListV2200 = {
|
|
371
|
+
items?: SitesListV2200ItemsItem[];
|
|
372
|
+
/** page size */
|
|
373
|
+
limit?: number;
|
|
374
|
+
/** current page number */
|
|
375
|
+
page?: number;
|
|
376
|
+
/** total number of pages */
|
|
377
|
+
pages?: number;
|
|
378
|
+
/** total number of sites returned */
|
|
379
|
+
total?: number;
|
|
380
|
+
};
|
|
381
|
+
export declare type SitesListV2200ItemsItemResourcesStorage = {
|
|
382
|
+
/** @nullable */
|
|
383
|
+
available?: number | null;
|
|
384
|
+
/** @nullable */
|
|
385
|
+
total?: number | null;
|
|
386
|
+
unit?: string;
|
|
387
|
+
/** @nullable */
|
|
388
|
+
used?: number | null;
|
|
389
|
+
};
|
|
390
|
+
export declare type SitesListV2200ItemsItemResources = {
|
|
391
|
+
storage?: SitesListV2200ItemsItemResourcesStorage;
|
|
392
|
+
/** @nullable */
|
|
393
|
+
workers?: number | null;
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* @nullable
|
|
397
|
+
*/
|
|
398
|
+
export declare type SitesListV2200ItemsItemPendingUrlData = {
|
|
399
|
+
/**
|
|
400
|
+
* The root domain name
|
|
401
|
+
* @nullable
|
|
402
|
+
*/
|
|
403
|
+
base_domain?: string | null;
|
|
404
|
+
/**
|
|
405
|
+
* The Fully Qualified Domain Name (FQDN)
|
|
406
|
+
* @nullable
|
|
407
|
+
*/
|
|
408
|
+
domain?: string | null;
|
|
409
|
+
/**
|
|
410
|
+
* The current pending_url's HAL Domain ID
|
|
411
|
+
* @nullable
|
|
412
|
+
*/
|
|
413
|
+
domain_id?: number | null;
|
|
414
|
+
/** @nullable */
|
|
415
|
+
error?: string | null;
|
|
416
|
+
/** Flag indicating whether the pending_url is temporary or not */
|
|
417
|
+
is_temp?: boolean;
|
|
418
|
+
/**
|
|
419
|
+
* Flag indicating whether the url_sync job has run out of attempts
|
|
420
|
+
* @nullable
|
|
421
|
+
*/
|
|
422
|
+
job_failed?: boolean | null;
|
|
423
|
+
/** @nullable */
|
|
424
|
+
stage?: string | null;
|
|
425
|
+
/**
|
|
426
|
+
* Timestamp for when we will update the WP url, regardless of active sessions
|
|
427
|
+
* @nullable
|
|
428
|
+
*/
|
|
429
|
+
wp_session?: string | null;
|
|
430
|
+
} | null;
|
|
431
|
+
/**
|
|
432
|
+
* Job ids for the site
|
|
433
|
+
* @nullable
|
|
434
|
+
*/
|
|
435
|
+
export declare type SitesListV2200ItemsItemJobs = {
|
|
436
|
+
[key: string]: unknown;
|
|
437
|
+
} | null;
|
|
421
438
|
export declare type SshKeyV2200 = {
|
|
422
439
|
deleted?: number;
|
|
423
440
|
key_name?: string;
|
|
@@ -1162,9 +1179,6 @@ export declare type SiteQualityMetrics200AspectScores = {
|
|
|
1162
1179
|
performance?: number;
|
|
1163
1180
|
seo?: number;
|
|
1164
1181
|
};
|
|
1165
|
-
export declare type SiteQualityMetrics200AspectDetails = {
|
|
1166
|
-
performance?: SiteQualityMetrics200AspectDetailsPerformance;
|
|
1167
|
-
};
|
|
1168
1182
|
export declare type SiteQualityMetrics200 = {
|
|
1169
1183
|
aspect_details: SiteQualityMetrics200AspectDetails;
|
|
1170
1184
|
aspect_scores: SiteQualityMetrics200AspectScores;
|
|
@@ -1195,6 +1209,9 @@ export declare type SiteQualityMetrics200AspectDetailsPerformance = {
|
|
|
1195
1209
|
'speed-index'?: SiteQualityMetrics200AspectDetailsPerformanceSpeedIndex;
|
|
1196
1210
|
'total-blocking-time'?: SiteQualityMetrics200AspectDetailsPerformanceTotalBlockingTime;
|
|
1197
1211
|
};
|
|
1212
|
+
export declare type SiteQualityMetrics200AspectDetails = {
|
|
1213
|
+
performance?: SiteQualityMetrics200AspectDetailsPerformance;
|
|
1214
|
+
};
|
|
1198
1215
|
export declare type SiteQualityMetricsStrategy = typeof SiteQualityMetricsStrategy[keyof typeof SiteQualityMetricsStrategy];
|
|
1199
1216
|
export declare const SiteQualityMetricsStrategy: {
|
|
1200
1217
|
readonly MOBILE: "MOBILE";
|
|
@@ -1344,18 +1361,6 @@ export declare type SitesMetricDimensions200DimensionsPageIsCachedItem = {
|
|
|
1344
1361
|
dimension?: SitesMetricDimensions200DimensionsPageIsCachedItemDimension;
|
|
1345
1362
|
timestamp?: number;
|
|
1346
1363
|
};
|
|
1347
|
-
export declare type SitesMetricDimensions200Dimensions = {
|
|
1348
|
-
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
1349
|
-
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
1350
|
-
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
1351
|
-
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
1352
|
-
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
1353
|
-
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
1354
|
-
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
1355
|
-
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
1356
|
-
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
1357
|
-
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
1358
|
-
};
|
|
1359
1364
|
export declare type SitesMetricDimensions200DimensionsHttpVersionItemDimension = {
|
|
1360
1365
|
[key: string]: number;
|
|
1361
1366
|
};
|
|
@@ -1384,6 +1389,18 @@ export declare type SitesMetricDimensions200DimensionsHttpHostItem = {
|
|
|
1384
1389
|
dimension?: SitesMetricDimensions200DimensionsHttpHostItemDimension;
|
|
1385
1390
|
timestamp?: number;
|
|
1386
1391
|
};
|
|
1392
|
+
export declare type SitesMetricDimensions200Dimensions = {
|
|
1393
|
+
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
1394
|
+
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
1395
|
+
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
1396
|
+
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
1397
|
+
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
1398
|
+
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
1399
|
+
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
1400
|
+
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
1401
|
+
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
1402
|
+
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
1403
|
+
};
|
|
1387
1404
|
export declare type SitesMetricDimensionsParams = {
|
|
1388
1405
|
start?: string;
|
|
1389
1406
|
end?: string;
|
|
@@ -2039,17 +2056,6 @@ export declare type HostingVisitors200VisitorsItem = {
|
|
|
2039
2056
|
unique_visitors?: number;
|
|
2040
2057
|
visitors?: number;
|
|
2041
2058
|
};
|
|
2042
|
-
export declare type HostingVisitors200 = {
|
|
2043
|
-
daily?: HostingVisitors200Daily;
|
|
2044
|
-
is_linked_domain?: boolean;
|
|
2045
|
-
linked_domain?: string;
|
|
2046
|
-
total_bandwidth?: number;
|
|
2047
|
-
total_hits?: number;
|
|
2048
|
-
total_pages?: number;
|
|
2049
|
-
total_unique_visitors?: number;
|
|
2050
|
-
total_visitors?: number;
|
|
2051
|
-
visitors?: HostingVisitors200VisitorsItem[];
|
|
2052
|
-
};
|
|
2053
2059
|
export declare type HostingVisitors200DailyTotal = {
|
|
2054
2060
|
total_bandwidth?: number;
|
|
2055
2061
|
total_hits?: number;
|
|
@@ -2069,6 +2075,17 @@ export declare type HostingVisitors200Daily = {
|
|
|
2069
2075
|
data?: HostingVisitors200DailyDataItem[];
|
|
2070
2076
|
total?: HostingVisitors200DailyTotal;
|
|
2071
2077
|
};
|
|
2078
|
+
export declare type HostingVisitors200 = {
|
|
2079
|
+
daily?: HostingVisitors200Daily;
|
|
2080
|
+
is_linked_domain?: boolean;
|
|
2081
|
+
linked_domain?: string;
|
|
2082
|
+
total_bandwidth?: number;
|
|
2083
|
+
total_hits?: number;
|
|
2084
|
+
total_pages?: number;
|
|
2085
|
+
total_unique_visitors?: number;
|
|
2086
|
+
total_visitors?: number;
|
|
2087
|
+
visitors?: HostingVisitors200VisitorsItem[];
|
|
2088
|
+
};
|
|
2072
2089
|
export declare type HostingVisitorsSource = typeof HostingVisitorsSource[keyof typeof HostingVisitorsSource];
|
|
2073
2090
|
export declare const HostingVisitorsSource: {
|
|
2074
2091
|
readonly http: "http";
|
|
@@ -2458,16 +2475,6 @@ export declare type HostingMigrationsEventBody = {
|
|
|
2458
2475
|
/** The migration id that corresponds to CWM */
|
|
2459
2476
|
migration_id: string;
|
|
2460
2477
|
};
|
|
2461
|
-
export declare type HostingMigrationsCheck200 = {
|
|
2462
|
-
description?: string;
|
|
2463
|
-
transferable?: boolean;
|
|
2464
|
-
};
|
|
2465
|
-
export declare type HostingMigrationsCheckParams = {
|
|
2466
|
-
/**
|
|
2467
|
-
* Migration ID to be checked if already used to migrate site on the hosting account
|
|
2468
|
-
*/
|
|
2469
|
-
migration_id: string;
|
|
2470
|
-
};
|
|
2471
2478
|
export declare type HostingMigrations200 = {
|
|
2472
2479
|
success?: boolean;
|
|
2473
2480
|
};
|
|
@@ -2607,6 +2614,57 @@ export declare type HotlinkconfigDetails200 = {
|
|
|
2607
2614
|
export declare type HotlinkconfigDetailsParams = {
|
|
2608
2615
|
docpath: string;
|
|
2609
2616
|
};
|
|
2617
|
+
export declare type HostingRepoLog200 = {
|
|
2618
|
+
/** The output or logs from Git operations such as clone, pull, or deploy */
|
|
2619
|
+
log?: string;
|
|
2620
|
+
/** The file path where the Git repository is cloned */
|
|
2621
|
+
path?: string;
|
|
2622
|
+
};
|
|
2623
|
+
export declare type HostingRepoLogParams = {
|
|
2624
|
+
path: string;
|
|
2625
|
+
};
|
|
2626
|
+
export declare type HostingRepo200 = {
|
|
2627
|
+
/** Directory path where the repository was cloned and should now be deleted */
|
|
2628
|
+
path?: string;
|
|
2629
|
+
/** The URL of the remote Git repository to be deleted */
|
|
2630
|
+
repo_url?: string;
|
|
2631
|
+
success?: boolean;
|
|
2632
|
+
};
|
|
2633
|
+
export declare type HostingRepoBody = {
|
|
2634
|
+
/** Directory path where the repository was cloned and should now be deleted */
|
|
2635
|
+
path?: string;
|
|
2636
|
+
};
|
|
2637
|
+
export declare type HostingRepoSync200 = {
|
|
2638
|
+
/** The type of action taken */
|
|
2639
|
+
action?: string;
|
|
2640
|
+
/** Branch to checkout to */
|
|
2641
|
+
branch?: string;
|
|
2642
|
+
/** Deploy log */
|
|
2643
|
+
log?: string;
|
|
2644
|
+
/** Path to clone repo into */
|
|
2645
|
+
path?: string;
|
|
2646
|
+
/** The Clone URL */
|
|
2647
|
+
repo_url?: string;
|
|
2648
|
+
success?: boolean;
|
|
2649
|
+
};
|
|
2650
|
+
export declare type HostingRepoSyncBody = {
|
|
2651
|
+
/** Branch to checkout to */
|
|
2652
|
+
branch?: string;
|
|
2653
|
+
/** Flag to check if it is to not_deploy(clone) or deploy */
|
|
2654
|
+
clone?: boolean;
|
|
2655
|
+
/** Path to clone repo into */
|
|
2656
|
+
path?: string;
|
|
2657
|
+
/** The Clone URL */
|
|
2658
|
+
repo_url: string;
|
|
2659
|
+
};
|
|
2660
|
+
export declare type HostingRepoList200Item = {
|
|
2661
|
+
/** The checked-out Git branch for the repository */
|
|
2662
|
+
branch?: string;
|
|
2663
|
+
/** The file path where the repository is cloned */
|
|
2664
|
+
path?: string;
|
|
2665
|
+
/** The remote Git repository URL from which the repository was cloned */
|
|
2666
|
+
repo_url?: string;
|
|
2667
|
+
};
|
|
2610
2668
|
export declare type HostingFtp200 = {
|
|
2611
2669
|
status?: number;
|
|
2612
2670
|
/** Username */
|
|
@@ -2688,23 +2746,30 @@ export declare type HostingFtpList200 = {
|
|
|
2688
2746
|
export declare type HostingFixownership200 = {
|
|
2689
2747
|
success?: boolean;
|
|
2690
2748
|
};
|
|
2691
|
-
export declare type
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
size?: number;
|
|
2695
|
-
type?: string;
|
|
2749
|
+
export declare type HostingEmailFolderList404 = {
|
|
2750
|
+
/** Error message */
|
|
2751
|
+
error?: string;
|
|
2696
2752
|
};
|
|
2697
|
-
export declare type
|
|
2698
|
-
|
|
2753
|
+
export declare type HostingEmailFolderList200FoldersItem = {
|
|
2754
|
+
/** Child folders of the parent folder */
|
|
2755
|
+
children?: FolderNode[];
|
|
2756
|
+
/** The name of the parent folder */
|
|
2757
|
+
name?: string;
|
|
2699
2758
|
};
|
|
2700
|
-
export declare type
|
|
2701
|
-
|
|
2702
|
-
|
|
2759
|
+
export declare type HostingEmailFolderList200 = {
|
|
2760
|
+
/** The number of email folders returned */
|
|
2761
|
+
count?: number;
|
|
2762
|
+
/** List of email address folders */
|
|
2763
|
+
folders?: HostingEmailFolderList200FoldersItem[];
|
|
2703
2764
|
};
|
|
2704
2765
|
export declare type HostingEmailSuspend512 = {
|
|
2705
2766
|
/** Customer error code */
|
|
2706
2767
|
error?: string;
|
|
2707
2768
|
};
|
|
2769
|
+
export declare type HostingEmailSuspend404 = {
|
|
2770
|
+
/** Error message */
|
|
2771
|
+
error?: string;
|
|
2772
|
+
};
|
|
2708
2773
|
export declare type HostingEmailSuspend403 = {
|
|
2709
2774
|
/** Customer error code */
|
|
2710
2775
|
error?: string;
|
|
@@ -2738,6 +2803,20 @@ export declare type HostingEmailSuspendBody = {
|
|
|
2738
2803
|
/** The function to suspend */
|
|
2739
2804
|
type: HostingEmailSuspendBodyType;
|
|
2740
2805
|
};
|
|
2806
|
+
export declare type EmailSso512 = {
|
|
2807
|
+
/** Customer error code */
|
|
2808
|
+
error?: string;
|
|
2809
|
+
};
|
|
2810
|
+
export declare type EmailSso400 = {
|
|
2811
|
+
/** Customer error code */
|
|
2812
|
+
error?: string;
|
|
2813
|
+
};
|
|
2814
|
+
export declare type EmailSso200 = {
|
|
2815
|
+
url: string;
|
|
2816
|
+
};
|
|
2817
|
+
export declare type EmailSsoParams = {
|
|
2818
|
+
email: string;
|
|
2819
|
+
};
|
|
2741
2820
|
export declare type HostingEmailForwarderDelete400 = {
|
|
2742
2821
|
/** Customer error code */
|
|
2743
2822
|
error?: string;
|
|
@@ -2904,10 +2983,15 @@ export declare type HostingEmailList200RowsItem = {
|
|
|
2904
2983
|
*/
|
|
2905
2984
|
box_suspensions?: HostingEmailList200RowsItemBoxSuspensions;
|
|
2906
2985
|
/**
|
|
2907
|
-
* The amount of disk space used by the email
|
|
2986
|
+
* The amount of disk space used by the email box
|
|
2908
2987
|
* @nullable
|
|
2909
2988
|
*/
|
|
2910
2989
|
disk_used_kib?: number | null;
|
|
2990
|
+
/**
|
|
2991
|
+
* The percentage of disk space used by the email box
|
|
2992
|
+
* @nullable
|
|
2993
|
+
*/
|
|
2994
|
+
disk_used_percent?: number | null;
|
|
2911
2995
|
/**
|
|
2912
2996
|
* The email domain
|
|
2913
2997
|
* @nullable
|
|
@@ -3350,22 +3434,6 @@ export declare type HostingDbAuthorizedHosts200RemoteIpsItem = {
|
|
|
3350
3434
|
export declare type HostingDbAuthorizedHosts200 = {
|
|
3351
3435
|
remote_ips?: HostingDbAuthorizedHosts200RemoteIpsItem[];
|
|
3352
3436
|
};
|
|
3353
|
-
export declare type DbList200DatabasesItemUserlistItem = {
|
|
3354
|
-
db?: string;
|
|
3355
|
-
user?: string;
|
|
3356
|
-
};
|
|
3357
|
-
export declare type DbList200DatabasesItem = {
|
|
3358
|
-
db?: string;
|
|
3359
|
-
sitename?: string;
|
|
3360
|
-
size?: string;
|
|
3361
|
-
sizemeg?: string;
|
|
3362
|
-
usercount?: number;
|
|
3363
|
-
userlist?: DbList200DatabasesItemUserlistItem[];
|
|
3364
|
-
};
|
|
3365
|
-
export declare type DbList200 = {
|
|
3366
|
-
databases?: DbList200DatabasesItem[];
|
|
3367
|
-
status?: boolean;
|
|
3368
|
-
};
|
|
3369
3437
|
export declare type Db200 = {
|
|
3370
3438
|
dbname?: string;
|
|
3371
3439
|
status?: number;
|
|
@@ -3481,14 +3549,6 @@ export declare type ListCrons200RowsItem = {
|
|
|
3481
3549
|
export declare type ListCrons200 = {
|
|
3482
3550
|
rows?: ListCrons200RowsItem[];
|
|
3483
3551
|
};
|
|
3484
|
-
export declare type AddonCloudflare200 = {
|
|
3485
|
-
addon_id?: number;
|
|
3486
|
-
status?: string;
|
|
3487
|
-
};
|
|
3488
|
-
export declare type AddonCloudflareBody = {
|
|
3489
|
-
/** The domain. */
|
|
3490
|
-
domain: string;
|
|
3491
|
-
};
|
|
3492
3552
|
export declare type HostingCapabilities200 = {
|
|
3493
3553
|
advanced_hosting?: boolean;
|
|
3494
3554
|
cbs_backups?: boolean;
|
|
@@ -3612,9 +3672,6 @@ export declare type HostingAdvancedDnsParams = {
|
|
|
3612
3672
|
domain: string;
|
|
3613
3673
|
dns_with_us?: number;
|
|
3614
3674
|
};
|
|
3615
|
-
export declare type HostingAddons200 = {
|
|
3616
|
-
rows?: HostingAddons200RowsItem[];
|
|
3617
|
-
};
|
|
3618
3675
|
export declare type HostingAddons200RowsItemMeta = {
|
|
3619
3676
|
[key: string]: string | number | boolean;
|
|
3620
3677
|
};
|
|
@@ -3630,6 +3687,9 @@ export declare type HostingAddons200RowsItem = {
|
|
|
3630
3687
|
subtype?: string;
|
|
3631
3688
|
type?: string;
|
|
3632
3689
|
};
|
|
3690
|
+
export declare type HostingAddons200 = {
|
|
3691
|
+
rows?: HostingAddons200RowsItem[];
|
|
3692
|
+
};
|
|
3633
3693
|
export declare type HostingAddonsParams = {
|
|
3634
3694
|
status?: string;
|
|
3635
3695
|
subtype?: string;
|
|
@@ -3655,6 +3715,23 @@ export declare type ActivityLog200 = {
|
|
|
3655
3715
|
export declare type ActivityLogParams = {
|
|
3656
3716
|
days?: number;
|
|
3657
3717
|
};
|
|
3718
|
+
export declare type HostingAccount200 = {
|
|
3719
|
+
account_id?: string;
|
|
3720
|
+
advanced?: boolean;
|
|
3721
|
+
billing?: HostingAccount200Billing;
|
|
3722
|
+
brand?: string;
|
|
3723
|
+
id?: string;
|
|
3724
|
+
panel?: string;
|
|
3725
|
+
plan_key?: string;
|
|
3726
|
+
platform?: string;
|
|
3727
|
+
/** @nullable */
|
|
3728
|
+
resources?: HostingAccount200Resources;
|
|
3729
|
+
/** @nullable */
|
|
3730
|
+
ssh_hostname?: string | null;
|
|
3731
|
+
status?: string;
|
|
3732
|
+
type?: string;
|
|
3733
|
+
username?: string;
|
|
3734
|
+
};
|
|
3658
3735
|
export declare type HostingAccount200ResourcesWorkers = {
|
|
3659
3736
|
/** @nullable */
|
|
3660
3737
|
available?: number | null;
|
|
@@ -3680,23 +3757,6 @@ export declare type HostingAccount200Resources = {
|
|
|
3680
3757
|
storage?: HostingAccount200ResourcesStorage;
|
|
3681
3758
|
workers?: HostingAccount200ResourcesWorkers;
|
|
3682
3759
|
} | null;
|
|
3683
|
-
export declare type HostingAccount200 = {
|
|
3684
|
-
account_id?: string;
|
|
3685
|
-
advanced?: boolean;
|
|
3686
|
-
billing?: HostingAccount200Billing;
|
|
3687
|
-
brand?: string;
|
|
3688
|
-
id?: string;
|
|
3689
|
-
panel?: string;
|
|
3690
|
-
plan_key?: string;
|
|
3691
|
-
platform?: string;
|
|
3692
|
-
/** @nullable */
|
|
3693
|
-
resources?: HostingAccount200Resources;
|
|
3694
|
-
/** @nullable */
|
|
3695
|
-
ssh_hostname?: string | null;
|
|
3696
|
-
status?: string;
|
|
3697
|
-
type?: string;
|
|
3698
|
-
username?: string;
|
|
3699
|
-
};
|
|
3700
3760
|
export declare type HostingAccount200ResourcesStagingWorkers = {
|
|
3701
3761
|
/** @nullable */
|
|
3702
3762
|
available?: number | null;
|
|
@@ -4440,6 +4500,12 @@ export declare type AccountEventListParams = {
|
|
|
4440
4500
|
*/
|
|
4441
4501
|
date_last?: string;
|
|
4442
4502
|
};
|
|
4503
|
+
export interface FolderNode {
|
|
4504
|
+
/** Child folders of the child folder */
|
|
4505
|
+
children?: FolderNode[];
|
|
4506
|
+
/** The name of the child folder */
|
|
4507
|
+
name?: string;
|
|
4508
|
+
}
|
|
4443
4509
|
/**
|
|
4444
4510
|
* @nullable
|
|
4445
4511
|
*/
|
package/src/index.schemas.js
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
2
|
+
export const BackupCreateV3BodyBackupType = {
|
|
3
|
+
home: 'home',
|
|
4
|
+
db: 'db',
|
|
5
|
+
home_db: 'home_db',
|
|
6
|
+
};
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
2
8
|
export const SitesSecuritySitelockV2Source = {
|
|
3
9
|
hal: 'hal',
|
|
4
10
|
fg: 'fg',
|