@newfold/huapi-js 2.1.0-beta.16 → 2.1.0-beta.18

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.1809.0
6
+ * OpenAPI spec version: 1.1908.0
7
7
  */
8
8
  export declare type SshKeyListV4200RowsItem = {
9
9
  authorize?: boolean;
@@ -118,6 +118,67 @@ 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
+ /**
150
+ * Backup scope/content type from HAL (e.g. home, db, home_db).
151
+ * @nullable
152
+ */
153
+ backup_type?: string | null;
154
+ databases?: string[];
155
+ dc_location?: string;
156
+ exclude_paths?: string[];
157
+ paths?: string[];
158
+ schedule_type?: string;
159
+ timezone?: string;
160
+ type?: string;
161
+ };
162
+ export declare type BackupListV3Params = {
163
+ page?: number;
164
+ limit?: number;
165
+ };
166
+ export declare type BackupRestoreV3409 = {
167
+ /** Customer error code */
168
+ error?: string;
169
+ };
170
+ export declare type BackupRestoreV3404 = {
171
+ /** Customer error code */
172
+ error?: string;
173
+ };
174
+ export declare type BackupRestoreV3403 = {
175
+ /** Customer error code */
176
+ error?: string;
177
+ };
178
+ export declare type BackupRestoreV3400 = {
179
+ /** Customer error code */
180
+ error?: string;
181
+ };
121
182
  export declare type BackupRestoreV3200 = {
122
183
  message?: string;
123
184
  tracking_id?: number;
@@ -130,6 +191,14 @@ export declare const BackupRestoreV3BodyUserConsent: {
130
191
  readonly NUMBER_0: 0;
131
192
  readonly NUMBER_1: 1;
132
193
  };
194
+ /**
195
+ * Plan type used to route the request to free or premium HAL actions.
196
+ */
197
+ export declare type BackupRestoreV3BodyPlanType = typeof BackupRestoreV3BodyPlanType[keyof typeof BackupRestoreV3BodyPlanType];
198
+ export declare const BackupRestoreV3BodyPlanType: {
199
+ readonly free: "free";
200
+ readonly premium: "premium";
201
+ };
133
202
  /**
134
203
  * Backup type
135
204
  */
@@ -151,17 +220,22 @@ export declare type BackupRestoreV3Body = {
151
220
  /** Backup Volume store ID to restore from */
152
221
  backup_id: string;
153
222
  /** Create realtime backup before restoration (0/1) */
154
- backup_pre_restore: BackupRestoreV3BodyBackupPreRestore;
223
+ backup_pre_restore?: BackupRestoreV3BodyBackupPreRestore;
155
224
  /** Backup type */
156
225
  backup_type?: BackupRestoreV3BodyBackupType;
157
- /** Databases to backup/restore (when applicable) */
158
- databases?: string[];
226
+ /**
227
+ * Databases to backup/restore (when applicable)
228
+ * @nullable
229
+ */
230
+ databases?: string[] | null;
231
+ /** Plan type used to route the request to free or premium HAL actions. */
232
+ plan_type: BackupRestoreV3BodyPlanType;
159
233
  /** Site id */
160
234
  site_id: number;
161
235
  /** Snapshot date (epoch) */
162
236
  snapshot_date: number;
163
237
  /** User consent to restore (0/1) */
164
- user_consent: BackupRestoreV3BodyUserConsent;
238
+ user_consent?: BackupRestoreV3BodyUserConsent;
165
239
  };
166
240
  export declare type BackupCreateV3200 = {
167
241
  message?: string;
@@ -268,13 +342,6 @@ export declare type SiteMalwareStatusV2200 = {
268
342
  */
269
343
  scanner_state?: string | null;
270
344
  };
271
- /**
272
- * Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
273
- * @nullable
274
- */
275
- export declare type SitesDomainsV2200DomainsItemSetupProgressValidateSslErrorTable = {
276
- [key: string]: unknown;
277
- } | null;
278
345
  /**
279
346
  * @nullable
280
347
  */
@@ -325,13 +392,6 @@ export declare type SitesDomainsV2200DomainsItemSetupProgress = {
325
392
  */
326
393
  validate_ssl_error_table?: SitesDomainsV2200DomainsItemSetupProgressValidateSslErrorTable;
327
394
  } | null;
328
- /**
329
- * Job ids and names currently running on the domain
330
- * @nullable
331
- */
332
- export declare type SitesDomainsV2200DomainsItemJobs = {
333
- [key: string]: unknown;
334
- } | null;
335
395
  export declare type SitesDomainsV2200DomainsItem = {
336
396
  /** @nullable */
337
397
  account_back_ref?: string | null;
@@ -410,6 +470,20 @@ export declare type SitesDomainsV2200 = {
410
470
  page?: number;
411
471
  total?: number;
412
472
  };
473
+ /**
474
+ * Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
475
+ * @nullable
476
+ */
477
+ export declare type SitesDomainsV2200DomainsItemSetupProgressValidateSslErrorTable = {
478
+ [key: string]: unknown;
479
+ } | null;
480
+ /**
481
+ * Job ids and names currently running on the domain
482
+ * @nullable
483
+ */
484
+ export declare type SitesDomainsV2200DomainsItemJobs = {
485
+ [key: string]: unknown;
486
+ } | null;
413
487
  export declare type SitesDomainsV2Params = {
414
488
  scan?: boolean;
415
489
  };
@@ -720,6 +794,13 @@ export declare type HostingSitesV2200 = {
720
794
  used_sites?: number;
721
795
  used_sites_details?: HostingSitesV2200UsedSitesDetails;
722
796
  };
797
+ /**
798
+ * @nullable
799
+ */
800
+ export declare type HostingSitesV2200ItemsItemWpMultiSite = {
801
+ canonicalize_aliases?: boolean;
802
+ enable?: boolean;
803
+ } | null;
723
804
  /**
724
805
  * @nullable
725
806
  */
@@ -834,6 +915,11 @@ export declare type HostingSitesV2200ItemsItem = {
834
915
  edge_cache?: boolean;
835
916
  handler_404?: string;
836
917
  id?: number;
918
+ /**
919
+ * Whether Blu AI is enabled for the site
920
+ * @nullable
921
+ */
922
+ install_blu_ai?: boolean | null;
837
923
  /** @nullable */
838
924
  installed_id?: string | null;
839
925
  /** True if docpath is public_html, otherwise False */
@@ -881,6 +967,8 @@ export declare type HostingSitesV2200ItemsItem = {
881
967
  * @nullable
882
968
  */
883
969
  version_ptr?: string | null;
970
+ /** @nullable */
971
+ wp_multi_site?: HostingSitesV2200ItemsItemWpMultiSite;
884
972
  };
885
973
  export declare type HostingSitesV2Params = {
886
974
  limit?: number;
@@ -933,6 +1021,12 @@ export declare type HostingDomainsUnassignV2Body = {
933
1021
  /** The site id to be unassigned */
934
1022
  site_id: number;
935
1023
  };
1024
+ export declare type HostingDomainsV2200 = {
1025
+ domains: HostingDomainsV2200DomainsItem[];
1026
+ limit?: number;
1027
+ page?: number;
1028
+ total?: number;
1029
+ };
936
1030
  /**
937
1031
  * Most recent errors logged during domain ssl validation. Remains set if validation tries run out. Gets reset by new validation job.
938
1032
  * @nullable
@@ -1069,12 +1163,6 @@ export declare type HostingDomainsV2200DomainsItem = {
1069
1163
  */
1070
1164
  used_entri?: number | null;
1071
1165
  };
1072
- export declare type HostingDomainsV2200 = {
1073
- domains: HostingDomainsV2200DomainsItem[];
1074
- limit?: number;
1075
- page?: number;
1076
- total?: number;
1077
- };
1078
1166
  export declare type HostingDomainsV2TypesItem = typeof HostingDomainsV2TypesItem[keyof typeof HostingDomainsV2TypesItem];
1079
1167
  export declare const HostingDomainsV2TypesItem: {
1080
1168
  readonly addon: "addon";
@@ -1195,20 +1283,59 @@ export declare type BackupListV2200BackupsItem = {
1195
1283
  export declare type BackupListV2200 = {
1196
1284
  backups?: BackupListV2200BackupsItem[];
1197
1285
  };
1286
+ export declare type BackupDownloadV2409 = {
1287
+ /** Customer error code */
1288
+ error?: string;
1289
+ };
1290
+ export declare type BackupDownloadV2404 = {
1291
+ /** Customer error code */
1292
+ error?: string;
1293
+ };
1294
+ export declare type BackupDownloadV2403 = {
1295
+ /** Customer error code */
1296
+ error?: string;
1297
+ };
1298
+ export declare type BackupDownloadV2400 = {
1299
+ /** Customer error code */
1300
+ error?: string;
1301
+ };
1198
1302
  export declare type BackupDownloadV2200 = {
1199
1303
  message?: string;
1200
1304
  tracking_id?: number;
1201
1305
  };
1306
+ /**
1307
+ * Plan type used to route the request to free or premium HAL actions.
1308
+ */
1309
+ export declare type BackupDownloadV2BodyPlanType = typeof BackupDownloadV2BodyPlanType[keyof typeof BackupDownloadV2BodyPlanType];
1310
+ export declare const BackupDownloadV2BodyPlanType: {
1311
+ readonly free: "free";
1312
+ readonly premium: "premium";
1313
+ };
1314
+ /**
1315
+ * Type of the backup
1316
+ */
1317
+ export declare type BackupDownloadV2BodyBackupType = typeof BackupDownloadV2BodyBackupType[keyof typeof BackupDownloadV2BodyBackupType];
1318
+ export declare const BackupDownloadV2BodyBackupType: {
1319
+ readonly home: "home";
1320
+ readonly db: "db";
1321
+ readonly home_db: "home_db";
1322
+ };
1202
1323
  export declare type BackupDownloadV2Body = {
1203
1324
  /** Backup Volume store ID to get the backup */
1204
1325
  backup_id: string;
1205
1326
  /** Type of the backup */
1206
- backup_type?: string;
1207
- dbs?: string[];
1327
+ backup_type?: BackupDownloadV2BodyBackupType;
1328
+ /** @nullable */
1329
+ dbs?: string[] | null;
1330
+ /** Plan type used to route the request to free or premium HAL actions. */
1331
+ plan_type: BackupDownloadV2BodyPlanType;
1208
1332
  /** Site id */
1209
- site_id?: number;
1210
- /** Snapshot date */
1211
- snapshot_date?: number;
1333
+ site_id: number;
1334
+ /**
1335
+ * Snapshot date
1336
+ * @nullable
1337
+ */
1338
+ snapshot_date?: number | null;
1212
1339
  };
1213
1340
  export declare type BackupCreateV2200 = {
1214
1341
  message?: string;
@@ -1231,6 +1358,8 @@ export declare type AddonsSitelockSsoV2Params = {
1231
1358
  source?: string;
1232
1359
  };
1233
1360
  export declare type AllUserMonarxDetails200RowsItem = {
1361
+ /** HAL Account back_reference, used to link to the product instance */
1362
+ account_back_ref?: string;
1234
1363
  /** Addon ID of the Monarx addon */
1235
1364
  addon_id: number;
1236
1365
  /**
@@ -1245,8 +1374,6 @@ export declare type AllUserMonarxDetails200RowsItem = {
1245
1374
  * @nullable
1246
1375
  */
1247
1376
  health_status?: string | null;
1248
- /** Hosting ID of the account */
1249
- hosting_id: string;
1250
1377
  /**
1251
1378
  * Timestamp of last completed scan
1252
1379
  * @nullable
@@ -1281,10 +1408,6 @@ export declare type UserHostingOverviewParams = {
1281
1408
  */
1282
1409
  limit?: number;
1283
1410
  };
1284
- export declare type UserHosting200 = {
1285
- /** Information for the paginated hosting accounts */
1286
- rows?: UserHosting200RowsItem[];
1287
- };
1288
1411
  /**
1289
1412
  * Usage statistics for staging sites
1290
1413
  * @nullable
@@ -1480,6 +1603,10 @@ export declare type UserHosting200RowsItem = {
1480
1603
  */
1481
1604
  used_stage?: UserHosting200RowsItemUsedStage;
1482
1605
  };
1606
+ export declare type UserHosting200 = {
1607
+ /** Information for the paginated hosting accounts */
1608
+ rows?: UserHosting200RowsItem[];
1609
+ };
1483
1610
  /**
1484
1611
  * Region information for the account
1485
1612
  * @nullable
@@ -1512,6 +1639,31 @@ export declare type UserHosting200RowsItemAccountInfoMeta = {
1512
1639
  */
1513
1640
  prev_tenant?: string | null;
1514
1641
  } | null;
1642
+ /**
1643
+ * @nullable
1644
+ */
1645
+ export declare type UserHosting200RowsItemAccountInfoImage = {
1646
+ /**
1647
+ * The app being used on the server, if applicable
1648
+ * @nullable
1649
+ */
1650
+ app?: string | null;
1651
+ /**
1652
+ * Operating system name, if applicable
1653
+ * @nullable
1654
+ */
1655
+ os_name?: string | null;
1656
+ /**
1657
+ * Operating system version, if applicable
1658
+ * @nullable
1659
+ */
1660
+ os_version?: string | null;
1661
+ /**
1662
+ * The software being used on the server, if applicable
1663
+ * @nullable
1664
+ */
1665
+ software?: string | null;
1666
+ } | null;
1515
1667
  /**
1516
1668
  * Additional information about the account
1517
1669
  */
@@ -1521,6 +1673,11 @@ export declare type UserHosting200RowsItemAccountInfo = {
1521
1673
  * @nullable
1522
1674
  */
1523
1675
  addon_back_ref?: string | null;
1676
+ /**
1677
+ * Timestamp of when the hosting addon was created
1678
+ * @nullable
1679
+ */
1680
+ addon_date_added?: string | null;
1524
1681
  /**
1525
1682
  * The ID of the addon associated with the account
1526
1683
  * @nullable
@@ -1532,7 +1689,7 @@ export declare type UserHosting200RowsItemAccountInfo = {
1532
1689
  */
1533
1690
  addon_status?: string | null;
1534
1691
  /**
1535
- * The app being used on the server, if applicable
1692
+ * The app being used on the server, if applicable (DEPRECATED - use 'image.app' instead)
1536
1693
  * @nullable
1537
1694
  */
1538
1695
  application?: string | null;
@@ -1566,6 +1723,8 @@ export declare type UserHosting200RowsItemAccountInfo = {
1566
1723
  * @nullable
1567
1724
  */
1568
1725
  id?: string | null;
1726
+ /** @nullable */
1727
+ image?: UserHosting200RowsItemAccountInfoImage;
1569
1728
  /**
1570
1729
  * IP address associated with the account
1571
1730
  * @nullable
@@ -2215,6 +2374,14 @@ export declare type SitesPerformanceScansList200 = {
2215
2374
  export declare type SitesPerformanceScansListParams = {
2216
2375
  page?: number;
2217
2376
  per_page?: number;
2377
+ /**
2378
+ * End date for the scan results (YYYY-MM-DD)
2379
+ */
2380
+ date_to?: string;
2381
+ /**
2382
+ * Start date for the scan results (YYYY-MM-DD)
2383
+ */
2384
+ date_from?: string;
2218
2385
  };
2219
2386
  export declare type SitesPerformanceRedisPurge200 = {
2220
2387
  [key: string]: unknown;
@@ -2674,6 +2841,10 @@ export declare type SiteAddonCloudflare400 = {
2674
2841
  export declare type SiteAddonCloudflare200 = {
2675
2842
  addon_id?: number;
2676
2843
  };
2844
+ export declare type SitesBackupsXcitium200 = {
2845
+ /** Id of the backgrounded task that can be polled against */
2846
+ workflow_id?: string;
2847
+ };
2677
2848
  export declare type BackupsJetpackBackup200 = {
2678
2849
  [key: string]: unknown;
2679
2850
  };
@@ -2695,6 +2866,28 @@ export declare type JetpackBackupStatus200 = {
2695
2866
  /** @nullable */
2696
2867
  status?: string | null;
2697
2868
  };
2869
+ export declare type SitesBackupsDetails200Xcitium = {
2870
+ activated?: boolean;
2871
+ /** @nullable */
2872
+ addon_back_reference?: string | null;
2873
+ addon_id?: string;
2874
+ can_upgrade?: boolean;
2875
+ /** @nullable */
2876
+ database_id?: string | null;
2877
+ /** @nullable */
2878
+ disabled?: boolean | null;
2879
+ /** @nullable */
2880
+ over_quota?: boolean | null;
2881
+ /** @nullable */
2882
+ plan_name?: string | null;
2883
+ seats_available?: number;
2884
+ seats_count?: number;
2885
+ status?: boolean;
2886
+ /** @nullable */
2887
+ url?: string | null;
2888
+ /** @nullable */
2889
+ website_id?: string | null;
2890
+ };
2698
2891
  export declare type SitesBackupsDetails200Jetpack = {
2699
2892
  /** @nullable */
2700
2893
  addon_back_reference?: string | null;
@@ -2743,6 +2936,7 @@ export declare type SitesBackupsDetails200Codeguard = {
2743
2936
  export declare type SitesBackupsDetails200 = {
2744
2937
  codeguard?: SitesBackupsDetails200Codeguard;
2745
2938
  jetpack?: SitesBackupsDetails200Jetpack;
2939
+ xcitium?: SitesBackupsDetails200Xcitium;
2746
2940
  };
2747
2941
  export declare type SitesBackupsCodeguard200 = {
2748
2942
  database_id?: number;
@@ -2778,10 +2972,6 @@ export declare type SitesAtomicMetrics200Views = {
2778
2972
  last_n_days?: SitesAtomicMetrics200ViewsLastNDaysItem[];
2779
2973
  total_hits?: number;
2780
2974
  };
2781
- export declare type SitesAtomicMetrics200 = {
2782
- raw?: SitesAtomicMetrics200Raw;
2783
- views?: SitesAtomicMetrics200Views;
2784
- };
2785
2975
  export declare type SitesAtomicMetrics200RawPeriodsItemDimension = {
2786
2976
  [key: string]: string | number | number;
2787
2977
  };
@@ -2799,6 +2989,10 @@ export declare type SitesAtomicMetrics200Raw = {
2799
2989
  periods?: SitesAtomicMetrics200RawPeriodsItem[];
2800
2990
  resolution?: number;
2801
2991
  };
2992
+ export declare type SitesAtomicMetrics200 = {
2993
+ raw?: SitesAtomicMetrics200Raw;
2994
+ views?: SitesAtomicMetrics200Views;
2995
+ };
2802
2996
  export declare type SitesAtomicMetricsParams = {
2803
2997
  metric?: string[];
2804
2998
  dimension?: string[];
@@ -2987,6 +3181,11 @@ export declare type SitesInfo200 = {
2987
3181
  /** @nullable */
2988
3182
  handler_404?: string | null;
2989
3183
  id?: number;
3184
+ /**
3185
+ * Whether Blu AI is enabled for the site
3186
+ * @nullable
3187
+ */
3188
+ install_blu_ai?: boolean | null;
2990
3189
  /** @nullable */
2991
3190
  installed_id?: string | null;
2992
3191
  /** True if docpath is public_html, otherwise False */
@@ -3039,6 +3238,163 @@ export declare type SitesInfo200 = {
3039
3238
  /** @nullable */
3040
3239
  wp_multi_site?: SitesInfo200WpMultiSite;
3041
3240
  };
3241
+ /**
3242
+ * Links
3243
+ * @nullable
3244
+ */
3245
+ export declare type PublicImages200RowsItemLinks = {
3246
+ /**
3247
+ * Community URL
3248
+ * @nullable
3249
+ */
3250
+ community?: string | null;
3251
+ /**
3252
+ * Documentation URL
3253
+ * @nullable
3254
+ */
3255
+ doc?: string | null;
3256
+ /**
3257
+ * Forums URL
3258
+ * @nullable
3259
+ */
3260
+ forums?: string | null;
3261
+ } | null;
3262
+ /**
3263
+ * Image ID
3264
+ */
3265
+ export declare type PublicImages200RowsItemId = string | number;
3266
+ /**
3267
+ * Docker default
3268
+ * @nullable
3269
+ */
3270
+ export declare type PublicImages200RowsItemDockerDefault = string | number | null;
3271
+ /**
3272
+ * Current
3273
+ * @nullable
3274
+ */
3275
+ export declare type PublicImages200RowsItemCurrent = string | number | null;
3276
+ /**
3277
+ * Cpanel default
3278
+ * @nullable
3279
+ */
3280
+ export declare type PublicImages200RowsItemCpanelDefault = string | number | null;
3281
+ export declare type PublicImages200RowsItem = {
3282
+ /**
3283
+ * Application name
3284
+ * @nullable
3285
+ */
3286
+ app?: string | null;
3287
+ /**
3288
+ * Architecture name
3289
+ * @nullable
3290
+ */
3291
+ arch_name?: string | null;
3292
+ /**
3293
+ * Cpanel default
3294
+ * @nullable
3295
+ */
3296
+ cpanel_default?: PublicImages200RowsItemCpanelDefault;
3297
+ /**
3298
+ * Current
3299
+ * @nullable
3300
+ */
3301
+ current?: PublicImages200RowsItemCurrent;
3302
+ /** Date added */
3303
+ date_added?: string;
3304
+ /**
3305
+ * Docker default
3306
+ * @nullable
3307
+ */
3308
+ docker_default?: PublicImages200RowsItemDockerDefault;
3309
+ /** Image ID */
3310
+ id?: PublicImages200RowsItemId;
3311
+ /**
3312
+ * Links
3313
+ * @nullable
3314
+ */
3315
+ links?: PublicImages200RowsItemLinks;
3316
+ /**
3317
+ * Image LTS
3318
+ * @nullable
3319
+ */
3320
+ lts?: string | null;
3321
+ /**
3322
+ * Image Link
3323
+ * @nullable
3324
+ */
3325
+ manage_link?: string | null;
3326
+ /**
3327
+ * Minimum cpus required to build on this image
3328
+ * @nullable
3329
+ */
3330
+ min_cpus?: string | null;
3331
+ /**
3332
+ * Minimum disk space (in Gb) required to build on this image
3333
+ * @nullable
3334
+ */
3335
+ min_disk?: string | null;
3336
+ /**
3337
+ * Minimum ram (in Gb) required to build on this image
3338
+ * @nullable
3339
+ */
3340
+ min_ram?: string | null;
3341
+ /** Image Name */
3342
+ name?: string;
3343
+ /**
3344
+ * Image OS name
3345
+ * @nullable
3346
+ */
3347
+ os_name?: string | null;
3348
+ /**
3349
+ * Image OS version
3350
+ * @nullable
3351
+ */
3352
+ os_version?: string | null;
3353
+ /** The readme associated with the image */
3354
+ readme?: string;
3355
+ /**
3356
+ * Image Software
3357
+ * @nullable
3358
+ */
3359
+ software?: string | null;
3360
+ /**
3361
+ * Image Title
3362
+ * @nullable
3363
+ */
3364
+ title?: string | null;
3365
+ /**
3366
+ * Image Type
3367
+ * @nullable
3368
+ */
3369
+ type?: string | null;
3370
+ /**
3371
+ * User image
3372
+ * @nullable
3373
+ */
3374
+ user_image?: string | null;
3375
+ };
3376
+ /**
3377
+ * Page number
3378
+ */
3379
+ export declare type PublicImages200Page = string | number;
3380
+ /**
3381
+ * Number of images returned
3382
+ */
3383
+ export declare type PublicImages200NRows = string | number;
3384
+ /**
3385
+ * Limit the number of images returned
3386
+ */
3387
+ export declare type PublicImages200Limit = string | number;
3388
+ export declare type PublicImages200 = {
3389
+ /** Limit the number of images returned */
3390
+ limit?: PublicImages200Limit;
3391
+ /** Number of images returned */
3392
+ n_rows?: PublicImages200NRows;
3393
+ /** Page number */
3394
+ page?: PublicImages200Page;
3395
+ /** List of images */
3396
+ rows?: PublicImages200RowsItem[];
3397
+ };
3042
3398
  export declare type HostingVisitors200VisitorsItem = {
3043
3399
  bandwidth?: number;
3044
3400
  hits?: number;
@@ -4560,10 +4916,6 @@ export declare type HostingEmailUpdateBody = {
4560
4916
  /** The password for the email */
4561
4917
  password?: string;
4562
4918
  };
4563
- export declare type HostingEmailList200 = {
4564
- /** List of email resources */
4565
- rows?: HostingEmailList200RowsItem[];
4566
- };
4567
4919
  /**
4568
4920
  * List of suspensions that affect the entire user account
4569
4921
  * @nullable
@@ -4653,6 +5005,10 @@ export declare type HostingEmailList200RowsItem = {
4653
5005
  */
4654
5006
  utf8_folders?: boolean | null;
4655
5007
  };
5008
+ export declare type HostingEmailList200 = {
5009
+ /** List of email resources */
5010
+ rows?: HostingEmailList200RowsItem[];
5011
+ };
4656
5012
  export declare type HostingEmailDelete200 = {
4657
5013
  [key: string]: unknown;
4658
5014
  };
@@ -5238,15 +5594,21 @@ export declare type HostingAdvancedServerStatus200 = {
5238
5594
  uptime?: string;
5239
5595
  uptime_seconds?: number;
5240
5596
  };
5597
+ /**
5598
+ * ID of the image to rebuild with - only applicable for the 'rebuild' action
5599
+ */
5600
+ export declare type HostingAdvancedServerStatusBodyImageId = string | number;
5241
5601
  export declare type HostingAdvancedServerStatusBody = {
5242
5602
  /** action to be performed */
5243
5603
  action?: string;
5244
5604
  /** Admin email for the site user */
5245
5605
  admin_email?: string;
5606
+ /** true to force a rebuild (default behavior), false to not force rebuild - only applicable to action:rebuild */
5607
+ force_full_rebuild?: boolean;
5246
5608
  /** The hostname to be set for the server - only applicable for the 'sethostname' action */
5247
5609
  hostname?: string;
5248
5610
  /** ID of the image to rebuild with - only applicable for the 'rebuild' action */
5249
- image_id?: string;
5611
+ image_id?: HostingAdvancedServerStatusBodyImageId;
5250
5612
  /** To skip site installation - DEPRECATED do not use */
5251
5613
  skip_site_installation?: boolean;
5252
5614
  /** Site subtype to be installed during rebuild */
@@ -5275,7 +5637,33 @@ export declare type HostingAdvancedServer200 = {
5275
5637
  uptime?: string;
5276
5638
  uptime_seconds?: number;
5277
5639
  };
5640
+ /**
5641
+ * Links
5642
+ * @nullable
5643
+ */
5644
+ export declare type HostingAdvancedImages200ImagesItemLinks = {
5645
+ /**
5646
+ * Community URL
5647
+ * @nullable
5648
+ */
5649
+ community?: string | null;
5650
+ /**
5651
+ * Documentation URL
5652
+ * @nullable
5653
+ */
5654
+ doc?: string | null;
5655
+ /**
5656
+ * Forums URL
5657
+ * @nullable
5658
+ */
5659
+ forums?: string | null;
5660
+ } | null;
5278
5661
  export declare type HostingAdvancedImages200ImagesItem = {
5662
+ /**
5663
+ * The application software included on the image
5664
+ * @nullable
5665
+ */
5666
+ app?: string | null;
5279
5667
  /** The image architecture type */
5280
5668
  arch_name?: string;
5281
5669
  /**
@@ -5290,6 +5678,11 @@ export declare type HostingAdvancedImages200ImagesItem = {
5290
5678
  current?: number | null;
5291
5679
  /** The date and time the image was added */
5292
5680
  date_added?: string;
5681
+ /**
5682
+ * Image Description
5683
+ * @nullable
5684
+ */
5685
+ description?: string | null;
5293
5686
  /**
5294
5687
  * 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
5295
5688
  * @nullable
@@ -5297,19 +5690,56 @@ export declare type HostingAdvancedImages200ImagesItem = {
5297
5690
  docker_default?: string | null;
5298
5691
  /** The id of the image */
5299
5692
  id?: string;
5693
+ /**
5694
+ * Links
5695
+ * @nullable
5696
+ */
5697
+ links?: HostingAdvancedImages200ImagesItemLinks;
5300
5698
  /**
5301
5699
  * Whether this is an LTS (long term support) image - Ubuntu only
5302
5700
  * @nullable
5303
5701
  */
5304
5702
  lts?: number | null;
5703
+ /**
5704
+ * Manage Link
5705
+ * @nullable
5706
+ */
5707
+ manage_link?: string | null;
5708
+ /**
5709
+ * Minimum cpus required to build on this image
5710
+ * @nullable
5711
+ */
5712
+ min_cpus?: string | null;
5713
+ /**
5714
+ * Minimum disk space (in Gb) required to build on this image
5715
+ * @nullable
5716
+ */
5717
+ min_disk?: string | null;
5718
+ /**
5719
+ * Minimum ram (in Gb) required to build on this image
5720
+ * @nullable
5721
+ */
5722
+ min_ram?: string | null;
5305
5723
  /** The full image name */
5306
5724
  name?: string;
5307
5725
  /** The name of the operating system included on the image */
5308
5726
  os_name?: string;
5309
5727
  /** The version of the operating system included on the image */
5310
5728
  os_version?: string;
5729
+ /** The readme associated with the image */
5730
+ readme?: string;
5311
5731
  /** The software included on the image */
5312
5732
  software?: string;
5733
+ /**
5734
+ * Image Title
5735
+ * @nullable
5736
+ */
5737
+ title?: string | null;
5738
+ /**
5739
+ * Image Type
5740
+ * @nullable
5741
+ */
5742
+ type?: string | null;
5313
5743
  /**
5314
5744
  * Whether this image can be rebuilt to without a docker site
5315
5745
  * @nullable
@@ -5328,6 +5758,10 @@ export declare type HostingAdvancedImagesParams = {
5328
5758
  * Maximum number of items to return. If not provided, returns all items from start index
5329
5759
  */
5330
5760
  limit?: number;
5761
+ /**
5762
+ * Which image to return information about
5763
+ */
5764
+ image_id?: number;
5331
5765
  };
5332
5766
  export declare type HostingAdvancedDomainServices200 = {
5333
5767
  success?: number;
@@ -5439,26 +5873,6 @@ export declare type HostingAccount200Resources = {
5439
5873
  storage?: HostingAccount200ResourcesStorage;
5440
5874
  workers?: HostingAccount200ResourcesWorkers;
5441
5875
  } | null;
5442
- export declare type HostingAccount200 = {
5443
- account_id?: string;
5444
- account_limits?: HostingAccount200AccountLimits;
5445
- advanced?: boolean;
5446
- billing?: HostingAccount200Billing;
5447
- brand?: string;
5448
- id?: string;
5449
- panel?: string;
5450
- plan_key?: string;
5451
- platform?: string;
5452
- /** @nullable */
5453
- resources?: HostingAccount200Resources;
5454
- /** @nullable */
5455
- server_status?: string | null;
5456
- /** @nullable */
5457
- ssh_hostname?: string | null;
5458
- status?: string;
5459
- type?: string;
5460
- username?: string;
5461
- };
5462
5876
  export declare type HostingAccount200ResourcesStagingWorkers = {
5463
5877
  /** @nullable */
5464
5878
  available?: number | null;
@@ -5497,6 +5911,28 @@ export declare type HostingAccount200AccountLimits = {
5497
5911
  */
5498
5912
  sites?: number | null;
5499
5913
  };
5914
+ export declare type HostingAccount200 = {
5915
+ account_id?: string;
5916
+ account_limits?: HostingAccount200AccountLimits;
5917
+ /** The timestamp that the hosting addon was created */
5918
+ addon_date_added?: string;
5919
+ advanced?: boolean;
5920
+ billing?: HostingAccount200Billing;
5921
+ brand?: string;
5922
+ id?: string;
5923
+ panel?: string;
5924
+ plan_key?: string;
5925
+ platform?: string;
5926
+ /** @nullable */
5927
+ resources?: HostingAccount200Resources;
5928
+ /** @nullable */
5929
+ server_status?: string | null;
5930
+ /** @nullable */
5931
+ ssh_hostname?: string | null;
5932
+ status?: string;
5933
+ type?: string;
5934
+ username?: string;
5935
+ };
5500
5936
  export declare type DomainZoneeditorUrl200 = {
5501
5937
  url: string;
5502
5938
  };
@@ -5926,6 +6362,15 @@ export declare type DomainInfo200 = {
5926
6362
  */
5927
6363
  used_entri?: number | null;
5928
6364
  };
6365
+ export declare type AddonsWorkflows200 = {
6366
+ workflows?: AddonWorkflowListItem[];
6367
+ };
6368
+ export declare type AddonsWorkflowsParams = {
6369
+ /**
6370
+ * An optional id to query for a specific workflow
6371
+ */
6372
+ workflow_id?: string;
6373
+ };
5929
6374
  export declare type WeeblySso200 = {
5930
6375
  sso?: string;
5931
6376
  };
@@ -5965,59 +6410,232 @@ export declare type MonarxAddonSealGeneration200 = {
5965
6410
  };
5966
6411
  export declare type MonarxAddonSealGenerationParams = {
5967
6412
  /**
5968
- * HAL site id. Exactly one of site_id, domain_id, domain_name must be provided.
6413
+ * HAL site id. Exactly one of site_id, domain_id, domain_name must be provided.
6414
+ */
6415
+ site_id?: number;
6416
+ /**
6417
+ * HAL domain id. Exactly one of site_id, domain_id, domain_name must be provided.
6418
+ */
6419
+ domain_id?: number;
6420
+ /**
6421
+ * Domain name associated with the account. Exactly one of site_id, domain_id, domain_name must be provided.
6422
+ */
6423
+ domain_name?: string;
6424
+ };
6425
+ export declare type AddonsJetpackValidate200 = {
6426
+ is_connected?: boolean;
6427
+ };
6428
+ export declare type AddonsInfo200 = {
6429
+ id?: number;
6430
+ };
6431
+ export declare type AddonsCloudflareExternalNsCheck200Www = {
6432
+ /** @nullable */
6433
+ detected_ips?: string[] | null;
6434
+ matched?: string;
6435
+ };
6436
+ /**
6437
+ * @nullable
6438
+ */
6439
+ export declare type AddonsCloudflareExternalNsCheck200NeedRecords = {
6440
+ content?: string;
6441
+ type?: string;
6442
+ } | null;
6443
+ export declare type AddonsCloudflareExternalNsCheck200Base = {
6444
+ /** @nullable */
6445
+ detected_ips?: string[] | null;
6446
+ matched?: string;
6447
+ };
6448
+ export declare type AddonsCloudflareExternalNsCheck200 = {
6449
+ base?: AddonsCloudflareExternalNsCheck200Base;
6450
+ cdn_ip?: string;
6451
+ domain?: string;
6452
+ domain_id?: number;
6453
+ domain_ns?: string[];
6454
+ is_external?: number;
6455
+ /** @nullable */
6456
+ need_records?: AddonsCloudflareExternalNsCheck200NeedRecords;
6457
+ server_ip?: string;
6458
+ server_ns?: string[];
6459
+ www?: AddonsCloudflareExternalNsCheck200Www;
6460
+ };
6461
+ export declare type AddonsCloudflareExternalNsCheckParams = {
6462
+ domain?: string;
6463
+ };
6464
+ export declare type AddonsCloudflare200 = {
6465
+ status?: string;
6466
+ };
6467
+ export declare type BackupUsage200 = {
6468
+ allowed_limit_bytes: number;
6469
+ available_bytes: number;
6470
+ used_bytes: number;
6471
+ };
6472
+ export declare type BackupPrefSetStatus200 = {
6473
+ site_id?: number;
6474
+ status?: string;
6475
+ success?: number;
6476
+ };
6477
+ /**
6478
+ * enable or disable scheduled backups for the site
6479
+ */
6480
+ export declare type BackupPrefSetStatusBodyStatus = typeof BackupPrefSetStatusBodyStatus[keyof typeof BackupPrefSetStatusBodyStatus];
6481
+ export declare const BackupPrefSetStatusBodyStatus: {
6482
+ readonly enable: "enable";
6483
+ readonly disable: "disable";
6484
+ };
6485
+ export declare type BackupPrefSetStatusBody = {
6486
+ /** enable or disable scheduled backups for the site */
6487
+ status: BackupPrefSetStatusBodyStatus;
6488
+ };
6489
+ export declare type BackupSettingsUpdate200 = {
6490
+ site_id?: number;
6491
+ success?: number;
6492
+ };
6493
+ export declare type BackupSettingsUpdateBody = {
6494
+ backup_timezone?: string;
6495
+ frequency?: string;
6496
+ notifications?: BackupNotificationsEmail;
6497
+ retention_days?: string;
6498
+ /**
6499
+ * Optional. For weekly: Monday = 1, Tuesday = 2, etc. For monthly: day of the month. Omit or null when frequency is daily.
6500
+ * @nullable
6501
+ */
6502
+ schedule_day?: string | null;
6503
+ start_hours?: string;
6504
+ start_mins?: string;
6505
+ };
6506
+ export declare type BackupSettingsCreate200 = {
6507
+ preference_id?: number;
6508
+ site_id?: number;
6509
+ success?: number;
6510
+ };
6511
+ export declare type BackupSettingsCreateBody = {
6512
+ /**
6513
+ * IANA timezone (e.g. America/New_York) passed to HAL backup_pref_create.
6514
+ * @nullable
6515
+ */
6516
+ backup_timezone?: string | null;
6517
+ /** @nullable */
6518
+ frequency?: string | null;
6519
+ notifications?: BackupNotificationsEmail;
6520
+ retention_days: string;
6521
+ /**
6522
+ * Optional. For weekly: Monday = 1, Tuesday = 2, etc. For monthly: day of the month. When frequency is daily, HUAPI sends null for HAL.
6523
+ * @nullable
6524
+ */
6525
+ schedule_day?: string | null;
6526
+ start_hours: string;
6527
+ start_mins: string;
6528
+ };
6529
+ /**
6530
+ * @nullable
6531
+ */
6532
+ export declare type BackupSettings200NotifyPolicy = {
6533
+ [key: string]: unknown;
6534
+ } | null;
6535
+ /**
6536
+ * Email notification flags (0 = off, 1 = on).
6537
+ * @nullable
6538
+ */
6539
+ export declare type BackupSettings200Notifications = BackupNotificationsEmail | null;
6540
+ /**
6541
+ * @nullable
6542
+ */
6543
+ export declare type BackupSettings200BackupScopeConfig = {
6544
+ [key: string]: unknown;
6545
+ } | null;
6546
+ export declare type BackupSettings200 = {
6547
+ /** @nullable */
6548
+ backup_scope_config?: BackupSettings200BackupScopeConfig;
6549
+ /** @nullable */
6550
+ backup_subscription_id?: string | null;
6551
+ /** @nullable */
6552
+ backup_time_local?: string | null;
6553
+ /** @nullable */
6554
+ frequency?: string | null;
6555
+ /** @nullable */
6556
+ id?: number | null;
6557
+ /** @nullable */
6558
+ next_run_at_utc?: string | null;
6559
+ /**
6560
+ * Email notification flags (0 = off, 1 = on).
6561
+ * @nullable
5969
6562
  */
5970
- site_id?: number;
6563
+ notifications?: BackupSettings200Notifications;
6564
+ /** @nullable */
6565
+ notify_enabled?: boolean | null;
6566
+ /** @nullable */
6567
+ notify_policy?: BackupSettings200NotifyPolicy;
6568
+ /** @nullable */
6569
+ provider_resource_id?: string | null;
6570
+ /** @nullable */
6571
+ retention_days?: number | null;
5971
6572
  /**
5972
- * HAL domain id. Exactly one of site_id, domain_id, domain_name must be provided.
6573
+ * Scheduled day label from HAL (e.g. '14th' for monthly). If HAL sends 'undef', HUAPI normalizes it to null.
6574
+ * @nullable
5973
6575
  */
5974
- domain_id?: number;
6576
+ schedule_day?: string | null;
5975
6577
  /**
5976
- * Domain name associated with the account. Exactly one of site_id, domain_id, domain_name must be provided.
6578
+ * active, paused, suspended, site_deleted
6579
+ * @nullable
5977
6580
  */
5978
- domain_name?: string;
6581
+ status?: string | null;
6582
+ /** @nullable */
6583
+ timezone?: string | null;
5979
6584
  };
5980
- export declare type AddonsJetpackValidate200 = {
5981
- is_connected?: boolean;
6585
+ export declare type BackupCustomDeleteV1200 = {
6586
+ id?: number;
6587
+ msg?: string;
5982
6588
  };
5983
- export declare type AddonsInfo200 = {
5984
- id?: string;
6589
+ export declare type BackupCustomDeleteV1Body = {
6590
+ /** List of backup ids to delete */
6591
+ backup_ids: string[];
5985
6592
  };
5986
- export declare type AddonsCloudflareExternalNsCheck200Www = {
5987
- /** @nullable */
5988
- detected_ips?: string[] | null;
5989
- matched?: string;
6593
+ export declare type BackupCreateOndemandV1200 = {
6594
+ id?: number;
6595
+ msg?: string;
5990
6596
  };
5991
6597
  /**
5992
- * @nullable
6598
+ * Whether to include a link to the backup tarball
5993
6599
  */
5994
- export declare type AddonsCloudflareExternalNsCheck200NeedRecords = {
5995
- content?: string;
5996
- type?: string;
5997
- } | null;
5998
- export declare type AddonsCloudflareExternalNsCheck200Base = {
5999
- /** @nullable */
6000
- detected_ips?: string[] | null;
6001
- matched?: string;
6002
- };
6003
- export declare type AddonsCloudflareExternalNsCheck200 = {
6004
- base?: AddonsCloudflareExternalNsCheck200Base;
6005
- cdn_ip?: string;
6006
- domain?: string;
6007
- domain_id?: number;
6008
- domain_ns?: string[];
6009
- is_external?: number;
6010
- /** @nullable */
6011
- need_records?: AddonsCloudflareExternalNsCheck200NeedRecords;
6012
- server_ip?: string;
6013
- server_ns?: string[];
6014
- www?: AddonsCloudflareExternalNsCheck200Www;
6600
+ export declare type BackupCreateOndemandV1BodyIncludeBackupTarLink = typeof BackupCreateOndemandV1BodyIncludeBackupTarLink[keyof typeof BackupCreateOndemandV1BodyIncludeBackupTarLink];
6601
+ export declare const BackupCreateOndemandV1BodyIncludeBackupTarLink: {
6602
+ readonly NUMBER_0: 0;
6603
+ readonly NUMBER_1: 1;
6015
6604
  };
6016
- export declare type AddonsCloudflareExternalNsCheckParams = {
6017
- domain?: string;
6605
+ /**
6606
+ * The type of the backup
6607
+ */
6608
+ export declare type BackupCreateOndemandV1BodyBackupType = typeof BackupCreateOndemandV1BodyBackupType[keyof typeof BackupCreateOndemandV1BodyBackupType];
6609
+ export declare const BackupCreateOndemandV1BodyBackupType: {
6610
+ readonly home: "home";
6611
+ readonly db: "db";
6612
+ readonly home_db: "home_db";
6018
6613
  };
6019
- export declare type AddonsCloudflare200 = {
6020
- status?: string;
6614
+ export declare type BackupCreateOndemandV1Body = {
6615
+ /**
6616
+ * How long the created backup should remain active (in hours)
6617
+ * @nullable
6618
+ */
6619
+ backup_retention_hours?: number | null;
6620
+ /** The type of the backup */
6621
+ backup_type?: BackupCreateOndemandV1BodyBackupType;
6622
+ /**
6623
+ * List of databases to backup
6624
+ * @nullable
6625
+ */
6626
+ dbs?: string[] | null;
6627
+ /**
6628
+ * List of docroot paths to backup
6629
+ * @nullable
6630
+ */
6631
+ docroots?: string[] | null;
6632
+ /**
6633
+ * List of paths to exclude from the backup
6634
+ * @nullable
6635
+ */
6636
+ exclude_paths?: string[] | null;
6637
+ /** Whether to include a link to the backup tarball */
6638
+ include_backup_tar_link?: BackupCreateOndemandV1BodyIncludeBackupTarLink;
6021
6639
  };
6022
6640
  export declare type BackupMeta200 = {
6023
6641
  account?: BackupMeta200Account;
@@ -6148,6 +6766,170 @@ export declare type BackupInitiateBody = {
6148
6766
  /** Backup Volume store ID to get the backup */
6149
6767
  backup_volume_store_id: string;
6150
6768
  };
6769
+ export declare type XcitiumSso200 = {
6770
+ /** URL that allows SSOing in to manage the Xcitium backup account */
6771
+ url?: string;
6772
+ };
6773
+ export declare type XcitiumPlanInfo200SeatsItem = {
6774
+ /** Whether this site can create or can download xcitium backups */
6775
+ activated?: boolean;
6776
+ /**
6777
+ * Name of the site's database
6778
+ * @nullable
6779
+ */
6780
+ cms_database_name?: string | null;
6781
+ /** Amount of disk space the database backup is using */
6782
+ db_used_gib?: string;
6783
+ /**
6784
+ * Path to the site's files
6785
+ * @nullable
6786
+ */
6787
+ dir_path?: string | null;
6788
+ /** Amount of disk space the file system backup is using */
6789
+ fs_used_gib?: string;
6790
+ /**
6791
+ * The HAL site id
6792
+ * @nullable
6793
+ */
6794
+ site_id?: string | null;
6795
+ /**
6796
+ * Site url for this xcitium backup
6797
+ * @nullable
6798
+ */
6799
+ url?: string | null;
6800
+ /**
6801
+ * The xcitium identifier for this site
6802
+ * @nullable
6803
+ */
6804
+ website_id?: string | null;
6805
+ };
6806
+ export declare type XcitiumPlanInfo200 = {
6807
+ /** Whether backups can be created or downloaded from xcitium */
6808
+ activated?: boolean;
6809
+ /**
6810
+ * Back reference of the xcitium addon
6811
+ * @nullable
6812
+ */
6813
+ back_reference?: string | null;
6814
+ /** Whether the xcitium addon is upgradable to a higher tier */
6815
+ can_upgrade?: boolean;
6816
+ /** Whether the xcitium addon has been disabled */
6817
+ disabled?: boolean;
6818
+ /** Whether backup size has gone over the storage limit for the xcitium plan */
6819
+ over_quota?: boolean;
6820
+ /** Displayable plan name that the xcitium addon is on */
6821
+ plan_name?: string;
6822
+ /** Current number of sites added to the xcitium plan */
6823
+ seat_count?: string;
6824
+ /** Max number of sites that can be added to the xcitium plan */
6825
+ seat_limit?: string;
6826
+ seats?: XcitiumPlanInfo200SeatsItem[];
6827
+ /** Current size (in gib) of backups under the xcitium plan */
6828
+ size?: string;
6829
+ /** Max size (in gib) that can be backed up under the xcitium plan */
6830
+ size_limit?: string;
6831
+ /** Status of the xcitium addon */
6832
+ status?: string;
6833
+ };
6834
+ export declare type XcitiumBackupRestore200 = {
6835
+ database_success?: boolean;
6836
+ website_success?: boolean;
6837
+ };
6838
+ export declare type XcitiumBackupRestoreBody = {
6839
+ /** The commit id to restore the database from. */
6840
+ database_commit_id?: string;
6841
+ /** The id of the database the given database is associated with. */
6842
+ database_id?: number;
6843
+ /** The commit id to restore the website from. */
6844
+ website_commit_id?: string;
6845
+ /** The id of the website the given database is associated with. */
6846
+ website_id?: number;
6847
+ };
6848
+ export declare type XcitiumBackupDownload200 = {
6849
+ database_success?: number;
6850
+ website_success?: number;
6851
+ };
6852
+ export declare type XcitiumBackupDownloadBody = {
6853
+ /** The commit id to restore the database from. */
6854
+ database_commit_id?: string;
6855
+ /** The commit id to restore the website from. */
6856
+ website_commit_id?: string;
6857
+ /** The id of the website the given database is associated with. */
6858
+ website_id?: number;
6859
+ };
6860
+ export declare type XcitiumBackupCreate200 = {
6861
+ database_success?: number;
6862
+ website_success?: number;
6863
+ };
6864
+ export declare type XcitiumBackupCreateBody = {
6865
+ /** The id of the database the given database is associated with. */
6866
+ database_id?: number;
6867
+ /** The id of the website the given database is associated with. */
6868
+ website_id?: number;
6869
+ };
6870
+ export declare type XcitiumBackupList200BackupsItem = {
6871
+ /**
6872
+ * The id of the backup
6873
+ * @nullable
6874
+ */
6875
+ backup_id?: string | null;
6876
+ /**
6877
+ * The type of backup that was made
6878
+ * @nullable
6879
+ */
6880
+ backup_type?: string | null;
6881
+ /**
6882
+ * The timestamp at which the backup completed
6883
+ * @nullable
6884
+ */
6885
+ end_time?: string | null;
6886
+ /**
6887
+ * The number of files that were added with this backup
6888
+ * @nullable
6889
+ */
6890
+ files_added?: string | null;
6891
+ /**
6892
+ * The number of files that were deleted with this backup
6893
+ * @nullable
6894
+ */
6895
+ files_deleted?: string | null;
6896
+ /**
6897
+ * The number of files that were changed with this backup
6898
+ * @nullable
6899
+ */
6900
+ files_modified?: string | null;
6901
+ /**
6902
+ * The number of files included in this backup
6903
+ * @nullable
6904
+ */
6905
+ files_total?: string | null;
6906
+ /**
6907
+ * The method by which this backup was requested
6908
+ * @nullable
6909
+ */
6910
+ request_type?: string | null;
6911
+ /**
6912
+ * The timestamp at which the backup began
6913
+ * @nullable
6914
+ */
6915
+ start_time?: string | null;
6916
+ /**
6917
+ * The current status of the backup
6918
+ * @nullable
6919
+ */
6920
+ status?: string | null;
6921
+ /**
6922
+ * The Xcitium id for the website that this backup belongs to
6923
+ * @nullable
6924
+ */
6925
+ website_id?: string | null;
6926
+ };
6927
+ export declare type XcitiumBackupList200 = {
6928
+ backups?: XcitiumBackupList200BackupsItem[];
6929
+ };
6930
+ export declare type XcitiumBackupListParams = {
6931
+ site_id: string;
6932
+ };
6151
6933
  export declare type AddonsSitelockSso200 = {
6152
6934
  site_url?: string;
6153
6935
  sitelock_id?: string;
@@ -6295,9 +7077,6 @@ export declare type CodeguardBackupCreateBody = {
6295
7077
  /** The id of the website the given database is associated with. */
6296
7078
  website_id?: number;
6297
7079
  };
6298
- export declare type CodeguardBackupList200 = {
6299
- backups?: CodeguardBackupList200BackupsItem[];
6300
- };
6301
7080
  export declare type CodeguardBackupList200BackupsItemDatabaseBackupsItem = {
6302
7081
  commit_id?: string;
6303
7082
  event_time?: string;
@@ -6309,6 +7088,9 @@ export declare type CodeguardBackupList200BackupsItem = {
6309
7088
  event_time?: string;
6310
7089
  website_commit_id?: string;
6311
7090
  };
7091
+ export declare type CodeguardBackupList200 = {
7092
+ backups?: CodeguardBackupList200BackupsItem[];
7093
+ };
6312
7094
  export declare type CodeguardBackupListParams = {
6313
7095
  website_id: number;
6314
7096
  };
@@ -6435,12 +7217,6 @@ export declare type AccountHostingListParams = {
6435
7217
  */
6436
7218
  server_type?: string[];
6437
7219
  };
6438
- export declare type AccountFeatures200 = {
6439
- /** Feature information for the paginated product instances */
6440
- rows?: AccountFeatures200RowsItem[];
6441
- /** Total number of product instance IDs available to that account */
6442
- total_count?: number;
6443
- };
6444
7220
  /**
6445
7221
  * Usage statistics
6446
7222
  * @nullable
@@ -6701,6 +7477,12 @@ export declare type AccountFeatures200RowsItem = {
6701
7477
  */
6702
7478
  used?: AccountFeatures200RowsItemUsed;
6703
7479
  };
7480
+ export declare type AccountFeatures200 = {
7481
+ /** Feature information for the paginated product instances */
7482
+ rows?: AccountFeatures200RowsItem[];
7483
+ /** Total number of product instance IDs available to that account */
7484
+ total_count?: number;
7485
+ };
6704
7486
  export declare type AccountFeaturesParams = {
6705
7487
  /**
6706
7488
  * Starting index for pagination (default: 0)
@@ -6763,6 +7545,63 @@ export declare type AccountEventListParams = {
6763
7545
  */
6764
7546
  date_last?: string;
6765
7547
  };
7548
+ export interface AddonWorkflowListItem {
7549
+ /** Whether the workflow has completed all stages */
7550
+ is_completed?: boolean;
7551
+ /** The name of the workflow */
7552
+ name?: string;
7553
+ /** The most recent active step of the workflow */
7554
+ step?: string;
7555
+ /** The addon type associated with the workflow */
7556
+ type?: string;
7557
+ /** The id of the workflow */
7558
+ workflow_id?: string;
7559
+ }
7560
+ /**
7561
+ * Notify on successful backups
7562
+ */
7563
+ export declare type BackupNotificationsEmailSuccessfulBackups = typeof BackupNotificationsEmailSuccessfulBackups[keyof typeof BackupNotificationsEmailSuccessfulBackups];
7564
+ export declare const BackupNotificationsEmailSuccessfulBackups: {
7565
+ readonly NUMBER_0: 0;
7566
+ readonly NUMBER_1: 1;
7567
+ };
7568
+ /**
7569
+ * Notify when approaching storage limit
7570
+ */
7571
+ export declare type BackupNotificationsEmailStorageLimit = typeof BackupNotificationsEmailStorageLimit[keyof typeof BackupNotificationsEmailStorageLimit];
7572
+ export declare const BackupNotificationsEmailStorageLimit: {
7573
+ readonly NUMBER_0: 0;
7574
+ readonly NUMBER_1: 1;
7575
+ };
7576
+ /**
7577
+ * General backup email notices
7578
+ */
7579
+ export declare type BackupNotificationsEmailGeneralNotifications = typeof BackupNotificationsEmailGeneralNotifications[keyof typeof BackupNotificationsEmailGeneralNotifications];
7580
+ export declare const BackupNotificationsEmailGeneralNotifications: {
7581
+ readonly NUMBER_0: 0;
7582
+ readonly NUMBER_1: 1;
7583
+ };
7584
+ /**
7585
+ * Notify on failed backups
7586
+ */
7587
+ export declare type BackupNotificationsEmailFailedBackups = typeof BackupNotificationsEmailFailedBackups[keyof typeof BackupNotificationsEmailFailedBackups];
7588
+ export declare const BackupNotificationsEmailFailedBackups: {
7589
+ readonly NUMBER_0: 0;
7590
+ readonly NUMBER_1: 1;
7591
+ };
7592
+ /**
7593
+ * Email notification
7594
+ */
7595
+ export interface BackupNotificationsEmail {
7596
+ /** Notify on failed backups */
7597
+ failed_backups: BackupNotificationsEmailFailedBackups;
7598
+ /** General backup email notices */
7599
+ general_notifications: BackupNotificationsEmailGeneralNotifications;
7600
+ /** Notify when approaching storage limit */
7601
+ storage_limit: BackupNotificationsEmailStorageLimit;
7602
+ /** Notify on successful backups */
7603
+ successful_backups: BackupNotificationsEmailSuccessfulBackups;
7604
+ }
6766
7605
  /**
6767
7606
  * Which character set to use for the autorespond email content
6768
7607
  */
@@ -8870,6 +9709,11 @@ export declare type HostingLicenseModelDetails = {
8870
9709
  seats?: number | null;
8871
9710
  } | null;
8872
9711
  export interface HostingLicenseModel {
9712
+ /**
9713
+ * The back reference (prodInstId) of the license addon
9714
+ * @nullable
9715
+ */
9716
+ back_reference?: string | null;
8873
9717
  /** @nullable */
8874
9718
  details?: HostingLicenseModelDetails;
8875
9719
  /** Whether the license is eligible be upgraded */
@@ -8881,6 +9725,26 @@ export interface HostingLicenseModel {
8881
9725
  /** The subtype of the license */
8882
9726
  subtype?: string;
8883
9727
  }
9728
+ /**
9729
+ * @nullable
9730
+ */
9731
+ export declare type SiteOptionsModel = {
9732
+ /**
9733
+ * The AI generation prompt stored in WordPress options
9734
+ * @nullable
9735
+ */
9736
+ nfd_origin_prompt?: string | null;
9737
+ /**
9738
+ * WordPress site description (blogdescription option)
9739
+ * @nullable
9740
+ */
9741
+ site_description?: string | null;
9742
+ /**
9743
+ * WordPress site title (blogname option)
9744
+ * @nullable
9745
+ */
9746
+ site_title?: string | null;
9747
+ } | null;
8884
9748
  /**
8885
9749
  * @nullable
8886
9750
  */
@@ -8969,6 +9833,11 @@ export declare type SiteInfoResponseModelV2Pagespeed = {
8969
9833
  performance?: string;
8970
9834
  strategy?: string;
8971
9835
  } | null;
9836
+ /**
9837
+ * WordPress options (blogname, blogdescription, nfd_origin_prompt)
9838
+ * @nullable
9839
+ */
9840
+ export declare type SiteInfoResponseModelV2Options = SiteOptionsModel | null;
8972
9841
  /**
8973
9842
  * Job ids for the site
8974
9843
  * @nullable
@@ -9016,7 +9885,14 @@ export interface SiteInfoResponseModelV2 {
9016
9885
  edge_cache?: boolean;
9017
9886
  /** @nullable */
9018
9887
  handler_404?: string | null;
9888
+ /** Whether the site has WooCommerce plugin active */
9889
+ has_woocommerce?: boolean;
9019
9890
  id?: string;
9891
+ /**
9892
+ * Whether Blu AI is enabled for the site
9893
+ * @nullable
9894
+ */
9895
+ install_blu_ai?: boolean | null;
9020
9896
  /** @nullable */
9021
9897
  installed_id?: string | null;
9022
9898
  /**
@@ -9045,6 +9921,11 @@ export interface SiteInfoResponseModelV2 {
9045
9921
  * @nullable
9046
9922
  */
9047
9923
  onboarding_call_clicked?: boolean | null;
9924
+ /**
9925
+ * WordPress options (blogname, blogdescription, nfd_origin_prompt)
9926
+ * @nullable
9927
+ */
9928
+ options?: SiteInfoResponseModelV2Options;
9048
9929
  /** @nullable */
9049
9930
  pagespeed?: SiteInfoResponseModelV2Pagespeed;
9050
9931
  /**
@@ -9157,10 +10038,18 @@ export interface PerformanceScanResultItemModel {
9157
10038
  /** @nullable */
9158
10039
  performance_score?: number | null;
9159
10040
  /** @nullable */
10041
+ result_url?: string | null;
10042
+ /** @nullable */
9160
10043
  seo_score?: number | null;
9161
10044
  /** @nullable */
9162
10045
  speed_index?: number | null;
9163
10046
  /** @nullable */
10047
+ time_taken?: number | null;
10048
+ /** @nullable */
10049
+ time_to_first_byte?: number | null;
10050
+ /** @nullable */
10051
+ total_blocking_time?: number | null;
10052
+ /** @nullable */
9164
10053
  updated_at?: string | null;
9165
10054
  }
9166
10055
  export interface SSHUsersV2Response {