@newfold/huapi-js 2.1866.0 → 2.1893.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.1866.0
6
+ * OpenAPI spec version: 1.1893.0
7
7
  */
8
8
  export declare type SshKeyListV4200RowsItem = {
9
9
  authorize?: boolean;
@@ -268,6 +268,12 @@ export declare type SiteMalwareStatusV2200 = {
268
268
  */
269
269
  scanner_state?: string | null;
270
270
  };
271
+ export declare type SitesDomainsV2200 = {
272
+ domains: SitesDomainsV2200DomainsItem[];
273
+ limit?: number;
274
+ page?: number;
275
+ total?: number;
276
+ };
271
277
  /**
272
278
  * Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
273
279
  * @nullable
@@ -404,26 +410,9 @@ export declare type SitesDomainsV2200DomainsItem = {
404
410
  */
405
411
  used_entri?: number | null;
406
412
  };
407
- export declare type SitesDomainsV2200 = {
408
- domains: SitesDomainsV2200DomainsItem[];
409
- limit?: number;
410
- page?: number;
411
- total?: number;
412
- };
413
413
  export declare type SitesDomainsV2Params = {
414
414
  scan?: boolean;
415
415
  };
416
- export declare type SitesListV2200 = {
417
- items?: SitesListV2200ItemsItem[];
418
- /** page size */
419
- limit?: number;
420
- /** current page number */
421
- page?: number;
422
- /** total number of pages */
423
- pages?: number;
424
- /** total number of sites returned */
425
- total?: number;
426
- };
427
416
  /**
428
417
  * @nullable
429
418
  */
@@ -586,6 +575,17 @@ export declare type SitesListV2200ItemsItem = {
586
575
  */
587
576
  version_ptr?: string | null;
588
577
  };
578
+ export declare type SitesListV2200 = {
579
+ items?: SitesListV2200ItemsItem[];
580
+ /** page size */
581
+ limit?: number;
582
+ /** current page number */
583
+ page?: number;
584
+ /** total number of pages */
585
+ pages?: number;
586
+ /** total number of sites returned */
587
+ total?: number;
588
+ };
589
589
  export declare type SshKeyV2200 = {
590
590
  deleted?: number;
591
591
  key_name?: string;
@@ -1290,10 +1290,6 @@ export declare type UserHostingOverviewParams = {
1290
1290
  */
1291
1291
  limit?: number;
1292
1292
  };
1293
- export declare type UserHosting200 = {
1294
- /** Information for the paginated hosting accounts */
1295
- rows?: UserHosting200RowsItem[];
1296
- };
1297
1293
  /**
1298
1294
  * Usage statistics for staging sites
1299
1295
  * @nullable
@@ -1315,6 +1311,70 @@ export declare type UserHosting200RowsItemUsedStage = {
1315
1311
  */
1316
1312
  workers?: number | null;
1317
1313
  } | null;
1314
+ export declare type UserHosting200RowsItem = {
1315
+ /** Additional information about the account */
1316
+ account_info?: UserHosting200RowsItemAccountInfo;
1317
+ /** HAL Account back_reference, used to link to the product instance */
1318
+ back_reference?: string;
1319
+ /**
1320
+ * Information from the billing system about this hosting account
1321
+ * @nullable
1322
+ */
1323
+ billing?: UserHosting200RowsItemBilling;
1324
+ /**
1325
+ * Capability sites associated with the account
1326
+ * @nullable
1327
+ */
1328
+ capability_sites?: string | null;
1329
+ /**
1330
+ * Feature set name ex: hosting_40s
1331
+ * @nullable
1332
+ */
1333
+ feature_set?: string | null;
1334
+ /** Whether the product associated with this hosting account has panel mail (True) or not (False) */
1335
+ has_panel_mail?: boolean;
1336
+ /** Whether the product associated with this hosting account can be upgraded (True) or not (False) */
1337
+ is_upgradeable?: boolean;
1338
+ /**
1339
+ * Account limits
1340
+ * @nullable
1341
+ */
1342
+ limit?: UserHosting200RowsItemLimit;
1343
+ /**
1344
+ * Remote limits for the account
1345
+ * @nullable
1346
+ */
1347
+ limit_remote?: UserHosting200RowsItemLimitRemote;
1348
+ /**
1349
+ * Package name
1350
+ * @nullable
1351
+ */
1352
+ package?: string | null;
1353
+ /**
1354
+ * Control panel type
1355
+ * @nullable
1356
+ */
1357
+ panel?: string | null;
1358
+ /**
1359
+ * Number of sites
1360
+ * @nullable
1361
+ */
1362
+ sites?: number | null;
1363
+ /**
1364
+ * Usage statistics for non-staging sites
1365
+ * @nullable
1366
+ */
1367
+ used?: UserHosting200RowsItemUsed;
1368
+ /**
1369
+ * Usage statistics for staging sites
1370
+ * @nullable
1371
+ */
1372
+ used_stage?: UserHosting200RowsItemUsedStage;
1373
+ };
1374
+ export declare type UserHosting200 = {
1375
+ /** Information for the paginated hosting accounts */
1376
+ rows?: UserHosting200RowsItem[];
1377
+ };
1318
1378
  /**
1319
1379
  * Usage statistics for non-staging sites
1320
1380
  * @nullable
@@ -1429,66 +1489,6 @@ export declare type UserHosting200RowsItemBilling = {
1429
1489
  */
1430
1490
  prod_name?: string | null;
1431
1491
  } | null;
1432
- export declare type UserHosting200RowsItem = {
1433
- /** Additional information about the account */
1434
- account_info?: UserHosting200RowsItemAccountInfo;
1435
- /** HAL Account back_reference, used to link to the product instance */
1436
- back_reference?: string;
1437
- /**
1438
- * Information from the billing system about this hosting account
1439
- * @nullable
1440
- */
1441
- billing?: UserHosting200RowsItemBilling;
1442
- /**
1443
- * Capability sites associated with the account
1444
- * @nullable
1445
- */
1446
- capability_sites?: string | null;
1447
- /**
1448
- * Feature set name ex: hosting_40s
1449
- * @nullable
1450
- */
1451
- feature_set?: string | null;
1452
- /** Whether the product associated with this hosting account has panel mail (True) or not (False) */
1453
- has_panel_mail?: boolean;
1454
- /** Whether the product associated with this hosting account can be upgraded (True) or not (False) */
1455
- is_upgradeable?: boolean;
1456
- /**
1457
- * Account limits
1458
- * @nullable
1459
- */
1460
- limit?: UserHosting200RowsItemLimit;
1461
- /**
1462
- * Remote limits for the account
1463
- * @nullable
1464
- */
1465
- limit_remote?: UserHosting200RowsItemLimitRemote;
1466
- /**
1467
- * Package name
1468
- * @nullable
1469
- */
1470
- package?: string | null;
1471
- /**
1472
- * Control panel type
1473
- * @nullable
1474
- */
1475
- panel?: string | null;
1476
- /**
1477
- * Number of sites
1478
- * @nullable
1479
- */
1480
- sites?: number | null;
1481
- /**
1482
- * Usage statistics for non-staging sites
1483
- * @nullable
1484
- */
1485
- used?: UserHosting200RowsItemUsed;
1486
- /**
1487
- * Usage statistics for staging sites
1488
- * @nullable
1489
- */
1490
- used_stage?: UserHosting200RowsItemUsedStage;
1491
- };
1492
1492
  /**
1493
1493
  * Region information for the account
1494
1494
  * @nullable
@@ -2364,6 +2364,18 @@ export declare type SitesMetricDimensions200DimensionsVisitorAsnItem = {
2364
2364
  dimension?: SitesMetricDimensions200DimensionsVisitorAsnItemDimension;
2365
2365
  timestamp?: number;
2366
2366
  };
2367
+ export declare type SitesMetricDimensions200Dimensions = {
2368
+ http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
2369
+ http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
2370
+ http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
2371
+ http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
2372
+ page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
2373
+ page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
2374
+ visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
2375
+ visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
2376
+ visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
2377
+ wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
2378
+ };
2367
2379
  export declare type SitesMetricDimensions200DimensionsPageRendererItemDimension = {
2368
2380
  [key: string]: number;
2369
2381
  };
@@ -2406,18 +2418,6 @@ export declare type SitesMetricDimensions200DimensionsHttpHostItem = {
2406
2418
  dimension?: SitesMetricDimensions200DimensionsHttpHostItemDimension;
2407
2419
  timestamp?: number;
2408
2420
  };
2409
- export declare type SitesMetricDimensions200Dimensions = {
2410
- http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
2411
- http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
2412
- http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
2413
- http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
2414
- page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
2415
- page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
2416
- visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
2417
- visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
2418
- visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
2419
- wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
2420
- };
2421
2421
  export declare type SitesMetricDimensionsParams = {
2422
2422
  start?: string;
2423
2423
  end?: string;
@@ -2827,6 +2827,10 @@ export declare type SitesAtomicMetrics200Views = {
2827
2827
  last_n_days?: SitesAtomicMetrics200ViewsLastNDaysItem[];
2828
2828
  total_hits?: number;
2829
2829
  };
2830
+ export declare type SitesAtomicMetrics200 = {
2831
+ raw?: SitesAtomicMetrics200Raw;
2832
+ views?: SitesAtomicMetrics200Views;
2833
+ };
2830
2834
  export declare type SitesAtomicMetrics200RawPeriodsItemDimension = {
2831
2835
  [key: string]: string | number | number;
2832
2836
  };
@@ -2844,10 +2848,6 @@ export declare type SitesAtomicMetrics200Raw = {
2844
2848
  periods?: SitesAtomicMetrics200RawPeriodsItem[];
2845
2849
  resolution?: number;
2846
2850
  };
2847
- export declare type SitesAtomicMetrics200 = {
2848
- raw?: SitesAtomicMetrics200Raw;
2849
- views?: SitesAtomicMetrics200Views;
2850
- };
2851
2851
  export declare type SitesAtomicMetricsParams = {
2852
2852
  metric?: string[];
2853
2853
  dimension?: string[];
@@ -2940,56 +2940,6 @@ export declare type SitesInfo200Staging = {
2940
2940
  /** A list of staging sites of the current site */
2941
2941
  sites?: number[];
2942
2942
  } | 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
2943
  /**
2994
2944
  * @nullable
2995
2945
  */
@@ -3088,6 +3038,56 @@ export declare type SitesInfo200 = {
3088
3038
  /** @nullable */
3089
3039
  wp_multi_site?: SitesInfo200WpMultiSite;
3090
3040
  };
3041
+ export declare type SitesInfo200ResourcesStorage = {
3042
+ /** @nullable */
3043
+ available?: number | null;
3044
+ /** @nullable */
3045
+ total?: number | null;
3046
+ unit?: string;
3047
+ /** @nullable */
3048
+ used?: number | null;
3049
+ };
3050
+ export declare type SitesInfo200Resources = {
3051
+ storage?: SitesInfo200ResourcesStorage;
3052
+ /** @nullable */
3053
+ workers?: number | null;
3054
+ };
3055
+ /**
3056
+ * @nullable
3057
+ */
3058
+ export declare type SitesInfo200PendingUrlData = {
3059
+ /**
3060
+ * The root domain name
3061
+ * @nullable
3062
+ */
3063
+ base_domain?: string | null;
3064
+ /**
3065
+ * The Fully Qualified Domain Name (FQDN)
3066
+ * @nullable
3067
+ */
3068
+ domain?: string | null;
3069
+ /**
3070
+ * The current pending_url's HAL Domain ID
3071
+ * @nullable
3072
+ */
3073
+ domain_id?: number | null;
3074
+ /** @nullable */
3075
+ error?: string | null;
3076
+ /** Flag indicating whether the pending_url is temporary or not */
3077
+ is_temp?: boolean;
3078
+ /**
3079
+ * Flag indicating whether the url_sync job has run out of attempts
3080
+ * @nullable
3081
+ */
3082
+ job_failed?: boolean | null;
3083
+ /** @nullable */
3084
+ stage?: string | null;
3085
+ /**
3086
+ * Timestamp for when we will update the WP url, regardless of active sessions
3087
+ * @nullable
3088
+ */
3089
+ wp_session?: string | null;
3090
+ } | null;
3091
3091
  /**
3092
3092
  * Links
3093
3093
  * @nullable
@@ -3168,6 +3168,26 @@ export declare type PublicImages200RowsItem = {
3168
3168
  * @nullable
3169
3169
  */
3170
3170
  lts?: string | null;
3171
+ /**
3172
+ * Image Link
3173
+ * @nullable
3174
+ */
3175
+ manage_link?: string | null;
3176
+ /**
3177
+ * Minimum cpus required to build on this image
3178
+ * @nullable
3179
+ */
3180
+ min_cpus?: string | null;
3181
+ /**
3182
+ * Minimum disk space (in Gb) required to build on this image
3183
+ * @nullable
3184
+ */
3185
+ min_disk?: string | null;
3186
+ /**
3187
+ * Minimum ram (in Gb) required to build on this image
3188
+ * @nullable
3189
+ */
3190
+ min_ram?: string | null;
3171
3191
  /** Image Name */
3172
3192
  name?: string;
3173
3193
  /**
@@ -3180,6 +3200,8 @@ export declare type PublicImages200RowsItem = {
3180
3200
  * @nullable
3181
3201
  */
3182
3202
  os_version?: string | null;
3203
+ /** The readme associated with the image */
3204
+ readme?: string;
3183
3205
  /**
3184
3206
  * Image Software
3185
3207
  * @nullable
@@ -3190,6 +3212,11 @@ export declare type PublicImages200RowsItem = {
3190
3212
  * @nullable
3191
3213
  */
3192
3214
  title?: string | null;
3215
+ /**
3216
+ * Image Type
3217
+ * @nullable
3218
+ */
3219
+ type?: string | null;
3193
3220
  /**
3194
3221
  * User image
3195
3222
  * @nullable
@@ -3556,6 +3583,9 @@ export declare type HostingRedirects200Item = {
3556
3583
  url?: string;
3557
3584
  wildcard?: boolean;
3558
3585
  };
3586
+ export declare type ProductLicenseDetails200 = {
3587
+ wpsolution?: ProductLicenseDetails200Wpsolution;
3588
+ };
3559
3589
  export declare type ProductLicenseDetails200WpsolutionCreatorItem = {
3560
3590
  expirationDate?: string;
3561
3591
  prodInstId?: string;
@@ -3569,9 +3599,6 @@ export declare type ProductLicenseDetails200Wpsolution = {
3569
3599
  creator?: ProductLicenseDetails200WpsolutionCreatorItem[];
3570
3600
  total?: number;
3571
3601
  };
3572
- export declare type ProductLicenseDetails200 = {
3573
- wpsolution?: ProductLicenseDetails200Wpsolution;
3574
- };
3575
3602
  export declare type ProductLicenseDetailsProductName = typeof ProductLicenseDetailsProductName[keyof typeof ProductLicenseDetailsProductName];
3576
3603
  export declare const ProductLicenseDetailsProductName: {
3577
3604
  readonly wpsolution: "wpsolution";
@@ -4527,12 +4554,6 @@ export declare type HostingEmailFiltersAddBody = {
4527
4554
  /** list of rules to be applied to the filter */
4528
4555
  rules?: HostingEmailFiltersAddBodyRulesItem[];
4529
4556
  };
4530
- export declare type HostingEmailFiltersList200 = {
4531
- /** The number of filters */
4532
- count?: number;
4533
- /** List of filters */
4534
- filters?: HostingEmailFiltersList200FiltersItem[];
4535
- };
4536
4557
  export declare type HostingEmailFiltersList200FiltersItemRulesItem = {
4537
4558
  match?: FilterRuleMatch;
4538
4559
  opt?: FilterRuleOpt;
@@ -4563,6 +4584,12 @@ export declare type HostingEmailFiltersList200FiltersItem = {
4563
4584
  /** Whether the filter is unescaped */
4564
4585
  unescaped?: boolean;
4565
4586
  };
4587
+ export declare type HostingEmailFiltersList200 = {
4588
+ /** The number of filters */
4589
+ count?: number;
4590
+ /** List of filters */
4591
+ filters?: HostingEmailFiltersList200FiltersItem[];
4592
+ };
4566
4593
  export declare type HostingEmailFiltersListParams = {
4567
4594
  /**
4568
4595
  * The email account address to query filters by
@@ -5426,6 +5453,8 @@ export declare type HostingAdvancedServerStatusBody = {
5426
5453
  action?: string;
5427
5454
  /** Admin email for the site user */
5428
5455
  admin_email?: string;
5456
+ /** true to force a rebuild (default behavior), false to not force rebuild - only applicable to action:rebuild */
5457
+ force_full_rebuild?: boolean;
5429
5458
  /** The hostname to be set for the server - only applicable for the 'sethostname' action */
5430
5459
  hostname?: string;
5431
5460
  /** ID of the image to rebuild with - only applicable for the 'rebuild' action */
@@ -5499,6 +5528,11 @@ export declare type HostingAdvancedImages200ImagesItem = {
5499
5528
  current?: number | null;
5500
5529
  /** The date and time the image was added */
5501
5530
  date_added?: string;
5531
+ /**
5532
+ * Image Description
5533
+ * @nullable
5534
+ */
5535
+ description?: string | null;
5502
5536
  /**
5503
5537
  * 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
5504
5538
  * @nullable
@@ -5516,14 +5550,46 @@ export declare type HostingAdvancedImages200ImagesItem = {
5516
5550
  * @nullable
5517
5551
  */
5518
5552
  lts?: number | null;
5553
+ /**
5554
+ * Manage Link
5555
+ * @nullable
5556
+ */
5557
+ manage_link?: string | null;
5558
+ /**
5559
+ * Minimum cpus required to build on this image
5560
+ * @nullable
5561
+ */
5562
+ min_cpus?: string | null;
5563
+ /**
5564
+ * Minimum disk space (in Gb) required to build on this image
5565
+ * @nullable
5566
+ */
5567
+ min_disk?: string | null;
5568
+ /**
5569
+ * Minimum ram (in Gb) required to build on this image
5570
+ * @nullable
5571
+ */
5572
+ min_ram?: string | null;
5519
5573
  /** The full image name */
5520
5574
  name?: string;
5521
5575
  /** The name of the operating system included on the image */
5522
5576
  os_name?: string;
5523
5577
  /** The version of the operating system included on the image */
5524
5578
  os_version?: string;
5579
+ /** The readme associated with the image */
5580
+ readme?: string;
5525
5581
  /** The software included on the image */
5526
5582
  software?: string;
5583
+ /**
5584
+ * Image Title
5585
+ * @nullable
5586
+ */
5587
+ title?: string | null;
5588
+ /**
5589
+ * Image Type
5590
+ * @nullable
5591
+ */
5592
+ type?: string | null;
5527
5593
  /**
5528
5594
  * Whether this image can be rebuilt to without a docker site
5529
5595
  * @nullable
@@ -5542,6 +5608,10 @@ export declare type HostingAdvancedImagesParams = {
5542
5608
  * Maximum number of items to return. If not provided, returns all items from start index
5543
5609
  */
5544
5610
  limit?: number;
5611
+ /**
5612
+ * Which image to return information about
5613
+ */
5614
+ image_id?: number;
5545
5615
  };
5546
5616
  export declare type HostingAdvancedDomainServices200 = {
5547
5617
  success?: number;
@@ -5628,22 +5698,6 @@ export declare type ActivityLog200 = {
5628
5698
  export declare type ActivityLogParams = {
5629
5699
  days?: number;
5630
5700
  };
5631
- export declare type HostingAccount200ResourcesWorkers = {
5632
- /** @nullable */
5633
- available?: number | null;
5634
- /** @nullable */
5635
- total?: number | null;
5636
- /** @nullable */
5637
- used?: number | null;
5638
- };
5639
- /**
5640
- * @nullable
5641
- */
5642
- export declare type HostingAccount200Resources = {
5643
- staging?: HostingAccount200ResourcesStaging;
5644
- storage?: HostingAccount200ResourcesStorage;
5645
- workers?: HostingAccount200ResourcesWorkers;
5646
- } | null;
5647
5701
  export declare type HostingAccount200 = {
5648
5702
  account_id?: string;
5649
5703
  account_limits?: HostingAccount200AccountLimits;
@@ -5666,6 +5720,14 @@ export declare type HostingAccount200 = {
5666
5720
  type?: string;
5667
5721
  username?: string;
5668
5722
  };
5723
+ export declare type HostingAccount200ResourcesWorkers = {
5724
+ /** @nullable */
5725
+ available?: number | null;
5726
+ /** @nullable */
5727
+ total?: number | null;
5728
+ /** @nullable */
5729
+ used?: number | null;
5730
+ };
5669
5731
  export declare type HostingAccount200ResourcesStorage = {
5670
5732
  /** @nullable */
5671
5733
  available?: number | null;
@@ -5696,6 +5758,14 @@ export declare type HostingAccount200ResourcesStaging = {
5696
5758
  storage?: HostingAccount200ResourcesStagingStorage;
5697
5759
  workers?: HostingAccount200ResourcesStagingWorkers;
5698
5760
  };
5761
+ /**
5762
+ * @nullable
5763
+ */
5764
+ export declare type HostingAccount200Resources = {
5765
+ staging?: HostingAccount200ResourcesStaging;
5766
+ storage?: HostingAccount200ResourcesStorage;
5767
+ workers?: HostingAccount200ResourcesWorkers;
5768
+ } | null;
5699
5769
  export declare type HostingAccount200Billing = {
5700
5770
  prod_code?: string;
5701
5771
  product_name?: string;
@@ -6235,6 +6305,123 @@ export declare type AddonsCloudflareExternalNsCheckParams = {
6235
6305
  export declare type AddonsCloudflare200 = {
6236
6306
  status?: string;
6237
6307
  };
6308
+ export declare type BackupPrefSetStatus200 = {
6309
+ site_id?: number;
6310
+ status?: string;
6311
+ success?: number;
6312
+ };
6313
+ /**
6314
+ * enable or disable scheduled backups for the site
6315
+ */
6316
+ export declare type BackupPrefSetStatusBodyStatus = typeof BackupPrefSetStatusBodyStatus[keyof typeof BackupPrefSetStatusBodyStatus];
6317
+ export declare const BackupPrefSetStatusBodyStatus: {
6318
+ readonly enable: "enable";
6319
+ readonly disable: "disable";
6320
+ };
6321
+ export declare type BackupPrefSetStatusBody = {
6322
+ /** enable or disable scheduled backups for the site */
6323
+ status: BackupPrefSetStatusBodyStatus;
6324
+ };
6325
+ export declare type BackupSettingsUpdate200 = {
6326
+ site_id?: number;
6327
+ success?: number;
6328
+ };
6329
+ export declare type BackupSettingsUpdateBody = {
6330
+ backup_timezone?: string;
6331
+ frequency?: string;
6332
+ notifications?: BackupNotificationsEmail;
6333
+ retention_days?: string;
6334
+ /**
6335
+ * Optional. For weekly: Monday = 1, Tuesday = 2, etc. For monthly: day of the month. Omit or null when frequency is daily.
6336
+ * @nullable
6337
+ */
6338
+ schedule_day?: string | null;
6339
+ start_hours?: string;
6340
+ start_mins?: string;
6341
+ };
6342
+ export declare type BackupSettingsCreate200 = {
6343
+ preference_id?: number;
6344
+ site_id?: number;
6345
+ success?: number;
6346
+ };
6347
+ export declare type BackupSettingsCreateBody = {
6348
+ /**
6349
+ * IANA timezone (e.g. America/New_York) passed to HAL backup_pref_create.
6350
+ * @nullable
6351
+ */
6352
+ backup_timezone?: string | null;
6353
+ /** @nullable */
6354
+ frequency?: string | null;
6355
+ notifications?: BackupNotificationsEmail;
6356
+ retention_days: string;
6357
+ /**
6358
+ * Optional. For weekly: Monday = 1, Tuesday = 2, etc. For monthly: day of the month. When frequency is daily, HUAPI sends null for HAL.
6359
+ * @nullable
6360
+ */
6361
+ schedule_day?: string | null;
6362
+ start_hours: string;
6363
+ start_mins: string;
6364
+ };
6365
+ /**
6366
+ * @nullable
6367
+ */
6368
+ export declare type BackupSettings200NotifyPolicy = {
6369
+ [key: string]: unknown;
6370
+ } | null;
6371
+ /**
6372
+ * Email notification flags (0 = off, 1 = on).
6373
+ * @nullable
6374
+ */
6375
+ export declare type BackupSettings200Notifications = BackupNotificationsEmail | null;
6376
+ /**
6377
+ * @nullable
6378
+ */
6379
+ export declare type BackupSettings200BackupScopeConfig = {
6380
+ [key: string]: unknown;
6381
+ } | null;
6382
+ export declare type BackupSettings200 = {
6383
+ /** @nullable */
6384
+ backup_scope_config?: BackupSettings200BackupScopeConfig;
6385
+ /** @nullable */
6386
+ backup_subscription_id?: string | null;
6387
+ /** @nullable */
6388
+ backup_time_local?: string | null;
6389
+ /** @nullable */
6390
+ frequency?: string | null;
6391
+ /** @nullable */
6392
+ id?: number | null;
6393
+ /** @nullable */
6394
+ next_run_at_utc?: string | null;
6395
+ /**
6396
+ * Email notification flags (0 = off, 1 = on).
6397
+ * @nullable
6398
+ */
6399
+ notifications?: BackupSettings200Notifications;
6400
+ /** @nullable */
6401
+ notify_enabled?: boolean | null;
6402
+ /** @nullable */
6403
+ notify_policy?: BackupSettings200NotifyPolicy;
6404
+ /** @nullable */
6405
+ provider_resource_id?: string | null;
6406
+ /** @nullable */
6407
+ retention_days?: number | null;
6408
+ /**
6409
+ * Scheduled day label from HAL (e.g. '14th' for monthly). If HAL sends 'undef', HUAPI normalizes it to null.
6410
+ * @nullable
6411
+ */
6412
+ schedule_day?: string | null;
6413
+ /**
6414
+ * active, paused, suspended, site_deleted
6415
+ * @nullable
6416
+ */
6417
+ status?: string | null;
6418
+ /** @nullable */
6419
+ timezone?: string | null;
6420
+ };
6421
+ export declare type BackupMeta200 = {
6422
+ account?: BackupMeta200Account;
6423
+ site?: BackupMeta200Site;
6424
+ };
6238
6425
  /**
6239
6426
  * @nullable
6240
6427
  */
@@ -6305,10 +6492,6 @@ export declare type BackupMeta200Account = {
6305
6492
  /** @nullable */
6306
6493
  cbs_last_restore_timestamp?: string | null;
6307
6494
  };
6308
- export declare type BackupMeta200 = {
6309
- account?: BackupMeta200Account;
6310
- site?: BackupMeta200Site;
6311
- };
6312
6495
  export declare type BackupMetaParams = {
6313
6496
  site_id?: number;
6314
6497
  };
@@ -6651,12 +6834,6 @@ export declare type AccountHostingListParams = {
6651
6834
  */
6652
6835
  server_type?: string[];
6653
6836
  };
6654
- export declare type AccountFeatures200 = {
6655
- /** Feature information for the paginated product instances */
6656
- rows?: AccountFeatures200RowsItem[];
6657
- /** Total number of product instance IDs available to that account */
6658
- total_count?: number;
6659
- };
6660
6837
  /**
6661
6838
  * Usage statistics
6662
6839
  * @nullable
@@ -6917,6 +7094,12 @@ export declare type AccountFeatures200RowsItem = {
6917
7094
  */
6918
7095
  used?: AccountFeatures200RowsItemUsed;
6919
7096
  };
7097
+ export declare type AccountFeatures200 = {
7098
+ /** Feature information for the paginated product instances */
7099
+ rows?: AccountFeatures200RowsItem[];
7100
+ /** Total number of product instance IDs available to that account */
7101
+ total_count?: number;
7102
+ };
6920
7103
  export declare type AccountFeaturesParams = {
6921
7104
  /**
6922
7105
  * Starting index for pagination (default: 0)
@@ -6979,6 +7162,51 @@ export declare type AccountEventListParams = {
6979
7162
  */
6980
7163
  date_last?: string;
6981
7164
  };
7165
+ /**
7166
+ * Notify on successful backups
7167
+ */
7168
+ export declare type BackupNotificationsEmailSuccessfulBackups = typeof BackupNotificationsEmailSuccessfulBackups[keyof typeof BackupNotificationsEmailSuccessfulBackups];
7169
+ export declare const BackupNotificationsEmailSuccessfulBackups: {
7170
+ readonly NUMBER_0: 0;
7171
+ readonly NUMBER_1: 1;
7172
+ };
7173
+ /**
7174
+ * Notify when approaching storage limit
7175
+ */
7176
+ export declare type BackupNotificationsEmailStorageLimit = typeof BackupNotificationsEmailStorageLimit[keyof typeof BackupNotificationsEmailStorageLimit];
7177
+ export declare const BackupNotificationsEmailStorageLimit: {
7178
+ readonly NUMBER_0: 0;
7179
+ readonly NUMBER_1: 1;
7180
+ };
7181
+ /**
7182
+ * General backup email notices
7183
+ */
7184
+ export declare type BackupNotificationsEmailGeneralNotifications = typeof BackupNotificationsEmailGeneralNotifications[keyof typeof BackupNotificationsEmailGeneralNotifications];
7185
+ export declare const BackupNotificationsEmailGeneralNotifications: {
7186
+ readonly NUMBER_0: 0;
7187
+ readonly NUMBER_1: 1;
7188
+ };
7189
+ /**
7190
+ * Notify on failed backups
7191
+ */
7192
+ export declare type BackupNotificationsEmailFailedBackups = typeof BackupNotificationsEmailFailedBackups[keyof typeof BackupNotificationsEmailFailedBackups];
7193
+ export declare const BackupNotificationsEmailFailedBackups: {
7194
+ readonly NUMBER_0: 0;
7195
+ readonly NUMBER_1: 1;
7196
+ };
7197
+ /**
7198
+ * Email notification
7199
+ */
7200
+ export interface BackupNotificationsEmail {
7201
+ /** Notify on failed backups */
7202
+ failed_backups: BackupNotificationsEmailFailedBackups;
7203
+ /** General backup email notices */
7204
+ general_notifications: BackupNotificationsEmailGeneralNotifications;
7205
+ /** Notify when approaching storage limit */
7206
+ storage_limit: BackupNotificationsEmailStorageLimit;
7207
+ /** Notify on successful backups */
7208
+ successful_backups: BackupNotificationsEmailSuccessfulBackups;
7209
+ }
6982
7210
  /**
6983
7211
  * Which character set to use for the autorespond email content
6984
7212
  */
@@ -9102,6 +9330,26 @@ export interface HostingLicenseModel {
9102
9330
  /** The subtype of the license */
9103
9331
  subtype?: string;
9104
9332
  }
9333
+ /**
9334
+ * @nullable
9335
+ */
9336
+ export declare type SiteOptionsModel = {
9337
+ /**
9338
+ * The AI generation prompt stored in WordPress options
9339
+ * @nullable
9340
+ */
9341
+ nfd_origin_prompt?: string | null;
9342
+ /**
9343
+ * WordPress site description (blogdescription option)
9344
+ * @nullable
9345
+ */
9346
+ site_description?: string | null;
9347
+ /**
9348
+ * WordPress site title (blogname option)
9349
+ * @nullable
9350
+ */
9351
+ site_title?: string | null;
9352
+ } | null;
9105
9353
  /**
9106
9354
  * @nullable
9107
9355
  */
@@ -9190,6 +9438,11 @@ export declare type SiteInfoResponseModelV2Pagespeed = {
9190
9438
  performance?: string;
9191
9439
  strategy?: string;
9192
9440
  } | null;
9441
+ /**
9442
+ * WordPress options (blogname, blogdescription, nfd_origin_prompt)
9443
+ * @nullable
9444
+ */
9445
+ export declare type SiteInfoResponseModelV2Options = SiteOptionsModel | null;
9193
9446
  /**
9194
9447
  * Job ids for the site
9195
9448
  * @nullable
@@ -9237,6 +9490,8 @@ export interface SiteInfoResponseModelV2 {
9237
9490
  edge_cache?: boolean;
9238
9491
  /** @nullable */
9239
9492
  handler_404?: string | null;
9493
+ /** Whether the site has WooCommerce plugin active */
9494
+ has_woocommerce?: boolean;
9240
9495
  id?: string;
9241
9496
  /** @nullable */
9242
9497
  installed_id?: string | null;
@@ -9266,6 +9521,11 @@ export interface SiteInfoResponseModelV2 {
9266
9521
  * @nullable
9267
9522
  */
9268
9523
  onboarding_call_clicked?: boolean | null;
9524
+ /**
9525
+ * WordPress options (blogname, blogdescription, nfd_origin_prompt)
9526
+ * @nullable
9527
+ */
9528
+ options?: SiteInfoResponseModelV2Options;
9269
9529
  /** @nullable */
9270
9530
  pagespeed?: SiteInfoResponseModelV2Pagespeed;
9271
9531
  /**