@newfold/huapi-js 2.1893.0 → 2.1900.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.1893.0
6
+ * OpenAPI spec version: 1.1900.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";
@@ -1290,6 +1330,10 @@ export declare type UserHostingOverviewParams = {
1290
1330
  */
1291
1331
  limit?: number;
1292
1332
  };
1333
+ export declare type UserHosting200 = {
1334
+ /** Information for the paginated hosting accounts */
1335
+ rows?: UserHosting200RowsItem[];
1336
+ };
1293
1337
  /**
1294
1338
  * Usage statistics for staging sites
1295
1339
  * @nullable
@@ -1311,70 +1355,6 @@ export declare type UserHosting200RowsItemUsedStage = {
1311
1355
  */
1312
1356
  workers?: number | null;
1313
1357
  } | 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
- };
1378
1358
  /**
1379
1359
  * Usage statistics for non-staging sites
1380
1360
  * @nullable
@@ -1489,6 +1469,66 @@ export declare type UserHosting200RowsItemBilling = {
1489
1469
  */
1490
1470
  prod_name?: string | null;
1491
1471
  } | null;
1472
+ export declare type UserHosting200RowsItem = {
1473
+ /** Additional information about the account */
1474
+ account_info?: UserHosting200RowsItemAccountInfo;
1475
+ /** HAL Account back_reference, used to link to the product instance */
1476
+ back_reference?: string;
1477
+ /**
1478
+ * Information from the billing system about this hosting account
1479
+ * @nullable
1480
+ */
1481
+ billing?: UserHosting200RowsItemBilling;
1482
+ /**
1483
+ * Capability sites associated with the account
1484
+ * @nullable
1485
+ */
1486
+ capability_sites?: string | null;
1487
+ /**
1488
+ * Feature set name ex: hosting_40s
1489
+ * @nullable
1490
+ */
1491
+ feature_set?: string | null;
1492
+ /** Whether the product associated with this hosting account has panel mail (True) or not (False) */
1493
+ has_panel_mail?: boolean;
1494
+ /** Whether the product associated with this hosting account can be upgraded (True) or not (False) */
1495
+ is_upgradeable?: boolean;
1496
+ /**
1497
+ * Account limits
1498
+ * @nullable
1499
+ */
1500
+ limit?: UserHosting200RowsItemLimit;
1501
+ /**
1502
+ * Remote limits for the account
1503
+ * @nullable
1504
+ */
1505
+ limit_remote?: UserHosting200RowsItemLimitRemote;
1506
+ /**
1507
+ * Package name
1508
+ * @nullable
1509
+ */
1510
+ package?: string | null;
1511
+ /**
1512
+ * Control panel type
1513
+ * @nullable
1514
+ */
1515
+ panel?: string | null;
1516
+ /**
1517
+ * Number of sites
1518
+ * @nullable
1519
+ */
1520
+ sites?: number | null;
1521
+ /**
1522
+ * Usage statistics for non-staging sites
1523
+ * @nullable
1524
+ */
1525
+ used?: UserHosting200RowsItemUsed;
1526
+ /**
1527
+ * Usage statistics for staging sites
1528
+ * @nullable
1529
+ */
1530
+ used_stage?: UserHosting200RowsItemUsedStage;
1531
+ };
1492
1532
  /**
1493
1533
  * Region information for the account
1494
1534
  * @nullable
@@ -2329,13 +2369,6 @@ export declare type SitePendingDomainDelete200 = {
2329
2369
  export declare type SitesOnboardingSteps200 = {
2330
2370
  steps?: SiteOnboardingStepModel[];
2331
2371
  };
2332
- export declare type SitesMetricDimensions200 = {
2333
- date_end?: string;
2334
- date_start?: string;
2335
- dimensions?: SitesMetricDimensions200Dimensions;
2336
- elapsed?: number;
2337
- metric?: string;
2338
- };
2339
2372
  export declare type SitesMetricDimensions200DimensionsWpAdminAjaxActionItemDimension = {
2340
2373
  [key: string]: number;
2341
2374
  };
@@ -2364,18 +2397,6 @@ export declare type SitesMetricDimensions200DimensionsVisitorAsnItem = {
2364
2397
  dimension?: SitesMetricDimensions200DimensionsVisitorAsnItemDimension;
2365
2398
  timestamp?: number;
2366
2399
  };
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
- };
2379
2400
  export declare type SitesMetricDimensions200DimensionsPageRendererItemDimension = {
2380
2401
  [key: string]: number;
2381
2402
  };
@@ -2418,6 +2439,25 @@ export declare type SitesMetricDimensions200DimensionsHttpHostItem = {
2418
2439
  dimension?: SitesMetricDimensions200DimensionsHttpHostItemDimension;
2419
2440
  timestamp?: number;
2420
2441
  };
2442
+ export declare type SitesMetricDimensions200Dimensions = {
2443
+ http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
2444
+ http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
2445
+ http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
2446
+ http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
2447
+ page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
2448
+ page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
2449
+ visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
2450
+ visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
2451
+ visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
2452
+ wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
2453
+ };
2454
+ export declare type SitesMetricDimensions200 = {
2455
+ date_end?: string;
2456
+ date_start?: string;
2457
+ dimensions?: SitesMetricDimensions200Dimensions;
2458
+ elapsed?: number;
2459
+ metric?: string;
2460
+ };
2421
2461
  export declare type SitesMetricDimensionsParams = {
2422
2462
  start?: string;
2423
2463
  end?: string;
@@ -2723,6 +2763,9 @@ export declare type SiteAddonCloudflare400 = {
2723
2763
  export declare type SiteAddonCloudflare200 = {
2724
2764
  addon_id?: number;
2725
2765
  };
2766
+ export declare type SitesBackupsXcitium200 = {
2767
+ website_id?: number;
2768
+ };
2726
2769
  export declare type BackupsJetpackBackup200 = {
2727
2770
  [key: string]: unknown;
2728
2771
  };
@@ -2744,6 +2787,28 @@ export declare type JetpackBackupStatus200 = {
2744
2787
  /** @nullable */
2745
2788
  status?: string | null;
2746
2789
  };
2790
+ export declare type SitesBackupsDetails200Xcitium = {
2791
+ activated?: boolean;
2792
+ /** @nullable */
2793
+ addon_back_reference?: string | null;
2794
+ addon_id?: string;
2795
+ can_upgrade?: boolean;
2796
+ /** @nullable */
2797
+ database_id?: string | null;
2798
+ /** @nullable */
2799
+ disabled?: boolean | null;
2800
+ /** @nullable */
2801
+ over_quota?: boolean | null;
2802
+ /** @nullable */
2803
+ plan_name?: string | null;
2804
+ seats_available?: number;
2805
+ seats_count?: number;
2806
+ status?: boolean;
2807
+ /** @nullable */
2808
+ url?: string | null;
2809
+ /** @nullable */
2810
+ website_id?: string | null;
2811
+ };
2747
2812
  export declare type SitesBackupsDetails200Jetpack = {
2748
2813
  /** @nullable */
2749
2814
  addon_back_reference?: string | null;
@@ -2792,6 +2857,7 @@ export declare type SitesBackupsDetails200Codeguard = {
2792
2857
  export declare type SitesBackupsDetails200 = {
2793
2858
  codeguard?: SitesBackupsDetails200Codeguard;
2794
2859
  jetpack?: SitesBackupsDetails200Jetpack;
2860
+ xcitium?: SitesBackupsDetails200Xcitium;
2795
2861
  };
2796
2862
  export declare type SitesBackupsCodeguard200 = {
2797
2863
  database_id?: number;
@@ -2916,29 +2982,79 @@ export declare type SitesInfo200WpMultiSite = {
2916
2982
  /**
2917
2983
  * @nullable
2918
2984
  */
2919
- export declare type SitesInfo200Staging = {
2985
+ export declare type SitesInfo200Staging = {
2986
+ /**
2987
+ * Applies to staging site only; The id of the current site's parent site
2988
+ * @nullable
2989
+ */
2990
+ parent_site_id?: number | null;
2991
+ /**
2992
+ * Applies to parent site only; The id of the former parent site of the current site
2993
+ * @nullable
2994
+ */
2995
+ promoted_from?: number | null;
2996
+ /**
2997
+ * Applies to staging site only; The id of the parent site of the current site that is being promoted
2998
+ * @nullable
2999
+ */
3000
+ promoting_from?: number | null;
3001
+ /**
3002
+ * Applies to staging site only; The derived status based on promotion ids and jobs
3003
+ * @nullable
3004
+ */
3005
+ promotion_status?: string | null;
3006
+ /** A list of staging sites of the current site */
3007
+ sites?: number[];
3008
+ } | null;
3009
+ export declare type SitesInfo200ResourcesStorage = {
3010
+ /** @nullable */
3011
+ available?: number | null;
3012
+ /** @nullable */
3013
+ total?: number | null;
3014
+ unit?: string;
3015
+ /** @nullable */
3016
+ used?: number | null;
3017
+ };
3018
+ export declare type SitesInfo200Resources = {
3019
+ storage?: SitesInfo200ResourcesStorage;
3020
+ /** @nullable */
3021
+ workers?: number | null;
3022
+ };
3023
+ /**
3024
+ * @nullable
3025
+ */
3026
+ export declare type SitesInfo200PendingUrlData = {
2920
3027
  /**
2921
- * Applies to staging site only; The id of the current site's parent site
3028
+ * The root domain name
2922
3029
  * @nullable
2923
3030
  */
2924
- parent_site_id?: number | null;
3031
+ base_domain?: string | null;
2925
3032
  /**
2926
- * Applies to parent site only; The id of the former parent site of the current site
3033
+ * The Fully Qualified Domain Name (FQDN)
2927
3034
  * @nullable
2928
3035
  */
2929
- promoted_from?: number | null;
3036
+ domain?: string | null;
2930
3037
  /**
2931
- * Applies to staging site only; The id of the parent site of the current site that is being promoted
3038
+ * The current pending_url's HAL Domain ID
2932
3039
  * @nullable
2933
3040
  */
2934
- promoting_from?: number | null;
3041
+ domain_id?: number | null;
3042
+ /** @nullable */
3043
+ error?: string | null;
3044
+ /** Flag indicating whether the pending_url is temporary or not */
3045
+ is_temp?: boolean;
2935
3046
  /**
2936
- * Applies to staging site only; The derived status based on promotion ids and jobs
3047
+ * Flag indicating whether the url_sync job has run out of attempts
2937
3048
  * @nullable
2938
3049
  */
2939
- promotion_status?: string | null;
2940
- /** A list of staging sites of the current site */
2941
- sites?: number[];
3050
+ job_failed?: boolean | null;
3051
+ /** @nullable */
3052
+ stage?: string | null;
3053
+ /**
3054
+ * Timestamp for when we will update the WP url, regardless of active sessions
3055
+ * @nullable
3056
+ */
3057
+ wp_session?: string | null;
2942
3058
  } | null;
2943
3059
  /**
2944
3060
  * @nullable
@@ -3038,56 +3154,6 @@ export declare type SitesInfo200 = {
3038
3154
  /** @nullable */
3039
3155
  wp_multi_site?: SitesInfo200WpMultiSite;
3040
3156
  };
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
3157
  /**
3092
3158
  * Links
3093
3159
  * @nullable
@@ -4554,6 +4620,12 @@ export declare type HostingEmailFiltersAddBody = {
4554
4620
  /** list of rules to be applied to the filter */
4555
4621
  rules?: HostingEmailFiltersAddBodyRulesItem[];
4556
4622
  };
4623
+ export declare type HostingEmailFiltersList200 = {
4624
+ /** The number of filters */
4625
+ count?: number;
4626
+ /** List of filters */
4627
+ filters?: HostingEmailFiltersList200FiltersItem[];
4628
+ };
4557
4629
  export declare type HostingEmailFiltersList200FiltersItemRulesItem = {
4558
4630
  match?: FilterRuleMatch;
4559
4631
  opt?: FilterRuleOpt;
@@ -4584,12 +4656,6 @@ export declare type HostingEmailFiltersList200FiltersItem = {
4584
4656
  /** Whether the filter is unescaped */
4585
4657
  unescaped?: boolean;
4586
4658
  };
4587
- export declare type HostingEmailFiltersList200 = {
4588
- /** The number of filters */
4589
- count?: number;
4590
- /** List of filters */
4591
- filters?: HostingEmailFiltersList200FiltersItem[];
4592
- };
4593
4659
  export declare type HostingEmailFiltersListParams = {
4594
4660
  /**
4595
4661
  * The email account address to query filters by
@@ -5698,28 +5764,6 @@ export declare type ActivityLog200 = {
5698
5764
  export declare type ActivityLogParams = {
5699
5765
  days?: number;
5700
5766
  };
5701
- export declare type HostingAccount200 = {
5702
- account_id?: string;
5703
- account_limits?: HostingAccount200AccountLimits;
5704
- /** The timestamp that the hosting addon was created */
5705
- addon_date_added?: string;
5706
- advanced?: boolean;
5707
- billing?: HostingAccount200Billing;
5708
- brand?: string;
5709
- id?: string;
5710
- panel?: string;
5711
- plan_key?: string;
5712
- platform?: string;
5713
- /** @nullable */
5714
- resources?: HostingAccount200Resources;
5715
- /** @nullable */
5716
- server_status?: string | null;
5717
- /** @nullable */
5718
- ssh_hostname?: string | null;
5719
- status?: string;
5720
- type?: string;
5721
- username?: string;
5722
- };
5723
5767
  export declare type HostingAccount200ResourcesWorkers = {
5724
5768
  /** @nullable */
5725
5769
  available?: number | null;
@@ -5737,6 +5781,14 @@ export declare type HostingAccount200ResourcesStorage = {
5737
5781
  /** @nullable */
5738
5782
  used?: number | null;
5739
5783
  };
5784
+ /**
5785
+ * @nullable
5786
+ */
5787
+ export declare type HostingAccount200Resources = {
5788
+ staging?: HostingAccount200ResourcesStaging;
5789
+ storage?: HostingAccount200ResourcesStorage;
5790
+ workers?: HostingAccount200ResourcesWorkers;
5791
+ } | null;
5740
5792
  export declare type HostingAccount200ResourcesStagingWorkers = {
5741
5793
  /** @nullable */
5742
5794
  available?: number | null;
@@ -5758,14 +5810,6 @@ export declare type HostingAccount200ResourcesStaging = {
5758
5810
  storage?: HostingAccount200ResourcesStagingStorage;
5759
5811
  workers?: HostingAccount200ResourcesStagingWorkers;
5760
5812
  };
5761
- /**
5762
- * @nullable
5763
- */
5764
- export declare type HostingAccount200Resources = {
5765
- staging?: HostingAccount200ResourcesStaging;
5766
- storage?: HostingAccount200ResourcesStorage;
5767
- workers?: HostingAccount200ResourcesWorkers;
5768
- } | null;
5769
5813
  export declare type HostingAccount200Billing = {
5770
5814
  prod_code?: string;
5771
5815
  product_name?: string;
@@ -5783,6 +5827,28 @@ export declare type HostingAccount200AccountLimits = {
5783
5827
  */
5784
5828
  sites?: number | null;
5785
5829
  };
5830
+ export declare type HostingAccount200 = {
5831
+ account_id?: string;
5832
+ account_limits?: HostingAccount200AccountLimits;
5833
+ /** The timestamp that the hosting addon was created */
5834
+ addon_date_added?: string;
5835
+ advanced?: boolean;
5836
+ billing?: HostingAccount200Billing;
5837
+ brand?: string;
5838
+ id?: string;
5839
+ panel?: string;
5840
+ plan_key?: string;
5841
+ platform?: string;
5842
+ /** @nullable */
5843
+ resources?: HostingAccount200Resources;
5844
+ /** @nullable */
5845
+ server_status?: string | null;
5846
+ /** @nullable */
5847
+ ssh_hostname?: string | null;
5848
+ status?: string;
5849
+ type?: string;
5850
+ username?: string;
5851
+ };
5786
5852
  export declare type DomainZoneeditorUrl200 = {
5787
5853
  url: string;
5788
5854
  };
@@ -6305,6 +6371,11 @@ export declare type AddonsCloudflareExternalNsCheckParams = {
6305
6371
  export declare type AddonsCloudflare200 = {
6306
6372
  status?: string;
6307
6373
  };
6374
+ export declare type BackupUsage200 = {
6375
+ allowed_limit_bytes: number;
6376
+ available_bytes: number;
6377
+ used_bytes: number;
6378
+ };
6308
6379
  export declare type BackupPrefSetStatus200 = {
6309
6380
  site_id?: number;
6310
6381
  status?: string;
@@ -6418,9 +6489,52 @@ export declare type BackupSettings200 = {
6418
6489
  /** @nullable */
6419
6490
  timezone?: string | null;
6420
6491
  };
6421
- export declare type BackupMeta200 = {
6422
- account?: BackupMeta200Account;
6423
- site?: BackupMeta200Site;
6492
+ export declare type BackupCreateOndemandV1200 = {
6493
+ id?: number;
6494
+ msg?: string;
6495
+ };
6496
+ /**
6497
+ * Whether to include a link to the backup tarball
6498
+ */
6499
+ export declare type BackupCreateOndemandV1BodyIncludeBackupTarLink = typeof BackupCreateOndemandV1BodyIncludeBackupTarLink[keyof typeof BackupCreateOndemandV1BodyIncludeBackupTarLink];
6500
+ export declare const BackupCreateOndemandV1BodyIncludeBackupTarLink: {
6501
+ readonly NUMBER_0: 0;
6502
+ readonly NUMBER_1: 1;
6503
+ };
6504
+ /**
6505
+ * The type of the backup
6506
+ */
6507
+ export declare type BackupCreateOndemandV1BodyBackupType = typeof BackupCreateOndemandV1BodyBackupType[keyof typeof BackupCreateOndemandV1BodyBackupType];
6508
+ export declare const BackupCreateOndemandV1BodyBackupType: {
6509
+ readonly home: "home";
6510
+ readonly db: "db";
6511
+ readonly home_db: "home_db";
6512
+ };
6513
+ export declare type BackupCreateOndemandV1Body = {
6514
+ /**
6515
+ * How long the created backup should remain active (in hours)
6516
+ * @nullable
6517
+ */
6518
+ backup_retention_hours?: number | null;
6519
+ /** The type of the backup */
6520
+ backup_type?: BackupCreateOndemandV1BodyBackupType;
6521
+ /**
6522
+ * List of databases to backup
6523
+ * @nullable
6524
+ */
6525
+ dbs?: string[] | null;
6526
+ /**
6527
+ * List of docroot paths to backup
6528
+ * @nullable
6529
+ */
6530
+ docroots?: string[] | null;
6531
+ /**
6532
+ * List of paths to exclude from the backup
6533
+ * @nullable
6534
+ */
6535
+ exclude_paths?: string[] | null;
6536
+ /** Whether to include a link to the backup tarball */
6537
+ include_backup_tar_link?: BackupCreateOndemandV1BodyIncludeBackupTarLink;
6424
6538
  };
6425
6539
  /**
6426
6540
  * @nullable
@@ -6455,6 +6569,10 @@ export declare type BackupMeta200Site = {
6455
6569
  /** @nullable */
6456
6570
  cbs_restore_consent_info?: BackupMeta200SiteCbsRestoreConsentInfo;
6457
6571
  };
6572
+ export declare type BackupMeta200 = {
6573
+ account?: BackupMeta200Account;
6574
+ site?: BackupMeta200Site;
6575
+ };
6458
6576
  /**
6459
6577
  * @nullable
6460
6578
  */
@@ -6495,6 +6613,9 @@ export declare type BackupMeta200Account = {
6495
6613
  export declare type BackupMetaParams = {
6496
6614
  site_id?: number;
6497
6615
  };
6616
+ export declare type BackupList200 = {
6617
+ home?: BackupList200HomeItem[];
6618
+ };
6498
6619
  export declare type BackupList200HomeItemBackupStatus = {
6499
6620
  /** @nullable */
6500
6621
  download_url?: string | null;
@@ -6506,9 +6627,6 @@ export declare type BackupList200HomeItem = {
6506
6627
  backup_status?: BackupList200HomeItemBackupStatus;
6507
6628
  time_created?: string;
6508
6629
  };
6509
- export declare type BackupList200 = {
6510
- home?: BackupList200HomeItem[];
6511
- };
6512
6630
  export declare type BackupListBackupType = typeof BackupListBackupType[keyof typeof BackupListBackupType];
6513
6631
  export declare const BackupListBackupType: {
6514
6632
  readonly full: "full";
@@ -6547,6 +6665,83 @@ export declare type BackupInitiateBody = {
6547
6665
  /** Backup Volume store ID to get the backup */
6548
6666
  backup_volume_store_id: string;
6549
6667
  };
6668
+ export declare type XcitiumSso200 = {
6669
+ /** URL that allows SSOing in to manage the Xcitium backup account */
6670
+ url?: string;
6671
+ };
6672
+ export declare type XcitiumPlanInfo200SeatsItem = {
6673
+ activated?: boolean;
6674
+ url?: string;
6675
+ website_id?: number;
6676
+ };
6677
+ export declare type XcitiumPlanInfo200 = {
6678
+ back_reference?: string;
6679
+ can_upgrade?: boolean;
6680
+ /** @nullable */
6681
+ disabled?: boolean | null;
6682
+ /** @nullable */
6683
+ over_quota?: boolean | null;
6684
+ plan_name?: string;
6685
+ seat_count?: number;
6686
+ seat_limit?: number;
6687
+ seats?: XcitiumPlanInfo200SeatsItem[];
6688
+ size?: number;
6689
+ size_limit?: number;
6690
+ status?: string;
6691
+ };
6692
+ export declare type XcitiumBackupRestore200 = {
6693
+ database_success?: boolean;
6694
+ website_success?: boolean;
6695
+ };
6696
+ export declare type XcitiumBackupRestoreBody = {
6697
+ /** The commit id to restore the database from. */
6698
+ database_commit_id?: string;
6699
+ /** The id of the database the given database is associated with. */
6700
+ database_id?: number;
6701
+ /** The commit id to restore the website from. */
6702
+ website_commit_id?: string;
6703
+ /** The id of the website the given database is associated with. */
6704
+ website_id?: number;
6705
+ };
6706
+ export declare type XcitiumBackupDownload200 = {
6707
+ database_success?: number;
6708
+ website_success?: number;
6709
+ };
6710
+ export declare type XcitiumBackupDownloadBody = {
6711
+ /** The commit id to restore the database from. */
6712
+ database_commit_id?: string;
6713
+ /** The commit id to restore the website from. */
6714
+ website_commit_id?: string;
6715
+ /** The id of the website the given database is associated with. */
6716
+ website_id?: number;
6717
+ };
6718
+ export declare type XcitiumBackupCreate200 = {
6719
+ database_success?: number;
6720
+ website_success?: number;
6721
+ };
6722
+ export declare type XcitiumBackupCreateBody = {
6723
+ /** The id of the database the given database is associated with. */
6724
+ database_id?: number;
6725
+ /** The id of the website the given database is associated with. */
6726
+ website_id?: number;
6727
+ };
6728
+ export declare type XcitiumBackupList200BackupsItemDatabaseBackupsItem = {
6729
+ commit_id?: string;
6730
+ event_time?: string;
6731
+ id?: number;
6732
+ recommended?: boolean;
6733
+ };
6734
+ export declare type XcitiumBackupList200BackupsItem = {
6735
+ database_backups?: XcitiumBackupList200BackupsItemDatabaseBackupsItem[];
6736
+ event_time?: string;
6737
+ website_commit_id?: string;
6738
+ };
6739
+ export declare type XcitiumBackupList200 = {
6740
+ backups?: XcitiumBackupList200BackupsItem[];
6741
+ };
6742
+ export declare type XcitiumBackupListParams = {
6743
+ website_id: number;
6744
+ };
6550
6745
  export declare type AddonsSitelockSso200 = {
6551
6746
  site_url?: string;
6552
6747
  sitelock_id?: string;
@@ -9638,6 +9833,8 @@ export interface PerformanceScanResultItemModel {
9638
9833
  /** @nullable */
9639
9834
  performance_score?: number | null;
9640
9835
  /** @nullable */
9836
+ result_url?: string | null;
9837
+ /** @nullable */
9641
9838
  seo_score?: number | null;
9642
9839
  /** @nullable */
9643
9840
  speed_index?: number | null;