@newfold/huapi-js 2.1348.0 → 2.1349.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.1348.0
6
+ * OpenAPI spec version: 1.1349.0
7
7
  */
8
8
  export declare type SshKeyListV4200RowsItem = {
9
9
  authorize?: boolean;
@@ -277,63 +277,6 @@ export declare type SitesListV2200ItemsItemStaging = {
277
277
  /** A list of staging sites of the current site */
278
278
  sites?: number[];
279
279
  } | null;
280
- export declare type SitesListV2200ItemsItemResourcesStorage = {
281
- /** @nullable */
282
- available?: number | null;
283
- /** @nullable */
284
- total?: number | null;
285
- unit?: string;
286
- /** @nullable */
287
- used?: number | null;
288
- };
289
- export declare type SitesListV2200ItemsItemResources = {
290
- storage?: SitesListV2200ItemsItemResourcesStorage;
291
- /** @nullable */
292
- workers?: number | null;
293
- };
294
- /**
295
- * @nullable
296
- */
297
- export declare type SitesListV2200ItemsItemPendingUrlData = {
298
- /**
299
- * The root domain name
300
- * @nullable
301
- */
302
- base_domain?: string | null;
303
- /**
304
- * The Fully Qualified Domain Name (FQDN)
305
- * @nullable
306
- */
307
- domain?: string | null;
308
- /**
309
- * The current pending_url's HAL Domain ID
310
- * @nullable
311
- */
312
- domain_id?: number | null;
313
- /** @nullable */
314
- error?: string | null;
315
- /** Flag indicating whether the pending_url is temporary or not */
316
- is_temp?: boolean;
317
- /**
318
- * Flag indicating whether the url_sync job has run out of attempts
319
- * @nullable
320
- */
321
- job_failed?: boolean | null;
322
- /** @nullable */
323
- stage?: string | null;
324
- /**
325
- * Timestamp for when we will update the WP url, regardless of active sessions
326
- * @nullable
327
- */
328
- wp_session?: string | null;
329
- } | null;
330
- /**
331
- * Job ids for the site
332
- * @nullable
333
- */
334
- export declare type SitesListV2200ItemsItemJobs = {
335
- [key: string]: unknown;
336
- } | null;
337
280
  export declare type SitesListV2200ItemsItem = {
338
281
  /** @nullable */
339
282
  account_back_ref?: string | null;
@@ -416,6 +359,63 @@ export declare type SitesListV2200 = {
416
359
  /** total number of sites returned */
417
360
  total?: number;
418
361
  };
362
+ export declare type SitesListV2200ItemsItemResourcesStorage = {
363
+ /** @nullable */
364
+ available?: number | null;
365
+ /** @nullable */
366
+ total?: number | null;
367
+ unit?: string;
368
+ /** @nullable */
369
+ used?: number | null;
370
+ };
371
+ export declare type SitesListV2200ItemsItemResources = {
372
+ storage?: SitesListV2200ItemsItemResourcesStorage;
373
+ /** @nullable */
374
+ workers?: number | null;
375
+ };
376
+ /**
377
+ * @nullable
378
+ */
379
+ export declare type SitesListV2200ItemsItemPendingUrlData = {
380
+ /**
381
+ * The root domain name
382
+ * @nullable
383
+ */
384
+ base_domain?: string | null;
385
+ /**
386
+ * The Fully Qualified Domain Name (FQDN)
387
+ * @nullable
388
+ */
389
+ domain?: string | null;
390
+ /**
391
+ * The current pending_url's HAL Domain ID
392
+ * @nullable
393
+ */
394
+ domain_id?: number | null;
395
+ /** @nullable */
396
+ error?: string | null;
397
+ /** Flag indicating whether the pending_url is temporary or not */
398
+ is_temp?: boolean;
399
+ /**
400
+ * Flag indicating whether the url_sync job has run out of attempts
401
+ * @nullable
402
+ */
403
+ job_failed?: boolean | null;
404
+ /** @nullable */
405
+ stage?: string | null;
406
+ /**
407
+ * Timestamp for when we will update the WP url, regardless of active sessions
408
+ * @nullable
409
+ */
410
+ wp_session?: string | null;
411
+ } | null;
412
+ /**
413
+ * Job ids for the site
414
+ * @nullable
415
+ */
416
+ export declare type SitesListV2200ItemsItemJobs = {
417
+ [key: string]: unknown;
418
+ } | null;
419
419
  export declare type SshKeyV2200 = {
420
420
  deleted?: number;
421
421
  key_name?: string;
@@ -1291,13 +1291,6 @@ export declare type SitesPerformanceCachepurgeBody = {
1291
1291
  export declare type SitePendingDomainDelete200 = {
1292
1292
  [key: string]: unknown;
1293
1293
  };
1294
- export declare type SitesMetricDimensions200 = {
1295
- date_end?: string;
1296
- date_start?: string;
1297
- dimensions?: SitesMetricDimensions200Dimensions;
1298
- elapsed?: number;
1299
- metric?: string;
1300
- };
1301
1294
  export declare type SitesMetricDimensions200DimensionsWpAdminAjaxActionItemDimension = {
1302
1295
  [key: string]: number;
1303
1296
  };
@@ -1319,6 +1312,25 @@ export declare type SitesMetricDimensions200DimensionsVisitorCountryCodeItem = {
1319
1312
  dimension?: SitesMetricDimensions200DimensionsVisitorCountryCodeItemDimension;
1320
1313
  timestamp?: number;
1321
1314
  };
1315
+ export declare type SitesMetricDimensions200Dimensions = {
1316
+ http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
1317
+ http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
1318
+ http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
1319
+ http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
1320
+ page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
1321
+ page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
1322
+ visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
1323
+ visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
1324
+ visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
1325
+ wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
1326
+ };
1327
+ export declare type SitesMetricDimensions200 = {
1328
+ date_end?: string;
1329
+ date_start?: string;
1330
+ dimensions?: SitesMetricDimensions200Dimensions;
1331
+ elapsed?: number;
1332
+ metric?: string;
1333
+ };
1322
1334
  export declare type SitesMetricDimensions200DimensionsVisitorAsnItemDimension = {
1323
1335
  [key: string]: number;
1324
1336
  };
@@ -1368,18 +1380,6 @@ export declare type SitesMetricDimensions200DimensionsHttpHostItem = {
1368
1380
  dimension?: SitesMetricDimensions200DimensionsHttpHostItemDimension;
1369
1381
  timestamp?: number;
1370
1382
  };
1371
- export declare type SitesMetricDimensions200Dimensions = {
1372
- http_host?: SitesMetricDimensions200DimensionsHttpHostItem[];
1373
- http_status?: SitesMetricDimensions200DimensionsHttpStatusItem[];
1374
- http_verb?: SitesMetricDimensions200DimensionsHttpVerbItem[];
1375
- http_version?: SitesMetricDimensions200DimensionsHttpVersionItem[];
1376
- page_is_cached?: SitesMetricDimensions200DimensionsPageIsCachedItem[];
1377
- page_renderer?: SitesMetricDimensions200DimensionsPageRendererItem[];
1378
- visitor_asn?: SitesMetricDimensions200DimensionsVisitorAsnItem[];
1379
- visitor_country_code?: SitesMetricDimensions200DimensionsVisitorCountryCodeItem[];
1380
- visitor_is_crawler?: SitesMetricDimensions200DimensionsVisitorIsCrawlerItem[];
1381
- wp_admin_ajax_action?: SitesMetricDimensions200DimensionsWpAdminAjaxActionItem[];
1382
- };
1383
1383
  export declare type SitesMetricDimensionsParams = {
1384
1384
  start?: string;
1385
1385
  end?: string;
@@ -1584,6 +1584,34 @@ export declare type SiteIpaddressList200Item = {
1584
1584
  ending_ip?: string;
1585
1585
  server_setting?: string;
1586
1586
  };
1587
+ export declare type ErrorPagesDelete200 = {
1588
+ [key: string]: unknown;
1589
+ };
1590
+ export declare type ErrorPagesDeleteBody = {
1591
+ /** Error code */
1592
+ error_code: string;
1593
+ };
1594
+ export declare type ErrorPagesAdd200 = {
1595
+ [key: string]: unknown;
1596
+ };
1597
+ export declare type ErrorPagesAddBody = {
1598
+ /** Error code */
1599
+ error_code: string;
1600
+ /** Html content */
1601
+ html_content: string;
1602
+ };
1603
+ export declare type ErrorPagesFetch200 = {
1604
+ /** Error page file path */
1605
+ error_page?: string;
1606
+ /** Html content */
1607
+ html_content?: string;
1608
+ };
1609
+ export declare type ErrorPagesFetchParams = {
1610
+ /**
1611
+ * Error code
1612
+ */
1613
+ error_code: string;
1614
+ };
1587
1615
  export declare type SitesDomainsCreate200 = {
1588
1616
  id?: number;
1589
1617
  status?: string;
@@ -1966,6 +1994,17 @@ export declare type HostingVisitors200VisitorsItem = {
1966
1994
  unique_visitors?: number;
1967
1995
  visitors?: number;
1968
1996
  };
1997
+ export declare type HostingVisitors200 = {
1998
+ daily?: HostingVisitors200Daily;
1999
+ is_linked_domain?: boolean;
2000
+ linked_domain?: string;
2001
+ total_bandwidth?: number;
2002
+ total_hits?: number;
2003
+ total_pages?: number;
2004
+ total_unique_visitors?: number;
2005
+ total_visitors?: number;
2006
+ visitors?: HostingVisitors200VisitorsItem[];
2007
+ };
1969
2008
  export declare type HostingVisitors200DailyTotal = {
1970
2009
  total_bandwidth?: number;
1971
2010
  total_hits?: number;
@@ -1985,17 +2024,6 @@ export declare type HostingVisitors200Daily = {
1985
2024
  data?: HostingVisitors200DailyDataItem[];
1986
2025
  total?: HostingVisitors200DailyTotal;
1987
2026
  };
1988
- export declare type HostingVisitors200 = {
1989
- daily?: HostingVisitors200Daily;
1990
- is_linked_domain?: boolean;
1991
- linked_domain?: string;
1992
- total_bandwidth?: number;
1993
- total_hits?: number;
1994
- total_pages?: number;
1995
- total_unique_visitors?: number;
1996
- total_visitors?: number;
1997
- visitors?: HostingVisitors200VisitorsItem[];
1998
- };
1999
2027
  export declare type HostingVisitorsSource = typeof HostingVisitorsSource[keyof typeof HostingVisitorsSource];
2000
2028
  export declare const HostingVisitorsSource: {
2001
2029
  readonly http: "http";
@@ -2292,6 +2320,9 @@ export declare type HostingRedirects200Item = {
2292
2320
  url?: string;
2293
2321
  wildcard?: boolean;
2294
2322
  };
2323
+ export declare type ProductLicenseDetails200 = {
2324
+ wpsolution?: ProductLicenseDetails200Wpsolution;
2325
+ };
2295
2326
  export declare type ProductLicenseDetails200WpsolutionCreatorItem = {
2296
2327
  expirationDate?: string;
2297
2328
  prodInstId?: string;
@@ -2304,9 +2335,6 @@ export declare type ProductLicenseDetails200Wpsolution = {
2304
2335
  commerce?: ProductLicenseDetails200WpsolutionCommerceItem[];
2305
2336
  creator?: ProductLicenseDetails200WpsolutionCreatorItem[];
2306
2337
  };
2307
- export declare type ProductLicenseDetails200 = {
2308
- wpsolution?: ProductLicenseDetails200Wpsolution;
2309
- };
2310
2338
  export declare type ProductLicenseDetailsProductName = typeof ProductLicenseDetailsProductName[keyof typeof ProductLicenseDetailsProductName];
2311
2339
  export declare const ProductLicenseDetailsProductName: {
2312
2340
  readonly wpsolution: "wpsolution";
@@ -3481,6 +3509,9 @@ export declare type HostingAdvancedDnsParams = {
3481
3509
  domain: string;
3482
3510
  dns_with_us?: number;
3483
3511
  };
3512
+ export declare type HostingAddons200 = {
3513
+ rows?: HostingAddons200RowsItem[];
3514
+ };
3484
3515
  export declare type HostingAddons200RowsItemMeta = {
3485
3516
  [key: string]: string | number | boolean;
3486
3517
  };
@@ -3496,9 +3527,6 @@ export declare type HostingAddons200RowsItem = {
3496
3527
  subtype?: string;
3497
3528
  type?: string;
3498
3529
  };
3499
- export declare type HostingAddons200 = {
3500
- rows?: HostingAddons200RowsItem[];
3501
- };
3502
3530
  export declare type HostingAddonsParams = {
3503
3531
  status?: string;
3504
3532
  subtype?: string;
@@ -3524,23 +3552,6 @@ export declare type ActivityLog200 = {
3524
3552
  export declare type ActivityLogParams = {
3525
3553
  days?: number;
3526
3554
  };
3527
- export declare type HostingAccount200 = {
3528
- account_id?: string;
3529
- advanced?: boolean;
3530
- billing?: HostingAccount200Billing;
3531
- brand?: string;
3532
- id?: string;
3533
- panel?: string;
3534
- plan_key?: string;
3535
- platform?: string;
3536
- /** @nullable */
3537
- resources?: HostingAccount200Resources;
3538
- /** @nullable */
3539
- ssh_hostname?: string | null;
3540
- status?: string;
3541
- type?: string;
3542
- username?: string;
3543
- };
3544
3555
  export declare type HostingAccount200ResourcesWorkers = {
3545
3556
  /** @nullable */
3546
3557
  available?: number | null;
@@ -3558,6 +3569,31 @@ export declare type HostingAccount200ResourcesStorage = {
3558
3569
  /** @nullable */
3559
3570
  used?: number | null;
3560
3571
  };
3572
+ /**
3573
+ * @nullable
3574
+ */
3575
+ export declare type HostingAccount200Resources = {
3576
+ staging?: HostingAccount200ResourcesStaging;
3577
+ storage?: HostingAccount200ResourcesStorage;
3578
+ workers?: HostingAccount200ResourcesWorkers;
3579
+ } | null;
3580
+ export declare type HostingAccount200 = {
3581
+ account_id?: string;
3582
+ advanced?: boolean;
3583
+ billing?: HostingAccount200Billing;
3584
+ brand?: string;
3585
+ id?: string;
3586
+ panel?: string;
3587
+ plan_key?: string;
3588
+ platform?: string;
3589
+ /** @nullable */
3590
+ resources?: HostingAccount200Resources;
3591
+ /** @nullable */
3592
+ ssh_hostname?: string | null;
3593
+ status?: string;
3594
+ type?: string;
3595
+ username?: string;
3596
+ };
3561
3597
  export declare type HostingAccount200ResourcesStagingWorkers = {
3562
3598
  /** @nullable */
3563
3599
  available?: number | null;
@@ -3579,14 +3615,6 @@ export declare type HostingAccount200ResourcesStaging = {
3579
3615
  storage?: HostingAccount200ResourcesStagingStorage;
3580
3616
  workers?: HostingAccount200ResourcesStagingWorkers;
3581
3617
  };
3582
- /**
3583
- * @nullable
3584
- */
3585
- export declare type HostingAccount200Resources = {
3586
- staging?: HostingAccount200ResourcesStaging;
3587
- storage?: HostingAccount200ResourcesStorage;
3588
- workers?: HostingAccount200ResourcesWorkers;
3589
- } | null;
3590
3618
  export declare type HostingAccount200Billing = {
3591
3619
  prod_code?: string;
3592
3620
  product_name?: string;
@@ -4092,9 +4120,6 @@ export declare type CodeguardDatabaseBackupListParams = {
4092
4120
  database_id?: number;
4093
4121
  website_id?: number;
4094
4122
  };
4095
- export declare type CodeguardDatabaseList200DatabasesItem = {
4096
- database_backup?: CodeguardDatabaseList200DatabasesItemDatabaseBackup;
4097
- };
4098
4123
  export declare type CodeguardDatabaseList200 = {
4099
4124
  databases?: CodeguardDatabaseList200DatabasesItem[];
4100
4125
  status?: number;
@@ -4105,6 +4130,9 @@ export declare type CodeguardDatabaseList200DatabasesItemDatabaseBackup = {
4105
4130
  id?: number;
4106
4131
  website_id?: number;
4107
4132
  };
4133
+ export declare type CodeguardDatabaseList200DatabasesItem = {
4134
+ database_backup?: CodeguardDatabaseList200DatabasesItemDatabaseBackup;
4135
+ };
4108
4136
  export declare type CodeguardBackupRestore200 = {
4109
4137
  database_success?: boolean;
4110
4138
  website_success?: boolean;