@newfold/huapi-js 2.1063.0 → 2.1064.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.
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "tslib": "2.7.0"
11
11
  },
12
12
  "module": "dist/index.ts",
13
- "version": "2.1063.0",
13
+ "version": "2.1064.0",
14
14
  "sideEffects": false,
15
15
  "main": "./src/index.js",
16
16
  "types": "./src/index.d.ts",
package/src/index.js CHANGED
@@ -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.1063.0
6
+ * OpenAPI spec version: 1.1064.0
7
7
  */
8
8
  import { useInfiniteQuery, useMutation, useQuery } from '@tanstack/react-query';
9
9
  import axios from 'axios';
package/src/index.msw.js CHANGED
@@ -4,7 +4,7 @@ import { __awaiter } from "tslib";
4
4
  * Do not edit manually.
5
5
  * Hosting UAPI
6
6
  * Hosting UAPI is an API to expose Hosting, Addons, and Site functionality to a customer-facing Front End such as (Account Manager).
7
- * OpenAPI spec version: 1.1063.0
7
+ * OpenAPI spec version: 1.1064.0
8
8
  */
9
9
  import { faker } from '@faker-js/faker';
10
10
  import { HttpResponse, delay, http } from 'msw';
@@ -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.1063.0
6
+ * OpenAPI spec version: 1.1064.0
7
7
  */
8
8
  export declare type SitesListV3200 = {
9
9
  items?: SiteInfoResponseModelV2[];
@@ -1163,6 +1163,8 @@ export declare type SitesDomainsCreate200 = {
1163
1163
  export declare type SitesDomainsCreateBody = {
1164
1164
  /** The new domain to be added */
1165
1165
  domain: string;
1166
+ /** Forces the domain to be reassigned to the new docroot if true */
1167
+ force_vhost?: boolean;
1166
1168
  };
1167
1169
  export declare type SitesDomainUrl200 = {
1168
1170
  success?: boolean;
@@ -1656,6 +1658,8 @@ export declare type HostingSiteAddBody = {
1656
1658
  disk_limit_gib?: number;
1657
1659
  /** domain for the site to be added */
1658
1660
  domain?: string;
1661
+ /** flag that causes the domain vhost to be forced to the new docroot */
1662
+ force_vhost?: boolean;
1659
1663
  /** toggle between wordpress/lightweight for non-existent static file */
1660
1664
  handler_404?: boolean;
1661
1665
  /** Migrate an existing wordpress site */