@newfold/huapi-js 2.1874.0 → 2.1898.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.1874.0
6
+ * OpenAPI spec version: 1.1898.0
7
7
  */
8
8
  export declare type SshKeyListV4200RowsItem = {
9
9
  authorize?: boolean;
@@ -118,6 +118,46 @@ export declare type HostingSiteAddV3Body = {
118
118
  /** Number of PHP workers */
119
119
  workers?: number;
120
120
  };
121
+ export declare type BackupListV3200 = {
122
+ has_more?: boolean;
123
+ items?: BackupListV3200ItemsItem[];
124
+ limit?: number;
125
+ offset?: number;
126
+ total?: number;
127
+ };
128
+ /**
129
+ * @nullable
130
+ */
131
+ export declare type BackupListV3200ItemsItemBackupExpirationTime = string | number | null;
132
+ /**
133
+ * @nullable
134
+ */
135
+ export declare type BackupListV3200ItemsItemBackupCreationTime = string | number | null;
136
+ export declare type BackupListV3200ItemsItem = {
137
+ /** @nullable */
138
+ backup_creation_time?: BackupListV3200ItemsItemBackupCreationTime;
139
+ /** @nullable */
140
+ backup_expiration_time?: BackupListV3200ItemsItemBackupExpirationTime;
141
+ /**
142
+ * May be null while a backup is still materializing (e.g. in progress).
143
+ * @nullable
144
+ */
145
+ backup_id?: string | null;
146
+ backup_reason?: string;
147
+ backup_size_bytes?: number;
148
+ backup_status?: string;
149
+ databases?: string[];
150
+ dc_location?: string;
151
+ exclude_paths?: string[];
152
+ paths?: string[];
153
+ schedule_type?: string;
154
+ timezone?: string;
155
+ type?: string;
156
+ };
157
+ export declare type BackupListV3Params = {
158
+ page?: number;
159
+ limit?: number;
160
+ };
121
161
  export declare type BackupRestoreV3200 = {
122
162
  message?: string;
123
163
  tracking_id?: number;
@@ -268,12 +308,6 @@ export declare type SiteMalwareStatusV2200 = {
268
308
  */
269
309
  scanner_state?: string | null;
270
310
  };
271
- export declare type SitesDomainsV2200 = {
272
- domains: SitesDomainsV2200DomainsItem[];
273
- limit?: number;
274
- page?: number;
275
- total?: number;
276
- };
277
311
  /**
278
312
  * Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
279
313
  * @nullable
@@ -410,93 +444,15 @@ export declare type SitesDomainsV2200DomainsItem = {
410
444
  */
411
445
  used_entri?: number | null;
412
446
  };
447
+ export declare type SitesDomainsV2200 = {
448
+ domains: SitesDomainsV2200DomainsItem[];
449
+ limit?: number;
450
+ page?: number;
451
+ total?: number;
452
+ };
413
453
  export declare type SitesDomainsV2Params = {
414
454
  scan?: boolean;
415
455
  };
416
- /**
417
- * @nullable
418
- */
419
- export declare type SitesListV2200ItemsItemStaging = {
420
- /**
421
- * Applies to staging site only; The id of the current site's parent site
422
- * @nullable
423
- */
424
- parent_site_id?: number | null;
425
- /**
426
- * Applies to parent site only; The id of the former parent site of the current site
427
- * @nullable
428
- */
429
- promoted_from?: number | null;
430
- /**
431
- * Applies to staging site only; The id of the parent site of the current site that is being promoted
432
- * @nullable
433
- */
434
- promoting_from?: number | null;
435
- /**
436
- * Applies to staging site only; The derived status based on promotion ids and jobs
437
- * @nullable
438
- */
439
- promotion_status?: string | null;
440
- /** A list of staging sites of the current site */
441
- sites?: number[];
442
- } | null;
443
- export declare type SitesListV2200ItemsItemResourcesStorage = {
444
- /** @nullable */
445
- available?: number | null;
446
- /** @nullable */
447
- total?: number | null;
448
- unit?: string;
449
- /** @nullable */
450
- used?: number | null;
451
- };
452
- export declare type SitesListV2200ItemsItemResources = {
453
- storage?: SitesListV2200ItemsItemResourcesStorage;
454
- /** @nullable */
455
- workers?: number | null;
456
- };
457
- /**
458
- * @nullable
459
- */
460
- export declare type SitesListV2200ItemsItemPendingUrlData = {
461
- /**
462
- * The root domain name
463
- * @nullable
464
- */
465
- base_domain?: string | null;
466
- /**
467
- * The Fully Qualified Domain Name (FQDN)
468
- * @nullable
469
- */
470
- domain?: string | null;
471
- /**
472
- * The current pending_url's HAL Domain ID
473
- * @nullable
474
- */
475
- domain_id?: number | null;
476
- /** @nullable */
477
- error?: string | null;
478
- /** Flag indicating whether the pending_url is temporary or not */
479
- is_temp?: boolean;
480
- /**
481
- * Flag indicating whether the url_sync job has run out of attempts
482
- * @nullable
483
- */
484
- job_failed?: boolean | null;
485
- /** @nullable */
486
- stage?: string | null;
487
- /**
488
- * Timestamp for when we will update the WP url, regardless of active sessions
489
- * @nullable
490
- */
491
- wp_session?: string | null;
492
- } | null;
493
- /**
494
- * Job ids for the site
495
- * @nullable
496
- */
497
- export declare type SitesListV2200ItemsItemJobs = {
498
- [key: string]: unknown;
499
- } | null;
500
456
  export declare type SitesListV2200ItemsItem = {
501
457
  /** @nullable */
502
458
  account_back_ref?: string | null;
@@ -586,6 +542,90 @@ export declare type SitesListV2200 = {
586
542
  /** total number of sites returned */
587
543
  total?: number;
588
544
  };
545
+ /**
546
+ * @nullable
547
+ */
548
+ export declare type SitesListV2200ItemsItemStaging = {
549
+ /**
550
+ * Applies to staging site only; The id of the current site's parent site
551
+ * @nullable
552
+ */
553
+ parent_site_id?: number | null;
554
+ /**
555
+ * Applies to parent site only; The id of the former parent site of the current site
556
+ * @nullable
557
+ */
558
+ promoted_from?: number | null;
559
+ /**
560
+ * Applies to staging site only; The id of the parent site of the current site that is being promoted
561
+ * @nullable
562
+ */
563
+ promoting_from?: number | null;
564
+ /**
565
+ * Applies to staging site only; The derived status based on promotion ids and jobs
566
+ * @nullable
567
+ */
568
+ promotion_status?: string | null;
569
+ /** A list of staging sites of the current site */
570
+ sites?: number[];
571
+ } | null;
572
+ export declare type SitesListV2200ItemsItemResourcesStorage = {
573
+ /** @nullable */
574
+ available?: number | null;
575
+ /** @nullable */
576
+ total?: number | null;
577
+ unit?: string;
578
+ /** @nullable */
579
+ used?: number | null;
580
+ };
581
+ export declare type SitesListV2200ItemsItemResources = {
582
+ storage?: SitesListV2200ItemsItemResourcesStorage;
583
+ /** @nullable */
584
+ workers?: number | null;
585
+ };
586
+ /**
587
+ * @nullable
588
+ */
589
+ export declare type SitesListV2200ItemsItemPendingUrlData = {
590
+ /**
591
+ * The root domain name
592
+ * @nullable
593
+ */
594
+ base_domain?: string | null;
595
+ /**
596
+ * The Fully Qualified Domain Name (FQDN)
597
+ * @nullable
598
+ */
599
+ domain?: string | null;
600
+ /**
601
+ * The current pending_url's HAL Domain ID
602
+ * @nullable
603
+ */
604
+ domain_id?: number | null;
605
+ /** @nullable */
606
+ error?: string | null;
607
+ /** Flag indicating whether the pending_url is temporary or not */
608
+ is_temp?: boolean;
609
+ /**
610
+ * Flag indicating whether the url_sync job has run out of attempts
611
+ * @nullable
612
+ */
613
+ job_failed?: boolean | null;
614
+ /** @nullable */
615
+ stage?: string | null;
616
+ /**
617
+ * Timestamp for when we will update the WP url, regardless of active sessions
618
+ * @nullable
619
+ */
620
+ wp_session?: string | null;
621
+ } | null;
622
+ /**
623
+ * Job ids for the site
624
+ * @nullable
625
+ */
626
+ export declare type SitesListV2200ItemsItemJobs = {
627
+ [key: string]: unknown;
628
+ } | null;
589
629
  export declare type SshKeyV2200 = {
590
630
  deleted?: number;
591
631
  key_name?: string;
@@ -942,6 +982,12 @@ export declare type HostingDomainsUnassignV2Body = {
942
982
  /** The site id to be unassigned */
943
983
  site_id: number;
944
984
  };
985
+ export declare type HostingDomainsV2200 = {
986
+ domains: HostingDomainsV2200DomainsItem[];
987
+ limit?: number;
988
+ page?: number;
989
+ total?: number;
990
+ };
945
991
  /**
946
992
  * Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
947
993
  * @nullable
@@ -1078,12 +1124,6 @@ export declare type HostingDomainsV2200DomainsItem = {
1078
1124
  */
1079
1125
  used_entri?: number | null;
1080
1126
  };
1081
- export declare type HostingDomainsV2200 = {
1082
- domains: HostingDomainsV2200DomainsItem[];
1083
- limit?: number;
1084
- page?: number;
1085
- total?: number;
1086
- };
1087
1127
  export declare type HostingDomainsV2TypesItem = typeof HostingDomainsV2TypesItem[keyof typeof HostingDomainsV2TypesItem];
1088
1128
  export declare const HostingDomainsV2TypesItem: {
1089
1129
  readonly addon: "addon";
@@ -2378,18 +2418,6 @@ export declare type SitesMetricDimensions200DimensionsPageIsCachedItem = {
2378
2418
  dimension?: SitesMetricDimensions200DimensionsPageIsCachedItemDimension;
2379
2419
  timestamp?: number;
2380
2420
  };
2381
- export declare type SitesMetricDimensions200Dimensions = {
2382
- http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
2383
- http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
2384
- http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
2385
- http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
2386
- page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
2387
- page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
2388
- visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
2389
- visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
2390
- visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
2391
- wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
2392
- };
2393
2421
  export declare type SitesMetricDimensions200DimensionsHttpVersionItemDimension = {
2394
2422
  [key: string]: number;
2395
2423
  };
@@ -2418,6 +2446,18 @@ export declare type SitesMetricDimensions200DimensionsHttpHostItem = {
2418
2446
  dimension?: SitesMetricDimensions200DimensionsHttpHostItemDimension;
2419
2447
  timestamp?: number;
2420
2448
  };
2449
+ export declare type SitesMetricDimensions200Dimensions = {
2450
+ http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
2451
+ http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
2452
+ http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
2453
+ http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
2454
+ page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
2455
+ page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
2456
+ visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
2457
+ visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
2458
+ visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
2459
+ wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
2460
+ };
2421
2461
  export declare type SitesMetricDimensionsParams = {
2422
2462
  start?: string;
2423
2463
  end?: string;
@@ -2940,71 +2980,6 @@ export declare type SitesInfo200Staging = {
2940
2980
  /** A list of staging sites of the current site */
2941
2981
  sites?: number[];
2942
2982
  } | null;
2943
- export declare type SitesInfo200ResourcesStorage = {
2944
- /** @nullable */
2945
- available?: number | null;
2946
- /** @nullable */
2947
- total?: number | null;
2948
- unit?: string;
2949
- /** @nullable */
2950
- used?: number | null;
2951
- };
2952
- export declare type SitesInfo200Resources = {
2953
- storage?: SitesInfo200ResourcesStorage;
2954
- /** @nullable */
2955
- workers?: number | null;
2956
- };
2957
- /**
2958
- * @nullable
2959
- */
2960
- export declare type SitesInfo200PendingUrlData = {
2961
- /**
2962
- * The root domain name
2963
- * @nullable
2964
- */
2965
- base_domain?: string | null;
2966
- /**
2967
- * The Fully Qualified Domain Name (FQDN)
2968
- * @nullable
2969
- */
2970
- domain?: string | null;
2971
- /**
2972
- * The current pending_url's HAL Domain ID
2973
- * @nullable
2974
- */
2975
- domain_id?: number | null;
2976
- /** @nullable */
2977
- error?: string | null;
2978
- /** Flag indicating whether the pending_url is temporary or not */
2979
- is_temp?: boolean;
2980
- /**
2981
- * Flag indicating whether the url_sync job has run out of attempts
2982
- * @nullable
2983
- */
2984
- job_failed?: boolean | null;
2985
- /** @nullable */
2986
- stage?: string | null;
2987
- /**
2988
- * Timestamp for when we will update the WP url, regardless of active sessions
2989
- * @nullable
2990
- */
2991
- wp_session?: string | null;
2992
- } | null;
2993
- /**
2994
- * @nullable
2995
- */
2996
- export declare type SitesInfo200Pagespeed = {
2997
- lastrun?: string;
2998
- performance?: string;
2999
- strategy?: string;
3000
- } | null;
3001
- /**
3002
- * Job ids for the site
3003
- * @nullable
3004
- */
3005
- export declare type SitesInfo200Jobs = {
3006
- [key: string]: unknown;
3007
- } | null;
3008
2983
  export declare type SitesInfo200 = {
3009
2984
  /** @nullable */
3010
2985
  account_back_ref?: string | null;
@@ -3079,15 +3054,80 @@ export declare type SitesInfo200 = {
3079
3054
  /** @nullable */
3080
3055
  url_is_provisional?: boolean | null;
3081
3056
  /** @nullable */
3082
- version?: string | null;
3057
+ version?: string | null;
3058
+ /**
3059
+ * The WP Version
3060
+ * @nullable
3061
+ */
3062
+ version_ptr?: string | null;
3063
+ /** @nullable */
3064
+ wp_multi_site?: SitesInfo200WpMultiSite;
3065
+ };
3066
+ export declare type SitesInfo200ResourcesStorage = {
3067
+ /** @nullable */
3068
+ available?: number | null;
3069
+ /** @nullable */
3070
+ total?: number | null;
3071
+ unit?: string;
3072
+ /** @nullable */
3073
+ used?: number | null;
3074
+ };
3075
+ export declare type SitesInfo200Resources = {
3076
+ storage?: SitesInfo200ResourcesStorage;
3077
+ /** @nullable */
3078
+ workers?: number | null;
3079
+ };
3080
+ /**
3081
+ * @nullable
3082
+ */
3083
+ export declare type SitesInfo200PendingUrlData = {
3084
+ /**
3085
+ * The root domain name
3086
+ * @nullable
3087
+ */
3088
+ base_domain?: string | null;
3089
+ /**
3090
+ * The Fully Qualified Domain Name (FQDN)
3091
+ * @nullable
3092
+ */
3093
+ domain?: string | null;
3094
+ /**
3095
+ * The current pending_url's HAL Domain ID
3096
+ * @nullable
3097
+ */
3098
+ domain_id?: number | null;
3099
+ /** @nullable */
3100
+ error?: string | null;
3101
+ /** Flag indicating whether the pending_url is temporary or not */
3102
+ is_temp?: boolean;
3083
3103
  /**
3084
- * The WP Version
3104
+ * Flag indicating whether the url_sync job has run out of attempts
3085
3105
  * @nullable
3086
3106
  */
3087
- version_ptr?: string | null;
3107
+ job_failed?: boolean | null;
3088
3108
  /** @nullable */
3089
- wp_multi_site?: SitesInfo200WpMultiSite;
3090
- };
3109
+ stage?: string | null;
3110
+ /**
3111
+ * Timestamp for when we will update the WP url, regardless of active sessions
3112
+ * @nullable
3113
+ */
3114
+ wp_session?: string | null;
3115
+ } | null;
3116
+ /**
3117
+ * @nullable
3118
+ */
3119
+ export declare type SitesInfo200Pagespeed = {
3120
+ lastrun?: string;
3121
+ performance?: string;
3122
+ strategy?: string;
3123
+ } | null;
3124
+ /**
3125
+ * Job ids for the site
3126
+ * @nullable
3127
+ */
3128
+ export declare type SitesInfo200Jobs = {
3129
+ [key: string]: unknown;
3130
+ } | null;
3091
3131
  /**
3092
3132
  * Links
3093
3133
  * @nullable
@@ -3173,6 +3213,21 @@ export declare type PublicImages200RowsItem = {
3173
3213
  * @nullable
3174
3214
  */
3175
3215
  manage_link?: string | null;
3216
+ /**
3217
+ * Minimum cpus required to build on this image
3218
+ * @nullable
3219
+ */
3220
+ min_cpus?: string | null;
3221
+ /**
3222
+ * Minimum disk space (in Gb) required to build on this image
3223
+ * @nullable
3224
+ */
3225
+ min_disk?: string | null;
3226
+ /**
3227
+ * Minimum ram (in Gb) required to build on this image
3228
+ * @nullable
3229
+ */
3230
+ min_ram?: string | null;
3176
3231
  /** Image Name */
3177
3232
  name?: string;
3178
3233
  /**
@@ -3185,6 +3240,8 @@ export declare type PublicImages200RowsItem = {
3185
3240
  * @nullable
3186
3241
  */
3187
3242
  os_version?: string | null;
3243
+ /** The readme associated with the image */
3244
+ readme?: string;
3188
3245
  /**
3189
3246
  * Image Software
3190
3247
  * @nullable
@@ -3492,6 +3549,10 @@ export declare type HostingShellToggleBody = {
3492
3549
  /** boolean flag to enable or disable hosting shell */
3493
3550
  enabled: boolean;
3494
3551
  };
3552
+ export declare type HostingServerHits200ServerHitsLastNDaysItem = {
3553
+ hits: number;
3554
+ name: string;
3555
+ };
3495
3556
  export declare type HostingServerHits200ServerHits = {
3496
3557
  last_n_days: HostingServerHits200ServerHitsLastNDaysItem[];
3497
3558
  total_hits: number;
@@ -3499,10 +3560,6 @@ export declare type HostingServerHits200ServerHits = {
3499
3560
  export declare type HostingServerHits200 = {
3500
3561
  server_hits: HostingServerHits200ServerHits;
3501
3562
  };
3502
- export declare type HostingServerHits200ServerHitsLastNDaysItem = {
3503
- hits: number;
3504
- name: string;
3505
- };
3506
3563
  export declare type HostingServerHitsParams = {
3507
3564
  /**
3508
3565
  * The source of the traffic (http, https, combined)
@@ -3566,6 +3623,9 @@ export declare type HostingRedirects200Item = {
3566
3623
  url?: string;
3567
3624
  wildcard?: boolean;
3568
3625
  };
3626
+ export declare type ProductLicenseDetails200 = {
3627
+ wpsolution?: ProductLicenseDetails200Wpsolution;
3628
+ };
3569
3629
  export declare type ProductLicenseDetails200WpsolutionCreatorItem = {
3570
3630
  expirationDate?: string;
3571
3631
  prodInstId?: string;
@@ -3579,9 +3639,6 @@ export declare type ProductLicenseDetails200Wpsolution = {
3579
3639
  creator?: ProductLicenseDetails200WpsolutionCreatorItem[];
3580
3640
  total?: number;
3581
3641
  };
3582
- export declare type ProductLicenseDetails200 = {
3583
- wpsolution?: ProductLicenseDetails200Wpsolution;
3584
- };
3585
3642
  export declare type ProductLicenseDetailsProductName = typeof ProductLicenseDetailsProductName[keyof typeof ProductLicenseDetailsProductName];
3586
3643
  export declare const ProductLicenseDetailsProductName: {
3587
3644
  readonly wpsolution: "wpsolution";
@@ -4749,10 +4806,6 @@ export declare type HostingEmailUpdateBody = {
4749
4806
  /** The password for the email */
4750
4807
  password?: string;
4751
4808
  };
4752
- export declare type HostingEmailList200 = {
4753
- /** List of email resources */
4754
- rows?: HostingEmailList200RowsItem[];
4755
- };
4756
4809
  /**
4757
4810
  * List of suspensions that affect the entire user account
4758
4811
  * @nullable
@@ -4842,6 +4895,10 @@ export declare type HostingEmailList200RowsItem = {
4842
4895
  */
4843
4896
  utf8_folders?: boolean | null;
4844
4897
  };
4898
+ export declare type HostingEmailList200 = {
4899
+ /** List of email resources */
4900
+ rows?: HostingEmailList200RowsItem[];
4901
+ };
4845
4902
  export declare type HostingEmailDelete200 = {
4846
4903
  [key: string]: unknown;
4847
4904
  };
@@ -5511,6 +5568,11 @@ export declare type HostingAdvancedImages200ImagesItem = {
5511
5568
  current?: number | null;
5512
5569
  /** The date and time the image was added */
5513
5570
  date_added?: string;
5571
+ /**
5572
+ * Image Description
5573
+ * @nullable
5574
+ */
5575
+ description?: string | null;
5514
5576
  /**
5515
5577
  * Whether this image is the default for docker site installations; If this = 1, it is an image that can be used when installing a Docker app
5516
5578
  * @nullable
@@ -5528,14 +5590,46 @@ export declare type HostingAdvancedImages200ImagesItem = {
5528
5590
  * @nullable
5529
5591
  */
5530
5592
  lts?: number | null;
5593
+ /**
5594
+ * Manage Link
5595
+ * @nullable
5596
+ */
5597
+ manage_link?: string | null;
5598
+ /**
5599
+ * Minimum cpus required to build on this image
5600
+ * @nullable
5601
+ */
5602
+ min_cpus?: string | null;
5603
+ /**
5604
+ * Minimum disk space (in Gb) required to build on this image
5605
+ * @nullable
5606
+ */
5607
+ min_disk?: string | null;
5608
+ /**
5609
+ * Minimum ram (in Gb) required to build on this image
5610
+ * @nullable
5611
+ */
5612
+ min_ram?: string | null;
5531
5613
  /** The full image name */
5532
5614
  name?: string;
5533
5615
  /** The name of the operating system included on the image */
5534
5616
  os_name?: string;
5535
5617
  /** The version of the operating system included on the image */
5536
5618
  os_version?: string;
5619
+ /** The readme associated with the image */
5620
+ readme?: string;
5537
5621
  /** The software included on the image */
5538
5622
  software?: string;
5623
+ /**
5624
+ * Image Title
5625
+ * @nullable
5626
+ */
5627
+ title?: string | null;
5628
+ /**
5629
+ * Image Type
5630
+ * @nullable
5631
+ */
5632
+ type?: string | null;
5539
5633
  /**
5540
5634
  * Whether this image can be rebuilt to without a docker site
5541
5635
  * @nullable
@@ -5554,6 +5648,10 @@ export declare type HostingAdvancedImagesParams = {
5554
5648
  * Maximum number of items to return. If not provided, returns all items from start index
5555
5649
  */
5556
5650
  limit?: number;
5651
+ /**
5652
+ * Which image to return information about
5653
+ */
5654
+ image_id?: number;
5557
5655
  };
5558
5656
  export declare type HostingAdvancedDomainServices200 = {
5559
5657
  success?: number;
@@ -5679,18 +5777,6 @@ export declare type HostingAccount200ResourcesStorage = {
5679
5777
  /** @nullable */
5680
5778
  used?: number | null;
5681
5779
  };
5682
- export declare type HostingAccount200ResourcesStaging = {
5683
- storage?: HostingAccount200ResourcesStagingStorage;
5684
- workers?: HostingAccount200ResourcesStagingWorkers;
5685
- };
5686
- /**
5687
- * @nullable
5688
- */
5689
- export declare type HostingAccount200Resources = {
5690
- staging?: HostingAccount200ResourcesStaging;
5691
- storage?: HostingAccount200ResourcesStorage;
5692
- workers?: HostingAccount200ResourcesWorkers;
5693
- } | null;
5694
5780
  export declare type HostingAccount200ResourcesStagingWorkers = {
5695
5781
  /** @nullable */
5696
5782
  available?: number | null;
@@ -5708,6 +5794,18 @@ export declare type HostingAccount200ResourcesStagingStorage = {
5708
5794
  /** @nullable */
5709
5795
  used?: number | null;
5710
5796
  };
5797
+ export declare type HostingAccount200ResourcesStaging = {
5798
+ storage?: HostingAccount200ResourcesStagingStorage;
5799
+ workers?: HostingAccount200ResourcesStagingWorkers;
5800
+ };
5801
+ /**
5802
+ * @nullable
5803
+ */
5804
+ export declare type HostingAccount200Resources = {
5805
+ staging?: HostingAccount200ResourcesStaging;
5806
+ storage?: HostingAccount200ResourcesStorage;
5807
+ workers?: HostingAccount200ResourcesWorkers;
5808
+ } | null;
5711
5809
  export declare type HostingAccount200Billing = {
5712
5810
  prod_code?: string;
5713
5811
  product_name?: string;
@@ -6247,6 +6345,171 @@ export declare type AddonsCloudflareExternalNsCheckParams = {
6247
6345
  export declare type AddonsCloudflare200 = {
6248
6346
  status?: string;
6249
6347
  };
6348
+ export declare type BackupUsage200 = {
6349
+ allowed_limit_bytes: number;
6350
+ available_bytes: number;
6351
+ used_bytes: number;
6352
+ };
6353
+ export declare type BackupPrefSetStatus200 = {
6354
+ site_id?: number;
6355
+ status?: string;
6356
+ success?: number;
6357
+ };
6358
+ /**
6359
+ * enable or disable scheduled backups for the site
6360
+ */
6361
+ export declare type BackupPrefSetStatusBodyStatus = typeof BackupPrefSetStatusBodyStatus[keyof typeof BackupPrefSetStatusBodyStatus];
6362
+ export declare const BackupPrefSetStatusBodyStatus: {
6363
+ readonly enable: "enable";
6364
+ readonly disable: "disable";
6365
+ };
6366
+ export declare type BackupPrefSetStatusBody = {
6367
+ /** enable or disable scheduled backups for the site */
6368
+ status: BackupPrefSetStatusBodyStatus;
6369
+ };
6370
+ export declare type BackupSettingsUpdate200 = {
6371
+ site_id?: number;
6372
+ success?: number;
6373
+ };
6374
+ export declare type BackupSettingsUpdateBody = {
6375
+ backup_timezone?: string;
6376
+ frequency?: string;
6377
+ notifications?: BackupNotificationsEmail;
6378
+ retention_days?: string;
6379
+ /**
6380
+ * Optional. For weekly: Monday = 1, Tuesday = 2, etc. For monthly: day of the month. Omit or null when frequency is daily.
6381
+ * @nullable
6382
+ */
6383
+ schedule_day?: string | null;
6384
+ start_hours?: string;
6385
+ start_mins?: string;
6386
+ };
6387
+ export declare type BackupSettingsCreate200 = {
6388
+ preference_id?: number;
6389
+ site_id?: number;
6390
+ success?: number;
6391
+ };
6392
+ export declare type BackupSettingsCreateBody = {
6393
+ /**
6394
+ * IANA timezone (e.g. America/New_York) passed to HAL backup_pref_create.
6395
+ * @nullable
6396
+ */
6397
+ backup_timezone?: string | null;
6398
+ /** @nullable */
6399
+ frequency?: string | null;
6400
+ notifications?: BackupNotificationsEmail;
6401
+ retention_days: string;
6402
+ /**
6403
+ * Optional. For weekly: Monday = 1, Tuesday = 2, etc. For monthly: day of the month. When frequency is daily, HUAPI sends null for HAL.
6404
+ * @nullable
6405
+ */
6406
+ schedule_day?: string | null;
6407
+ start_hours: string;
6408
+ start_mins: string;
6409
+ };
6410
+ /**
6411
+ * @nullable
6412
+ */
6413
+ export declare type BackupSettings200NotifyPolicy = {
6414
+ [key: string]: unknown;
6415
+ } | null;
6416
+ /**
6417
+ * Email notification flags (0 = off, 1 = on).
6418
+ * @nullable
6419
+ */
6420
+ export declare type BackupSettings200Notifications = BackupNotificationsEmail | null;
6421
+ /**
6422
+ * @nullable
6423
+ */
6424
+ export declare type BackupSettings200BackupScopeConfig = {
6425
+ [key: string]: unknown;
6426
+ } | null;
6427
+ export declare type BackupSettings200 = {
6428
+ /** @nullable */
6429
+ backup_scope_config?: BackupSettings200BackupScopeConfig;
6430
+ /** @nullable */
6431
+ backup_subscription_id?: string | null;
6432
+ /** @nullable */
6433
+ backup_time_local?: string | null;
6434
+ /** @nullable */
6435
+ frequency?: string | null;
6436
+ /** @nullable */
6437
+ id?: number | null;
6438
+ /** @nullable */
6439
+ next_run_at_utc?: string | null;
6440
+ /**
6441
+ * Email notification flags (0 = off, 1 = on).
6442
+ * @nullable
6443
+ */
6444
+ notifications?: BackupSettings200Notifications;
6445
+ /** @nullable */
6446
+ notify_enabled?: boolean | null;
6447
+ /** @nullable */
6448
+ notify_policy?: BackupSettings200NotifyPolicy;
6449
+ /** @nullable */
6450
+ provider_resource_id?: string | null;
6451
+ /** @nullable */
6452
+ retention_days?: number | null;
6453
+ /**
6454
+ * Scheduled day label from HAL (e.g. '14th' for monthly). If HAL sends 'undef', HUAPI normalizes it to null.
6455
+ * @nullable
6456
+ */
6457
+ schedule_day?: string | null;
6458
+ /**
6459
+ * active, paused, suspended, site_deleted
6460
+ * @nullable
6461
+ */
6462
+ status?: string | null;
6463
+ /** @nullable */
6464
+ timezone?: string | null;
6465
+ };
6466
+ export declare type BackupCreateOndemandV1200 = {
6467
+ id?: number;
6468
+ msg?: string;
6469
+ };
6470
+ /**
6471
+ * Whether to include a link to the backup tarball
6472
+ */
6473
+ export declare type BackupCreateOndemandV1BodyIncludeBackupTarLink = typeof BackupCreateOndemandV1BodyIncludeBackupTarLink[keyof typeof BackupCreateOndemandV1BodyIncludeBackupTarLink];
6474
+ export declare const BackupCreateOndemandV1BodyIncludeBackupTarLink: {
6475
+ readonly NUMBER_0: 0;
6476
+ readonly NUMBER_1: 1;
6477
+ };
6478
+ /**
6479
+ * The type of the backup
6480
+ */
6481
+ export declare type BackupCreateOndemandV1BodyBackupType = typeof BackupCreateOndemandV1BodyBackupType[keyof typeof BackupCreateOndemandV1BodyBackupType];
6482
+ export declare const BackupCreateOndemandV1BodyBackupType: {
6483
+ readonly home: "home";
6484
+ readonly db: "db";
6485
+ readonly home_db: "home_db";
6486
+ };
6487
+ export declare type BackupCreateOndemandV1Body = {
6488
+ /**
6489
+ * How long the created backup should remain active (in hours)
6490
+ * @nullable
6491
+ */
6492
+ backup_retention_hours?: number | null;
6493
+ /** The type of the backup */
6494
+ backup_type?: BackupCreateOndemandV1BodyBackupType;
6495
+ /**
6496
+ * List of databases to backup
6497
+ * @nullable
6498
+ */
6499
+ dbs?: string[] | null;
6500
+ /**
6501
+ * List of docroot paths to backup
6502
+ * @nullable
6503
+ */
6504
+ docroots?: string[] | null;
6505
+ /**
6506
+ * List of paths to exclude from the backup
6507
+ * @nullable
6508
+ */
6509
+ exclude_paths?: string[] | null;
6510
+ /** Whether to include a link to the backup tarball */
6511
+ include_backup_tar_link?: BackupCreateOndemandV1BodyIncludeBackupTarLink;
6512
+ };
6250
6513
  export declare type BackupMeta200 = {
6251
6514
  account?: BackupMeta200Account;
6252
6515
  site?: BackupMeta200Site;
@@ -6523,6 +6786,12 @@ export declare type CodeguardBackupCreateBody = {
6523
6786
  /** The id of the website the given database is associated with. */
6524
6787
  website_id?: number;
6525
6788
  };
6789
+ export declare type CodeguardBackupList200BackupsItemDatabaseBackupsItem = {
6790
+ commit_id?: string;
6791
+ event_time?: string;
6792
+ id?: number;
6793
+ recommended?: boolean;
6794
+ };
6526
6795
  export declare type CodeguardBackupList200BackupsItem = {
6527
6796
  database_backups?: CodeguardBackupList200BackupsItemDatabaseBackupsItem[];
6528
6797
  event_time?: string;
@@ -6531,12 +6800,6 @@ export declare type CodeguardBackupList200BackupsItem = {
6531
6800
  export declare type CodeguardBackupList200 = {
6532
6801
  backups?: CodeguardBackupList200BackupsItem[];
6533
6802
  };
6534
- export declare type CodeguardBackupList200BackupsItemDatabaseBackupsItem = {
6535
- commit_id?: string;
6536
- event_time?: string;
6537
- id?: number;
6538
- recommended?: boolean;
6539
- };
6540
6803
  export declare type CodeguardBackupListParams = {
6541
6804
  website_id: number;
6542
6805
  };
@@ -6663,12 +6926,6 @@ export declare type AccountHostingListParams = {
6663
6926
  */
6664
6927
  server_type?: string[];
6665
6928
  };
6666
- export declare type AccountFeatures200 = {
6667
- /** Feature information for the paginated product instances */
6668
- rows?: AccountFeatures200RowsItem[];
6669
- /** Total number of product instance IDs available to that account */
6670
- total_count?: number;
6671
- };
6672
6929
  /**
6673
6930
  * Usage statistics
6674
6931
  * @nullable
@@ -6929,6 +7186,12 @@ export declare type AccountFeatures200RowsItem = {
6929
7186
  */
6930
7187
  used?: AccountFeatures200RowsItemUsed;
6931
7188
  };
7189
+ export declare type AccountFeatures200 = {
7190
+ /** Feature information for the paginated product instances */
7191
+ rows?: AccountFeatures200RowsItem[];
7192
+ /** Total number of product instance IDs available to that account */
7193
+ total_count?: number;
7194
+ };
6932
7195
  export declare type AccountFeaturesParams = {
6933
7196
  /**
6934
7197
  * Starting index for pagination (default: 0)
@@ -6991,6 +7254,51 @@ export declare type AccountEventListParams = {
6991
7254
  */
6992
7255
  date_last?: string;
6993
7256
  };
7257
+ /**
7258
+ * Notify on successful backups
7259
+ */
7260
+ export declare type BackupNotificationsEmailSuccessfulBackups = typeof BackupNotificationsEmailSuccessfulBackups[keyof typeof BackupNotificationsEmailSuccessfulBackups];
7261
+ export declare const BackupNotificationsEmailSuccessfulBackups: {
7262
+ readonly NUMBER_0: 0;
7263
+ readonly NUMBER_1: 1;
7264
+ };
7265
+ /**
7266
+ * Notify when approaching storage limit
7267
+ */
7268
+ export declare type BackupNotificationsEmailStorageLimit = typeof BackupNotificationsEmailStorageLimit[keyof typeof BackupNotificationsEmailStorageLimit];
7269
+ export declare const BackupNotificationsEmailStorageLimit: {
7270
+ readonly NUMBER_0: 0;
7271
+ readonly NUMBER_1: 1;
7272
+ };
7273
+ /**
7274
+ * General backup email notices
7275
+ */
7276
+ export declare type BackupNotificationsEmailGeneralNotifications = typeof BackupNotificationsEmailGeneralNotifications[keyof typeof BackupNotificationsEmailGeneralNotifications];
7277
+ export declare const BackupNotificationsEmailGeneralNotifications: {
7278
+ readonly NUMBER_0: 0;
7279
+ readonly NUMBER_1: 1;
7280
+ };
7281
+ /**
7282
+ * Notify on failed backups
7283
+ */
7284
+ export declare type BackupNotificationsEmailFailedBackups = typeof BackupNotificationsEmailFailedBackups[keyof typeof BackupNotificationsEmailFailedBackups];
7285
+ export declare const BackupNotificationsEmailFailedBackups: {
7286
+ readonly NUMBER_0: 0;
7287
+ readonly NUMBER_1: 1;
7288
+ };
7289
+ /**
7290
+ * Email notification
7291
+ */
7292
+ export interface BackupNotificationsEmail {
7293
+ /** Notify on failed backups */
7294
+ failed_backups: BackupNotificationsEmailFailedBackups;
7295
+ /** General backup email notices */
7296
+ general_notifications: BackupNotificationsEmailGeneralNotifications;
7297
+ /** Notify when approaching storage limit */
7298
+ storage_limit: BackupNotificationsEmailStorageLimit;
7299
+ /** Notify on successful backups */
7300
+ successful_backups: BackupNotificationsEmailSuccessfulBackups;
7301
+ }
6994
7302
  /**
6995
7303
  * Which character set to use for the autorespond email content
6996
7304
  */
@@ -9422,6 +9730,8 @@ export interface PerformanceScanResultItemModel {
9422
9730
  /** @nullable */
9423
9731
  performance_score?: number | null;
9424
9732
  /** @nullable */
9733
+ result_url?: string | null;
9734
+ /** @nullable */
9425
9735
  seo_score?: number | null;
9426
9736
  /** @nullable */
9427
9737
  speed_index?: number | null;