@newfold/huapi-js 2.1305.0 → 2.1337.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.
@@ -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.1305.0
6
+ * OpenAPI spec version: 1.1337.0
7
7
  */
8
8
  export declare type SshKeyListV4200RowsItem = {
9
9
  authorize?: boolean;
@@ -55,6 +55,31 @@ export declare type SshKeyImportV3Body = {
55
55
  /** The entity that initiated the GAP call */
56
56
  source?: string;
57
57
  };
58
+ export declare type SiteUsersV2200UsersItemMeta = {
59
+ maestro_web_pro?: string;
60
+ maestro_wpp_identifier?: string;
61
+ };
62
+ export declare type SiteUsersV2200UsersItem = {
63
+ display_name?: string;
64
+ id: number;
65
+ meta?: SiteUsersV2200UsersItemMeta;
66
+ post_count?: number;
67
+ role: string;
68
+ user_email: string;
69
+ user_id: number;
70
+ user_login: string;
71
+ user_nicename: string;
72
+ };
73
+ export declare type SiteUsersV2200 = {
74
+ /** Total number of users that linked to the site */
75
+ total_users: number;
76
+ users: SiteUsersV2200UsersItem[];
77
+ };
78
+ export declare type SiteUsersV2Params = {
79
+ limit?: number;
80
+ page?: number;
81
+ search?: string;
82
+ };
58
83
  export declare type SitesSshUserListV2200 = {
59
84
  users?: SSHUsersV2Response[];
60
85
  };
@@ -203,17 +228,6 @@ export declare type SitesDomainsV2200 = {
203
228
  export declare type SitesDomainsV2Params = {
204
229
  scan?: boolean;
205
230
  };
206
- export declare type SitesListV2200 = {
207
- items?: SitesListV2200ItemsItem[];
208
- /** page size */
209
- limit?: number;
210
- /** current page number */
211
- page?: number;
212
- /** total number of pages */
213
- pages?: number;
214
- /** total number of sites returned */
215
- total?: number;
216
- };
217
231
  /**
218
232
  * @nullable
219
233
  */
@@ -369,6 +383,17 @@ export declare type SitesListV2200ItemsItem = {
369
383
  */
370
384
  version_ptr?: string | null;
371
385
  };
386
+ export declare type SitesListV2200 = {
387
+ items?: SitesListV2200ItemsItem[];
388
+ /** page size */
389
+ limit?: number;
390
+ /** current page number */
391
+ page?: number;
392
+ /** total number of pages */
393
+ pages?: number;
394
+ /** total number of sites returned */
395
+ total?: number;
396
+ };
372
397
  export declare type SshKeyV2200 = {
373
398
  deleted?: number;
374
399
  key_name?: string;
@@ -704,7 +729,7 @@ export declare type DbListV2200 = {
704
729
  };
705
730
  export declare type BackupStatusV2200 = {
706
731
  /** @nullable */
707
- message?: string | null;
732
+ backup_download_url?: string | null;
708
733
  status?: string;
709
734
  };
710
735
  export declare type BackupStatusV2Params = {
@@ -766,6 +791,26 @@ export declare type AddonsSitelockSsoV2Params = {
766
791
  */
767
792
  source?: string;
768
793
  };
794
+ export declare type SiteAddonWpsolution400 = {
795
+ error?: string;
796
+ };
797
+ export declare type SiteAddonWpsolution200 = {
798
+ [key: string]: unknown;
799
+ };
800
+ /**
801
+ * wpsolution addon subtype
802
+ */
803
+ export declare type SiteAddonWpsolutionBodySubtype = typeof SiteAddonWpsolutionBodySubtype[keyof typeof SiteAddonWpsolutionBodySubtype];
804
+ export declare const SiteAddonWpsolutionBodySubtype: {
805
+ readonly creator: "creator";
806
+ readonly commerce: "commerce";
807
+ };
808
+ export declare type SiteAddonWpsolutionBody = {
809
+ /** wpsolution product instance id */
810
+ prod_inst_id: string;
811
+ /** wpsolution addon subtype */
812
+ subtype: SiteAddonWpsolutionBodySubtype;
813
+ };
769
814
  export declare type SitesVersion200 = {
770
815
  current?: string;
771
816
  latest?: string;
@@ -1898,15 +1943,6 @@ export declare type HostingVisitors200VisitorsItem = {
1898
1943
  unique_visitors?: number;
1899
1944
  visitors?: number;
1900
1945
  };
1901
- export declare type HostingVisitors200 = {
1902
- daily?: HostingVisitors200Daily;
1903
- total_bandwidth?: number;
1904
- total_hits?: number;
1905
- total_pages?: number;
1906
- total_unique_visitors?: number;
1907
- total_visitors?: number;
1908
- visitors?: HostingVisitors200VisitorsItem[];
1909
- };
1910
1946
  export declare type HostingVisitors200DailyTotal = {
1911
1947
  total_bandwidth?: number;
1912
1948
  total_hits?: number;
@@ -1926,6 +1962,17 @@ export declare type HostingVisitors200Daily = {
1926
1962
  data?: HostingVisitors200DailyDataItem[];
1927
1963
  total?: HostingVisitors200DailyTotal;
1928
1964
  };
1965
+ export declare type HostingVisitors200 = {
1966
+ daily?: HostingVisitors200Daily;
1967
+ is_linked_domain?: boolean;
1968
+ linked_domain?: string;
1969
+ total_bandwidth?: number;
1970
+ total_hits?: number;
1971
+ total_pages?: number;
1972
+ total_unique_visitors?: number;
1973
+ total_visitors?: number;
1974
+ visitors?: HostingVisitors200VisitorsItem[];
1975
+ };
1929
1976
  export declare type HostingVisitorsSource = typeof HostingVisitorsSource[keyof typeof HostingVisitorsSource];
1930
1977
  export declare const HostingVisitorsSource: {
1931
1978
  readonly http: "http";
@@ -2148,6 +2195,39 @@ export declare type HostingShellToggleBody = {
2148
2195
  /** boolean flag to enable or disable hosting shell */
2149
2196
  enabled: boolean;
2150
2197
  };
2198
+ export declare type HostingServerHits200ServerHitsLastNDaysItem = {
2199
+ hits: number;
2200
+ name: string;
2201
+ };
2202
+ export declare type HostingServerHits200ServerHits = {
2203
+ last_n_days: HostingServerHits200ServerHitsLastNDaysItem[];
2204
+ total_hits: number;
2205
+ };
2206
+ export declare type HostingServerHits200 = {
2207
+ server_hits: HostingServerHits200ServerHits;
2208
+ };
2209
+ export declare type HostingServerHitsParams = {
2210
+ /**
2211
+ * The source of the traffic (http, https, combined)
2212
+ */
2213
+ source?: string;
2214
+ /**
2215
+ * The start date for fetching the server hits. Format is YYYY-MM-DD HH:MM:SS
2216
+ */
2217
+ start?: string;
2218
+ /**
2219
+ * The end date for fetching the server hits. Format is YYYY-MM-DD HH:MM:SS
2220
+ */
2221
+ end?: string;
2222
+ /**
2223
+ * The domain for which to fetch the server hits
2224
+ */
2225
+ domain: string;
2226
+ /**
2227
+ * The number of intervals (days) to fetch. Default is 30
2228
+ */
2229
+ interval?: number;
2230
+ };
2151
2231
  export declare type HostingResellerSsoWhm200 = {
2152
2232
  url?: string;
2153
2233
  };
@@ -2189,6 +2269,28 @@ export declare type HostingRedirects200Item = {
2189
2269
  url?: string;
2190
2270
  wildcard?: boolean;
2191
2271
  };
2272
+ export declare type ProductLicenseDetails200WpsolutionCreatorItem = {
2273
+ expirationDate?: string;
2274
+ prodInstId?: string;
2275
+ };
2276
+ export declare type ProductLicenseDetails200WpsolutionCommerceItem = {
2277
+ expirationDate?: string;
2278
+ prodInstId?: string;
2279
+ };
2280
+ export declare type ProductLicenseDetails200Wpsolution = {
2281
+ commerce?: ProductLicenseDetails200WpsolutionCommerceItem[];
2282
+ creator?: ProductLicenseDetails200WpsolutionCreatorItem[];
2283
+ };
2284
+ export declare type ProductLicenseDetails200 = {
2285
+ wpsolution?: ProductLicenseDetails200Wpsolution;
2286
+ };
2287
+ export declare type ProductLicenseDetailsProductName = typeof ProductLicenseDetailsProductName[keyof typeof ProductLicenseDetailsProductName];
2288
+ export declare const ProductLicenseDetailsProductName: {
2289
+ readonly wpsolution: "wpsolution";
2290
+ };
2291
+ export declare type ProductLicenseDetailsParams = {
2292
+ product_name: ProductLicenseDetailsProductName;
2293
+ };
2192
2294
  export declare type PhpErrors200 = {
2193
2295
  /** @nullable */
2194
2296
  content?: string | null;
@@ -2503,6 +2605,139 @@ export declare type ListFilesParams = {
2503
2605
  path: string;
2504
2606
  showdotfiles?: boolean;
2505
2607
  };
2608
+ export declare type HostingEmailSuspend512 = {
2609
+ /** Customer error code */
2610
+ error?: string;
2611
+ };
2612
+ export declare type HostingEmailSuspend403 = {
2613
+ /** Customer error code */
2614
+ error?: string;
2615
+ };
2616
+ export declare type HostingEmailSuspend200 = {
2617
+ /** The address that was (un)suspended */
2618
+ address?: string;
2619
+ };
2620
+ /**
2621
+ * The function to suspend
2622
+ */
2623
+ export declare type HostingEmailSuspendBodyType = typeof HostingEmailSuspendBodyType[keyof typeof HostingEmailSuspendBodyType];
2624
+ export declare const HostingEmailSuspendBodyType: {
2625
+ readonly account_login: "account_login";
2626
+ readonly account_outgoing: "account_outgoing";
2627
+ readonly account_incoming: "account_incoming";
2628
+ };
2629
+ /**
2630
+ * Suspension action. Can be 'suspend' or 'unsuspend'.
2631
+ */
2632
+ export declare type HostingEmailSuspendBodyAction = typeof HostingEmailSuspendBodyAction[keyof typeof HostingEmailSuspendBodyAction];
2633
+ export declare const HostingEmailSuspendBodyAction: {
2634
+ readonly suspend: "suspend";
2635
+ readonly unsuspend: "unsuspend";
2636
+ };
2637
+ export declare type HostingEmailSuspendBody = {
2638
+ /** Suspension action. Can be 'suspend' or 'unsuspend'. */
2639
+ action?: HostingEmailSuspendBodyAction;
2640
+ /** The email address to (un)suspend */
2641
+ address: string;
2642
+ /** The function to suspend */
2643
+ type: HostingEmailSuspendBodyType;
2644
+ };
2645
+ export declare type HostingEmailForwarderDelete400 = {
2646
+ /** Customer error code */
2647
+ error?: string;
2648
+ };
2649
+ export declare type HostingEmailForwarderDelete200 = {
2650
+ [key: string]: unknown;
2651
+ };
2652
+ export declare type HostingEmailForwarderDeleteParams = {
2653
+ /**
2654
+ * The source address or domain of the forwarder to be deleted
2655
+ */
2656
+ source: string;
2657
+ /**
2658
+ * The destination of the forwarder to be deleted
2659
+ */
2660
+ destination: string;
2661
+ };
2662
+ export declare type HostingEmailForwarderAdd512 = {
2663
+ /** Customer error code */
2664
+ error?: string;
2665
+ };
2666
+ export declare type HostingEmailForwarderAdd409 = {
2667
+ /** Customer error code */
2668
+ error?: string;
2669
+ };
2670
+ export declare type HostingEmailForwarderAdd403 = {
2671
+ /** Customer error code */
2672
+ error?: string;
2673
+ };
2674
+ export declare type HostingEmailForwarderAdd400 = {
2675
+ /** Customer error code */
2676
+ error?: string;
2677
+ };
2678
+ export declare type HostingEmailForwarderAdd200 = {
2679
+ [key: string]: unknown;
2680
+ };
2681
+ /**
2682
+ * The type of forwarder to add (defaults to 'account')
2683
+ */
2684
+ export declare type HostingEmailForwarderAddBodyType = typeof HostingEmailForwarderAddBodyType[keyof typeof HostingEmailForwarderAddBodyType];
2685
+ export declare const HostingEmailForwarderAddBodyType: {
2686
+ readonly account: "account";
2687
+ readonly domain: "domain";
2688
+ };
2689
+ /**
2690
+ * The type of forwarder destination (defaults to 'email')
2691
+ */
2692
+ export declare type HostingEmailForwarderAddBodyDestinationType = typeof HostingEmailForwarderAddBodyDestinationType[keyof typeof HostingEmailForwarderAddBodyDestinationType];
2693
+ export declare const HostingEmailForwarderAddBodyDestinationType: {
2694
+ readonly domain: "domain";
2695
+ readonly discard: "discard";
2696
+ readonly discard_with_error: "discard_with_error";
2697
+ readonly email: "email";
2698
+ readonly pipe: "pipe";
2699
+ readonly system: "system";
2700
+ };
2701
+ export declare type HostingEmailForwarderAddBody = {
2702
+ /** The forwarding destination - can be an email address, system username, script path, or error message string */
2703
+ destination?: string;
2704
+ /** The type of forwarder destination (defaults to 'email') */
2705
+ destination_type: HostingEmailForwarderAddBodyDestinationType;
2706
+ /** The source (email address or domain) of the forwarder being added */
2707
+ source: string;
2708
+ /** The type of forwarder to add (defaults to 'account') */
2709
+ type: HostingEmailForwarderAddBodyType;
2710
+ };
2711
+ export declare type HostingEmailForwardersList200ForwardersItem = {
2712
+ /** Where the email will be forwarded to */
2713
+ destination?: string;
2714
+ /** Where the email to be forwarded is coming from */
2715
+ source?: string;
2716
+ /**
2717
+ * The type of forwarder
2718
+ * @nullable
2719
+ */
2720
+ type?: string | null;
2721
+ };
2722
+ export declare type HostingEmailForwardersList200 = {
2723
+ /** List of forwarders */
2724
+ forwarders?: HostingEmailForwardersList200ForwardersItem[];
2725
+ };
2726
+ export declare type HostingEmailForwardersListType = typeof HostingEmailForwardersListType[keyof typeof HostingEmailForwardersListType];
2727
+ export declare const HostingEmailForwardersListType: {
2728
+ readonly account: "account";
2729
+ readonly domain: "domain";
2730
+ };
2731
+ export declare type HostingEmailForwardersListParams = {
2732
+ /**
2733
+ * The type of forwarder list to query (default: account)
2734
+ */
2735
+ type: HostingEmailForwardersListType;
2736
+ /**
2737
+ * The domain to query forwarders by
2738
+ */
2739
+ domain?: string;
2740
+ };
2506
2741
  export declare type HostingEmailUpdate512 = {
2507
2742
  /** Customer error code */
2508
2743
  error?: string;
@@ -3019,7 +3254,8 @@ export declare type DbAddBody = {
3019
3254
  type?: DbAddBodyType;
3020
3255
  };
3021
3256
  export declare type CronLastRun200 = {
3022
- last_run?: string;
3257
+ /** @nullable */
3258
+ last_run?: string | null;
3023
3259
  };
3024
3260
  export declare type CronLastRunParams = {
3025
3261
  command: string;
@@ -3335,6 +3571,38 @@ export declare type DomainZoneeditorUrl200 = {
3335
3571
  export declare type DomainUnassign200 = {
3336
3572
  [key: string]: unknown;
3337
3573
  };
3574
+ export declare type AccessLogs200LogsItem = {
3575
+ /** @nullable */
3576
+ date?: string | null;
3577
+ /** @nullable */
3578
+ device?: string | null;
3579
+ /** @nullable */
3580
+ host?: string | null;
3581
+ /** @nullable */
3582
+ ip?: string | null;
3583
+ /** @nullable */
3584
+ request?: string | null;
3585
+ /** @nullable */
3586
+ response_code?: number | null;
3587
+ /** @nullable */
3588
+ response_size?: number | null;
3589
+ /** @nullable */
3590
+ server_ip?: string | null;
3591
+ };
3592
+ export declare type AccessLogs200 = {
3593
+ logs?: AccessLogs200LogsItem[];
3594
+ };
3595
+ export declare type AccessLogsType = typeof AccessLogsType[keyof typeof AccessLogsType];
3596
+ export declare const AccessLogsType: {
3597
+ readonly error: "error";
3598
+ readonly all: "all";
3599
+ };
3600
+ export declare type AccessLogsParams = {
3601
+ /**
3602
+ * Access logs type
3603
+ */
3604
+ type?: AccessLogsType;
3605
+ };
3338
3606
  export declare type DomainDnszoneReset200 = {
3339
3607
  [key: string]: unknown;
3340
3608
  };
@@ -3344,14 +3612,10 @@ export declare type DomainDnseditorEdit200 = {
3344
3612
  export declare type DomainDnseditorEditBody = {
3345
3613
  /** It describes dns point value for each type of record */
3346
3614
  content?: string;
3347
- /** mail server that domain of DNS record points to */
3348
- exchange?: string;
3349
3615
  /** Flag of each DNS record it has */
3350
3616
  flag?: string;
3351
3617
  /** name type of dns record */
3352
3618
  name?: string;
3353
- /** mail server that domain of DNS record points to */
3354
- nsdname?: string;
3355
3619
  /** actual cotent on which the records points to */
3356
3620
  orig_content?: string;
3357
3621
  /** actual name that records holds */
@@ -3359,6 +3623,8 @@ export declare type DomainDnseditorEditBody = {
3359
3623
  /** Port of SRV DNS record */
3360
3624
  port?: string;
3361
3625
  /** Priority of each DNS record, Default priority would be set to one */
3626
+ preference?: string;
3627
+ /** Priority of each DNS record, Default priority would be set to one */
3362
3628
  priority?: string;
3363
3629
  /** protocal of DNS record */
3364
3630
  protocol?: string;
@@ -3370,8 +3636,6 @@ export declare type DomainDnseditorEditBody = {
3370
3636
  ttl?: string;
3371
3637
  /** Add host records for your domain name, such as A Records, MX Records, or IPV6 (AAAA). Choose MANAGE to see the full list of supported records */
3372
3638
  type?: string;
3373
- /** mail server that domain of DNS record points to */
3374
- value?: string;
3375
3639
  /** Weight of each DNS record it holds */
3376
3640
  weight?: string;
3377
3641
  };
@@ -3411,11 +3675,61 @@ export declare type DomainDnseditorAddBodyRecordsItem = {
3411
3675
  export declare type DomainDnseditorAddBody = {
3412
3676
  records?: DomainDnseditorAddBodyRecordsItem[];
3413
3677
  };
3414
- export declare type DomainDnseditorList200Item = {
3415
- content?: string;
3678
+ export declare type DomainDnseditorList200DnsRecordsItem = {
3679
+ /**
3680
+ * It describes dns point value for each type of record
3681
+ * @nullable
3682
+ */
3683
+ content?: string | null;
3684
+ /**
3685
+ * Flag of each DNS record it has
3686
+ * @nullable
3687
+ */
3688
+ flag?: string | null;
3689
+ /** name type of dns record with domain name */
3416
3690
  name?: string;
3691
+ /**
3692
+ * Port of SRV DNS record
3693
+ * @nullable
3694
+ */
3695
+ port?: string | null;
3696
+ /**
3697
+ * Priority of each DNS record, Default priority would be set to one
3698
+ * @nullable
3699
+ */
3700
+ preference?: string | null;
3701
+ /**
3702
+ * Priority of each DNS record, Default priority would be set to one
3703
+ * @nullable
3704
+ */
3705
+ priority?: string | null;
3706
+ /**
3707
+ * Tag of each DNS record
3708
+ * @nullable
3709
+ */
3710
+ tag?: string | null;
3711
+ /**
3712
+ * Target of SRV DNS record example.domain.com
3713
+ * @nullable
3714
+ */
3715
+ target?: string | null;
3716
+ /** How long the DNS record is valid for */
3417
3717
  ttl?: number;
3718
+ /** manage domain DNS records (A, MX, CNAME, TXT and SRV Records) for individual services */
3418
3719
  type?: string;
3720
+ /**
3721
+ * Tag value for CAA Record
3722
+ * @nullable
3723
+ */
3724
+ value?: string | null;
3725
+ /**
3726
+ * Weight of each DNS record it holds
3727
+ * @nullable
3728
+ */
3729
+ weight?: string | null;
3730
+ };
3731
+ export declare type DomainDnseditorList200 = {
3732
+ dnsRecords?: DomainDnseditorList200DnsRecordsItem[];
3419
3733
  };
3420
3734
  export declare type DomainDnseditor200 = {
3421
3735
  success?: number;
@@ -3602,9 +3916,6 @@ export declare type AddonsInfo200 = {
3602
3916
  export declare type AddonsCloudflare200 = {
3603
3917
  status?: string;
3604
3918
  };
3605
- export declare type BackupList200 = {
3606
- home?: BackupList200HomeItem[];
3607
- };
3608
3919
  export declare type BackupList200HomeItemBackupStatus = {
3609
3920
  /** @nullable */
3610
3921
  download_url?: string | null;
@@ -3616,6 +3927,9 @@ export declare type BackupList200HomeItem = {
3616
3927
  backup_status?: BackupList200HomeItemBackupStatus;
3617
3928
  time_created?: string;
3618
3929
  };
3930
+ export declare type BackupList200 = {
3931
+ home?: BackupList200HomeItem[];
3932
+ };
3619
3933
  export declare type BackupListBackupType = typeof BackupListBackupType[keyof typeof BackupListBackupType];
3620
3934
  export declare const BackupListBackupType: {
3621
3935
  readonly full: "full";
@@ -3752,12 +4066,6 @@ export declare type CodeguardDatabaseBackupListParams = {
3752
4066
  database_id?: number;
3753
4067
  website_id?: number;
3754
4068
  };
3755
- export declare type CodeguardDatabaseList200DatabasesItemDatabaseBackup = {
3756
- account?: string;
3757
- commit_id?: string;
3758
- id?: number;
3759
- website_id?: number;
3760
- };
3761
4069
  export declare type CodeguardDatabaseList200DatabasesItem = {
3762
4070
  database_backup?: CodeguardDatabaseList200DatabasesItemDatabaseBackup;
3763
4071
  };
@@ -3765,6 +4073,12 @@ export declare type CodeguardDatabaseList200 = {
3765
4073
  databases?: CodeguardDatabaseList200DatabasesItem[];
3766
4074
  status?: number;
3767
4075
  };
4076
+ export declare type CodeguardDatabaseList200DatabasesItemDatabaseBackup = {
4077
+ account?: string;
4078
+ commit_id?: string;
4079
+ id?: number;
4080
+ website_id?: number;
4081
+ };
3768
4082
  export declare type CodeguardBackupRestore200 = {
3769
4083
  database_success?: boolean;
3770
4084
  website_success?: boolean;
@@ -12,6 +12,11 @@ export const HostingSiteAddV2BodyDatacenter = {
12
12
  'Los_Angeles,_California': 'Los Angeles, California',
13
13
  };
14
14
  // eslint-disable-next-line @typescript-eslint/no-redeclare
15
+ export const SiteAddonWpsolutionBodySubtype = {
16
+ creator: 'creator',
17
+ commerce: 'commerce',
18
+ };
19
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
15
20
  export const SitesSsoBounceName = {
16
21
  jetpackbackup: 'jetpackbackup',
17
22
  jetpackdashboard: 'jetpackdashboard',
@@ -132,6 +137,10 @@ export const HostingSiteAddBodyDatacenter = {
132
137
  'Los_Angeles,_California': 'Los Angeles, California',
133
138
  };
134
139
  // eslint-disable-next-line @typescript-eslint/no-redeclare
140
+ export const ProductLicenseDetailsProductName = {
141
+ wpsolution: 'wpsolution',
142
+ };
143
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
135
144
  export const HostingMigrationsEventBodyEventName = {
136
145
  inReview: 'inReview',
137
146
  approved: 'approved',
@@ -159,6 +168,36 @@ export const HostingFtpUpdateBodyUserTypeSet = {
159
168
  quota: 'quota',
160
169
  };
161
170
  // eslint-disable-next-line @typescript-eslint/no-redeclare
171
+ export const HostingEmailSuspendBodyType = {
172
+ account_login: 'account_login',
173
+ account_outgoing: 'account_outgoing',
174
+ account_incoming: 'account_incoming',
175
+ };
176
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
177
+ export const HostingEmailSuspendBodyAction = {
178
+ suspend: 'suspend',
179
+ unsuspend: 'unsuspend',
180
+ };
181
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
182
+ export const HostingEmailForwarderAddBodyType = {
183
+ account: 'account',
184
+ domain: 'domain',
185
+ };
186
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
187
+ export const HostingEmailForwarderAddBodyDestinationType = {
188
+ domain: 'domain',
189
+ discard: 'discard',
190
+ discard_with_error: 'discard_with_error',
191
+ email: 'email',
192
+ pipe: 'pipe',
193
+ system: 'system',
194
+ };
195
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
196
+ export const HostingEmailForwardersListType = {
197
+ account: 'account',
198
+ domain: 'domain',
199
+ };
200
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
162
201
  export const HostingEmailAddBodyType = {
163
202
  box: 'box',
164
203
  domainalias: 'domainalias',
@@ -220,6 +259,11 @@ export const DbAddBodyType = {
220
259
  postgres: 'postgres',
221
260
  };
222
261
  // eslint-disable-next-line @typescript-eslint/no-redeclare
262
+ export const AccessLogsType = {
263
+ error: 'error',
264
+ all: 'all',
265
+ };
266
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
223
267
  export const BackupListBackupType = {
224
268
  full: 'full',
225
269
  home: 'home',