hostinger-api-sdk 1.30.3 → 1.30.5

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.
Files changed (43) hide show
  1. package/README.md +2 -2
  2. package/api.ts +405 -403
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +251 -246
  7. package/dist/api.js +388 -381
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +2 -2
  14. package/dist/esm/api.d.ts +251 -246
  15. package/dist/esm/api.js +384 -377
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +2 -2
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/AgencyHostingCacheApi.md +4 -4
  27. package/docs/AgencyHostingCronJobsApi.md +13 -13
  28. package/docs/AgencyHostingDatabasesApi.md +21 -21
  29. package/docs/AgencyHostingDatacentersApi.md +4 -4
  30. package/docs/AgencyHostingDomainsApi.md +17 -17
  31. package/docs/AgencyHostingFilesApi.md +4 -4
  32. package/docs/{AgencyHostingListAgencyPlanDomainsV1200Response.md → AgencyHostingListDomainsV1200Response.md} +3 -3
  33. package/docs/{AgencyHostingListAgencyPlanOrdersV1200Response.md → AgencyHostingListOrdersV1200Response.md} +3 -3
  34. package/docs/{AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response.md → AgencyHostingListWebsiteCronJobsV1200Response.md} +3 -3
  35. package/docs/{AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response.md → AgencyHostingListWebsiteDatabasesV1200Response.md} +3 -3
  36. package/docs/AgencyHostingOrdersApi.md +5 -5
  37. package/docs/AgencyHostingWebsiteSetupsApi.md +24 -24
  38. package/docs/AgencyHostingWebsitesApi.md +16 -16
  39. package/docs/AgencyHostingWordPressApi.md +12 -12
  40. package/docs/HostingFilesApi.md +3 -4
  41. package/index.ts +1 -1
  42. package/package.json +1 -1
  43. package/docs/HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter.md +0 -18
package/dist/esm/api.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.32.2
6
+ * API Version: 1.32.4
7
7
  *
8
8
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
9
9
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -22,7 +22,7 @@ import globalAxios from 'axios';
22
22
  // @ts-ignore
23
23
  import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
24
24
  // @ts-ignore
25
- import { BASE_PATH, BaseAPI, operationServerMap } from './base';
25
+ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, operationServerMap } from './base';
26
26
  export const AgencyHostingV1SetupsCreateSetupRequestTypeEnum = {
27
27
  Horizons: 'horizons',
28
28
  NodeStatic: 'node-static'
@@ -702,14 +702,14 @@ export const AgencyHostingCacheApiAxiosParamCreator = function (configuration) {
702
702
  return {
703
703
  /**
704
704
  * Clears cache for all domains associated with an Agency Plan website, including its preview domain. This operation clears all cache types for the website.
705
- * @summary Clear Agency Plan website cache
705
+ * @summary Clear website cache
706
706
  * @param {string} websiteUid Agency Plan website UID
707
707
  * @param {*} [options] Override http request option.
708
708
  * @throws {RequiredError}
709
709
  */
710
- clearAgencyPlanWebsiteCacheV1: (websiteUid_1, ...args_1) => __awaiter(this, [websiteUid_1, ...args_1], void 0, function* (websiteUid, options = {}) {
710
+ clearWebsiteCacheV1: (websiteUid_1, ...args_1) => __awaiter(this, [websiteUid_1, ...args_1], void 0, function* (websiteUid, options = {}) {
711
711
  // verify required parameter 'websiteUid' is not null or undefined
712
- assertParamExists('clearAgencyPlanWebsiteCacheV1', 'websiteUid', websiteUid);
712
+ assertParamExists('clearWebsiteCacheV1', 'websiteUid', websiteUid);
713
713
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/cache`
714
714
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
715
715
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -743,16 +743,16 @@ export const AgencyHostingCacheApiFp = function (configuration) {
743
743
  return {
744
744
  /**
745
745
  * Clears cache for all domains associated with an Agency Plan website, including its preview domain. This operation clears all cache types for the website.
746
- * @summary Clear Agency Plan website cache
746
+ * @summary Clear website cache
747
747
  * @param {string} websiteUid Agency Plan website UID
748
748
  * @param {*} [options] Override http request option.
749
749
  * @throws {RequiredError}
750
750
  */
751
- clearAgencyPlanWebsiteCacheV1(websiteUid, options) {
751
+ clearWebsiteCacheV1(websiteUid, options) {
752
752
  return __awaiter(this, void 0, void 0, function* () {
753
753
  var _a, _b;
754
- const localVarAxiosArgs = yield localVarAxiosParamCreator.clearAgencyPlanWebsiteCacheV1(websiteUid, options);
755
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingCacheApi.clearAgencyPlanWebsiteCacheV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
754
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.clearWebsiteCacheV1(websiteUid, options);
755
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingCacheApi.clearWebsiteCacheV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
756
756
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
757
757
  });
758
758
  },
@@ -767,13 +767,13 @@ export const AgencyHostingCacheApiFactory = function (configuration, basePath, a
767
767
  return {
768
768
  /**
769
769
  * Clears cache for all domains associated with an Agency Plan website, including its preview domain. This operation clears all cache types for the website.
770
- * @summary Clear Agency Plan website cache
770
+ * @summary Clear website cache
771
771
  * @param {string} websiteUid Agency Plan website UID
772
772
  * @param {*} [options] Override http request option.
773
773
  * @throws {RequiredError}
774
774
  */
775
- clearAgencyPlanWebsiteCacheV1(websiteUid, options) {
776
- return localVarFp.clearAgencyPlanWebsiteCacheV1(websiteUid, options).then((request) => request(axios, basePath));
775
+ clearWebsiteCacheV1(websiteUid, options) {
776
+ return localVarFp.clearWebsiteCacheV1(websiteUid, options).then((request) => request(axios, basePath));
777
777
  },
778
778
  };
779
779
  };
@@ -786,14 +786,14 @@ export const AgencyHostingCacheApiFactory = function (configuration, basePath, a
786
786
  export class AgencyHostingCacheApi extends BaseAPI {
787
787
  /**
788
788
  * Clears cache for all domains associated with an Agency Plan website, including its preview domain. This operation clears all cache types for the website.
789
- * @summary Clear Agency Plan website cache
789
+ * @summary Clear website cache
790
790
  * @param {string} websiteUid Agency Plan website UID
791
791
  * @param {*} [options] Override http request option.
792
792
  * @throws {RequiredError}
793
793
  * @memberof AgencyHostingCacheApi
794
794
  */
795
- clearAgencyPlanWebsiteCacheV1(websiteUid, options) {
796
- return AgencyHostingCacheApiFp(this.configuration).clearAgencyPlanWebsiteCacheV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
795
+ clearWebsiteCacheV1(websiteUid, options) {
796
+ return AgencyHostingCacheApiFp(this.configuration).clearWebsiteCacheV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
797
797
  }
798
798
  }
799
799
  /**
@@ -804,17 +804,17 @@ export const AgencyHostingCronJobsApiAxiosParamCreator = function (configuration
804
804
  return {
805
805
  /**
806
806
  * Creates a cron job for an Agency Plan website from a schedule expression and a command. Returns the created cron job, including its uuid, which is required to delete the cron job.
807
- * @summary Create Agency Plan website cron job
807
+ * @summary Create website cron job
808
808
  * @param {string} websiteUid Agency Plan website UID
809
809
  * @param {AgencyHostingV1WebsitesCronJobsCreateCronJobRequest} agencyHostingV1WebsitesCronJobsCreateCronJobRequest
810
810
  * @param {*} [options] Override http request option.
811
811
  * @throws {RequiredError}
812
812
  */
813
- createAgencyPlanWebsiteCronJobV1: (websiteUid_1, agencyHostingV1WebsitesCronJobsCreateCronJobRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, agencyHostingV1WebsitesCronJobsCreateCronJobRequest_1, ...args_1], void 0, function* (websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options = {}) {
813
+ createWebsiteCronJobV1: (websiteUid_1, agencyHostingV1WebsitesCronJobsCreateCronJobRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, agencyHostingV1WebsitesCronJobsCreateCronJobRequest_1, ...args_1], void 0, function* (websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options = {}) {
814
814
  // verify required parameter 'websiteUid' is not null or undefined
815
- assertParamExists('createAgencyPlanWebsiteCronJobV1', 'websiteUid', websiteUid);
815
+ assertParamExists('createWebsiteCronJobV1', 'websiteUid', websiteUid);
816
816
  // verify required parameter 'agencyHostingV1WebsitesCronJobsCreateCronJobRequest' is not null or undefined
817
- assertParamExists('createAgencyPlanWebsiteCronJobV1', 'agencyHostingV1WebsitesCronJobsCreateCronJobRequest', agencyHostingV1WebsitesCronJobsCreateCronJobRequest);
817
+ assertParamExists('createWebsiteCronJobV1', 'agencyHostingV1WebsitesCronJobsCreateCronJobRequest', agencyHostingV1WebsitesCronJobsCreateCronJobRequest);
818
818
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs`
819
819
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
820
820
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -841,17 +841,17 @@ export const AgencyHostingCronJobsApiAxiosParamCreator = function (configuration
841
841
  }),
842
842
  /**
843
843
  * Permanently deletes the cron job identified by its uuid from an Agency Plan website. The operation is idempotent: deleting a cron job that does not exist succeeds without error.
844
- * @summary Delete Agency Plan website cron job
844
+ * @summary Delete website cron job
845
845
  * @param {string} websiteUid Agency Plan website UID
846
846
  * @param {string} uuid Unique identifier of the cron job as returned by the list cron jobs endpoint.
847
847
  * @param {*} [options] Override http request option.
848
848
  * @throws {RequiredError}
849
849
  */
850
- deleteAgencyPlanWebsiteCronJobV1: (websiteUid_1, uuid_1, ...args_1) => __awaiter(this, [websiteUid_1, uuid_1, ...args_1], void 0, function* (websiteUid, uuid, options = {}) {
850
+ deleteWebsiteCronJobV1: (websiteUid_1, uuid_1, ...args_1) => __awaiter(this, [websiteUid_1, uuid_1, ...args_1], void 0, function* (websiteUid, uuid, options = {}) {
851
851
  // verify required parameter 'websiteUid' is not null or undefined
852
- assertParamExists('deleteAgencyPlanWebsiteCronJobV1', 'websiteUid', websiteUid);
852
+ assertParamExists('deleteWebsiteCronJobV1', 'websiteUid', websiteUid);
853
853
  // verify required parameter 'uuid' is not null or undefined
854
- assertParamExists('deleteAgencyPlanWebsiteCronJobV1', 'uuid', uuid);
854
+ assertParamExists('deleteWebsiteCronJobV1', 'uuid', uuid);
855
855
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}`
856
856
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
857
857
  .replace(`{${"uuid"}}`, encodeURIComponent(String(uuid)));
@@ -877,16 +877,16 @@ export const AgencyHostingCronJobsApiAxiosParamCreator = function (configuration
877
877
  }),
878
878
  /**
879
879
  * Returns a paginated list of cron jobs configured for an Agency Plan website. Each entry includes the schedule expression and the command executed on that schedule.
880
- * @summary List Agency Plan website cron jobs
880
+ * @summary List website cron jobs
881
881
  * @param {string} websiteUid Agency Plan website UID
882
882
  * @param {number} [page] Page number
883
883
  * @param {number} [perPage] Number of items per page
884
884
  * @param {*} [options] Override http request option.
885
885
  * @throws {RequiredError}
886
886
  */
887
- listAgencyPlanWebsiteCronJobsV1: (websiteUid_1, page_1, perPage_1, ...args_1) => __awaiter(this, [websiteUid_1, page_1, perPage_1, ...args_1], void 0, function* (websiteUid, page, perPage, options = {}) {
887
+ listWebsiteCronJobsV1: (websiteUid_1, page_1, perPage_1, ...args_1) => __awaiter(this, [websiteUid_1, page_1, perPage_1, ...args_1], void 0, function* (websiteUid, page, perPage, options = {}) {
888
888
  // verify required parameter 'websiteUid' is not null or undefined
889
- assertParamExists('listAgencyPlanWebsiteCronJobsV1', 'websiteUid', websiteUid);
889
+ assertParamExists('listWebsiteCronJobsV1', 'websiteUid', websiteUid);
890
890
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs`
891
891
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
892
892
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -926,50 +926,50 @@ export const AgencyHostingCronJobsApiFp = function (configuration) {
926
926
  return {
927
927
  /**
928
928
  * Creates a cron job for an Agency Plan website from a schedule expression and a command. Returns the created cron job, including its uuid, which is required to delete the cron job.
929
- * @summary Create Agency Plan website cron job
929
+ * @summary Create website cron job
930
930
  * @param {string} websiteUid Agency Plan website UID
931
931
  * @param {AgencyHostingV1WebsitesCronJobsCreateCronJobRequest} agencyHostingV1WebsitesCronJobsCreateCronJobRequest
932
932
  * @param {*} [options] Override http request option.
933
933
  * @throws {RequiredError}
934
934
  */
935
- createAgencyPlanWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options) {
935
+ createWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options) {
936
936
  return __awaiter(this, void 0, void 0, function* () {
937
937
  var _a, _b;
938
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createAgencyPlanWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options);
939
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingCronJobsApi.createAgencyPlanWebsiteCronJobV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
938
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options);
939
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingCronJobsApi.createWebsiteCronJobV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
940
940
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
941
941
  });
942
942
  },
943
943
  /**
944
944
  * Permanently deletes the cron job identified by its uuid from an Agency Plan website. The operation is idempotent: deleting a cron job that does not exist succeeds without error.
945
- * @summary Delete Agency Plan website cron job
945
+ * @summary Delete website cron job
946
946
  * @param {string} websiteUid Agency Plan website UID
947
947
  * @param {string} uuid Unique identifier of the cron job as returned by the list cron jobs endpoint.
948
948
  * @param {*} [options] Override http request option.
949
949
  * @throws {RequiredError}
950
950
  */
951
- deleteAgencyPlanWebsiteCronJobV1(websiteUid, uuid, options) {
951
+ deleteWebsiteCronJobV1(websiteUid, uuid, options) {
952
952
  return __awaiter(this, void 0, void 0, function* () {
953
953
  var _a, _b;
954
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAgencyPlanWebsiteCronJobV1(websiteUid, uuid, options);
955
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingCronJobsApi.deleteAgencyPlanWebsiteCronJobV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
954
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteWebsiteCronJobV1(websiteUid, uuid, options);
955
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingCronJobsApi.deleteWebsiteCronJobV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
956
956
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
957
957
  });
958
958
  },
959
959
  /**
960
960
  * Returns a paginated list of cron jobs configured for an Agency Plan website. Each entry includes the schedule expression and the command executed on that schedule.
961
- * @summary List Agency Plan website cron jobs
961
+ * @summary List website cron jobs
962
962
  * @param {string} websiteUid Agency Plan website UID
963
963
  * @param {number} [page] Page number
964
964
  * @param {number} [perPage] Number of items per page
965
965
  * @param {*} [options] Override http request option.
966
966
  * @throws {RequiredError}
967
967
  */
968
- listAgencyPlanWebsiteCronJobsV1(websiteUid, page, perPage, options) {
968
+ listWebsiteCronJobsV1(websiteUid, page, perPage, options) {
969
969
  return __awaiter(this, void 0, void 0, function* () {
970
970
  var _a, _b;
971
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listAgencyPlanWebsiteCronJobsV1(websiteUid, page, perPage, options);
972
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingCronJobsApi.listAgencyPlanWebsiteCronJobsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
971
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebsiteCronJobsV1(websiteUid, page, perPage, options);
972
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingCronJobsApi.listWebsiteCronJobsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
973
973
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
974
974
  });
975
975
  },
@@ -984,37 +984,37 @@ export const AgencyHostingCronJobsApiFactory = function (configuration, basePath
984
984
  return {
985
985
  /**
986
986
  * Creates a cron job for an Agency Plan website from a schedule expression and a command. Returns the created cron job, including its uuid, which is required to delete the cron job.
987
- * @summary Create Agency Plan website cron job
987
+ * @summary Create website cron job
988
988
  * @param {string} websiteUid Agency Plan website UID
989
989
  * @param {AgencyHostingV1WebsitesCronJobsCreateCronJobRequest} agencyHostingV1WebsitesCronJobsCreateCronJobRequest
990
990
  * @param {*} [options] Override http request option.
991
991
  * @throws {RequiredError}
992
992
  */
993
- createAgencyPlanWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options) {
994
- return localVarFp.createAgencyPlanWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options).then((request) => request(axios, basePath));
993
+ createWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options) {
994
+ return localVarFp.createWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options).then((request) => request(axios, basePath));
995
995
  },
996
996
  /**
997
997
  * Permanently deletes the cron job identified by its uuid from an Agency Plan website. The operation is idempotent: deleting a cron job that does not exist succeeds without error.
998
- * @summary Delete Agency Plan website cron job
998
+ * @summary Delete website cron job
999
999
  * @param {string} websiteUid Agency Plan website UID
1000
1000
  * @param {string} uuid Unique identifier of the cron job as returned by the list cron jobs endpoint.
1001
1001
  * @param {*} [options] Override http request option.
1002
1002
  * @throws {RequiredError}
1003
1003
  */
1004
- deleteAgencyPlanWebsiteCronJobV1(websiteUid, uuid, options) {
1005
- return localVarFp.deleteAgencyPlanWebsiteCronJobV1(websiteUid, uuid, options).then((request) => request(axios, basePath));
1004
+ deleteWebsiteCronJobV1(websiteUid, uuid, options) {
1005
+ return localVarFp.deleteWebsiteCronJobV1(websiteUid, uuid, options).then((request) => request(axios, basePath));
1006
1006
  },
1007
1007
  /**
1008
1008
  * Returns a paginated list of cron jobs configured for an Agency Plan website. Each entry includes the schedule expression and the command executed on that schedule.
1009
- * @summary List Agency Plan website cron jobs
1009
+ * @summary List website cron jobs
1010
1010
  * @param {string} websiteUid Agency Plan website UID
1011
1011
  * @param {number} [page] Page number
1012
1012
  * @param {number} [perPage] Number of items per page
1013
1013
  * @param {*} [options] Override http request option.
1014
1014
  * @throws {RequiredError}
1015
1015
  */
1016
- listAgencyPlanWebsiteCronJobsV1(websiteUid, page, perPage, options) {
1017
- return localVarFp.listAgencyPlanWebsiteCronJobsV1(websiteUid, page, perPage, options).then((request) => request(axios, basePath));
1016
+ listWebsiteCronJobsV1(websiteUid, page, perPage, options) {
1017
+ return localVarFp.listWebsiteCronJobsV1(websiteUid, page, perPage, options).then((request) => request(axios, basePath));
1018
1018
  },
1019
1019
  };
1020
1020
  };
@@ -1027,31 +1027,31 @@ export const AgencyHostingCronJobsApiFactory = function (configuration, basePath
1027
1027
  export class AgencyHostingCronJobsApi extends BaseAPI {
1028
1028
  /**
1029
1029
  * Creates a cron job for an Agency Plan website from a schedule expression and a command. Returns the created cron job, including its uuid, which is required to delete the cron job.
1030
- * @summary Create Agency Plan website cron job
1030
+ * @summary Create website cron job
1031
1031
  * @param {string} websiteUid Agency Plan website UID
1032
1032
  * @param {AgencyHostingV1WebsitesCronJobsCreateCronJobRequest} agencyHostingV1WebsitesCronJobsCreateCronJobRequest
1033
1033
  * @param {*} [options] Override http request option.
1034
1034
  * @throws {RequiredError}
1035
1035
  * @memberof AgencyHostingCronJobsApi
1036
1036
  */
1037
- createAgencyPlanWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options) {
1038
- return AgencyHostingCronJobsApiFp(this.configuration).createAgencyPlanWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options).then((request) => request(this.axios, this.basePath));
1037
+ createWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options) {
1038
+ return AgencyHostingCronJobsApiFp(this.configuration).createWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options).then((request) => request(this.axios, this.basePath));
1039
1039
  }
1040
1040
  /**
1041
1041
  * Permanently deletes the cron job identified by its uuid from an Agency Plan website. The operation is idempotent: deleting a cron job that does not exist succeeds without error.
1042
- * @summary Delete Agency Plan website cron job
1042
+ * @summary Delete website cron job
1043
1043
  * @param {string} websiteUid Agency Plan website UID
1044
1044
  * @param {string} uuid Unique identifier of the cron job as returned by the list cron jobs endpoint.
1045
1045
  * @param {*} [options] Override http request option.
1046
1046
  * @throws {RequiredError}
1047
1047
  * @memberof AgencyHostingCronJobsApi
1048
1048
  */
1049
- deleteAgencyPlanWebsiteCronJobV1(websiteUid, uuid, options) {
1050
- return AgencyHostingCronJobsApiFp(this.configuration).deleteAgencyPlanWebsiteCronJobV1(websiteUid, uuid, options).then((request) => request(this.axios, this.basePath));
1049
+ deleteWebsiteCronJobV1(websiteUid, uuid, options) {
1050
+ return AgencyHostingCronJobsApiFp(this.configuration).deleteWebsiteCronJobV1(websiteUid, uuid, options).then((request) => request(this.axios, this.basePath));
1051
1051
  }
1052
1052
  /**
1053
1053
  * Returns a paginated list of cron jobs configured for an Agency Plan website. Each entry includes the schedule expression and the command executed on that schedule.
1054
- * @summary List Agency Plan website cron jobs
1054
+ * @summary List website cron jobs
1055
1055
  * @param {string} websiteUid Agency Plan website UID
1056
1056
  * @param {number} [page] Page number
1057
1057
  * @param {number} [perPage] Number of items per page
@@ -1059,8 +1059,8 @@ export class AgencyHostingCronJobsApi extends BaseAPI {
1059
1059
  * @throws {RequiredError}
1060
1060
  * @memberof AgencyHostingCronJobsApi
1061
1061
  */
1062
- listAgencyPlanWebsiteCronJobsV1(websiteUid, page, perPage, options) {
1063
- return AgencyHostingCronJobsApiFp(this.configuration).listAgencyPlanWebsiteCronJobsV1(websiteUid, page, perPage, options).then((request) => request(this.axios, this.basePath));
1062
+ listWebsiteCronJobsV1(websiteUid, page, perPage, options) {
1063
+ return AgencyHostingCronJobsApiFp(this.configuration).listWebsiteCronJobsV1(websiteUid, page, perPage, options).then((request) => request(this.axios, this.basePath));
1064
1064
  }
1065
1065
  }
1066
1066
  /**
@@ -1071,20 +1071,20 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
1071
1071
  return {
1072
1072
  /**
1073
1073
  * Creates a user for an existing database on an Agency Plan website. Each database supports a single non-system user; creating a user for a database that already has one fails.
1074
- * @summary Create Agency Plan website database user
1074
+ * @summary Create website database user
1075
1075
  * @param {string} websiteUid Agency Plan website UID
1076
1076
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
1077
1077
  * @param {AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest} agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
1078
1078
  * @param {*} [options] Override http request option.
1079
1079
  * @throws {RequiredError}
1080
1080
  */
1081
- createAgencyPlanWebsiteDatabaseUserV1: (websiteUid_1, databaseName_1, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, databaseName_1, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest_1, ...args_1], void 0, function* (websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options = {}) {
1081
+ createWebsiteDatabaseUserV1: (websiteUid_1, databaseName_1, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, databaseName_1, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest_1, ...args_1], void 0, function* (websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options = {}) {
1082
1082
  // verify required parameter 'websiteUid' is not null or undefined
1083
- assertParamExists('createAgencyPlanWebsiteDatabaseUserV1', 'websiteUid', websiteUid);
1083
+ assertParamExists('createWebsiteDatabaseUserV1', 'websiteUid', websiteUid);
1084
1084
  // verify required parameter 'databaseName' is not null or undefined
1085
- assertParamExists('createAgencyPlanWebsiteDatabaseUserV1', 'databaseName', databaseName);
1085
+ assertParamExists('createWebsiteDatabaseUserV1', 'databaseName', databaseName);
1086
1086
  // verify required parameter 'agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest' is not null or undefined
1087
- assertParamExists('createAgencyPlanWebsiteDatabaseUserV1', 'agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest', agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest);
1087
+ assertParamExists('createWebsiteDatabaseUserV1', 'agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest', agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest);
1088
1088
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users`
1089
1089
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
1090
1090
  .replace(`{${"database_name"}}`, encodeURIComponent(String(databaseName)));
@@ -1112,17 +1112,17 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
1112
1112
  }),
1113
1113
  /**
1114
1114
  * Creates a MySQL database with a dedicated user for an Agency Plan website. The database name, username, and password must all be provided by the caller.
1115
- * @summary Create Agency Plan website database
1115
+ * @summary Create website database
1116
1116
  * @param {string} websiteUid Agency Plan website UID
1117
1117
  * @param {AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest} agencyHostingV1WebsitesDatabasesCreateDatabaseRequest
1118
1118
  * @param {*} [options] Override http request option.
1119
1119
  * @throws {RequiredError}
1120
1120
  */
1121
- createAgencyPlanWebsiteDatabaseV1: (websiteUid_1, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest_1, ...args_1], void 0, function* (websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options = {}) {
1121
+ createWebsiteDatabaseV1: (websiteUid_1, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest_1, ...args_1], void 0, function* (websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options = {}) {
1122
1122
  // verify required parameter 'websiteUid' is not null or undefined
1123
- assertParamExists('createAgencyPlanWebsiteDatabaseV1', 'websiteUid', websiteUid);
1123
+ assertParamExists('createWebsiteDatabaseV1', 'websiteUid', websiteUid);
1124
1124
  // verify required parameter 'agencyHostingV1WebsitesDatabasesCreateDatabaseRequest' is not null or undefined
1125
- assertParamExists('createAgencyPlanWebsiteDatabaseV1', 'agencyHostingV1WebsitesDatabasesCreateDatabaseRequest', agencyHostingV1WebsitesDatabasesCreateDatabaseRequest);
1125
+ assertParamExists('createWebsiteDatabaseV1', 'agencyHostingV1WebsitesDatabasesCreateDatabaseRequest', agencyHostingV1WebsitesDatabasesCreateDatabaseRequest);
1126
1126
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases`
1127
1127
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
1128
1128
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -1149,20 +1149,20 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
1149
1149
  }),
1150
1150
  /**
1151
1151
  * Permanently deletes a database user from an Agency Plan website database, revoking all access it had. The operation is idempotent: deleting a user that does not exist succeeds without error.
1152
- * @summary Delete Agency Plan website database user
1152
+ * @summary Delete website database user
1153
1153
  * @param {string} websiteUid Agency Plan website UID
1154
1154
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
1155
1155
  * @param {string} databaseUserName Database username as returned by the list databases endpoint.
1156
1156
  * @param {*} [options] Override http request option.
1157
1157
  * @throws {RequiredError}
1158
1158
  */
1159
- deleteAgencyPlanWebsiteDatabaseUserV1: (websiteUid_1, databaseName_1, databaseUserName_1, ...args_1) => __awaiter(this, [websiteUid_1, databaseName_1, databaseUserName_1, ...args_1], void 0, function* (websiteUid, databaseName, databaseUserName, options = {}) {
1159
+ deleteWebsiteDatabaseUserV1: (websiteUid_1, databaseName_1, databaseUserName_1, ...args_1) => __awaiter(this, [websiteUid_1, databaseName_1, databaseUserName_1, ...args_1], void 0, function* (websiteUid, databaseName, databaseUserName, options = {}) {
1160
1160
  // verify required parameter 'websiteUid' is not null or undefined
1161
- assertParamExists('deleteAgencyPlanWebsiteDatabaseUserV1', 'websiteUid', websiteUid);
1161
+ assertParamExists('deleteWebsiteDatabaseUserV1', 'websiteUid', websiteUid);
1162
1162
  // verify required parameter 'databaseName' is not null or undefined
1163
- assertParamExists('deleteAgencyPlanWebsiteDatabaseUserV1', 'databaseName', databaseName);
1163
+ assertParamExists('deleteWebsiteDatabaseUserV1', 'databaseName', databaseName);
1164
1164
  // verify required parameter 'databaseUserName' is not null or undefined
1165
- assertParamExists('deleteAgencyPlanWebsiteDatabaseUserV1', 'databaseUserName', databaseUserName);
1165
+ assertParamExists('deleteWebsiteDatabaseUserV1', 'databaseUserName', databaseUserName);
1166
1166
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}`
1167
1167
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
1168
1168
  .replace(`{${"database_name"}}`, encodeURIComponent(String(databaseName)))
@@ -1189,17 +1189,17 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
1189
1189
  }),
1190
1190
  /**
1191
1191
  * Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users. The operation is idempotent: deleting a database that does not exist succeeds without error.
1192
- * @summary Delete Agency Plan website database
1192
+ * @summary Delete website database
1193
1193
  * @param {string} websiteUid Agency Plan website UID
1194
1194
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
1195
1195
  * @param {*} [options] Override http request option.
1196
1196
  * @throws {RequiredError}
1197
1197
  */
1198
- deleteAgencyPlanWebsiteDatabaseV1: (websiteUid_1, databaseName_1, ...args_1) => __awaiter(this, [websiteUid_1, databaseName_1, ...args_1], void 0, function* (websiteUid, databaseName, options = {}) {
1198
+ deleteWebsiteDatabaseV1: (websiteUid_1, databaseName_1, ...args_1) => __awaiter(this, [websiteUid_1, databaseName_1, ...args_1], void 0, function* (websiteUid, databaseName, options = {}) {
1199
1199
  // verify required parameter 'websiteUid' is not null or undefined
1200
- assertParamExists('deleteAgencyPlanWebsiteDatabaseV1', 'websiteUid', websiteUid);
1200
+ assertParamExists('deleteWebsiteDatabaseV1', 'websiteUid', websiteUid);
1201
1201
  // verify required parameter 'databaseName' is not null or undefined
1202
- assertParamExists('deleteAgencyPlanWebsiteDatabaseV1', 'databaseName', databaseName);
1202
+ assertParamExists('deleteWebsiteDatabaseV1', 'databaseName', databaseName);
1203
1203
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}`
1204
1204
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
1205
1205
  .replace(`{${"database_name"}}`, encodeURIComponent(String(databaseName)));
@@ -1225,16 +1225,16 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
1225
1225
  }),
1226
1226
  /**
1227
1227
  * Returns a paginated list of MySQL databases created for an Agency Plan website. Each entry includes the database\'s non-system users.
1228
- * @summary List Agency Plan website databases
1228
+ * @summary List website databases
1229
1229
  * @param {string} websiteUid Agency Plan website UID
1230
1230
  * @param {number} [page] Page number
1231
1231
  * @param {number} [perPage] Number of items per page
1232
1232
  * @param {*} [options] Override http request option.
1233
1233
  * @throws {RequiredError}
1234
1234
  */
1235
- listAgencyPlanWebsiteDatabasesV1: (websiteUid_1, page_1, perPage_1, ...args_1) => __awaiter(this, [websiteUid_1, page_1, perPage_1, ...args_1], void 0, function* (websiteUid, page, perPage, options = {}) {
1235
+ listWebsiteDatabasesV1: (websiteUid_1, page_1, perPage_1, ...args_1) => __awaiter(this, [websiteUid_1, page_1, perPage_1, ...args_1], void 0, function* (websiteUid, page, perPage, options = {}) {
1236
1236
  // verify required parameter 'websiteUid' is not null or undefined
1237
- assertParamExists('listAgencyPlanWebsiteDatabasesV1', 'websiteUid', websiteUid);
1237
+ assertParamExists('listWebsiteDatabasesV1', 'websiteUid', websiteUid);
1238
1238
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases`
1239
1239
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
1240
1240
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -1274,84 +1274,84 @@ export const AgencyHostingDatabasesApiFp = function (configuration) {
1274
1274
  return {
1275
1275
  /**
1276
1276
  * Creates a user for an existing database on an Agency Plan website. Each database supports a single non-system user; creating a user for a database that already has one fails.
1277
- * @summary Create Agency Plan website database user
1277
+ * @summary Create website database user
1278
1278
  * @param {string} websiteUid Agency Plan website UID
1279
1279
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
1280
1280
  * @param {AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest} agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
1281
1281
  * @param {*} [options] Override http request option.
1282
1282
  * @throws {RequiredError}
1283
1283
  */
1284
- createAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options) {
1284
+ createWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options) {
1285
1285
  return __awaiter(this, void 0, void 0, function* () {
1286
1286
  var _a, _b;
1287
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options);
1288
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDatabasesApi.createAgencyPlanWebsiteDatabaseUserV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1287
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options);
1288
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDatabasesApi.createWebsiteDatabaseUserV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1289
1289
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1290
1290
  });
1291
1291
  },
1292
1292
  /**
1293
1293
  * Creates a MySQL database with a dedicated user for an Agency Plan website. The database name, username, and password must all be provided by the caller.
1294
- * @summary Create Agency Plan website database
1294
+ * @summary Create website database
1295
1295
  * @param {string} websiteUid Agency Plan website UID
1296
1296
  * @param {AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest} agencyHostingV1WebsitesDatabasesCreateDatabaseRequest
1297
1297
  * @param {*} [options] Override http request option.
1298
1298
  * @throws {RequiredError}
1299
1299
  */
1300
- createAgencyPlanWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options) {
1300
+ createWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options) {
1301
1301
  return __awaiter(this, void 0, void 0, function* () {
1302
1302
  var _a, _b;
1303
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createAgencyPlanWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options);
1304
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDatabasesApi.createAgencyPlanWebsiteDatabaseV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1303
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options);
1304
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDatabasesApi.createWebsiteDatabaseV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1305
1305
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1306
1306
  });
1307
1307
  },
1308
1308
  /**
1309
1309
  * Permanently deletes a database user from an Agency Plan website database, revoking all access it had. The operation is idempotent: deleting a user that does not exist succeeds without error.
1310
- * @summary Delete Agency Plan website database user
1310
+ * @summary Delete website database user
1311
1311
  * @param {string} websiteUid Agency Plan website UID
1312
1312
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
1313
1313
  * @param {string} databaseUserName Database username as returned by the list databases endpoint.
1314
1314
  * @param {*} [options] Override http request option.
1315
1315
  * @throws {RequiredError}
1316
1316
  */
1317
- deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options) {
1317
+ deleteWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options) {
1318
1318
  return __awaiter(this, void 0, void 0, function* () {
1319
1319
  var _a, _b;
1320
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options);
1321
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDatabasesApi.deleteAgencyPlanWebsiteDatabaseUserV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1320
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options);
1321
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDatabasesApi.deleteWebsiteDatabaseUserV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1322
1322
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1323
1323
  });
1324
1324
  },
1325
1325
  /**
1326
1326
  * Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users. The operation is idempotent: deleting a database that does not exist succeeds without error.
1327
- * @summary Delete Agency Plan website database
1327
+ * @summary Delete website database
1328
1328
  * @param {string} websiteUid Agency Plan website UID
1329
1329
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
1330
1330
  * @param {*} [options] Override http request option.
1331
1331
  * @throws {RequiredError}
1332
1332
  */
1333
- deleteAgencyPlanWebsiteDatabaseV1(websiteUid, databaseName, options) {
1333
+ deleteWebsiteDatabaseV1(websiteUid, databaseName, options) {
1334
1334
  return __awaiter(this, void 0, void 0, function* () {
1335
1335
  var _a, _b;
1336
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAgencyPlanWebsiteDatabaseV1(websiteUid, databaseName, options);
1337
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDatabasesApi.deleteAgencyPlanWebsiteDatabaseV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1336
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteWebsiteDatabaseV1(websiteUid, databaseName, options);
1337
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDatabasesApi.deleteWebsiteDatabaseV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1338
1338
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1339
1339
  });
1340
1340
  },
1341
1341
  /**
1342
1342
  * Returns a paginated list of MySQL databases created for an Agency Plan website. Each entry includes the database\'s non-system users.
1343
- * @summary List Agency Plan website databases
1343
+ * @summary List website databases
1344
1344
  * @param {string} websiteUid Agency Plan website UID
1345
1345
  * @param {number} [page] Page number
1346
1346
  * @param {number} [perPage] Number of items per page
1347
1347
  * @param {*} [options] Override http request option.
1348
1348
  * @throws {RequiredError}
1349
1349
  */
1350
- listAgencyPlanWebsiteDatabasesV1(websiteUid, page, perPage, options) {
1350
+ listWebsiteDatabasesV1(websiteUid, page, perPage, options) {
1351
1351
  return __awaiter(this, void 0, void 0, function* () {
1352
1352
  var _a, _b;
1353
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listAgencyPlanWebsiteDatabasesV1(websiteUid, page, perPage, options);
1354
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDatabasesApi.listAgencyPlanWebsiteDatabasesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1353
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebsiteDatabasesV1(websiteUid, page, perPage, options);
1354
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDatabasesApi.listWebsiteDatabasesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1355
1355
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1356
1356
  });
1357
1357
  },
@@ -1366,61 +1366,61 @@ export const AgencyHostingDatabasesApiFactory = function (configuration, basePat
1366
1366
  return {
1367
1367
  /**
1368
1368
  * Creates a user for an existing database on an Agency Plan website. Each database supports a single non-system user; creating a user for a database that already has one fails.
1369
- * @summary Create Agency Plan website database user
1369
+ * @summary Create website database user
1370
1370
  * @param {string} websiteUid Agency Plan website UID
1371
1371
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
1372
1372
  * @param {AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest} agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
1373
1373
  * @param {*} [options] Override http request option.
1374
1374
  * @throws {RequiredError}
1375
1375
  */
1376
- createAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options) {
1377
- return localVarFp.createAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options).then((request) => request(axios, basePath));
1376
+ createWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options) {
1377
+ return localVarFp.createWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options).then((request) => request(axios, basePath));
1378
1378
  },
1379
1379
  /**
1380
1380
  * Creates a MySQL database with a dedicated user for an Agency Plan website. The database name, username, and password must all be provided by the caller.
1381
- * @summary Create Agency Plan website database
1381
+ * @summary Create website database
1382
1382
  * @param {string} websiteUid Agency Plan website UID
1383
1383
  * @param {AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest} agencyHostingV1WebsitesDatabasesCreateDatabaseRequest
1384
1384
  * @param {*} [options] Override http request option.
1385
1385
  * @throws {RequiredError}
1386
1386
  */
1387
- createAgencyPlanWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options) {
1388
- return localVarFp.createAgencyPlanWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options).then((request) => request(axios, basePath));
1387
+ createWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options) {
1388
+ return localVarFp.createWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options).then((request) => request(axios, basePath));
1389
1389
  },
1390
1390
  /**
1391
1391
  * Permanently deletes a database user from an Agency Plan website database, revoking all access it had. The operation is idempotent: deleting a user that does not exist succeeds without error.
1392
- * @summary Delete Agency Plan website database user
1392
+ * @summary Delete website database user
1393
1393
  * @param {string} websiteUid Agency Plan website UID
1394
1394
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
1395
1395
  * @param {string} databaseUserName Database username as returned by the list databases endpoint.
1396
1396
  * @param {*} [options] Override http request option.
1397
1397
  * @throws {RequiredError}
1398
1398
  */
1399
- deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options) {
1400
- return localVarFp.deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options).then((request) => request(axios, basePath));
1399
+ deleteWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options) {
1400
+ return localVarFp.deleteWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options).then((request) => request(axios, basePath));
1401
1401
  },
1402
1402
  /**
1403
1403
  * Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users. The operation is idempotent: deleting a database that does not exist succeeds without error.
1404
- * @summary Delete Agency Plan website database
1404
+ * @summary Delete website database
1405
1405
  * @param {string} websiteUid Agency Plan website UID
1406
1406
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
1407
1407
  * @param {*} [options] Override http request option.
1408
1408
  * @throws {RequiredError}
1409
1409
  */
1410
- deleteAgencyPlanWebsiteDatabaseV1(websiteUid, databaseName, options) {
1411
- return localVarFp.deleteAgencyPlanWebsiteDatabaseV1(websiteUid, databaseName, options).then((request) => request(axios, basePath));
1410
+ deleteWebsiteDatabaseV1(websiteUid, databaseName, options) {
1411
+ return localVarFp.deleteWebsiteDatabaseV1(websiteUid, databaseName, options).then((request) => request(axios, basePath));
1412
1412
  },
1413
1413
  /**
1414
1414
  * Returns a paginated list of MySQL databases created for an Agency Plan website. Each entry includes the database\'s non-system users.
1415
- * @summary List Agency Plan website databases
1415
+ * @summary List website databases
1416
1416
  * @param {string} websiteUid Agency Plan website UID
1417
1417
  * @param {number} [page] Page number
1418
1418
  * @param {number} [perPage] Number of items per page
1419
1419
  * @param {*} [options] Override http request option.
1420
1420
  * @throws {RequiredError}
1421
1421
  */
1422
- listAgencyPlanWebsiteDatabasesV1(websiteUid, page, perPage, options) {
1423
- return localVarFp.listAgencyPlanWebsiteDatabasesV1(websiteUid, page, perPage, options).then((request) => request(axios, basePath));
1422
+ listWebsiteDatabasesV1(websiteUid, page, perPage, options) {
1423
+ return localVarFp.listWebsiteDatabasesV1(websiteUid, page, perPage, options).then((request) => request(axios, basePath));
1424
1424
  },
1425
1425
  };
1426
1426
  };
@@ -1433,7 +1433,7 @@ export const AgencyHostingDatabasesApiFactory = function (configuration, basePat
1433
1433
  export class AgencyHostingDatabasesApi extends BaseAPI {
1434
1434
  /**
1435
1435
  * Creates a user for an existing database on an Agency Plan website. Each database supports a single non-system user; creating a user for a database that already has one fails.
1436
- * @summary Create Agency Plan website database user
1436
+ * @summary Create website database user
1437
1437
  * @param {string} websiteUid Agency Plan website UID
1438
1438
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
1439
1439
  * @param {AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest} agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
@@ -1441,24 +1441,24 @@ export class AgencyHostingDatabasesApi extends BaseAPI {
1441
1441
  * @throws {RequiredError}
1442
1442
  * @memberof AgencyHostingDatabasesApi
1443
1443
  */
1444
- createAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options) {
1445
- return AgencyHostingDatabasesApiFp(this.configuration).createAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options).then((request) => request(this.axios, this.basePath));
1444
+ createWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options) {
1445
+ return AgencyHostingDatabasesApiFp(this.configuration).createWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options).then((request) => request(this.axios, this.basePath));
1446
1446
  }
1447
1447
  /**
1448
1448
  * Creates a MySQL database with a dedicated user for an Agency Plan website. The database name, username, and password must all be provided by the caller.
1449
- * @summary Create Agency Plan website database
1449
+ * @summary Create website database
1450
1450
  * @param {string} websiteUid Agency Plan website UID
1451
1451
  * @param {AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest} agencyHostingV1WebsitesDatabasesCreateDatabaseRequest
1452
1452
  * @param {*} [options] Override http request option.
1453
1453
  * @throws {RequiredError}
1454
1454
  * @memberof AgencyHostingDatabasesApi
1455
1455
  */
1456
- createAgencyPlanWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options) {
1457
- return AgencyHostingDatabasesApiFp(this.configuration).createAgencyPlanWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options).then((request) => request(this.axios, this.basePath));
1456
+ createWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options) {
1457
+ return AgencyHostingDatabasesApiFp(this.configuration).createWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options).then((request) => request(this.axios, this.basePath));
1458
1458
  }
1459
1459
  /**
1460
1460
  * Permanently deletes a database user from an Agency Plan website database, revoking all access it had. The operation is idempotent: deleting a user that does not exist succeeds without error.
1461
- * @summary Delete Agency Plan website database user
1461
+ * @summary Delete website database user
1462
1462
  * @param {string} websiteUid Agency Plan website UID
1463
1463
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
1464
1464
  * @param {string} databaseUserName Database username as returned by the list databases endpoint.
@@ -1466,24 +1466,24 @@ export class AgencyHostingDatabasesApi extends BaseAPI {
1466
1466
  * @throws {RequiredError}
1467
1467
  * @memberof AgencyHostingDatabasesApi
1468
1468
  */
1469
- deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options) {
1470
- return AgencyHostingDatabasesApiFp(this.configuration).deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options).then((request) => request(this.axios, this.basePath));
1469
+ deleteWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options) {
1470
+ return AgencyHostingDatabasesApiFp(this.configuration).deleteWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options).then((request) => request(this.axios, this.basePath));
1471
1471
  }
1472
1472
  /**
1473
1473
  * Permanently deletes a MySQL database and all its data from an Agency Plan website, including its users. The operation is idempotent: deleting a database that does not exist succeeds without error.
1474
- * @summary Delete Agency Plan website database
1474
+ * @summary Delete website database
1475
1475
  * @param {string} websiteUid Agency Plan website UID
1476
1476
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
1477
1477
  * @param {*} [options] Override http request option.
1478
1478
  * @throws {RequiredError}
1479
1479
  * @memberof AgencyHostingDatabasesApi
1480
1480
  */
1481
- deleteAgencyPlanWebsiteDatabaseV1(websiteUid, databaseName, options) {
1482
- return AgencyHostingDatabasesApiFp(this.configuration).deleteAgencyPlanWebsiteDatabaseV1(websiteUid, databaseName, options).then((request) => request(this.axios, this.basePath));
1481
+ deleteWebsiteDatabaseV1(websiteUid, databaseName, options) {
1482
+ return AgencyHostingDatabasesApiFp(this.configuration).deleteWebsiteDatabaseV1(websiteUid, databaseName, options).then((request) => request(this.axios, this.basePath));
1483
1483
  }
1484
1484
  /**
1485
1485
  * Returns a paginated list of MySQL databases created for an Agency Plan website. Each entry includes the database\'s non-system users.
1486
- * @summary List Agency Plan website databases
1486
+ * @summary List website databases
1487
1487
  * @param {string} websiteUid Agency Plan website UID
1488
1488
  * @param {number} [page] Page number
1489
1489
  * @param {number} [perPage] Number of items per page
@@ -1491,8 +1491,8 @@ export class AgencyHostingDatabasesApi extends BaseAPI {
1491
1491
  * @throws {RequiredError}
1492
1492
  * @memberof AgencyHostingDatabasesApi
1493
1493
  */
1494
- listAgencyPlanWebsiteDatabasesV1(websiteUid, page, perPage, options) {
1495
- return AgencyHostingDatabasesApiFp(this.configuration).listAgencyPlanWebsiteDatabasesV1(websiteUid, page, perPage, options).then((request) => request(this.axios, this.basePath));
1494
+ listWebsiteDatabasesV1(websiteUid, page, perPage, options) {
1495
+ return AgencyHostingDatabasesApiFp(this.configuration).listWebsiteDatabasesV1(websiteUid, page, perPage, options).then((request) => request(this.axios, this.basePath));
1496
1496
  }
1497
1497
  }
1498
1498
  /**
@@ -1503,14 +1503,14 @@ export const AgencyHostingDatacentersApiAxiosParamCreator = function (configurat
1503
1503
  return {
1504
1504
  /**
1505
1505
  * Lists the datacenters available for provisioning a new website on the given Agency Plan hosting order. Each datacenter includes a `pinger_url` you can ping from the client to measure round-trip latency; comparing the results across datacenters lets you pick the nearest one (lowest ping) before choosing its `code` as the `datacenter_code` when creating a website setup.
1506
- * @summary List available datacenters for an Agency Plan order
1506
+ * @summary List available datacenters
1507
1507
  * @param {number} orderId Agency Plan order ID
1508
1508
  * @param {*} [options] Override http request option.
1509
1509
  * @throws {RequiredError}
1510
1510
  */
1511
- listAvailableDatacentersForAnAgencyPlanOrderV1: (orderId_1, ...args_1) => __awaiter(this, [orderId_1, ...args_1], void 0, function* (orderId, options = {}) {
1511
+ listAvailableDatacentersV1: (orderId_1, ...args_1) => __awaiter(this, [orderId_1, ...args_1], void 0, function* (orderId, options = {}) {
1512
1512
  // verify required parameter 'orderId' is not null or undefined
1513
- assertParamExists('listAvailableDatacentersForAnAgencyPlanOrderV1', 'orderId', orderId);
1513
+ assertParamExists('listAvailableDatacentersV1', 'orderId', orderId);
1514
1514
  const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/datacenters`
1515
1515
  .replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)));
1516
1516
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -1544,16 +1544,16 @@ export const AgencyHostingDatacentersApiFp = function (configuration) {
1544
1544
  return {
1545
1545
  /**
1546
1546
  * Lists the datacenters available for provisioning a new website on the given Agency Plan hosting order. Each datacenter includes a `pinger_url` you can ping from the client to measure round-trip latency; comparing the results across datacenters lets you pick the nearest one (lowest ping) before choosing its `code` as the `datacenter_code` when creating a website setup.
1547
- * @summary List available datacenters for an Agency Plan order
1547
+ * @summary List available datacenters
1548
1548
  * @param {number} orderId Agency Plan order ID
1549
1549
  * @param {*} [options] Override http request option.
1550
1550
  * @throws {RequiredError}
1551
1551
  */
1552
- listAvailableDatacentersForAnAgencyPlanOrderV1(orderId, options) {
1552
+ listAvailableDatacentersV1(orderId, options) {
1553
1553
  return __awaiter(this, void 0, void 0, function* () {
1554
1554
  var _a, _b;
1555
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listAvailableDatacentersForAnAgencyPlanOrderV1(orderId, options);
1556
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDatacentersApi.listAvailableDatacentersForAnAgencyPlanOrderV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1555
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listAvailableDatacentersV1(orderId, options);
1556
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDatacentersApi.listAvailableDatacentersV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1557
1557
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1558
1558
  });
1559
1559
  },
@@ -1568,13 +1568,13 @@ export const AgencyHostingDatacentersApiFactory = function (configuration, baseP
1568
1568
  return {
1569
1569
  /**
1570
1570
  * Lists the datacenters available for provisioning a new website on the given Agency Plan hosting order. Each datacenter includes a `pinger_url` you can ping from the client to measure round-trip latency; comparing the results across datacenters lets you pick the nearest one (lowest ping) before choosing its `code` as the `datacenter_code` when creating a website setup.
1571
- * @summary List available datacenters for an Agency Plan order
1571
+ * @summary List available datacenters
1572
1572
  * @param {number} orderId Agency Plan order ID
1573
1573
  * @param {*} [options] Override http request option.
1574
1574
  * @throws {RequiredError}
1575
1575
  */
1576
- listAvailableDatacentersForAnAgencyPlanOrderV1(orderId, options) {
1577
- return localVarFp.listAvailableDatacentersForAnAgencyPlanOrderV1(orderId, options).then((request) => request(axios, basePath));
1576
+ listAvailableDatacentersV1(orderId, options) {
1577
+ return localVarFp.listAvailableDatacentersV1(orderId, options).then((request) => request(axios, basePath));
1578
1578
  },
1579
1579
  };
1580
1580
  };
@@ -1587,14 +1587,14 @@ export const AgencyHostingDatacentersApiFactory = function (configuration, baseP
1587
1587
  export class AgencyHostingDatacentersApi extends BaseAPI {
1588
1588
  /**
1589
1589
  * Lists the datacenters available for provisioning a new website on the given Agency Plan hosting order. Each datacenter includes a `pinger_url` you can ping from the client to measure round-trip latency; comparing the results across datacenters lets you pick the nearest one (lowest ping) before choosing its `code` as the `datacenter_code` when creating a website setup.
1590
- * @summary List available datacenters for an Agency Plan order
1590
+ * @summary List available datacenters
1591
1591
  * @param {number} orderId Agency Plan order ID
1592
1592
  * @param {*} [options] Override http request option.
1593
1593
  * @throws {RequiredError}
1594
1594
  * @memberof AgencyHostingDatacentersApi
1595
1595
  */
1596
- listAvailableDatacentersForAnAgencyPlanOrderV1(orderId, options) {
1597
- return AgencyHostingDatacentersApiFp(this.configuration).listAvailableDatacentersForAnAgencyPlanOrderV1(orderId, options).then((request) => request(this.axios, this.basePath));
1596
+ listAvailableDatacentersV1(orderId, options) {
1597
+ return AgencyHostingDatacentersApiFp(this.configuration).listAvailableDatacentersV1(orderId, options).then((request) => request(this.axios, this.basePath));
1598
1598
  }
1599
1599
  }
1600
1600
  /**
@@ -1605,20 +1605,20 @@ export const AgencyHostingDomainsApiAxiosParamCreator = function (configuration)
1605
1605
  return {
1606
1606
  /**
1607
1607
  * Changes the primary domain for an Agency Plan website. Provide the current domain in the path and the new domain in the request body. Set domain to null to revert to the temporary domain.
1608
- * @summary Change Agency Plan website domain
1608
+ * @summary Change website domain
1609
1609
  * @param {string} websiteUid Agency Plan website UID
1610
1610
  * @param {string} fromDomain Current domain name to change from
1611
1611
  * @param {AgencyHostingV1DomainsChangeDomainRequest} agencyHostingV1DomainsChangeDomainRequest
1612
1612
  * @param {*} [options] Override http request option.
1613
1613
  * @throws {RequiredError}
1614
1614
  */
1615
- changeAgencyPlanWebsiteDomainV1: (websiteUid_1, fromDomain_1, agencyHostingV1DomainsChangeDomainRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, fromDomain_1, agencyHostingV1DomainsChangeDomainRequest_1, ...args_1], void 0, function* (websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options = {}) {
1615
+ changeWebsiteDomainV1: (websiteUid_1, fromDomain_1, agencyHostingV1DomainsChangeDomainRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, fromDomain_1, agencyHostingV1DomainsChangeDomainRequest_1, ...args_1], void 0, function* (websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options = {}) {
1616
1616
  // verify required parameter 'websiteUid' is not null or undefined
1617
- assertParamExists('changeAgencyPlanWebsiteDomainV1', 'websiteUid', websiteUid);
1617
+ assertParamExists('changeWebsiteDomainV1', 'websiteUid', websiteUid);
1618
1618
  // verify required parameter 'fromDomain' is not null or undefined
1619
- assertParamExists('changeAgencyPlanWebsiteDomainV1', 'fromDomain', fromDomain);
1619
+ assertParamExists('changeWebsiteDomainV1', 'fromDomain', fromDomain);
1620
1620
  // verify required parameter 'agencyHostingV1DomainsChangeDomainRequest' is not null or undefined
1621
- assertParamExists('changeAgencyPlanWebsiteDomainV1', 'agencyHostingV1DomainsChangeDomainRequest', agencyHostingV1DomainsChangeDomainRequest);
1621
+ assertParamExists('changeWebsiteDomainV1', 'agencyHostingV1DomainsChangeDomainRequest', agencyHostingV1DomainsChangeDomainRequest);
1622
1622
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/domains/{from_domain}`
1623
1623
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
1624
1624
  .replace(`{${"from_domain"}}`, encodeURIComponent(String(fromDomain)));
@@ -1646,17 +1646,17 @@ export const AgencyHostingDomainsApiAxiosParamCreator = function (configuration)
1646
1646
  }),
1647
1647
  /**
1648
1648
  * Links a domain to the specified Agency Plan website so it can serve traffic for that domain.
1649
- * @summary Link domain to Agency Plan website
1649
+ * @summary Link domain to website
1650
1650
  * @param {string} websiteUid Agency Plan website UID
1651
1651
  * @param {AgencyHostingV1DomainsLinkDomainRequest} agencyHostingV1DomainsLinkDomainRequest
1652
1652
  * @param {*} [options] Override http request option.
1653
1653
  * @throws {RequiredError}
1654
1654
  */
1655
- linkDomainToAgencyPlanWebsiteV1: (websiteUid_1, agencyHostingV1DomainsLinkDomainRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, agencyHostingV1DomainsLinkDomainRequest_1, ...args_1], void 0, function* (websiteUid, agencyHostingV1DomainsLinkDomainRequest, options = {}) {
1655
+ linkDomainToWebsiteV1: (websiteUid_1, agencyHostingV1DomainsLinkDomainRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, agencyHostingV1DomainsLinkDomainRequest_1, ...args_1], void 0, function* (websiteUid, agencyHostingV1DomainsLinkDomainRequest, options = {}) {
1656
1656
  // verify required parameter 'websiteUid' is not null or undefined
1657
- assertParamExists('linkDomainToAgencyPlanWebsiteV1', 'websiteUid', websiteUid);
1657
+ assertParamExists('linkDomainToWebsiteV1', 'websiteUid', websiteUid);
1658
1658
  // verify required parameter 'agencyHostingV1DomainsLinkDomainRequest' is not null or undefined
1659
- assertParamExists('linkDomainToAgencyPlanWebsiteV1', 'agencyHostingV1DomainsLinkDomainRequest', agencyHostingV1DomainsLinkDomainRequest);
1659
+ assertParamExists('linkDomainToWebsiteV1', 'agencyHostingV1DomainsLinkDomainRequest', agencyHostingV1DomainsLinkDomainRequest);
1660
1660
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/domains`
1661
1661
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
1662
1662
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -1683,14 +1683,14 @@ export const AgencyHostingDomainsApiAxiosParamCreator = function (configuration)
1683
1683
  }),
1684
1684
  /**
1685
1685
  * Returns a paginated list of domains associated with Agency Plan websites accessible to the authenticated client. Use the website_uuids filter to narrow results to specific websites.
1686
- * @summary List Agency Plan domains
1686
+ * @summary List domains
1687
1687
  * @param {number} [page] Page number
1688
1688
  * @param {number} [perPage] Number of items per page
1689
1689
  * @param {Array<string> | null} [websiteUuids] Filter by website UIDs
1690
1690
  * @param {*} [options] Override http request option.
1691
1691
  * @throws {RequiredError}
1692
1692
  */
1693
- listAgencyPlanDomainsV1: (page_1, perPage_1, websiteUuids_1, ...args_1) => __awaiter(this, [page_1, perPage_1, websiteUuids_1, ...args_1], void 0, function* (page, perPage, websiteUuids, options = {}) {
1693
+ listDomainsV1: (page_1, perPage_1, websiteUuids_1, ...args_1) => __awaiter(this, [page_1, perPage_1, websiteUuids_1, ...args_1], void 0, function* (page, perPage, websiteUuids, options = {}) {
1694
1694
  const localVarPath = `/api/agency-hosting/v1/domains`;
1695
1695
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1696
1696
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1723,17 +1723,17 @@ export const AgencyHostingDomainsApiAxiosParamCreator = function (configuration)
1723
1723
  }),
1724
1724
  /**
1725
1725
  * Unlinks a domain from the specified Agency Plan website. The website stops serving traffic on this domain immediately. Website files and database are preserved, and any other linked domains remain accessible. If this is the only domain on the website, unlinking leaves the website without an accessible domain.
1726
- * @summary Unlink domain from Agency Plan website
1726
+ * @summary Unlink domain from website
1727
1727
  * @param {string} websiteUid Agency Plan website UID
1728
1728
  * @param {string} domain Domain name
1729
1729
  * @param {*} [options] Override http request option.
1730
1730
  * @throws {RequiredError}
1731
1731
  */
1732
- unlinkDomainFromAgencyPlanWebsiteV1: (websiteUid_1, domain_1, ...args_1) => __awaiter(this, [websiteUid_1, domain_1, ...args_1], void 0, function* (websiteUid, domain, options = {}) {
1732
+ unlinkDomainFromWebsiteV1: (websiteUid_1, domain_1, ...args_1) => __awaiter(this, [websiteUid_1, domain_1, ...args_1], void 0, function* (websiteUid, domain, options = {}) {
1733
1733
  // verify required parameter 'websiteUid' is not null or undefined
1734
- assertParamExists('unlinkDomainFromAgencyPlanWebsiteV1', 'websiteUid', websiteUid);
1734
+ assertParamExists('unlinkDomainFromWebsiteV1', 'websiteUid', websiteUid);
1735
1735
  // verify required parameter 'domain' is not null or undefined
1736
- assertParamExists('unlinkDomainFromAgencyPlanWebsiteV1', 'domain', domain);
1736
+ assertParamExists('unlinkDomainFromWebsiteV1', 'domain', domain);
1737
1737
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/domains/{domain}`
1738
1738
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
1739
1739
  .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
@@ -1768,67 +1768,67 @@ export const AgencyHostingDomainsApiFp = function (configuration) {
1768
1768
  return {
1769
1769
  /**
1770
1770
  * Changes the primary domain for an Agency Plan website. Provide the current domain in the path and the new domain in the request body. Set domain to null to revert to the temporary domain.
1771
- * @summary Change Agency Plan website domain
1771
+ * @summary Change website domain
1772
1772
  * @param {string} websiteUid Agency Plan website UID
1773
1773
  * @param {string} fromDomain Current domain name to change from
1774
1774
  * @param {AgencyHostingV1DomainsChangeDomainRequest} agencyHostingV1DomainsChangeDomainRequest
1775
1775
  * @param {*} [options] Override http request option.
1776
1776
  * @throws {RequiredError}
1777
1777
  */
1778
- changeAgencyPlanWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options) {
1778
+ changeWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options) {
1779
1779
  return __awaiter(this, void 0, void 0, function* () {
1780
1780
  var _a, _b;
1781
- const localVarAxiosArgs = yield localVarAxiosParamCreator.changeAgencyPlanWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options);
1782
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDomainsApi.changeAgencyPlanWebsiteDomainV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1781
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.changeWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options);
1782
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDomainsApi.changeWebsiteDomainV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1783
1783
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1784
1784
  });
1785
1785
  },
1786
1786
  /**
1787
1787
  * Links a domain to the specified Agency Plan website so it can serve traffic for that domain.
1788
- * @summary Link domain to Agency Plan website
1788
+ * @summary Link domain to website
1789
1789
  * @param {string} websiteUid Agency Plan website UID
1790
1790
  * @param {AgencyHostingV1DomainsLinkDomainRequest} agencyHostingV1DomainsLinkDomainRequest
1791
1791
  * @param {*} [options] Override http request option.
1792
1792
  * @throws {RequiredError}
1793
1793
  */
1794
- linkDomainToAgencyPlanWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options) {
1794
+ linkDomainToWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options) {
1795
1795
  return __awaiter(this, void 0, void 0, function* () {
1796
1796
  var _a, _b;
1797
- const localVarAxiosArgs = yield localVarAxiosParamCreator.linkDomainToAgencyPlanWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options);
1798
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDomainsApi.linkDomainToAgencyPlanWebsiteV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1797
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.linkDomainToWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options);
1798
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDomainsApi.linkDomainToWebsiteV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1799
1799
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1800
1800
  });
1801
1801
  },
1802
1802
  /**
1803
1803
  * Returns a paginated list of domains associated with Agency Plan websites accessible to the authenticated client. Use the website_uuids filter to narrow results to specific websites.
1804
- * @summary List Agency Plan domains
1804
+ * @summary List domains
1805
1805
  * @param {number} [page] Page number
1806
1806
  * @param {number} [perPage] Number of items per page
1807
1807
  * @param {Array<string> | null} [websiteUuids] Filter by website UIDs
1808
1808
  * @param {*} [options] Override http request option.
1809
1809
  * @throws {RequiredError}
1810
1810
  */
1811
- listAgencyPlanDomainsV1(page, perPage, websiteUuids, options) {
1811
+ listDomainsV1(page, perPage, websiteUuids, options) {
1812
1812
  return __awaiter(this, void 0, void 0, function* () {
1813
1813
  var _a, _b;
1814
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listAgencyPlanDomainsV1(page, perPage, websiteUuids, options);
1815
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDomainsApi.listAgencyPlanDomainsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1814
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listDomainsV1(page, perPage, websiteUuids, options);
1815
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDomainsApi.listDomainsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1816
1816
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1817
1817
  });
1818
1818
  },
1819
1819
  /**
1820
1820
  * Unlinks a domain from the specified Agency Plan website. The website stops serving traffic on this domain immediately. Website files and database are preserved, and any other linked domains remain accessible. If this is the only domain on the website, unlinking leaves the website without an accessible domain.
1821
- * @summary Unlink domain from Agency Plan website
1821
+ * @summary Unlink domain from website
1822
1822
  * @param {string} websiteUid Agency Plan website UID
1823
1823
  * @param {string} domain Domain name
1824
1824
  * @param {*} [options] Override http request option.
1825
1825
  * @throws {RequiredError}
1826
1826
  */
1827
- unlinkDomainFromAgencyPlanWebsiteV1(websiteUid, domain, options) {
1827
+ unlinkDomainFromWebsiteV1(websiteUid, domain, options) {
1828
1828
  return __awaiter(this, void 0, void 0, function* () {
1829
1829
  var _a, _b;
1830
- const localVarAxiosArgs = yield localVarAxiosParamCreator.unlinkDomainFromAgencyPlanWebsiteV1(websiteUid, domain, options);
1831
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDomainsApi.unlinkDomainFromAgencyPlanWebsiteV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1830
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.unlinkDomainFromWebsiteV1(websiteUid, domain, options);
1831
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingDomainsApi.unlinkDomainFromWebsiteV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
1832
1832
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1833
1833
  });
1834
1834
  },
@@ -1843,49 +1843,49 @@ export const AgencyHostingDomainsApiFactory = function (configuration, basePath,
1843
1843
  return {
1844
1844
  /**
1845
1845
  * Changes the primary domain for an Agency Plan website. Provide the current domain in the path and the new domain in the request body. Set domain to null to revert to the temporary domain.
1846
- * @summary Change Agency Plan website domain
1846
+ * @summary Change website domain
1847
1847
  * @param {string} websiteUid Agency Plan website UID
1848
1848
  * @param {string} fromDomain Current domain name to change from
1849
1849
  * @param {AgencyHostingV1DomainsChangeDomainRequest} agencyHostingV1DomainsChangeDomainRequest
1850
1850
  * @param {*} [options] Override http request option.
1851
1851
  * @throws {RequiredError}
1852
1852
  */
1853
- changeAgencyPlanWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options) {
1854
- return localVarFp.changeAgencyPlanWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options).then((request) => request(axios, basePath));
1853
+ changeWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options) {
1854
+ return localVarFp.changeWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options).then((request) => request(axios, basePath));
1855
1855
  },
1856
1856
  /**
1857
1857
  * Links a domain to the specified Agency Plan website so it can serve traffic for that domain.
1858
- * @summary Link domain to Agency Plan website
1858
+ * @summary Link domain to website
1859
1859
  * @param {string} websiteUid Agency Plan website UID
1860
1860
  * @param {AgencyHostingV1DomainsLinkDomainRequest} agencyHostingV1DomainsLinkDomainRequest
1861
1861
  * @param {*} [options] Override http request option.
1862
1862
  * @throws {RequiredError}
1863
1863
  */
1864
- linkDomainToAgencyPlanWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options) {
1865
- return localVarFp.linkDomainToAgencyPlanWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options).then((request) => request(axios, basePath));
1864
+ linkDomainToWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options) {
1865
+ return localVarFp.linkDomainToWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options).then((request) => request(axios, basePath));
1866
1866
  },
1867
1867
  /**
1868
1868
  * Returns a paginated list of domains associated with Agency Plan websites accessible to the authenticated client. Use the website_uuids filter to narrow results to specific websites.
1869
- * @summary List Agency Plan domains
1869
+ * @summary List domains
1870
1870
  * @param {number} [page] Page number
1871
1871
  * @param {number} [perPage] Number of items per page
1872
1872
  * @param {Array<string> | null} [websiteUuids] Filter by website UIDs
1873
1873
  * @param {*} [options] Override http request option.
1874
1874
  * @throws {RequiredError}
1875
1875
  */
1876
- listAgencyPlanDomainsV1(page, perPage, websiteUuids, options) {
1877
- return localVarFp.listAgencyPlanDomainsV1(page, perPage, websiteUuids, options).then((request) => request(axios, basePath));
1876
+ listDomainsV1(page, perPage, websiteUuids, options) {
1877
+ return localVarFp.listDomainsV1(page, perPage, websiteUuids, options).then((request) => request(axios, basePath));
1878
1878
  },
1879
1879
  /**
1880
1880
  * Unlinks a domain from the specified Agency Plan website. The website stops serving traffic on this domain immediately. Website files and database are preserved, and any other linked domains remain accessible. If this is the only domain on the website, unlinking leaves the website without an accessible domain.
1881
- * @summary Unlink domain from Agency Plan website
1881
+ * @summary Unlink domain from website
1882
1882
  * @param {string} websiteUid Agency Plan website UID
1883
1883
  * @param {string} domain Domain name
1884
1884
  * @param {*} [options] Override http request option.
1885
1885
  * @throws {RequiredError}
1886
1886
  */
1887
- unlinkDomainFromAgencyPlanWebsiteV1(websiteUid, domain, options) {
1888
- return localVarFp.unlinkDomainFromAgencyPlanWebsiteV1(websiteUid, domain, options).then((request) => request(axios, basePath));
1887
+ unlinkDomainFromWebsiteV1(websiteUid, domain, options) {
1888
+ return localVarFp.unlinkDomainFromWebsiteV1(websiteUid, domain, options).then((request) => request(axios, basePath));
1889
1889
  },
1890
1890
  };
1891
1891
  };
@@ -1898,7 +1898,7 @@ export const AgencyHostingDomainsApiFactory = function (configuration, basePath,
1898
1898
  export class AgencyHostingDomainsApi extends BaseAPI {
1899
1899
  /**
1900
1900
  * Changes the primary domain for an Agency Plan website. Provide the current domain in the path and the new domain in the request body. Set domain to null to revert to the temporary domain.
1901
- * @summary Change Agency Plan website domain
1901
+ * @summary Change website domain
1902
1902
  * @param {string} websiteUid Agency Plan website UID
1903
1903
  * @param {string} fromDomain Current domain name to change from
1904
1904
  * @param {AgencyHostingV1DomainsChangeDomainRequest} agencyHostingV1DomainsChangeDomainRequest
@@ -1906,24 +1906,24 @@ export class AgencyHostingDomainsApi extends BaseAPI {
1906
1906
  * @throws {RequiredError}
1907
1907
  * @memberof AgencyHostingDomainsApi
1908
1908
  */
1909
- changeAgencyPlanWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options) {
1910
- return AgencyHostingDomainsApiFp(this.configuration).changeAgencyPlanWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options).then((request) => request(this.axios, this.basePath));
1909
+ changeWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options) {
1910
+ return AgencyHostingDomainsApiFp(this.configuration).changeWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options).then((request) => request(this.axios, this.basePath));
1911
1911
  }
1912
1912
  /**
1913
1913
  * Links a domain to the specified Agency Plan website so it can serve traffic for that domain.
1914
- * @summary Link domain to Agency Plan website
1914
+ * @summary Link domain to website
1915
1915
  * @param {string} websiteUid Agency Plan website UID
1916
1916
  * @param {AgencyHostingV1DomainsLinkDomainRequest} agencyHostingV1DomainsLinkDomainRequest
1917
1917
  * @param {*} [options] Override http request option.
1918
1918
  * @throws {RequiredError}
1919
1919
  * @memberof AgencyHostingDomainsApi
1920
1920
  */
1921
- linkDomainToAgencyPlanWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options) {
1922
- return AgencyHostingDomainsApiFp(this.configuration).linkDomainToAgencyPlanWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options).then((request) => request(this.axios, this.basePath));
1921
+ linkDomainToWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options) {
1922
+ return AgencyHostingDomainsApiFp(this.configuration).linkDomainToWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options).then((request) => request(this.axios, this.basePath));
1923
1923
  }
1924
1924
  /**
1925
1925
  * Returns a paginated list of domains associated with Agency Plan websites accessible to the authenticated client. Use the website_uuids filter to narrow results to specific websites.
1926
- * @summary List Agency Plan domains
1926
+ * @summary List domains
1927
1927
  * @param {number} [page] Page number
1928
1928
  * @param {number} [perPage] Number of items per page
1929
1929
  * @param {Array<string> | null} [websiteUuids] Filter by website UIDs
@@ -1931,20 +1931,20 @@ export class AgencyHostingDomainsApi extends BaseAPI {
1931
1931
  * @throws {RequiredError}
1932
1932
  * @memberof AgencyHostingDomainsApi
1933
1933
  */
1934
- listAgencyPlanDomainsV1(page, perPage, websiteUuids, options) {
1935
- return AgencyHostingDomainsApiFp(this.configuration).listAgencyPlanDomainsV1(page, perPage, websiteUuids, options).then((request) => request(this.axios, this.basePath));
1934
+ listDomainsV1(page, perPage, websiteUuids, options) {
1935
+ return AgencyHostingDomainsApiFp(this.configuration).listDomainsV1(page, perPage, websiteUuids, options).then((request) => request(this.axios, this.basePath));
1936
1936
  }
1937
1937
  /**
1938
1938
  * Unlinks a domain from the specified Agency Plan website. The website stops serving traffic on this domain immediately. Website files and database are preserved, and any other linked domains remain accessible. If this is the only domain on the website, unlinking leaves the website without an accessible domain.
1939
- * @summary Unlink domain from Agency Plan website
1939
+ * @summary Unlink domain from website
1940
1940
  * @param {string} websiteUid Agency Plan website UID
1941
1941
  * @param {string} domain Domain name
1942
1942
  * @param {*} [options] Override http request option.
1943
1943
  * @throws {RequiredError}
1944
1944
  * @memberof AgencyHostingDomainsApi
1945
1945
  */
1946
- unlinkDomainFromAgencyPlanWebsiteV1(websiteUid, domain, options) {
1947
- return AgencyHostingDomainsApiFp(this.configuration).unlinkDomainFromAgencyPlanWebsiteV1(websiteUid, domain, options).then((request) => request(this.axios, this.basePath));
1946
+ unlinkDomainFromWebsiteV1(websiteUid, domain, options) {
1947
+ return AgencyHostingDomainsApiFp(this.configuration).unlinkDomainFromWebsiteV1(websiteUid, domain, options).then((request) => request(this.axios, this.basePath));
1948
1948
  }
1949
1949
  }
1950
1950
  /**
@@ -1955,17 +1955,17 @@ export const AgencyHostingFilesApiAxiosParamCreator = function (configuration) {
1955
1955
  return {
1956
1956
  /**
1957
1957
  * Imports an Agency Plan website from an already-uploaded archive. Upload the archive to the website\'s root directory via file browser first, then provide its filename in this request. Website contents are overwritten by the archive contents. Supported archive types: .zip, .tar, .tar.gz, .tgz.
1958
- * @summary Import Agency Plan website from archive
1958
+ * @summary Import website from archive
1959
1959
  * @param {string} websiteUid Agency Plan website UID
1960
1960
  * @param {AgencyHostingV1FilesImportArchiveRequest} agencyHostingV1FilesImportArchiveRequest
1961
1961
  * @param {*} [options] Override http request option.
1962
1962
  * @throws {RequiredError}
1963
1963
  */
1964
- importAgencyPlanWebsiteFromArchiveV1: (websiteUid_1, agencyHostingV1FilesImportArchiveRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, agencyHostingV1FilesImportArchiveRequest_1, ...args_1], void 0, function* (websiteUid, agencyHostingV1FilesImportArchiveRequest, options = {}) {
1964
+ importWebsiteFromArchiveV1: (websiteUid_1, agencyHostingV1FilesImportArchiveRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, agencyHostingV1FilesImportArchiveRequest_1, ...args_1], void 0, function* (websiteUid, agencyHostingV1FilesImportArchiveRequest, options = {}) {
1965
1965
  // verify required parameter 'websiteUid' is not null or undefined
1966
- assertParamExists('importAgencyPlanWebsiteFromArchiveV1', 'websiteUid', websiteUid);
1966
+ assertParamExists('importWebsiteFromArchiveV1', 'websiteUid', websiteUid);
1967
1967
  // verify required parameter 'agencyHostingV1FilesImportArchiveRequest' is not null or undefined
1968
- assertParamExists('importAgencyPlanWebsiteFromArchiveV1', 'agencyHostingV1FilesImportArchiveRequest', agencyHostingV1FilesImportArchiveRequest);
1968
+ assertParamExists('importWebsiteFromArchiveV1', 'agencyHostingV1FilesImportArchiveRequest', agencyHostingV1FilesImportArchiveRequest);
1969
1969
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/files/import-archive`
1970
1970
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
1971
1971
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -2001,17 +2001,17 @@ export const AgencyHostingFilesApiFp = function (configuration) {
2001
2001
  return {
2002
2002
  /**
2003
2003
  * Imports an Agency Plan website from an already-uploaded archive. Upload the archive to the website\'s root directory via file browser first, then provide its filename in this request. Website contents are overwritten by the archive contents. Supported archive types: .zip, .tar, .tar.gz, .tgz.
2004
- * @summary Import Agency Plan website from archive
2004
+ * @summary Import website from archive
2005
2005
  * @param {string} websiteUid Agency Plan website UID
2006
2006
  * @param {AgencyHostingV1FilesImportArchiveRequest} agencyHostingV1FilesImportArchiveRequest
2007
2007
  * @param {*} [options] Override http request option.
2008
2008
  * @throws {RequiredError}
2009
2009
  */
2010
- importAgencyPlanWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options) {
2010
+ importWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options) {
2011
2011
  return __awaiter(this, void 0, void 0, function* () {
2012
2012
  var _a, _b;
2013
- const localVarAxiosArgs = yield localVarAxiosParamCreator.importAgencyPlanWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options);
2014
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingFilesApi.importAgencyPlanWebsiteFromArchiveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2013
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.importWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options);
2014
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingFilesApi.importWebsiteFromArchiveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2015
2015
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2016
2016
  });
2017
2017
  },
@@ -2026,14 +2026,14 @@ export const AgencyHostingFilesApiFactory = function (configuration, basePath, a
2026
2026
  return {
2027
2027
  /**
2028
2028
  * Imports an Agency Plan website from an already-uploaded archive. Upload the archive to the website\'s root directory via file browser first, then provide its filename in this request. Website contents are overwritten by the archive contents. Supported archive types: .zip, .tar, .tar.gz, .tgz.
2029
- * @summary Import Agency Plan website from archive
2029
+ * @summary Import website from archive
2030
2030
  * @param {string} websiteUid Agency Plan website UID
2031
2031
  * @param {AgencyHostingV1FilesImportArchiveRequest} agencyHostingV1FilesImportArchiveRequest
2032
2032
  * @param {*} [options] Override http request option.
2033
2033
  * @throws {RequiredError}
2034
2034
  */
2035
- importAgencyPlanWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options) {
2036
- return localVarFp.importAgencyPlanWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options).then((request) => request(axios, basePath));
2035
+ importWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options) {
2036
+ return localVarFp.importWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options).then((request) => request(axios, basePath));
2037
2037
  },
2038
2038
  };
2039
2039
  };
@@ -2046,15 +2046,15 @@ export const AgencyHostingFilesApiFactory = function (configuration, basePath, a
2046
2046
  export class AgencyHostingFilesApi extends BaseAPI {
2047
2047
  /**
2048
2048
  * Imports an Agency Plan website from an already-uploaded archive. Upload the archive to the website\'s root directory via file browser first, then provide its filename in this request. Website contents are overwritten by the archive contents. Supported archive types: .zip, .tar, .tar.gz, .tgz.
2049
- * @summary Import Agency Plan website from archive
2049
+ * @summary Import website from archive
2050
2050
  * @param {string} websiteUid Agency Plan website UID
2051
2051
  * @param {AgencyHostingV1FilesImportArchiveRequest} agencyHostingV1FilesImportArchiveRequest
2052
2052
  * @param {*} [options] Override http request option.
2053
2053
  * @throws {RequiredError}
2054
2054
  * @memberof AgencyHostingFilesApi
2055
2055
  */
2056
- importAgencyPlanWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options) {
2057
- return AgencyHostingFilesApiFp(this.configuration).importAgencyPlanWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options).then((request) => request(this.axios, this.basePath));
2056
+ importWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options) {
2057
+ return AgencyHostingFilesApiFp(this.configuration).importWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options).then((request) => request(this.axios, this.basePath));
2058
2058
  }
2059
2059
  }
2060
2060
  /**
@@ -2065,13 +2065,13 @@ export const AgencyHostingOrdersApiAxiosParamCreator = function (configuration)
2065
2065
  return {
2066
2066
  /**
2067
2067
  * Returns a paginated list of Agency Plan orders accessible to the authenticated client.
2068
- * @summary List Agency Plan orders
2068
+ * @summary List orders
2069
2069
  * @param {number} [page] Page number
2070
2070
  * @param {number} [perPage] Number of items per page
2071
2071
  * @param {*} [options] Override http request option.
2072
2072
  * @throws {RequiredError}
2073
2073
  */
2074
- listAgencyPlanOrdersV1: (page_1, perPage_1, ...args_1) => __awaiter(this, [page_1, perPage_1, ...args_1], void 0, function* (page, perPage, options = {}) {
2074
+ listOrdersV1: (page_1, perPage_1, ...args_1) => __awaiter(this, [page_1, perPage_1, ...args_1], void 0, function* (page, perPage, options = {}) {
2075
2075
  const localVarPath = `/api/agency-hosting/v1/orders`;
2076
2076
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2077
2077
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2110,17 +2110,17 @@ export const AgencyHostingOrdersApiFp = function (configuration) {
2110
2110
  return {
2111
2111
  /**
2112
2112
  * Returns a paginated list of Agency Plan orders accessible to the authenticated client.
2113
- * @summary List Agency Plan orders
2113
+ * @summary List orders
2114
2114
  * @param {number} [page] Page number
2115
2115
  * @param {number} [perPage] Number of items per page
2116
2116
  * @param {*} [options] Override http request option.
2117
2117
  * @throws {RequiredError}
2118
2118
  */
2119
- listAgencyPlanOrdersV1(page, perPage, options) {
2119
+ listOrdersV1(page, perPage, options) {
2120
2120
  return __awaiter(this, void 0, void 0, function* () {
2121
2121
  var _a, _b;
2122
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listAgencyPlanOrdersV1(page, perPage, options);
2123
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingOrdersApi.listAgencyPlanOrdersV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2122
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrdersV1(page, perPage, options);
2123
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingOrdersApi.listOrdersV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2124
2124
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2125
2125
  });
2126
2126
  },
@@ -2135,14 +2135,14 @@ export const AgencyHostingOrdersApiFactory = function (configuration, basePath,
2135
2135
  return {
2136
2136
  /**
2137
2137
  * Returns a paginated list of Agency Plan orders accessible to the authenticated client.
2138
- * @summary List Agency Plan orders
2138
+ * @summary List orders
2139
2139
  * @param {number} [page] Page number
2140
2140
  * @param {number} [perPage] Number of items per page
2141
2141
  * @param {*} [options] Override http request option.
2142
2142
  * @throws {RequiredError}
2143
2143
  */
2144
- listAgencyPlanOrdersV1(page, perPage, options) {
2145
- return localVarFp.listAgencyPlanOrdersV1(page, perPage, options).then((request) => request(axios, basePath));
2144
+ listOrdersV1(page, perPage, options) {
2145
+ return localVarFp.listOrdersV1(page, perPage, options).then((request) => request(axios, basePath));
2146
2146
  },
2147
2147
  };
2148
2148
  };
@@ -2155,15 +2155,15 @@ export const AgencyHostingOrdersApiFactory = function (configuration, basePath,
2155
2155
  export class AgencyHostingOrdersApi extends BaseAPI {
2156
2156
  /**
2157
2157
  * Returns a paginated list of Agency Plan orders accessible to the authenticated client.
2158
- * @summary List Agency Plan orders
2158
+ * @summary List orders
2159
2159
  * @param {number} [page] Page number
2160
2160
  * @param {number} [perPage] Number of items per page
2161
2161
  * @param {*} [options] Override http request option.
2162
2162
  * @throws {RequiredError}
2163
2163
  * @memberof AgencyHostingOrdersApi
2164
2164
  */
2165
- listAgencyPlanOrdersV1(page, perPage, options) {
2166
- return AgencyHostingOrdersApiFp(this.configuration).listAgencyPlanOrdersV1(page, perPage, options).then((request) => request(this.axios, this.basePath));
2165
+ listOrdersV1(page, perPage, options) {
2166
+ return AgencyHostingOrdersApiFp(this.configuration).listOrdersV1(page, perPage, options).then((request) => request(this.axios, this.basePath));
2167
2167
  }
2168
2168
  }
2169
2169
  /**
@@ -2173,73 +2173,73 @@ export class AgencyHostingOrdersApi extends BaseAPI {
2173
2173
  export const AgencyHostingWebsiteSetupsApiAxiosParamCreator = function (configuration) {
2174
2174
  return {
2175
2175
  /**
2176
- * Returns the current status of an Agency Plan website setup started via the setups endpoint. Poll this endpoint using the `setup_uuid` returned from the provisioning request until `status` becomes `completed`, at which point `website_uid` identifies the new website.
2177
- * @summary Get Agency Plan website setup status
2176
+ * Provisions a new website on one of your Agency Plan hosting orders. Choose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach your own `domain` — omit it, set it to `null`, or leave it unavailable and a free `*.hostingersite.com` subdomain is generated instead — and/or install WordPress by supplying the `wordpress` details (admin account, site title, and language). Common setups: - **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit `wordpress` and `type`. - **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus the `wordpress` block (admin account, title, language). - **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to `node-static`. Provisioning runs in the background, so the response returns immediately with a setup UUID that identifies the job. The new website becomes reachable once provisioning finishes.
2177
+ * @summary Create a new website
2178
2178
  * @param {number} orderId Agency Plan order ID
2179
- * @param {string} setupUuid Website setup UUID
2179
+ * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
2180
2180
  * @param {*} [options] Override http request option.
2181
2181
  * @throws {RequiredError}
2182
2182
  */
2183
- getAgencyPlanWebsiteSetupStatusV1: (orderId_1, setupUuid_1, ...args_1) => __awaiter(this, [orderId_1, setupUuid_1, ...args_1], void 0, function* (orderId, setupUuid, options = {}) {
2183
+ createANewWebsiteV1: (orderId_1, agencyHostingV1SetupsCreateSetupRequest_1, ...args_1) => __awaiter(this, [orderId_1, agencyHostingV1SetupsCreateSetupRequest_1, ...args_1], void 0, function* (orderId, agencyHostingV1SetupsCreateSetupRequest, options = {}) {
2184
2184
  // verify required parameter 'orderId' is not null or undefined
2185
- assertParamExists('getAgencyPlanWebsiteSetupStatusV1', 'orderId', orderId);
2186
- // verify required parameter 'setupUuid' is not null or undefined
2187
- assertParamExists('getAgencyPlanWebsiteSetupStatusV1', 'setupUuid', setupUuid);
2188
- const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/websites/setups/{setup_uuid}`
2189
- .replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)))
2190
- .replace(`{${"setup_uuid"}}`, encodeURIComponent(String(setupUuid)));
2185
+ assertParamExists('createANewWebsiteV1', 'orderId', orderId);
2186
+ // verify required parameter 'agencyHostingV1SetupsCreateSetupRequest' is not null or undefined
2187
+ assertParamExists('createANewWebsiteV1', 'agencyHostingV1SetupsCreateSetupRequest', agencyHostingV1SetupsCreateSetupRequest);
2188
+ const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/websites/setups`
2189
+ .replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)));
2191
2190
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2192
2191
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2193
2192
  let baseOptions;
2194
2193
  if (configuration) {
2195
2194
  baseOptions = configuration.baseOptions;
2196
2195
  }
2197
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2196
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2198
2197
  const localVarHeaderParameter = {};
2199
2198
  const localVarQueryParameter = {};
2200
2199
  // authentication apiToken required
2201
2200
  // http bearer authentication required
2202
2201
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2202
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2203
2203
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2204
2204
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2205
2205
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2206
+ localVarRequestOptions.data = serializeDataIfNeeded(agencyHostingV1SetupsCreateSetupRequest, localVarRequestOptions, configuration);
2206
2207
  return {
2207
2208
  url: toPathString(localVarUrlObj),
2208
2209
  options: localVarRequestOptions,
2209
2210
  };
2210
2211
  }),
2211
2212
  /**
2212
- * Provisions a new website on one of your Agency Plan hosting orders. Choose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach your own `domain` — omit it, set it to `null`, or leave it unavailable and a free `*.hostingersite.com` subdomain is generated instead — and/or install WordPress by supplying the `wordpress` details (admin account, site title, and language). Common setups: - **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit `wordpress` and `type`. - **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus the `wordpress` block (admin account, title, language). - **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to `node-static`. Provisioning runs in the background, so the response returns immediately with a setup UUID that identifies the job. The new website becomes reachable once provisioning finishes.
2213
- * @summary Provision a new Agency Plan website
2213
+ * Returns the current status of an Agency Plan website setup started via the setups endpoint. Poll this endpoint using the `setup_uuid` returned from the provisioning request until `status` becomes `completed`, at which point `website_uid` identifies the new website.
2214
+ * @summary Get website setup status
2214
2215
  * @param {number} orderId Agency Plan order ID
2215
- * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
2216
+ * @param {string} setupUuid Website setup UUID
2216
2217
  * @param {*} [options] Override http request option.
2217
2218
  * @throws {RequiredError}
2218
2219
  */
2219
- provisionANewAgencyPlanWebsiteV1: (orderId_1, agencyHostingV1SetupsCreateSetupRequest_1, ...args_1) => __awaiter(this, [orderId_1, agencyHostingV1SetupsCreateSetupRequest_1, ...args_1], void 0, function* (orderId, agencyHostingV1SetupsCreateSetupRequest, options = {}) {
2220
+ getWebsiteSetupStatusV1: (orderId_1, setupUuid_1, ...args_1) => __awaiter(this, [orderId_1, setupUuid_1, ...args_1], void 0, function* (orderId, setupUuid, options = {}) {
2220
2221
  // verify required parameter 'orderId' is not null or undefined
2221
- assertParamExists('provisionANewAgencyPlanWebsiteV1', 'orderId', orderId);
2222
- // verify required parameter 'agencyHostingV1SetupsCreateSetupRequest' is not null or undefined
2223
- assertParamExists('provisionANewAgencyPlanWebsiteV1', 'agencyHostingV1SetupsCreateSetupRequest', agencyHostingV1SetupsCreateSetupRequest);
2224
- const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/websites/setups`
2225
- .replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)));
2222
+ assertParamExists('getWebsiteSetupStatusV1', 'orderId', orderId);
2223
+ // verify required parameter 'setupUuid' is not null or undefined
2224
+ assertParamExists('getWebsiteSetupStatusV1', 'setupUuid', setupUuid);
2225
+ const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/websites/setups/{setup_uuid}`
2226
+ .replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)))
2227
+ .replace(`{${"setup_uuid"}}`, encodeURIComponent(String(setupUuid)));
2226
2228
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2227
2229
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2228
2230
  let baseOptions;
2229
2231
  if (configuration) {
2230
2232
  baseOptions = configuration.baseOptions;
2231
2233
  }
2232
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2234
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2233
2235
  const localVarHeaderParameter = {};
2234
2236
  const localVarQueryParameter = {};
2235
2237
  // authentication apiToken required
2236
2238
  // http bearer authentication required
2237
2239
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2238
- localVarHeaderParameter['Content-Type'] = 'application/json';
2239
2240
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2240
2241
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2241
2242
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2242
- localVarRequestOptions.data = serializeDataIfNeeded(agencyHostingV1SetupsCreateSetupRequest, localVarRequestOptions, configuration);
2243
2243
  return {
2244
2244
  url: toPathString(localVarUrlObj),
2245
2245
  options: localVarRequestOptions,
@@ -2255,34 +2255,34 @@ export const AgencyHostingWebsiteSetupsApiFp = function (configuration) {
2255
2255
  const localVarAxiosParamCreator = AgencyHostingWebsiteSetupsApiAxiosParamCreator(configuration);
2256
2256
  return {
2257
2257
  /**
2258
- * Returns the current status of an Agency Plan website setup started via the setups endpoint. Poll this endpoint using the `setup_uuid` returned from the provisioning request until `status` becomes `completed`, at which point `website_uid` identifies the new website.
2259
- * @summary Get Agency Plan website setup status
2258
+ * Provisions a new website on one of your Agency Plan hosting orders. Choose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach your own `domain` — omit it, set it to `null`, or leave it unavailable and a free `*.hostingersite.com` subdomain is generated instead — and/or install WordPress by supplying the `wordpress` details (admin account, site title, and language). Common setups: - **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit `wordpress` and `type`. - **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus the `wordpress` block (admin account, title, language). - **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to `node-static`. Provisioning runs in the background, so the response returns immediately with a setup UUID that identifies the job. The new website becomes reachable once provisioning finishes.
2259
+ * @summary Create a new website
2260
2260
  * @param {number} orderId Agency Plan order ID
2261
- * @param {string} setupUuid Website setup UUID
2261
+ * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
2262
2262
  * @param {*} [options] Override http request option.
2263
2263
  * @throws {RequiredError}
2264
2264
  */
2265
- getAgencyPlanWebsiteSetupStatusV1(orderId, setupUuid, options) {
2265
+ createANewWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options) {
2266
2266
  return __awaiter(this, void 0, void 0, function* () {
2267
2267
  var _a, _b;
2268
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getAgencyPlanWebsiteSetupStatusV1(orderId, setupUuid, options);
2269
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWebsiteSetupsApi.getAgencyPlanWebsiteSetupStatusV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2268
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createANewWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options);
2269
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWebsiteSetupsApi.createANewWebsiteV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2270
2270
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2271
2271
  });
2272
2272
  },
2273
2273
  /**
2274
- * Provisions a new website on one of your Agency Plan hosting orders. Choose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach your own `domain` — omit it, set it to `null`, or leave it unavailable and a free `*.hostingersite.com` subdomain is generated instead — and/or install WordPress by supplying the `wordpress` details (admin account, site title, and language). Common setups: - **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit `wordpress` and `type`. - **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus the `wordpress` block (admin account, title, language). - **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to `node-static`. Provisioning runs in the background, so the response returns immediately with a setup UUID that identifies the job. The new website becomes reachable once provisioning finishes.
2275
- * @summary Provision a new Agency Plan website
2274
+ * Returns the current status of an Agency Plan website setup started via the setups endpoint. Poll this endpoint using the `setup_uuid` returned from the provisioning request until `status` becomes `completed`, at which point `website_uid` identifies the new website.
2275
+ * @summary Get website setup status
2276
2276
  * @param {number} orderId Agency Plan order ID
2277
- * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
2277
+ * @param {string} setupUuid Website setup UUID
2278
2278
  * @param {*} [options] Override http request option.
2279
2279
  * @throws {RequiredError}
2280
2280
  */
2281
- provisionANewAgencyPlanWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options) {
2281
+ getWebsiteSetupStatusV1(orderId, setupUuid, options) {
2282
2282
  return __awaiter(this, void 0, void 0, function* () {
2283
2283
  var _a, _b;
2284
- const localVarAxiosArgs = yield localVarAxiosParamCreator.provisionANewAgencyPlanWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options);
2285
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWebsiteSetupsApi.provisionANewAgencyPlanWebsiteV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2284
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getWebsiteSetupStatusV1(orderId, setupUuid, options);
2285
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWebsiteSetupsApi.getWebsiteSetupStatusV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2286
2286
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2287
2287
  });
2288
2288
  },
@@ -2296,26 +2296,26 @@ export const AgencyHostingWebsiteSetupsApiFactory = function (configuration, bas
2296
2296
  const localVarFp = AgencyHostingWebsiteSetupsApiFp(configuration);
2297
2297
  return {
2298
2298
  /**
2299
- * Returns the current status of an Agency Plan website setup started via the setups endpoint. Poll this endpoint using the `setup_uuid` returned from the provisioning request until `status` becomes `completed`, at which point `website_uid` identifies the new website.
2300
- * @summary Get Agency Plan website setup status
2299
+ * Provisions a new website on one of your Agency Plan hosting orders. Choose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach your own `domain` — omit it, set it to `null`, or leave it unavailable and a free `*.hostingersite.com` subdomain is generated instead — and/or install WordPress by supplying the `wordpress` details (admin account, site title, and language). Common setups: - **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit `wordpress` and `type`. - **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus the `wordpress` block (admin account, title, language). - **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to `node-static`. Provisioning runs in the background, so the response returns immediately with a setup UUID that identifies the job. The new website becomes reachable once provisioning finishes.
2300
+ * @summary Create a new website
2301
2301
  * @param {number} orderId Agency Plan order ID
2302
- * @param {string} setupUuid Website setup UUID
2302
+ * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
2303
2303
  * @param {*} [options] Override http request option.
2304
2304
  * @throws {RequiredError}
2305
2305
  */
2306
- getAgencyPlanWebsiteSetupStatusV1(orderId, setupUuid, options) {
2307
- return localVarFp.getAgencyPlanWebsiteSetupStatusV1(orderId, setupUuid, options).then((request) => request(axios, basePath));
2306
+ createANewWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options) {
2307
+ return localVarFp.createANewWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options).then((request) => request(axios, basePath));
2308
2308
  },
2309
2309
  /**
2310
- * Provisions a new website on one of your Agency Plan hosting orders. Choose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach your own `domain` — omit it, set it to `null`, or leave it unavailable and a free `*.hostingersite.com` subdomain is generated instead — and/or install WordPress by supplying the `wordpress` details (admin account, site title, and language). Common setups: - **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit `wordpress` and `type`. - **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus the `wordpress` block (admin account, title, language). - **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to `node-static`. Provisioning runs in the background, so the response returns immediately with a setup UUID that identifies the job. The new website becomes reachable once provisioning finishes.
2311
- * @summary Provision a new Agency Plan website
2310
+ * Returns the current status of an Agency Plan website setup started via the setups endpoint. Poll this endpoint using the `setup_uuid` returned from the provisioning request until `status` becomes `completed`, at which point `website_uid` identifies the new website.
2311
+ * @summary Get website setup status
2312
2312
  * @param {number} orderId Agency Plan order ID
2313
- * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
2313
+ * @param {string} setupUuid Website setup UUID
2314
2314
  * @param {*} [options] Override http request option.
2315
2315
  * @throws {RequiredError}
2316
2316
  */
2317
- provisionANewAgencyPlanWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options) {
2318
- return localVarFp.provisionANewAgencyPlanWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options).then((request) => request(axios, basePath));
2317
+ getWebsiteSetupStatusV1(orderId, setupUuid, options) {
2318
+ return localVarFp.getWebsiteSetupStatusV1(orderId, setupUuid, options).then((request) => request(axios, basePath));
2319
2319
  },
2320
2320
  };
2321
2321
  };
@@ -2327,28 +2327,28 @@ export const AgencyHostingWebsiteSetupsApiFactory = function (configuration, bas
2327
2327
  */
2328
2328
  export class AgencyHostingWebsiteSetupsApi extends BaseAPI {
2329
2329
  /**
2330
- * Returns the current status of an Agency Plan website setup started via the setups endpoint. Poll this endpoint using the `setup_uuid` returned from the provisioning request until `status` becomes `completed`, at which point `website_uid` identifies the new website.
2331
- * @summary Get Agency Plan website setup status
2330
+ * Provisions a new website on one of your Agency Plan hosting orders. Choose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach your own `domain` — omit it, set it to `null`, or leave it unavailable and a free `*.hostingersite.com` subdomain is generated instead — and/or install WordPress by supplying the `wordpress` details (admin account, site title, and language). Common setups: - **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit `wordpress` and `type`. - **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus the `wordpress` block (admin account, title, language). - **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to `node-static`. Provisioning runs in the background, so the response returns immediately with a setup UUID that identifies the job. The new website becomes reachable once provisioning finishes.
2331
+ * @summary Create a new website
2332
2332
  * @param {number} orderId Agency Plan order ID
2333
- * @param {string} setupUuid Website setup UUID
2333
+ * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
2334
2334
  * @param {*} [options] Override http request option.
2335
2335
  * @throws {RequiredError}
2336
2336
  * @memberof AgencyHostingWebsiteSetupsApi
2337
2337
  */
2338
- getAgencyPlanWebsiteSetupStatusV1(orderId, setupUuid, options) {
2339
- return AgencyHostingWebsiteSetupsApiFp(this.configuration).getAgencyPlanWebsiteSetupStatusV1(orderId, setupUuid, options).then((request) => request(this.axios, this.basePath));
2338
+ createANewWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options) {
2339
+ return AgencyHostingWebsiteSetupsApiFp(this.configuration).createANewWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options).then((request) => request(this.axios, this.basePath));
2340
2340
  }
2341
2341
  /**
2342
- * Provisions a new website on one of your Agency Plan hosting orders. Choose the datacenter, stack (`flavor`), and PHP version for the site. Optionally attach your own `domain` — omit it, set it to `null`, or leave it unavailable and a free `*.hostingersite.com` subdomain is generated instead — and/or install WordPress by supplying the `wordpress` details (admin account, site title, and language). Common setups: - **Plain PHP site**: `flavor` set to `php-fpm`, with `settings.php.version`; omit `wordpress` and `type`. - **WordPress site**: `flavor` set to the desired WordPress version (e.g. `wp-7.0`), plus the `wordpress` block (admin account, title, language). - **Static/Node.js frontend app**: `flavor` set to `php-fpm` and `type` set to `node-static`. Provisioning runs in the background, so the response returns immediately with a setup UUID that identifies the job. The new website becomes reachable once provisioning finishes.
2343
- * @summary Provision a new Agency Plan website
2342
+ * Returns the current status of an Agency Plan website setup started via the setups endpoint. Poll this endpoint using the `setup_uuid` returned from the provisioning request until `status` becomes `completed`, at which point `website_uid` identifies the new website.
2343
+ * @summary Get website setup status
2344
2344
  * @param {number} orderId Agency Plan order ID
2345
- * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
2345
+ * @param {string} setupUuid Website setup UUID
2346
2346
  * @param {*} [options] Override http request option.
2347
2347
  * @throws {RequiredError}
2348
2348
  * @memberof AgencyHostingWebsiteSetupsApi
2349
2349
  */
2350
- provisionANewAgencyPlanWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options) {
2351
- return AgencyHostingWebsiteSetupsApiFp(this.configuration).provisionANewAgencyPlanWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options).then((request) => request(this.axios, this.basePath));
2350
+ getWebsiteSetupStatusV1(orderId, setupUuid, options) {
2351
+ return AgencyHostingWebsiteSetupsApiFp(this.configuration).getWebsiteSetupStatusV1(orderId, setupUuid, options).then((request) => request(this.axios, this.basePath));
2352
2352
  }
2353
2353
  }
2354
2354
  /**
@@ -2359,17 +2359,17 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
2359
2359
  return {
2360
2360
  /**
2361
2361
  * Builds and deploys a Node.js application for an Agency Plan website from an already-uploaded archive. Upload the archive to file browser first, then provide its relative path from document root in this request. Website contents are overwritten by the build result, which is deployed to public_html.
2362
- * @summary Build Agency Plan website NodeJS assets
2362
+ * @summary Build website NodeJS assets
2363
2363
  * @param {string} websiteUid Agency Plan website UID
2364
2364
  * @param {AgencyHostingV1WebsitesBuildAssetsRequest} agencyHostingV1WebsitesBuildAssetsRequest
2365
2365
  * @param {*} [options] Override http request option.
2366
2366
  * @throws {RequiredError}
2367
2367
  */
2368
- buildAgencyPlanWebsiteNodeJSAssetsV1: (websiteUid_1, agencyHostingV1WebsitesBuildAssetsRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, agencyHostingV1WebsitesBuildAssetsRequest_1, ...args_1], void 0, function* (websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options = {}) {
2368
+ buildWebsiteNodeJSAssetsV1: (websiteUid_1, agencyHostingV1WebsitesBuildAssetsRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, agencyHostingV1WebsitesBuildAssetsRequest_1, ...args_1], void 0, function* (websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options = {}) {
2369
2369
  // verify required parameter 'websiteUid' is not null or undefined
2370
- assertParamExists('buildAgencyPlanWebsiteNodeJSAssetsV1', 'websiteUid', websiteUid);
2370
+ assertParamExists('buildWebsiteNodeJSAssetsV1', 'websiteUid', websiteUid);
2371
2371
  // verify required parameter 'agencyHostingV1WebsitesBuildAssetsRequest' is not null or undefined
2372
- assertParamExists('buildAgencyPlanWebsiteNodeJSAssetsV1', 'agencyHostingV1WebsitesBuildAssetsRequest', agencyHostingV1WebsitesBuildAssetsRequest);
2372
+ assertParamExists('buildWebsiteNodeJSAssetsV1', 'agencyHostingV1WebsitesBuildAssetsRequest', agencyHostingV1WebsitesBuildAssetsRequest);
2373
2373
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/build-assets`
2374
2374
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
2375
2375
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -2396,14 +2396,14 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
2396
2396
  }),
2397
2397
  /**
2398
2398
  * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
2399
- * @summary Delete Agency Plan website
2399
+ * @summary Delete website
2400
2400
  * @param {string} websiteUid Agency Plan website UID
2401
2401
  * @param {*} [options] Override http request option.
2402
2402
  * @throws {RequiredError}
2403
2403
  */
2404
- deleteAgencyPlanWebsiteV1: (websiteUid_1, ...args_1) => __awaiter(this, [websiteUid_1, ...args_1], void 0, function* (websiteUid, options = {}) {
2404
+ deleteWebsiteV1: (websiteUid_1, ...args_1) => __awaiter(this, [websiteUid_1, ...args_1], void 0, function* (websiteUid, options = {}) {
2405
2405
  // verify required parameter 'websiteUid' is not null or undefined
2406
- assertParamExists('deleteAgencyPlanWebsiteV1', 'websiteUid', websiteUid);
2406
+ assertParamExists('deleteWebsiteV1', 'websiteUid', websiteUid);
2407
2407
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}`
2408
2408
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
2409
2409
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -2428,14 +2428,14 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
2428
2428
  }),
2429
2429
  /**
2430
2430
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
2431
- * @summary Get Agency Plan website details
2431
+ * @summary Get website details
2432
2432
  * @param {string} websiteUid Agency Plan website UID
2433
2433
  * @param {*} [options] Override http request option.
2434
2434
  * @throws {RequiredError}
2435
2435
  */
2436
- getAgencyPlanWebsiteDetailsV1: (websiteUid_1, ...args_1) => __awaiter(this, [websiteUid_1, ...args_1], void 0, function* (websiteUid, options = {}) {
2436
+ getWebsiteDetailsV1: (websiteUid_1, ...args_1) => __awaiter(this, [websiteUid_1, ...args_1], void 0, function* (websiteUid, options = {}) {
2437
2437
  // verify required parameter 'websiteUid' is not null or undefined
2438
- assertParamExists('getAgencyPlanWebsiteDetailsV1', 'websiteUid', websiteUid);
2438
+ assertParamExists('getWebsiteDetailsV1', 'websiteUid', websiteUid);
2439
2439
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}`
2440
2440
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
2441
2441
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -2460,14 +2460,14 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
2460
2460
  }),
2461
2461
  /**
2462
2462
  * Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
2463
- * @summary List running Agency Plan website processes
2463
+ * @summary List website processes
2464
2464
  * @param {string} websiteUid Agency Plan website UID
2465
2465
  * @param {*} [options] Override http request option.
2466
2466
  * @throws {RequiredError}
2467
2467
  */
2468
- listRunningAgencyPlanWebsiteProcessesV1: (websiteUid_1, ...args_1) => __awaiter(this, [websiteUid_1, ...args_1], void 0, function* (websiteUid, options = {}) {
2468
+ listWebsiteProcessesV1: (websiteUid_1, ...args_1) => __awaiter(this, [websiteUid_1, ...args_1], void 0, function* (websiteUid, options = {}) {
2469
2469
  // verify required parameter 'websiteUid' is not null or undefined
2470
- assertParamExists('listRunningAgencyPlanWebsiteProcessesV1', 'websiteUid', websiteUid);
2470
+ assertParamExists('listWebsiteProcessesV1', 'websiteUid', websiteUid);
2471
2471
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/processes`
2472
2472
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
2473
2473
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -2501,62 +2501,62 @@ export const AgencyHostingWebsitesApiFp = function (configuration) {
2501
2501
  return {
2502
2502
  /**
2503
2503
  * Builds and deploys a Node.js application for an Agency Plan website from an already-uploaded archive. Upload the archive to file browser first, then provide its relative path from document root in this request. Website contents are overwritten by the build result, which is deployed to public_html.
2504
- * @summary Build Agency Plan website NodeJS assets
2504
+ * @summary Build website NodeJS assets
2505
2505
  * @param {string} websiteUid Agency Plan website UID
2506
2506
  * @param {AgencyHostingV1WebsitesBuildAssetsRequest} agencyHostingV1WebsitesBuildAssetsRequest
2507
2507
  * @param {*} [options] Override http request option.
2508
2508
  * @throws {RequiredError}
2509
2509
  */
2510
- buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options) {
2510
+ buildWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options) {
2511
2511
  return __awaiter(this, void 0, void 0, function* () {
2512
2512
  var _a, _b;
2513
- const localVarAxiosArgs = yield localVarAxiosParamCreator.buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options);
2514
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWebsitesApi.buildAgencyPlanWebsiteNodeJSAssetsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2513
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.buildWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options);
2514
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWebsitesApi.buildWebsiteNodeJSAssetsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2515
2515
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2516
2516
  });
2517
2517
  },
2518
2518
  /**
2519
2519
  * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
2520
- * @summary Delete Agency Plan website
2520
+ * @summary Delete website
2521
2521
  * @param {string} websiteUid Agency Plan website UID
2522
2522
  * @param {*} [options] Override http request option.
2523
2523
  * @throws {RequiredError}
2524
2524
  */
2525
- deleteAgencyPlanWebsiteV1(websiteUid, options) {
2525
+ deleteWebsiteV1(websiteUid, options) {
2526
2526
  return __awaiter(this, void 0, void 0, function* () {
2527
2527
  var _a, _b;
2528
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAgencyPlanWebsiteV1(websiteUid, options);
2529
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWebsitesApi.deleteAgencyPlanWebsiteV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2528
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteWebsiteV1(websiteUid, options);
2529
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWebsitesApi.deleteWebsiteV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2530
2530
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2531
2531
  });
2532
2532
  },
2533
2533
  /**
2534
2534
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
2535
- * @summary Get Agency Plan website details
2535
+ * @summary Get website details
2536
2536
  * @param {string} websiteUid Agency Plan website UID
2537
2537
  * @param {*} [options] Override http request option.
2538
2538
  * @throws {RequiredError}
2539
2539
  */
2540
- getAgencyPlanWebsiteDetailsV1(websiteUid, options) {
2540
+ getWebsiteDetailsV1(websiteUid, options) {
2541
2541
  return __awaiter(this, void 0, void 0, function* () {
2542
2542
  var _a, _b;
2543
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getAgencyPlanWebsiteDetailsV1(websiteUid, options);
2544
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWebsitesApi.getAgencyPlanWebsiteDetailsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2543
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getWebsiteDetailsV1(websiteUid, options);
2544
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWebsitesApi.getWebsiteDetailsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2545
2545
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2546
2546
  });
2547
2547
  },
2548
2548
  /**
2549
2549
  * Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
2550
- * @summary List running Agency Plan website processes
2550
+ * @summary List website processes
2551
2551
  * @param {string} websiteUid Agency Plan website UID
2552
2552
  * @param {*} [options] Override http request option.
2553
2553
  * @throws {RequiredError}
2554
2554
  */
2555
- listRunningAgencyPlanWebsiteProcessesV1(websiteUid, options) {
2555
+ listWebsiteProcessesV1(websiteUid, options) {
2556
2556
  return __awaiter(this, void 0, void 0, function* () {
2557
2557
  var _a, _b;
2558
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listRunningAgencyPlanWebsiteProcessesV1(websiteUid, options);
2559
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWebsitesApi.listRunningAgencyPlanWebsiteProcessesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2558
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listWebsiteProcessesV1(websiteUid, options);
2559
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWebsitesApi.listWebsiteProcessesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2560
2560
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2561
2561
  });
2562
2562
  },
@@ -2571,44 +2571,44 @@ export const AgencyHostingWebsitesApiFactory = function (configuration, basePath
2571
2571
  return {
2572
2572
  /**
2573
2573
  * Builds and deploys a Node.js application for an Agency Plan website from an already-uploaded archive. Upload the archive to file browser first, then provide its relative path from document root in this request. Website contents are overwritten by the build result, which is deployed to public_html.
2574
- * @summary Build Agency Plan website NodeJS assets
2574
+ * @summary Build website NodeJS assets
2575
2575
  * @param {string} websiteUid Agency Plan website UID
2576
2576
  * @param {AgencyHostingV1WebsitesBuildAssetsRequest} agencyHostingV1WebsitesBuildAssetsRequest
2577
2577
  * @param {*} [options] Override http request option.
2578
2578
  * @throws {RequiredError}
2579
2579
  */
2580
- buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options) {
2581
- return localVarFp.buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options).then((request) => request(axios, basePath));
2580
+ buildWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options) {
2581
+ return localVarFp.buildWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options).then((request) => request(axios, basePath));
2582
2582
  },
2583
2583
  /**
2584
2584
  * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
2585
- * @summary Delete Agency Plan website
2585
+ * @summary Delete website
2586
2586
  * @param {string} websiteUid Agency Plan website UID
2587
2587
  * @param {*} [options] Override http request option.
2588
2588
  * @throws {RequiredError}
2589
2589
  */
2590
- deleteAgencyPlanWebsiteV1(websiteUid, options) {
2591
- return localVarFp.deleteAgencyPlanWebsiteV1(websiteUid, options).then((request) => request(axios, basePath));
2590
+ deleteWebsiteV1(websiteUid, options) {
2591
+ return localVarFp.deleteWebsiteV1(websiteUid, options).then((request) => request(axios, basePath));
2592
2592
  },
2593
2593
  /**
2594
2594
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
2595
- * @summary Get Agency Plan website details
2595
+ * @summary Get website details
2596
2596
  * @param {string} websiteUid Agency Plan website UID
2597
2597
  * @param {*} [options] Override http request option.
2598
2598
  * @throws {RequiredError}
2599
2599
  */
2600
- getAgencyPlanWebsiteDetailsV1(websiteUid, options) {
2601
- return localVarFp.getAgencyPlanWebsiteDetailsV1(websiteUid, options).then((request) => request(axios, basePath));
2600
+ getWebsiteDetailsV1(websiteUid, options) {
2601
+ return localVarFp.getWebsiteDetailsV1(websiteUid, options).then((request) => request(axios, basePath));
2602
2602
  },
2603
2603
  /**
2604
2604
  * Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
2605
- * @summary List running Agency Plan website processes
2605
+ * @summary List website processes
2606
2606
  * @param {string} websiteUid Agency Plan website UID
2607
2607
  * @param {*} [options] Override http request option.
2608
2608
  * @throws {RequiredError}
2609
2609
  */
2610
- listRunningAgencyPlanWebsiteProcessesV1(websiteUid, options) {
2611
- return localVarFp.listRunningAgencyPlanWebsiteProcessesV1(websiteUid, options).then((request) => request(axios, basePath));
2610
+ listWebsiteProcessesV1(websiteUid, options) {
2611
+ return localVarFp.listWebsiteProcessesV1(websiteUid, options).then((request) => request(axios, basePath));
2612
2612
  },
2613
2613
  };
2614
2614
  };
@@ -2621,48 +2621,48 @@ export const AgencyHostingWebsitesApiFactory = function (configuration, basePath
2621
2621
  export class AgencyHostingWebsitesApi extends BaseAPI {
2622
2622
  /**
2623
2623
  * Builds and deploys a Node.js application for an Agency Plan website from an already-uploaded archive. Upload the archive to file browser first, then provide its relative path from document root in this request. Website contents are overwritten by the build result, which is deployed to public_html.
2624
- * @summary Build Agency Plan website NodeJS assets
2624
+ * @summary Build website NodeJS assets
2625
2625
  * @param {string} websiteUid Agency Plan website UID
2626
2626
  * @param {AgencyHostingV1WebsitesBuildAssetsRequest} agencyHostingV1WebsitesBuildAssetsRequest
2627
2627
  * @param {*} [options] Override http request option.
2628
2628
  * @throws {RequiredError}
2629
2629
  * @memberof AgencyHostingWebsitesApi
2630
2630
  */
2631
- buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options) {
2632
- return AgencyHostingWebsitesApiFp(this.configuration).buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options).then((request) => request(this.axios, this.basePath));
2631
+ buildWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options) {
2632
+ return AgencyHostingWebsitesApiFp(this.configuration).buildWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options).then((request) => request(this.axios, this.basePath));
2633
2633
  }
2634
2634
  /**
2635
2635
  * Permanently deletes an Agency Plan website. Deletion is processed asynchronously: the website is immediately transitioned to a deleting state and the underlying server resources are removed in the background.
2636
- * @summary Delete Agency Plan website
2636
+ * @summary Delete website
2637
2637
  * @param {string} websiteUid Agency Plan website UID
2638
2638
  * @param {*} [options] Override http request option.
2639
2639
  * @throws {RequiredError}
2640
2640
  * @memberof AgencyHostingWebsitesApi
2641
2641
  */
2642
- deleteAgencyPlanWebsiteV1(websiteUid, options) {
2643
- return AgencyHostingWebsitesApiFp(this.configuration).deleteAgencyPlanWebsiteV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
2642
+ deleteWebsiteV1(websiteUid, options) {
2643
+ return AgencyHostingWebsitesApiFp(this.configuration).deleteWebsiteV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
2644
2644
  }
2645
2645
  /**
2646
2646
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
2647
- * @summary Get Agency Plan website details
2647
+ * @summary Get website details
2648
2648
  * @param {string} websiteUid Agency Plan website UID
2649
2649
  * @param {*} [options] Override http request option.
2650
2650
  * @throws {RequiredError}
2651
2651
  * @memberof AgencyHostingWebsitesApi
2652
2652
  */
2653
- getAgencyPlanWebsiteDetailsV1(websiteUid, options) {
2654
- return AgencyHostingWebsitesApiFp(this.configuration).getAgencyPlanWebsiteDetailsV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
2653
+ getWebsiteDetailsV1(websiteUid, options) {
2654
+ return AgencyHostingWebsitesApiFp(this.configuration).getWebsiteDetailsV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
2655
2655
  }
2656
2656
  /**
2657
2657
  * Lists active and recently completed asynchronous processes for an Agency Plan website. Each process has a unique ID (for tracking), a type, and a status (running, completed, failed). Poll this endpoint after initiating async operations (SSL setup, backups, cloning) to track progress.
2658
- * @summary List running Agency Plan website processes
2658
+ * @summary List website processes
2659
2659
  * @param {string} websiteUid Agency Plan website UID
2660
2660
  * @param {*} [options] Override http request option.
2661
2661
  * @throws {RequiredError}
2662
2662
  * @memberof AgencyHostingWebsitesApi
2663
2663
  */
2664
- listRunningAgencyPlanWebsiteProcessesV1(websiteUid, options) {
2665
- return AgencyHostingWebsitesApiFp(this.configuration).listRunningAgencyPlanWebsiteProcessesV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
2664
+ listWebsiteProcessesV1(websiteUid, options) {
2665
+ return AgencyHostingWebsitesApiFp(this.configuration).listWebsiteProcessesV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
2666
2666
  }
2667
2667
  }
2668
2668
  /**
@@ -2673,17 +2673,17 @@ export const AgencyHostingWordPressApiAxiosParamCreator = function (configuratio
2673
2673
  return {
2674
2674
  /**
2675
2675
  * Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
2676
- * @summary Change Agency Plan website WordPress core version
2676
+ * @summary Change WordPress version
2677
2677
  * @param {string} websiteUid Agency Plan website UID
2678
2678
  * @param {AgencyHostingV1WordPressChangeVersionRequest} agencyHostingV1WordPressChangeVersionRequest
2679
2679
  * @param {*} [options] Override http request option.
2680
2680
  * @throws {RequiredError}
2681
2681
  */
2682
- changeAgencyPlanWebsiteWordPressCoreVersionV1: (websiteUid_1, agencyHostingV1WordPressChangeVersionRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, agencyHostingV1WordPressChangeVersionRequest_1, ...args_1], void 0, function* (websiteUid, agencyHostingV1WordPressChangeVersionRequest, options = {}) {
2682
+ changeWordPressVersionV1: (websiteUid_1, agencyHostingV1WordPressChangeVersionRequest_1, ...args_1) => __awaiter(this, [websiteUid_1, agencyHostingV1WordPressChangeVersionRequest_1, ...args_1], void 0, function* (websiteUid, agencyHostingV1WordPressChangeVersionRequest, options = {}) {
2683
2683
  // verify required parameter 'websiteUid' is not null or undefined
2684
- assertParamExists('changeAgencyPlanWebsiteWordPressCoreVersionV1', 'websiteUid', websiteUid);
2684
+ assertParamExists('changeWordPressVersionV1', 'websiteUid', websiteUid);
2685
2685
  // verify required parameter 'agencyHostingV1WordPressChangeVersionRequest' is not null or undefined
2686
- assertParamExists('changeAgencyPlanWebsiteWordPressCoreVersionV1', 'agencyHostingV1WordPressChangeVersionRequest', agencyHostingV1WordPressChangeVersionRequest);
2686
+ assertParamExists('changeWordPressVersionV1', 'agencyHostingV1WordPressChangeVersionRequest', agencyHostingV1WordPressChangeVersionRequest);
2687
2687
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/version`
2688
2688
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
2689
2689
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -2710,14 +2710,14 @@ export const AgencyHostingWordPressApiAxiosParamCreator = function (configuratio
2710
2710
  }),
2711
2711
  /**
2712
2712
  * Returns the current WordPress settings for an Agency Plan website: installed core version, LiteSpeed Cache plugin status, object cache status, and maintenance mode status.
2713
- * @summary Get Agency Plan website WordPress settings
2713
+ * @summary Get WordPress settings
2714
2714
  * @param {string} websiteUid Agency Plan website UID
2715
2715
  * @param {*} [options] Override http request option.
2716
2716
  * @throws {RequiredError}
2717
2717
  */
2718
- getAgencyPlanWebsiteWordPressSettingsV1: (websiteUid_1, ...args_1) => __awaiter(this, [websiteUid_1, ...args_1], void 0, function* (websiteUid, options = {}) {
2718
+ getWordPressSettingsV1: (websiteUid_1, ...args_1) => __awaiter(this, [websiteUid_1, ...args_1], void 0, function* (websiteUid, options = {}) {
2719
2719
  // verify required parameter 'websiteUid' is not null or undefined
2720
- assertParamExists('getAgencyPlanWebsiteWordPressSettingsV1', 'websiteUid', websiteUid);
2720
+ assertParamExists('getWordPressSettingsV1', 'websiteUid', websiteUid);
2721
2721
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings`
2722
2722
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
2723
2723
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -2742,14 +2742,14 @@ export const AgencyHostingWordPressApiAxiosParamCreator = function (configuratio
2742
2742
  }),
2743
2743
  /**
2744
2744
  * Lists the WordPress core versions available for installation on an Agency Plan website.
2745
- * @summary List available WordPress versions for an Agency Plan website
2745
+ * @summary List available WordPress versions
2746
2746
  * @param {string} websiteUid Agency Plan website UID
2747
2747
  * @param {*} [options] Override http request option.
2748
2748
  * @throws {RequiredError}
2749
2749
  */
2750
- listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1: (websiteUid_1, ...args_1) => __awaiter(this, [websiteUid_1, ...args_1], void 0, function* (websiteUid, options = {}) {
2750
+ listAvailableWordPressVersionsV1: (websiteUid_1, ...args_1) => __awaiter(this, [websiteUid_1, ...args_1], void 0, function* (websiteUid, options = {}) {
2751
2751
  // verify required parameter 'websiteUid' is not null or undefined
2752
- assertParamExists('listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1', 'websiteUid', websiteUid);
2752
+ assertParamExists('listAvailableWordPressVersionsV1', 'websiteUid', websiteUid);
2753
2753
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/versions`
2754
2754
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
2755
2755
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -2783,47 +2783,47 @@ export const AgencyHostingWordPressApiFp = function (configuration) {
2783
2783
  return {
2784
2784
  /**
2785
2785
  * Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
2786
- * @summary Change Agency Plan website WordPress core version
2786
+ * @summary Change WordPress version
2787
2787
  * @param {string} websiteUid Agency Plan website UID
2788
2788
  * @param {AgencyHostingV1WordPressChangeVersionRequest} agencyHostingV1WordPressChangeVersionRequest
2789
2789
  * @param {*} [options] Override http request option.
2790
2790
  * @throws {RequiredError}
2791
2791
  */
2792
- changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options) {
2792
+ changeWordPressVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options) {
2793
2793
  return __awaiter(this, void 0, void 0, function* () {
2794
2794
  var _a, _b;
2795
- const localVarAxiosArgs = yield localVarAxiosParamCreator.changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options);
2796
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWordPressApi.changeAgencyPlanWebsiteWordPressCoreVersionV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2795
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.changeWordPressVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options);
2796
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWordPressApi.changeWordPressVersionV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2797
2797
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2798
2798
  });
2799
2799
  },
2800
2800
  /**
2801
2801
  * Returns the current WordPress settings for an Agency Plan website: installed core version, LiteSpeed Cache plugin status, object cache status, and maintenance mode status.
2802
- * @summary Get Agency Plan website WordPress settings
2802
+ * @summary Get WordPress settings
2803
2803
  * @param {string} websiteUid Agency Plan website UID
2804
2804
  * @param {*} [options] Override http request option.
2805
2805
  * @throws {RequiredError}
2806
2806
  */
2807
- getAgencyPlanWebsiteWordPressSettingsV1(websiteUid, options) {
2807
+ getWordPressSettingsV1(websiteUid, options) {
2808
2808
  return __awaiter(this, void 0, void 0, function* () {
2809
2809
  var _a, _b;
2810
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getAgencyPlanWebsiteWordPressSettingsV1(websiteUid, options);
2811
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWordPressApi.getAgencyPlanWebsiteWordPressSettingsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2810
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getWordPressSettingsV1(websiteUid, options);
2811
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWordPressApi.getWordPressSettingsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2812
2812
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2813
2813
  });
2814
2814
  },
2815
2815
  /**
2816
2816
  * Lists the WordPress core versions available for installation on an Agency Plan website.
2817
- * @summary List available WordPress versions for an Agency Plan website
2817
+ * @summary List available WordPress versions
2818
2818
  * @param {string} websiteUid Agency Plan website UID
2819
2819
  * @param {*} [options] Override http request option.
2820
2820
  * @throws {RequiredError}
2821
2821
  */
2822
- listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid, options) {
2822
+ listAvailableWordPressVersionsV1(websiteUid, options) {
2823
2823
  return __awaiter(this, void 0, void 0, function* () {
2824
2824
  var _a, _b;
2825
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid, options);
2826
- const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWordPressApi.listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2825
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listAvailableWordPressVersionsV1(websiteUid, options);
2826
+ const localVarOperationServerBasePath = (_b = (_a = operationServerMap['AgencyHostingWordPressApi.listAvailableWordPressVersionsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
2827
2827
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2828
2828
  });
2829
2829
  },
@@ -2838,34 +2838,34 @@ export const AgencyHostingWordPressApiFactory = function (configuration, basePat
2838
2838
  return {
2839
2839
  /**
2840
2840
  * Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
2841
- * @summary Change Agency Plan website WordPress core version
2841
+ * @summary Change WordPress version
2842
2842
  * @param {string} websiteUid Agency Plan website UID
2843
2843
  * @param {AgencyHostingV1WordPressChangeVersionRequest} agencyHostingV1WordPressChangeVersionRequest
2844
2844
  * @param {*} [options] Override http request option.
2845
2845
  * @throws {RequiredError}
2846
2846
  */
2847
- changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options) {
2848
- return localVarFp.changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options).then((request) => request(axios, basePath));
2847
+ changeWordPressVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options) {
2848
+ return localVarFp.changeWordPressVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options).then((request) => request(axios, basePath));
2849
2849
  },
2850
2850
  /**
2851
2851
  * Returns the current WordPress settings for an Agency Plan website: installed core version, LiteSpeed Cache plugin status, object cache status, and maintenance mode status.
2852
- * @summary Get Agency Plan website WordPress settings
2852
+ * @summary Get WordPress settings
2853
2853
  * @param {string} websiteUid Agency Plan website UID
2854
2854
  * @param {*} [options] Override http request option.
2855
2855
  * @throws {RequiredError}
2856
2856
  */
2857
- getAgencyPlanWebsiteWordPressSettingsV1(websiteUid, options) {
2858
- return localVarFp.getAgencyPlanWebsiteWordPressSettingsV1(websiteUid, options).then((request) => request(axios, basePath));
2857
+ getWordPressSettingsV1(websiteUid, options) {
2858
+ return localVarFp.getWordPressSettingsV1(websiteUid, options).then((request) => request(axios, basePath));
2859
2859
  },
2860
2860
  /**
2861
2861
  * Lists the WordPress core versions available for installation on an Agency Plan website.
2862
- * @summary List available WordPress versions for an Agency Plan website
2862
+ * @summary List available WordPress versions
2863
2863
  * @param {string} websiteUid Agency Plan website UID
2864
2864
  * @param {*} [options] Override http request option.
2865
2865
  * @throws {RequiredError}
2866
2866
  */
2867
- listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid, options) {
2868
- return localVarFp.listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid, options).then((request) => request(axios, basePath));
2867
+ listAvailableWordPressVersionsV1(websiteUid, options) {
2868
+ return localVarFp.listAvailableWordPressVersionsV1(websiteUid, options).then((request) => request(axios, basePath));
2869
2869
  },
2870
2870
  };
2871
2871
  };
@@ -2878,37 +2878,37 @@ export const AgencyHostingWordPressApiFactory = function (configuration, basePat
2878
2878
  export class AgencyHostingWordPressApi extends BaseAPI {
2879
2879
  /**
2880
2880
  * Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
2881
- * @summary Change Agency Plan website WordPress core version
2881
+ * @summary Change WordPress version
2882
2882
  * @param {string} websiteUid Agency Plan website UID
2883
2883
  * @param {AgencyHostingV1WordPressChangeVersionRequest} agencyHostingV1WordPressChangeVersionRequest
2884
2884
  * @param {*} [options] Override http request option.
2885
2885
  * @throws {RequiredError}
2886
2886
  * @memberof AgencyHostingWordPressApi
2887
2887
  */
2888
- changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options) {
2889
- return AgencyHostingWordPressApiFp(this.configuration).changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options).then((request) => request(this.axios, this.basePath));
2888
+ changeWordPressVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options) {
2889
+ return AgencyHostingWordPressApiFp(this.configuration).changeWordPressVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options).then((request) => request(this.axios, this.basePath));
2890
2890
  }
2891
2891
  /**
2892
2892
  * Returns the current WordPress settings for an Agency Plan website: installed core version, LiteSpeed Cache plugin status, object cache status, and maintenance mode status.
2893
- * @summary Get Agency Plan website WordPress settings
2893
+ * @summary Get WordPress settings
2894
2894
  * @param {string} websiteUid Agency Plan website UID
2895
2895
  * @param {*} [options] Override http request option.
2896
2896
  * @throws {RequiredError}
2897
2897
  * @memberof AgencyHostingWordPressApi
2898
2898
  */
2899
- getAgencyPlanWebsiteWordPressSettingsV1(websiteUid, options) {
2900
- return AgencyHostingWordPressApiFp(this.configuration).getAgencyPlanWebsiteWordPressSettingsV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
2899
+ getWordPressSettingsV1(websiteUid, options) {
2900
+ return AgencyHostingWordPressApiFp(this.configuration).getWordPressSettingsV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
2901
2901
  }
2902
2902
  /**
2903
2903
  * Lists the WordPress core versions available for installation on an Agency Plan website.
2904
- * @summary List available WordPress versions for an Agency Plan website
2904
+ * @summary List available WordPress versions
2905
2905
  * @param {string} websiteUid Agency Plan website UID
2906
2906
  * @param {*} [options] Override http request option.
2907
2907
  * @throws {RequiredError}
2908
2908
  * @memberof AgencyHostingWordPressApi
2909
2909
  */
2910
- listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid, options) {
2911
- return AgencyHostingWordPressApiFp(this.configuration).listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
2910
+ listAvailableWordPressVersionsV1(websiteUid, options) {
2911
+ return AgencyHostingWordPressApiFp(this.configuration).listAvailableWordPressVersionsV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
2912
2912
  }
2913
2913
  }
2914
2914
  /**
@@ -10813,7 +10813,7 @@ export const HostingFilesApiAxiosParamCreator = function (configuration) {
10813
10813
  * @param {number | null} [maxDepth] How many directory levels deep to recurse.
10814
10814
  * @param {number | null} [maxItems] Max number of entries to return in this page.
10815
10815
  * @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
10816
- * @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
10816
+ * @param {Array<ListWebsiteFilesAndDirectoriesV1FileTypesEnum>} [fileTypes] Filter by entry type, e.g. file,directory. Omit for all types.
10817
10817
  * @param {*} [options] Override http request option.
10818
10818
  * @throws {RequiredError}
10819
10819
  */
@@ -10849,10 +10849,8 @@ export const HostingFilesApiAxiosParamCreator = function (configuration) {
10849
10849
  if (offset !== undefined) {
10850
10850
  localVarQueryParameter['offset'] = offset;
10851
10851
  }
10852
- if (fileTypes !== undefined) {
10853
- for (const [key, value] of Object.entries(fileTypes)) {
10854
- localVarQueryParameter[key] = value;
10855
- }
10852
+ if (fileTypes) {
10853
+ localVarQueryParameter['file_types'] = fileTypes.join(COLLECTION_FORMATS.csv);
10856
10854
  }
10857
10855
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10858
10856
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -10899,7 +10897,7 @@ export const HostingFilesApiFp = function (configuration) {
10899
10897
  * @param {number | null} [maxDepth] How many directory levels deep to recurse.
10900
10898
  * @param {number | null} [maxItems] Max number of entries to return in this page.
10901
10899
  * @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
10902
- * @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
10900
+ * @param {Array<ListWebsiteFilesAndDirectoriesV1FileTypesEnum>} [fileTypes] Filter by entry type, e.g. file,directory. Omit for all types.
10903
10901
  * @param {*} [options] Override http request option.
10904
10902
  * @throws {RequiredError}
10905
10903
  */
@@ -10943,7 +10941,7 @@ export const HostingFilesApiFactory = function (configuration, basePath, axios)
10943
10941
  * @param {number | null} [maxDepth] How many directory levels deep to recurse.
10944
10942
  * @param {number | null} [maxItems] Max number of entries to return in this page.
10945
10943
  * @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
10946
- * @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
10944
+ * @param {Array<ListWebsiteFilesAndDirectoriesV1FileTypesEnum>} [fileTypes] Filter by entry type, e.g. file,directory. Omit for all types.
10947
10945
  * @param {*} [options] Override http request option.
10948
10946
  * @throws {RequiredError}
10949
10947
  */
@@ -10983,7 +10981,7 @@ export class HostingFilesApi extends BaseAPI {
10983
10981
  * @param {number | null} [maxDepth] How many directory levels deep to recurse.
10984
10982
  * @param {number | null} [maxItems] Max number of entries to return in this page.
10985
10983
  * @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
10986
- * @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
10984
+ * @param {Array<ListWebsiteFilesAndDirectoriesV1FileTypesEnum>} [fileTypes] Filter by entry type, e.g. file,directory. Omit for all types.
10987
10985
  * @param {*} [options] Override http request option.
10988
10986
  * @throws {RequiredError}
10989
10987
  * @memberof HostingFilesApi
@@ -10992,6 +10990,15 @@ export class HostingFilesApi extends BaseAPI {
10992
10990
  return HostingFilesApiFp(this.configuration).listWebsiteFilesAndDirectoriesV1(username, domain, directory, maxDepth, maxItems, offset, fileTypes, options).then((request) => request(this.axios, this.basePath));
10993
10991
  }
10994
10992
  }
10993
+ /**
10994
+ * @export
10995
+ */
10996
+ export const ListWebsiteFilesAndDirectoriesV1FileTypesEnum = {
10997
+ File: 'file',
10998
+ Directory: 'directory',
10999
+ Symlink: 'symlink',
11000
+ Other: 'other'
11001
+ };
10995
11002
  /**
10996
11003
  * HostingNodeJSApi - axios parameter creator
10997
11004
  * @export