@newfold/huapi-js 2.1375.0 → 2.1412.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 +257 -134
- package/src/index.js +195 -105
- package/src/index.msw.d.ts +19 -11
- package/src/index.msw.js +96 -48
- package/src/index.schemas.d.ts +290 -120
- package/src/index.schemas.js +31 -5
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.1412.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
|
*/
|
|
@@ -418,6 +424,17 @@ export declare type SitesListV2200ItemsItem = {
|
|
|
418
424
|
*/
|
|
419
425
|
version_ptr?: string | null;
|
|
420
426
|
};
|
|
427
|
+
export declare type SitesListV2200 = {
|
|
428
|
+
items?: SitesListV2200ItemsItem[];
|
|
429
|
+
/** page size */
|
|
430
|
+
limit?: number;
|
|
431
|
+
/** current page number */
|
|
432
|
+
page?: number;
|
|
433
|
+
/** total number of pages */
|
|
434
|
+
pages?: number;
|
|
435
|
+
/** total number of sites returned */
|
|
436
|
+
total?: number;
|
|
437
|
+
};
|
|
421
438
|
export declare type SshKeyV2200 = {
|
|
422
439
|
deleted?: number;
|
|
423
440
|
key_name?: string;
|
|
@@ -770,6 +787,8 @@ export declare type BackupRestoreV2Body = {
|
|
|
770
787
|
/** Backup Volume store ID to get the backup */
|
|
771
788
|
backup_id: string;
|
|
772
789
|
dbs?: string[];
|
|
790
|
+
/** Restore date */
|
|
791
|
+
restore_date: string;
|
|
773
792
|
/** Restore type */
|
|
774
793
|
restore_type?: string;
|
|
775
794
|
/** Site id */
|
|
@@ -1344,18 +1363,6 @@ export declare type SitesMetricDimensions200DimensionsPageIsCachedItem = {
|
|
|
1344
1363
|
dimension?: SitesMetricDimensions200DimensionsPageIsCachedItemDimension;
|
|
1345
1364
|
timestamp?: number;
|
|
1346
1365
|
};
|
|
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
1366
|
export declare type SitesMetricDimensions200DimensionsHttpVersionItemDimension = {
|
|
1360
1367
|
[key: string]: number;
|
|
1361
1368
|
};
|
|
@@ -1384,6 +1391,18 @@ export declare type SitesMetricDimensions200DimensionsHttpHostItem = {
|
|
|
1384
1391
|
dimension?: SitesMetricDimensions200DimensionsHttpHostItemDimension;
|
|
1385
1392
|
timestamp?: number;
|
|
1386
1393
|
};
|
|
1394
|
+
export declare type SitesMetricDimensions200Dimensions = {
|
|
1395
|
+
http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
|
|
1396
|
+
http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
|
|
1397
|
+
http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
|
|
1398
|
+
http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
|
|
1399
|
+
page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
|
|
1400
|
+
page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
|
|
1401
|
+
visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
|
|
1402
|
+
visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
|
|
1403
|
+
visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
|
|
1404
|
+
wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
|
|
1405
|
+
};
|
|
1387
1406
|
export declare type SitesMetricDimensionsParams = {
|
|
1388
1407
|
start?: string;
|
|
1389
1408
|
end?: string;
|
|
@@ -2365,9 +2384,6 @@ export declare type HostingRedirects200Item = {
|
|
|
2365
2384
|
url?: string;
|
|
2366
2385
|
wildcard?: boolean;
|
|
2367
2386
|
};
|
|
2368
|
-
export declare type ProductLicenseDetails200 = {
|
|
2369
|
-
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
2370
|
-
};
|
|
2371
2387
|
export declare type ProductLicenseDetails200WpsolutionCreatorItem = {
|
|
2372
2388
|
expirationDate?: string;
|
|
2373
2389
|
prodInstId?: string;
|
|
@@ -2380,6 +2396,9 @@ export declare type ProductLicenseDetails200Wpsolution = {
|
|
|
2380
2396
|
commerce?: ProductLicenseDetails200WpsolutionCommerceItem[];
|
|
2381
2397
|
creator?: ProductLicenseDetails200WpsolutionCreatorItem[];
|
|
2382
2398
|
};
|
|
2399
|
+
export declare type ProductLicenseDetails200 = {
|
|
2400
|
+
wpsolution?: ProductLicenseDetails200Wpsolution;
|
|
2401
|
+
};
|
|
2383
2402
|
export declare type ProductLicenseDetailsProductName = typeof ProductLicenseDetailsProductName[keyof typeof ProductLicenseDetailsProductName];
|
|
2384
2403
|
export declare const ProductLicenseDetailsProductName: {
|
|
2385
2404
|
readonly wpsolution: "wpsolution";
|
|
@@ -2458,16 +2477,6 @@ export declare type HostingMigrationsEventBody = {
|
|
|
2458
2477
|
/** The migration id that corresponds to CWM */
|
|
2459
2478
|
migration_id: string;
|
|
2460
2479
|
};
|
|
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
2480
|
export declare type HostingMigrations200 = {
|
|
2472
2481
|
success?: boolean;
|
|
2473
2482
|
};
|
|
@@ -2607,6 +2616,57 @@ export declare type HotlinkconfigDetails200 = {
|
|
|
2607
2616
|
export declare type HotlinkconfigDetailsParams = {
|
|
2608
2617
|
docpath: string;
|
|
2609
2618
|
};
|
|
2619
|
+
export declare type HostingRepoLog200 = {
|
|
2620
|
+
/** The output or logs from Git operations such as clone, pull, or deploy */
|
|
2621
|
+
log?: string;
|
|
2622
|
+
/** The file path where the Git repository is cloned */
|
|
2623
|
+
path?: string;
|
|
2624
|
+
};
|
|
2625
|
+
export declare type HostingRepoLogParams = {
|
|
2626
|
+
path: string;
|
|
2627
|
+
};
|
|
2628
|
+
export declare type HostingRepo200 = {
|
|
2629
|
+
/** Directory path where the repository was cloned and should now be deleted */
|
|
2630
|
+
path?: string;
|
|
2631
|
+
/** The URL of the remote Git repository to be deleted */
|
|
2632
|
+
repo_url?: string;
|
|
2633
|
+
success?: boolean;
|
|
2634
|
+
};
|
|
2635
|
+
export declare type HostingRepoBody = {
|
|
2636
|
+
/** Directory path where the repository was cloned and should now be deleted */
|
|
2637
|
+
path?: string;
|
|
2638
|
+
};
|
|
2639
|
+
export declare type HostingRepoSync200 = {
|
|
2640
|
+
/** The type of action taken */
|
|
2641
|
+
action?: string;
|
|
2642
|
+
/** Branch to checkout to */
|
|
2643
|
+
branch?: string;
|
|
2644
|
+
/** Deploy log */
|
|
2645
|
+
log?: string;
|
|
2646
|
+
/** Path to clone repo into */
|
|
2647
|
+
path?: string;
|
|
2648
|
+
/** The Clone URL */
|
|
2649
|
+
repo_url?: string;
|
|
2650
|
+
success?: boolean;
|
|
2651
|
+
};
|
|
2652
|
+
export declare type HostingRepoSyncBody = {
|
|
2653
|
+
/** Branch to checkout to */
|
|
2654
|
+
branch?: string;
|
|
2655
|
+
/** Flag to check if it is to not_deploy(clone) or deploy */
|
|
2656
|
+
clone?: boolean;
|
|
2657
|
+
/** Path to clone repo into */
|
|
2658
|
+
path?: string;
|
|
2659
|
+
/** The Clone URL */
|
|
2660
|
+
repo_url: string;
|
|
2661
|
+
};
|
|
2662
|
+
export declare type HostingRepoList200Item = {
|
|
2663
|
+
/** The checked-out Git branch for the repository */
|
|
2664
|
+
branch?: string;
|
|
2665
|
+
/** The file path where the repository is cloned */
|
|
2666
|
+
path?: string;
|
|
2667
|
+
/** The remote Git repository URL from which the repository was cloned */
|
|
2668
|
+
repo_url?: string;
|
|
2669
|
+
};
|
|
2610
2670
|
export declare type HostingFtp200 = {
|
|
2611
2671
|
status?: number;
|
|
2612
2672
|
/** Username */
|
|
@@ -2688,55 +2748,141 @@ export declare type HostingFtpList200 = {
|
|
|
2688
2748
|
export declare type HostingFixownership200 = {
|
|
2689
2749
|
success?: boolean;
|
|
2690
2750
|
};
|
|
2691
|
-
export declare type
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
size?: number;
|
|
2695
|
-
type?: string;
|
|
2751
|
+
export declare type HostingEmailFolderList404 = {
|
|
2752
|
+
/** Error message */
|
|
2753
|
+
error?: string;
|
|
2696
2754
|
};
|
|
2697
|
-
export declare type
|
|
2698
|
-
|
|
2755
|
+
export declare type HostingEmailFolderList200FoldersItem = {
|
|
2756
|
+
/** Child folders of the parent folder */
|
|
2757
|
+
children?: FolderNode[];
|
|
2758
|
+
/** The name of the parent folder */
|
|
2759
|
+
name?: string;
|
|
2699
2760
|
};
|
|
2700
|
-
export declare type
|
|
2701
|
-
|
|
2702
|
-
|
|
2761
|
+
export declare type HostingEmailFolderList200 = {
|
|
2762
|
+
/** The number of email folders returned */
|
|
2763
|
+
count?: number;
|
|
2764
|
+
/** List of email address folders */
|
|
2765
|
+
folders?: HostingEmailFolderList200FoldersItem[];
|
|
2766
|
+
};
|
|
2767
|
+
export declare type EmailSso512 = {
|
|
2768
|
+
/** Customer error code */
|
|
2769
|
+
error?: string;
|
|
2703
2770
|
};
|
|
2704
|
-
export declare type
|
|
2771
|
+
export declare type EmailSso400 = {
|
|
2705
2772
|
/** Customer error code */
|
|
2706
2773
|
error?: string;
|
|
2707
2774
|
};
|
|
2708
|
-
export declare type
|
|
2775
|
+
export declare type EmailSso200 = {
|
|
2776
|
+
url: string;
|
|
2777
|
+
};
|
|
2778
|
+
export declare type EmailSsoParams = {
|
|
2779
|
+
email: string;
|
|
2780
|
+
};
|
|
2781
|
+
export declare type HostingEmailSettings512 = {
|
|
2709
2782
|
/** Customer error code */
|
|
2710
2783
|
error?: string;
|
|
2711
2784
|
};
|
|
2712
|
-
export declare type
|
|
2713
|
-
/**
|
|
2785
|
+
export declare type HostingEmailSettings404 = {
|
|
2786
|
+
/** Customer error code */
|
|
2787
|
+
error?: string;
|
|
2788
|
+
};
|
|
2789
|
+
export declare type HostingEmailSettings403 = {
|
|
2790
|
+
/** Customer error code */
|
|
2791
|
+
error?: string;
|
|
2792
|
+
};
|
|
2793
|
+
export declare type HostingEmailSettings200 = {
|
|
2794
|
+
/**
|
|
2795
|
+
* New status of account_incoming - ADDRESS ONLY
|
|
2796
|
+
* @nullable
|
|
2797
|
+
*/
|
|
2798
|
+
account_incoming?: string | null;
|
|
2799
|
+
/**
|
|
2800
|
+
* New status of account_login - ADDRESS ONLY
|
|
2801
|
+
* @nullable
|
|
2802
|
+
*/
|
|
2803
|
+
account_login?: string | null;
|
|
2804
|
+
/**
|
|
2805
|
+
* New status of account_outgoing - ADDRESS ONLY
|
|
2806
|
+
* @nullable
|
|
2807
|
+
*/
|
|
2808
|
+
account_outgoing?: string | null;
|
|
2809
|
+
/** The address that was updated */
|
|
2714
2810
|
address?: string;
|
|
2811
|
+
/**
|
|
2812
|
+
* New status of automatic plus-addressed folder creation - ADDRESS or SYSTEM
|
|
2813
|
+
* @nullable
|
|
2814
|
+
*/
|
|
2815
|
+
autofolders?: string | null;
|
|
2816
|
+
/**
|
|
2817
|
+
* New status of utf8 folder usage - SYSTEM ONLY
|
|
2818
|
+
* @nullable
|
|
2819
|
+
*/
|
|
2820
|
+
utf8_folders?: string | null;
|
|
2715
2821
|
};
|
|
2716
2822
|
/**
|
|
2717
|
-
*
|
|
2823
|
+
* Whether to toggle utf8 folder usage on or off - SYSTEM ONLY
|
|
2718
2824
|
*/
|
|
2719
|
-
export declare type
|
|
2720
|
-
export declare const
|
|
2721
|
-
readonly
|
|
2722
|
-
readonly
|
|
2723
|
-
|
|
2825
|
+
export declare type HostingEmailSettingsBodyUtf8Folders = typeof HostingEmailSettingsBodyUtf8Folders[keyof typeof HostingEmailSettingsBodyUtf8Folders];
|
|
2826
|
+
export declare const HostingEmailSettingsBodyUtf8Folders: {
|
|
2827
|
+
readonly enable: "enable";
|
|
2828
|
+
readonly disable: "disable";
|
|
2829
|
+
};
|
|
2830
|
+
/**
|
|
2831
|
+
* the type of account
|
|
2832
|
+
*/
|
|
2833
|
+
export declare type HostingEmailSettingsBodyType = typeof HostingEmailSettingsBodyType[keyof typeof HostingEmailSettingsBodyType];
|
|
2834
|
+
export declare const HostingEmailSettingsBodyType: {
|
|
2835
|
+
readonly address: "address";
|
|
2836
|
+
readonly system: "system";
|
|
2837
|
+
};
|
|
2838
|
+
/**
|
|
2839
|
+
* Whether to toggle automatic plus-addressed folder creation on or off - ADDRESS or SYSTEM
|
|
2840
|
+
*/
|
|
2841
|
+
export declare type HostingEmailSettingsBodyAutofolders = typeof HostingEmailSettingsBodyAutofolders[keyof typeof HostingEmailSettingsBodyAutofolders];
|
|
2842
|
+
export declare const HostingEmailSettingsBodyAutofolders: {
|
|
2843
|
+
readonly enable: "enable";
|
|
2844
|
+
readonly disable: "disable";
|
|
2724
2845
|
};
|
|
2725
2846
|
/**
|
|
2726
|
-
*
|
|
2847
|
+
* Whether to suspend or unsuspend account_outgoing - ADDRESS ONLY
|
|
2727
2848
|
*/
|
|
2728
|
-
export declare type
|
|
2729
|
-
export declare const
|
|
2849
|
+
export declare type HostingEmailSettingsBodyAccountOutgoing = typeof HostingEmailSettingsBodyAccountOutgoing[keyof typeof HostingEmailSettingsBodyAccountOutgoing];
|
|
2850
|
+
export declare const HostingEmailSettingsBodyAccountOutgoing: {
|
|
2851
|
+
readonly hold: "hold";
|
|
2730
2852
|
readonly suspend: "suspend";
|
|
2731
2853
|
readonly unsuspend: "unsuspend";
|
|
2732
2854
|
};
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2855
|
+
/**
|
|
2856
|
+
* Whether to suspend or unsuspend account_login - ADDRESS ONLY
|
|
2857
|
+
*/
|
|
2858
|
+
export declare type HostingEmailSettingsBodyAccountLogin = typeof HostingEmailSettingsBodyAccountLogin[keyof typeof HostingEmailSettingsBodyAccountLogin];
|
|
2859
|
+
export declare const HostingEmailSettingsBodyAccountLogin: {
|
|
2860
|
+
readonly suspend: "suspend";
|
|
2861
|
+
readonly unsuspend: "unsuspend";
|
|
2862
|
+
};
|
|
2863
|
+
/**
|
|
2864
|
+
* Whether to suspend or unsuspend account_incoming - ADDRESS ONLY
|
|
2865
|
+
*/
|
|
2866
|
+
export declare type HostingEmailSettingsBodyAccountIncoming = typeof HostingEmailSettingsBodyAccountIncoming[keyof typeof HostingEmailSettingsBodyAccountIncoming];
|
|
2867
|
+
export declare const HostingEmailSettingsBodyAccountIncoming: {
|
|
2868
|
+
readonly suspend: "suspend";
|
|
2869
|
+
readonly unsuspend: "unsuspend";
|
|
2870
|
+
};
|
|
2871
|
+
export declare type HostingEmailSettingsBody = {
|
|
2872
|
+
/** Whether to suspend or unsuspend account_incoming - ADDRESS ONLY */
|
|
2873
|
+
account_incoming?: HostingEmailSettingsBodyAccountIncoming;
|
|
2874
|
+
/** Whether to suspend or unsuspend account_login - ADDRESS ONLY */
|
|
2875
|
+
account_login?: HostingEmailSettingsBodyAccountLogin;
|
|
2876
|
+
/** Whether to suspend or unsuspend account_outgoing - ADDRESS ONLY */
|
|
2877
|
+
account_outgoing?: HostingEmailSettingsBodyAccountOutgoing;
|
|
2878
|
+
/** The email address to update settings on - ADDRESS ONLY */
|
|
2879
|
+
address?: string;
|
|
2880
|
+
/** Whether to toggle automatic plus-addressed folder creation on or off - ADDRESS or SYSTEM */
|
|
2881
|
+
autofolders?: HostingEmailSettingsBodyAutofolders;
|
|
2882
|
+
/** the type of account */
|
|
2883
|
+
type: HostingEmailSettingsBodyType;
|
|
2884
|
+
/** Whether to toggle utf8 folder usage on or off - SYSTEM ONLY */
|
|
2885
|
+
utf8_folders?: HostingEmailSettingsBodyUtf8Folders;
|
|
2740
2886
|
};
|
|
2741
2887
|
export declare type HostingEmailForwarderDelete400 = {
|
|
2742
2888
|
/** Customer error code */
|
|
@@ -2898,16 +3044,26 @@ export declare type HostingEmailList200RowsItemBoxSuspensions = {
|
|
|
2898
3044
|
export declare type HostingEmailList200RowsItem = {
|
|
2899
3045
|
/** The email address */
|
|
2900
3046
|
address?: string;
|
|
3047
|
+
/**
|
|
3048
|
+
* Autocreate folders with plus addressing status
|
|
3049
|
+
* @nullable
|
|
3050
|
+
*/
|
|
3051
|
+
autofolders?: boolean | null;
|
|
2901
3052
|
/**
|
|
2902
3053
|
* State of email box suspensions
|
|
2903
3054
|
* @nullable
|
|
2904
3055
|
*/
|
|
2905
3056
|
box_suspensions?: HostingEmailList200RowsItemBoxSuspensions;
|
|
2906
3057
|
/**
|
|
2907
|
-
* The amount of disk space used by the email
|
|
3058
|
+
* The amount of disk space used by the email box
|
|
2908
3059
|
* @nullable
|
|
2909
3060
|
*/
|
|
2910
3061
|
disk_used_kib?: number | null;
|
|
3062
|
+
/**
|
|
3063
|
+
* The percentage of disk space used by the email box
|
|
3064
|
+
* @nullable
|
|
3065
|
+
*/
|
|
3066
|
+
disk_used_percent?: number | null;
|
|
2911
3067
|
/**
|
|
2912
3068
|
* The email domain
|
|
2913
3069
|
* @nullable
|
|
@@ -2930,6 +3086,11 @@ export declare type HostingEmailList200RowsItem = {
|
|
|
2930
3086
|
system_suspensions?: HostingEmailList200RowsItemSystemSuspensions;
|
|
2931
3087
|
/** The type of email */
|
|
2932
3088
|
type?: string;
|
|
3089
|
+
/**
|
|
3090
|
+
* If mail folders support utf8 encoding
|
|
3091
|
+
* @nullable
|
|
3092
|
+
*/
|
|
3093
|
+
utf8_folders?: boolean | null;
|
|
2933
3094
|
};
|
|
2934
3095
|
export declare type HostingEmailList200 = {
|
|
2935
3096
|
/** List of email resources */
|
|
@@ -3350,22 +3511,6 @@ export declare type HostingDbAuthorizedHosts200RemoteIpsItem = {
|
|
|
3350
3511
|
export declare type HostingDbAuthorizedHosts200 = {
|
|
3351
3512
|
remote_ips?: HostingDbAuthorizedHosts200RemoteIpsItem[];
|
|
3352
3513
|
};
|
|
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
3514
|
export declare type Db200 = {
|
|
3370
3515
|
dbname?: string;
|
|
3371
3516
|
status?: number;
|
|
@@ -3481,14 +3626,6 @@ export declare type ListCrons200RowsItem = {
|
|
|
3481
3626
|
export declare type ListCrons200 = {
|
|
3482
3627
|
rows?: ListCrons200RowsItem[];
|
|
3483
3628
|
};
|
|
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
3629
|
export declare type HostingCapabilities200 = {
|
|
3493
3630
|
advanced_hosting?: boolean;
|
|
3494
3631
|
cbs_backups?: boolean;
|
|
@@ -3612,9 +3749,6 @@ export declare type HostingAdvancedDnsParams = {
|
|
|
3612
3749
|
domain: string;
|
|
3613
3750
|
dns_with_us?: number;
|
|
3614
3751
|
};
|
|
3615
|
-
export declare type HostingAddons200 = {
|
|
3616
|
-
rows?: HostingAddons200RowsItem[];
|
|
3617
|
-
};
|
|
3618
3752
|
export declare type HostingAddons200RowsItemMeta = {
|
|
3619
3753
|
[key: string]: string | number | boolean;
|
|
3620
3754
|
};
|
|
@@ -3630,6 +3764,9 @@ export declare type HostingAddons200RowsItem = {
|
|
|
3630
3764
|
subtype?: string;
|
|
3631
3765
|
type?: string;
|
|
3632
3766
|
};
|
|
3767
|
+
export declare type HostingAddons200 = {
|
|
3768
|
+
rows?: HostingAddons200RowsItem[];
|
|
3769
|
+
};
|
|
3633
3770
|
export declare type HostingAddonsParams = {
|
|
3634
3771
|
status?: string;
|
|
3635
3772
|
subtype?: string;
|
|
@@ -3655,31 +3792,6 @@ export declare type ActivityLog200 = {
|
|
|
3655
3792
|
export declare type ActivityLogParams = {
|
|
3656
3793
|
days?: number;
|
|
3657
3794
|
};
|
|
3658
|
-
export declare type HostingAccount200ResourcesWorkers = {
|
|
3659
|
-
/** @nullable */
|
|
3660
|
-
available?: number | null;
|
|
3661
|
-
/** @nullable */
|
|
3662
|
-
total?: number | null;
|
|
3663
|
-
/** @nullable */
|
|
3664
|
-
used?: number | null;
|
|
3665
|
-
};
|
|
3666
|
-
export declare type HostingAccount200ResourcesStorage = {
|
|
3667
|
-
/** @nullable */
|
|
3668
|
-
available?: number | null;
|
|
3669
|
-
/** @nullable */
|
|
3670
|
-
total?: number | null;
|
|
3671
|
-
unit?: string;
|
|
3672
|
-
/** @nullable */
|
|
3673
|
-
used?: number | null;
|
|
3674
|
-
};
|
|
3675
|
-
/**
|
|
3676
|
-
* @nullable
|
|
3677
|
-
*/
|
|
3678
|
-
export declare type HostingAccount200Resources = {
|
|
3679
|
-
staging?: HostingAccount200ResourcesStaging;
|
|
3680
|
-
storage?: HostingAccount200ResourcesStorage;
|
|
3681
|
-
workers?: HostingAccount200ResourcesWorkers;
|
|
3682
|
-
} | null;
|
|
3683
3795
|
export declare type HostingAccount200 = {
|
|
3684
3796
|
account_id?: string;
|
|
3685
3797
|
advanced?: boolean;
|
|
@@ -3697,6 +3809,23 @@ export declare type HostingAccount200 = {
|
|
|
3697
3809
|
type?: string;
|
|
3698
3810
|
username?: string;
|
|
3699
3811
|
};
|
|
3812
|
+
export declare type HostingAccount200ResourcesWorkers = {
|
|
3813
|
+
/** @nullable */
|
|
3814
|
+
available?: number | null;
|
|
3815
|
+
/** @nullable */
|
|
3816
|
+
total?: number | null;
|
|
3817
|
+
/** @nullable */
|
|
3818
|
+
used?: number | null;
|
|
3819
|
+
};
|
|
3820
|
+
export declare type HostingAccount200ResourcesStorage = {
|
|
3821
|
+
/** @nullable */
|
|
3822
|
+
available?: number | null;
|
|
3823
|
+
/** @nullable */
|
|
3824
|
+
total?: number | null;
|
|
3825
|
+
unit?: string;
|
|
3826
|
+
/** @nullable */
|
|
3827
|
+
used?: number | null;
|
|
3828
|
+
};
|
|
3700
3829
|
export declare type HostingAccount200ResourcesStagingWorkers = {
|
|
3701
3830
|
/** @nullable */
|
|
3702
3831
|
available?: number | null;
|
|
@@ -3718,6 +3847,14 @@ export declare type HostingAccount200ResourcesStaging = {
|
|
|
3718
3847
|
storage?: HostingAccount200ResourcesStagingStorage;
|
|
3719
3848
|
workers?: HostingAccount200ResourcesStagingWorkers;
|
|
3720
3849
|
};
|
|
3850
|
+
/**
|
|
3851
|
+
* @nullable
|
|
3852
|
+
*/
|
|
3853
|
+
export declare type HostingAccount200Resources = {
|
|
3854
|
+
staging?: HostingAccount200ResourcesStaging;
|
|
3855
|
+
storage?: HostingAccount200ResourcesStorage;
|
|
3856
|
+
workers?: HostingAccount200ResourcesWorkers;
|
|
3857
|
+
} | null;
|
|
3721
3858
|
export declare type HostingAccount200Billing = {
|
|
3722
3859
|
prod_code?: string;
|
|
3723
3860
|
product_name?: string;
|
|
@@ -4074,6 +4211,33 @@ export declare type AddonsInfo200 = {
|
|
|
4074
4211
|
export declare type AddonsCloudflare200 = {
|
|
4075
4212
|
status?: string;
|
|
4076
4213
|
};
|
|
4214
|
+
/**
|
|
4215
|
+
* @nullable
|
|
4216
|
+
*/
|
|
4217
|
+
export declare type BackupMeta200CbsEventIsProcessing = {
|
|
4218
|
+
action?: string;
|
|
4219
|
+
type?: string;
|
|
4220
|
+
} | null;
|
|
4221
|
+
export declare type BackupMeta200CbsDownloadablesItem = {
|
|
4222
|
+
/** @nullable */
|
|
4223
|
+
id?: string | null;
|
|
4224
|
+
/** @nullable */
|
|
4225
|
+
time_req_completed?: string | null;
|
|
4226
|
+
/** @nullable */
|
|
4227
|
+
type?: string | null;
|
|
4228
|
+
/** @nullable */
|
|
4229
|
+
url?: string | null;
|
|
4230
|
+
};
|
|
4231
|
+
export declare type BackupMeta200 = {
|
|
4232
|
+
/** @nullable */
|
|
4233
|
+
cbs_downloadables?: BackupMeta200CbsDownloadablesItem[] | null;
|
|
4234
|
+
/** @nullable */
|
|
4235
|
+
cbs_event_is_processing?: BackupMeta200CbsEventIsProcessing;
|
|
4236
|
+
/** @nullable */
|
|
4237
|
+
cbs_last_restore_timestamp?: string | null;
|
|
4238
|
+
/** @nullable */
|
|
4239
|
+
client_tracking_id?: string | null;
|
|
4240
|
+
};
|
|
4077
4241
|
export declare type BackupList200HomeItemBackupStatus = {
|
|
4078
4242
|
/** @nullable */
|
|
4079
4243
|
download_url?: string | null;
|
|
@@ -4440,6 +4604,12 @@ export declare type AccountEventListParams = {
|
|
|
4440
4604
|
*/
|
|
4441
4605
|
date_last?: string;
|
|
4442
4606
|
};
|
|
4607
|
+
export interface FolderNode {
|
|
4608
|
+
/** Child folders of the child folder */
|
|
4609
|
+
children?: FolderNode[];
|
|
4610
|
+
/** The name of the child folder */
|
|
4611
|
+
name?: string;
|
|
4612
|
+
}
|
|
4443
4613
|
/**
|
|
4444
4614
|
* @nullable
|
|
4445
4615
|
*/
|
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',
|
|
@@ -168,13 +174,33 @@ export const HostingFtpUpdateBodyUserTypeSet = {
|
|
|
168
174
|
quota: 'quota',
|
|
169
175
|
};
|
|
170
176
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
171
|
-
export const
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
177
|
+
export const HostingEmailSettingsBodyUtf8Folders = {
|
|
178
|
+
enable: 'enable',
|
|
179
|
+
disable: 'disable',
|
|
180
|
+
};
|
|
181
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
182
|
+
export const HostingEmailSettingsBodyType = {
|
|
183
|
+
address: 'address',
|
|
184
|
+
system: 'system',
|
|
185
|
+
};
|
|
186
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
187
|
+
export const HostingEmailSettingsBodyAutofolders = {
|
|
188
|
+
enable: 'enable',
|
|
189
|
+
disable: 'disable',
|
|
190
|
+
};
|
|
191
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
192
|
+
export const HostingEmailSettingsBodyAccountOutgoing = {
|
|
193
|
+
hold: 'hold',
|
|
194
|
+
suspend: 'suspend',
|
|
195
|
+
unsuspend: 'unsuspend',
|
|
196
|
+
};
|
|
197
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
198
|
+
export const HostingEmailSettingsBodyAccountLogin = {
|
|
199
|
+
suspend: 'suspend',
|
|
200
|
+
unsuspend: 'unsuspend',
|
|
175
201
|
};
|
|
176
202
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
177
|
-
export const
|
|
203
|
+
export const HostingEmailSettingsBodyAccountIncoming = {
|
|
178
204
|
suspend: 'suspend',
|
|
179
205
|
unsuspend: 'unsuspend',
|
|
180
206
|
};
|