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/api.ts 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
@@ -23,76 +23,76 @@ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerM
23
23
  /**
24
24
  *
25
25
  * @export
26
- * @interface AgencyHostingListAgencyPlanDomainsV1200Response
26
+ * @interface AgencyHostingListDomainsV1200Response
27
27
  */
28
- export interface AgencyHostingListAgencyPlanDomainsV1200Response {
28
+ export interface AgencyHostingListDomainsV1200Response {
29
29
  /**
30
30
  * Array of [`AgencyHosting.V1.Domains.DomainResource`](#model/agencyhostingv1domainsdomainresource)
31
31
  * @type {Array<AgencyHostingV1DomainsDomainResource>}
32
- * @memberof AgencyHostingListAgencyPlanDomainsV1200Response
32
+ * @memberof AgencyHostingListDomainsV1200Response
33
33
  */
34
34
  'data': Array<AgencyHostingV1DomainsDomainResource>;
35
35
  /**
36
36
  *
37
37
  * @type {CommonSchemaPaginationMetaSchema}
38
- * @memberof AgencyHostingListAgencyPlanDomainsV1200Response
38
+ * @memberof AgencyHostingListDomainsV1200Response
39
39
  */
40
40
  'meta': CommonSchemaPaginationMetaSchema;
41
41
  }
42
42
  /**
43
43
  *
44
44
  * @export
45
- * @interface AgencyHostingListAgencyPlanOrdersV1200Response
45
+ * @interface AgencyHostingListOrdersV1200Response
46
46
  */
47
- export interface AgencyHostingListAgencyPlanOrdersV1200Response {
47
+ export interface AgencyHostingListOrdersV1200Response {
48
48
  /**
49
49
  * Array of [`AgencyHosting.V1.Orders.OrderResource`](#model/agencyhostingv1ordersorderresource)
50
50
  * @type {Array<AgencyHostingV1OrdersOrderResource>}
51
- * @memberof AgencyHostingListAgencyPlanOrdersV1200Response
51
+ * @memberof AgencyHostingListOrdersV1200Response
52
52
  */
53
53
  'data': Array<AgencyHostingV1OrdersOrderResource>;
54
54
  /**
55
55
  *
56
56
  * @type {CommonSchemaPaginationMetaSchema}
57
- * @memberof AgencyHostingListAgencyPlanOrdersV1200Response
57
+ * @memberof AgencyHostingListOrdersV1200Response
58
58
  */
59
59
  'meta': CommonSchemaPaginationMetaSchema;
60
60
  }
61
61
  /**
62
62
  *
63
63
  * @export
64
- * @interface AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response
64
+ * @interface AgencyHostingListWebsiteCronJobsV1200Response
65
65
  */
66
- export interface AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response {
66
+ export interface AgencyHostingListWebsiteCronJobsV1200Response {
67
67
  /**
68
68
  * Array of [`AgencyHosting.V1.Websites.CronJobs.CronJobResource`](#model/agencyhostingv1websitescronjobscronjobresource)
69
69
  * @type {Array<AgencyHostingV1WebsitesCronJobsCronJobResource>}
70
- * @memberof AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response
70
+ * @memberof AgencyHostingListWebsiteCronJobsV1200Response
71
71
  */
72
72
  'data': Array<AgencyHostingV1WebsitesCronJobsCronJobResource>;
73
73
  /**
74
74
  *
75
75
  * @type {CommonSchemaPaginationMetaSchema}
76
- * @memberof AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response
76
+ * @memberof AgencyHostingListWebsiteCronJobsV1200Response
77
77
  */
78
78
  'meta': CommonSchemaPaginationMetaSchema;
79
79
  }
80
80
  /**
81
81
  *
82
82
  * @export
83
- * @interface AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response
83
+ * @interface AgencyHostingListWebsiteDatabasesV1200Response
84
84
  */
85
- export interface AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response {
85
+ export interface AgencyHostingListWebsiteDatabasesV1200Response {
86
86
  /**
87
87
  * Array of [`AgencyHosting.V1.Websites.Databases.DatabaseResource`](#model/agencyhostingv1websitesdatabasesdatabaseresource)
88
88
  * @type {Array<AgencyHostingV1WebsitesDatabasesDatabaseResource>}
89
- * @memberof AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response
89
+ * @memberof AgencyHostingListWebsiteDatabasesV1200Response
90
90
  */
91
91
  'data': Array<AgencyHostingV1WebsitesDatabasesDatabaseResource>;
92
92
  /**
93
93
  *
94
94
  * @type {CommonSchemaPaginationMetaSchema}
95
- * @memberof AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response
95
+ * @memberof AgencyHostingListWebsiteDatabasesV1200Response
96
96
  */
97
97
  'meta': CommonSchemaPaginationMetaSchema;
98
98
  }
@@ -4313,12 +4313,6 @@ export interface HostingListOrdersV1200Response {
4313
4313
  */
4314
4314
  'meta': CommonSchemaPaginationMetaSchema;
4315
4315
  }
4316
- /**
4317
- * @type HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter
4318
- * @export
4319
- */
4320
- export type HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter = Array<string> | string;
4321
-
4322
4316
  /**
4323
4317
  *
4324
4318
  * @export
@@ -11919,14 +11913,14 @@ export const AgencyHostingCacheApiAxiosParamCreator = function (configuration?:
11919
11913
  return {
11920
11914
  /**
11921
11915
  * Clears cache for all domains associated with an Agency Plan website, including its preview domain. This operation clears all cache types for the website.
11922
- * @summary Clear Agency Plan website cache
11916
+ * @summary Clear website cache
11923
11917
  * @param {string} websiteUid Agency Plan website UID
11924
11918
  * @param {*} [options] Override http request option.
11925
11919
  * @throws {RequiredError}
11926
11920
  */
11927
- clearAgencyPlanWebsiteCacheV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11921
+ clearWebsiteCacheV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11928
11922
  // verify required parameter 'websiteUid' is not null or undefined
11929
- assertParamExists('clearAgencyPlanWebsiteCacheV1', 'websiteUid', websiteUid)
11923
+ assertParamExists('clearWebsiteCacheV1', 'websiteUid', websiteUid)
11930
11924
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/cache`
11931
11925
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
11932
11926
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -11967,14 +11961,14 @@ export const AgencyHostingCacheApiFp = function(configuration?: Configuration) {
11967
11961
  return {
11968
11962
  /**
11969
11963
  * Clears cache for all domains associated with an Agency Plan website, including its preview domain. This operation clears all cache types for the website.
11970
- * @summary Clear Agency Plan website cache
11964
+ * @summary Clear website cache
11971
11965
  * @param {string} websiteUid Agency Plan website UID
11972
11966
  * @param {*} [options] Override http request option.
11973
11967
  * @throws {RequiredError}
11974
11968
  */
11975
- async clearAgencyPlanWebsiteCacheV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
11976
- const localVarAxiosArgs = await localVarAxiosParamCreator.clearAgencyPlanWebsiteCacheV1(websiteUid, options);
11977
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingCacheApi.clearAgencyPlanWebsiteCacheV1']?.[0]?.url;
11969
+ async clearWebsiteCacheV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
11970
+ const localVarAxiosArgs = await localVarAxiosParamCreator.clearWebsiteCacheV1(websiteUid, options);
11971
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingCacheApi.clearWebsiteCacheV1']?.[0]?.url;
11978
11972
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11979
11973
  },
11980
11974
  }
@@ -11989,13 +11983,13 @@ export const AgencyHostingCacheApiFactory = function (configuration?: Configurat
11989
11983
  return {
11990
11984
  /**
11991
11985
  * Clears cache for all domains associated with an Agency Plan website, including its preview domain. This operation clears all cache types for the website.
11992
- * @summary Clear Agency Plan website cache
11986
+ * @summary Clear website cache
11993
11987
  * @param {string} websiteUid Agency Plan website UID
11994
11988
  * @param {*} [options] Override http request option.
11995
11989
  * @throws {RequiredError}
11996
11990
  */
11997
- clearAgencyPlanWebsiteCacheV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
11998
- return localVarFp.clearAgencyPlanWebsiteCacheV1(websiteUid, options).then((request) => request(axios, basePath));
11991
+ clearWebsiteCacheV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
11992
+ return localVarFp.clearWebsiteCacheV1(websiteUid, options).then((request) => request(axios, basePath));
11999
11993
  },
12000
11994
  };
12001
11995
  };
@@ -12009,14 +12003,14 @@ export const AgencyHostingCacheApiFactory = function (configuration?: Configurat
12009
12003
  export class AgencyHostingCacheApi extends BaseAPI {
12010
12004
  /**
12011
12005
  * Clears cache for all domains associated with an Agency Plan website, including its preview domain. This operation clears all cache types for the website.
12012
- * @summary Clear Agency Plan website cache
12006
+ * @summary Clear website cache
12013
12007
  * @param {string} websiteUid Agency Plan website UID
12014
12008
  * @param {*} [options] Override http request option.
12015
12009
  * @throws {RequiredError}
12016
12010
  * @memberof AgencyHostingCacheApi
12017
12011
  */
12018
- public clearAgencyPlanWebsiteCacheV1(websiteUid: string, options?: RawAxiosRequestConfig) {
12019
- return AgencyHostingCacheApiFp(this.configuration).clearAgencyPlanWebsiteCacheV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
12012
+ public clearWebsiteCacheV1(websiteUid: string, options?: RawAxiosRequestConfig) {
12013
+ return AgencyHostingCacheApiFp(this.configuration).clearWebsiteCacheV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
12020
12014
  }
12021
12015
  }
12022
12016
 
@@ -12030,17 +12024,17 @@ export const AgencyHostingCronJobsApiAxiosParamCreator = function (configuration
12030
12024
  return {
12031
12025
  /**
12032
12026
  * 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.
12033
- * @summary Create Agency Plan website cron job
12027
+ * @summary Create website cron job
12034
12028
  * @param {string} websiteUid Agency Plan website UID
12035
12029
  * @param {AgencyHostingV1WebsitesCronJobsCreateCronJobRequest} agencyHostingV1WebsitesCronJobsCreateCronJobRequest
12036
12030
  * @param {*} [options] Override http request option.
12037
12031
  * @throws {RequiredError}
12038
12032
  */
12039
- createAgencyPlanWebsiteCronJobV1: async (websiteUid: string, agencyHostingV1WebsitesCronJobsCreateCronJobRequest: AgencyHostingV1WebsitesCronJobsCreateCronJobRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12033
+ createWebsiteCronJobV1: async (websiteUid: string, agencyHostingV1WebsitesCronJobsCreateCronJobRequest: AgencyHostingV1WebsitesCronJobsCreateCronJobRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12040
12034
  // verify required parameter 'websiteUid' is not null or undefined
12041
- assertParamExists('createAgencyPlanWebsiteCronJobV1', 'websiteUid', websiteUid)
12035
+ assertParamExists('createWebsiteCronJobV1', 'websiteUid', websiteUid)
12042
12036
  // verify required parameter 'agencyHostingV1WebsitesCronJobsCreateCronJobRequest' is not null or undefined
12043
- assertParamExists('createAgencyPlanWebsiteCronJobV1', 'agencyHostingV1WebsitesCronJobsCreateCronJobRequest', agencyHostingV1WebsitesCronJobsCreateCronJobRequest)
12037
+ assertParamExists('createWebsiteCronJobV1', 'agencyHostingV1WebsitesCronJobsCreateCronJobRequest', agencyHostingV1WebsitesCronJobsCreateCronJobRequest)
12044
12038
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs`
12045
12039
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
12046
12040
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12074,17 +12068,17 @@ export const AgencyHostingCronJobsApiAxiosParamCreator = function (configuration
12074
12068
  },
12075
12069
  /**
12076
12070
  * 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.
12077
- * @summary Delete Agency Plan website cron job
12071
+ * @summary Delete website cron job
12078
12072
  * @param {string} websiteUid Agency Plan website UID
12079
12073
  * @param {string} uuid Unique identifier of the cron job as returned by the list cron jobs endpoint.
12080
12074
  * @param {*} [options] Override http request option.
12081
12075
  * @throws {RequiredError}
12082
12076
  */
12083
- deleteAgencyPlanWebsiteCronJobV1: async (websiteUid: string, uuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12077
+ deleteWebsiteCronJobV1: async (websiteUid: string, uuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12084
12078
  // verify required parameter 'websiteUid' is not null or undefined
12085
- assertParamExists('deleteAgencyPlanWebsiteCronJobV1', 'websiteUid', websiteUid)
12079
+ assertParamExists('deleteWebsiteCronJobV1', 'websiteUid', websiteUid)
12086
12080
  // verify required parameter 'uuid' is not null or undefined
12087
- assertParamExists('deleteAgencyPlanWebsiteCronJobV1', 'uuid', uuid)
12081
+ assertParamExists('deleteWebsiteCronJobV1', 'uuid', uuid)
12088
12082
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}`
12089
12083
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
12090
12084
  .replace(`{${"uuid"}}`, encodeURIComponent(String(uuid)));
@@ -12116,16 +12110,16 @@ export const AgencyHostingCronJobsApiAxiosParamCreator = function (configuration
12116
12110
  },
12117
12111
  /**
12118
12112
  * 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.
12119
- * @summary List Agency Plan website cron jobs
12113
+ * @summary List website cron jobs
12120
12114
  * @param {string} websiteUid Agency Plan website UID
12121
12115
  * @param {number} [page] Page number
12122
12116
  * @param {number} [perPage] Number of items per page
12123
12117
  * @param {*} [options] Override http request option.
12124
12118
  * @throws {RequiredError}
12125
12119
  */
12126
- listAgencyPlanWebsiteCronJobsV1: async (websiteUid: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12120
+ listWebsiteCronJobsV1: async (websiteUid: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12127
12121
  // verify required parameter 'websiteUid' is not null or undefined
12128
- assertParamExists('listAgencyPlanWebsiteCronJobsV1', 'websiteUid', websiteUid)
12122
+ assertParamExists('listWebsiteCronJobsV1', 'websiteUid', websiteUid)
12129
12123
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs`
12130
12124
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
12131
12125
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12174,42 +12168,42 @@ export const AgencyHostingCronJobsApiFp = function(configuration?: Configuration
12174
12168
  return {
12175
12169
  /**
12176
12170
  * 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.
12177
- * @summary Create Agency Plan website cron job
12171
+ * @summary Create website cron job
12178
12172
  * @param {string} websiteUid Agency Plan website UID
12179
12173
  * @param {AgencyHostingV1WebsitesCronJobsCreateCronJobRequest} agencyHostingV1WebsitesCronJobsCreateCronJobRequest
12180
12174
  * @param {*} [options] Override http request option.
12181
12175
  * @throws {RequiredError}
12182
12176
  */
12183
- async createAgencyPlanWebsiteCronJobV1(websiteUid: string, agencyHostingV1WebsitesCronJobsCreateCronJobRequest: AgencyHostingV1WebsitesCronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesCronJobsCronJobResource>> {
12184
- const localVarAxiosArgs = await localVarAxiosParamCreator.createAgencyPlanWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options);
12185
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingCronJobsApi.createAgencyPlanWebsiteCronJobV1']?.[0]?.url;
12177
+ async createWebsiteCronJobV1(websiteUid: string, agencyHostingV1WebsitesCronJobsCreateCronJobRequest: AgencyHostingV1WebsitesCronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesCronJobsCronJobResource>> {
12178
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options);
12179
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingCronJobsApi.createWebsiteCronJobV1']?.[0]?.url;
12186
12180
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12187
12181
  },
12188
12182
  /**
12189
12183
  * 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.
12190
- * @summary Delete Agency Plan website cron job
12184
+ * @summary Delete website cron job
12191
12185
  * @param {string} websiteUid Agency Plan website UID
12192
12186
  * @param {string} uuid Unique identifier of the cron job as returned by the list cron jobs endpoint.
12193
12187
  * @param {*} [options] Override http request option.
12194
12188
  * @throws {RequiredError}
12195
12189
  */
12196
- async deleteAgencyPlanWebsiteCronJobV1(websiteUid: string, uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
12197
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgencyPlanWebsiteCronJobV1(websiteUid, uuid, options);
12198
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingCronJobsApi.deleteAgencyPlanWebsiteCronJobV1']?.[0]?.url;
12190
+ async deleteWebsiteCronJobV1(websiteUid: string, uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
12191
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteWebsiteCronJobV1(websiteUid, uuid, options);
12192
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingCronJobsApi.deleteWebsiteCronJobV1']?.[0]?.url;
12199
12193
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12200
12194
  },
12201
12195
  /**
12202
12196
  * 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.
12203
- * @summary List Agency Plan website cron jobs
12197
+ * @summary List website cron jobs
12204
12198
  * @param {string} websiteUid Agency Plan website UID
12205
12199
  * @param {number} [page] Page number
12206
12200
  * @param {number} [perPage] Number of items per page
12207
12201
  * @param {*} [options] Override http request option.
12208
12202
  * @throws {RequiredError}
12209
12203
  */
12210
- async listAgencyPlanWebsiteCronJobsV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response>> {
12211
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAgencyPlanWebsiteCronJobsV1(websiteUid, page, perPage, options);
12212
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingCronJobsApi.listAgencyPlanWebsiteCronJobsV1']?.[0]?.url;
12204
+ async listWebsiteCronJobsV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingListWebsiteCronJobsV1200Response>> {
12205
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listWebsiteCronJobsV1(websiteUid, page, perPage, options);
12206
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingCronJobsApi.listWebsiteCronJobsV1']?.[0]?.url;
12213
12207
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12214
12208
  },
12215
12209
  }
@@ -12224,37 +12218,37 @@ export const AgencyHostingCronJobsApiFactory = function (configuration?: Configu
12224
12218
  return {
12225
12219
  /**
12226
12220
  * 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.
12227
- * @summary Create Agency Plan website cron job
12221
+ * @summary Create website cron job
12228
12222
  * @param {string} websiteUid Agency Plan website UID
12229
12223
  * @param {AgencyHostingV1WebsitesCronJobsCreateCronJobRequest} agencyHostingV1WebsitesCronJobsCreateCronJobRequest
12230
12224
  * @param {*} [options] Override http request option.
12231
12225
  * @throws {RequiredError}
12232
12226
  */
12233
- createAgencyPlanWebsiteCronJobV1(websiteUid: string, agencyHostingV1WebsitesCronJobsCreateCronJobRequest: AgencyHostingV1WebsitesCronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesCronJobsCronJobResource> {
12234
- return localVarFp.createAgencyPlanWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options).then((request) => request(axios, basePath));
12227
+ createWebsiteCronJobV1(websiteUid: string, agencyHostingV1WebsitesCronJobsCreateCronJobRequest: AgencyHostingV1WebsitesCronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesCronJobsCronJobResource> {
12228
+ return localVarFp.createWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options).then((request) => request(axios, basePath));
12235
12229
  },
12236
12230
  /**
12237
12231
  * 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.
12238
- * @summary Delete Agency Plan website cron job
12232
+ * @summary Delete website cron job
12239
12233
  * @param {string} websiteUid Agency Plan website UID
12240
12234
  * @param {string} uuid Unique identifier of the cron job as returned by the list cron jobs endpoint.
12241
12235
  * @param {*} [options] Override http request option.
12242
12236
  * @throws {RequiredError}
12243
12237
  */
12244
- deleteAgencyPlanWebsiteCronJobV1(websiteUid: string, uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
12245
- return localVarFp.deleteAgencyPlanWebsiteCronJobV1(websiteUid, uuid, options).then((request) => request(axios, basePath));
12238
+ deleteWebsiteCronJobV1(websiteUid: string, uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
12239
+ return localVarFp.deleteWebsiteCronJobV1(websiteUid, uuid, options).then((request) => request(axios, basePath));
12246
12240
  },
12247
12241
  /**
12248
12242
  * 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.
12249
- * @summary List Agency Plan website cron jobs
12243
+ * @summary List website cron jobs
12250
12244
  * @param {string} websiteUid Agency Plan website UID
12251
12245
  * @param {number} [page] Page number
12252
12246
  * @param {number} [perPage] Number of items per page
12253
12247
  * @param {*} [options] Override http request option.
12254
12248
  * @throws {RequiredError}
12255
12249
  */
12256
- listAgencyPlanWebsiteCronJobsV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response> {
12257
- return localVarFp.listAgencyPlanWebsiteCronJobsV1(websiteUid, page, perPage, options).then((request) => request(axios, basePath));
12250
+ listWebsiteCronJobsV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingListWebsiteCronJobsV1200Response> {
12251
+ return localVarFp.listWebsiteCronJobsV1(websiteUid, page, perPage, options).then((request) => request(axios, basePath));
12258
12252
  },
12259
12253
  };
12260
12254
  };
@@ -12268,33 +12262,33 @@ export const AgencyHostingCronJobsApiFactory = function (configuration?: Configu
12268
12262
  export class AgencyHostingCronJobsApi extends BaseAPI {
12269
12263
  /**
12270
12264
  * 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.
12271
- * @summary Create Agency Plan website cron job
12265
+ * @summary Create website cron job
12272
12266
  * @param {string} websiteUid Agency Plan website UID
12273
12267
  * @param {AgencyHostingV1WebsitesCronJobsCreateCronJobRequest} agencyHostingV1WebsitesCronJobsCreateCronJobRequest
12274
12268
  * @param {*} [options] Override http request option.
12275
12269
  * @throws {RequiredError}
12276
12270
  * @memberof AgencyHostingCronJobsApi
12277
12271
  */
12278
- public createAgencyPlanWebsiteCronJobV1(websiteUid: string, agencyHostingV1WebsitesCronJobsCreateCronJobRequest: AgencyHostingV1WebsitesCronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig) {
12279
- return AgencyHostingCronJobsApiFp(this.configuration).createAgencyPlanWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options).then((request) => request(this.axios, this.basePath));
12272
+ public createWebsiteCronJobV1(websiteUid: string, agencyHostingV1WebsitesCronJobsCreateCronJobRequest: AgencyHostingV1WebsitesCronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig) {
12273
+ return AgencyHostingCronJobsApiFp(this.configuration).createWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options).then((request) => request(this.axios, this.basePath));
12280
12274
  }
12281
12275
 
12282
12276
  /**
12283
12277
  * 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.
12284
- * @summary Delete Agency Plan website cron job
12278
+ * @summary Delete website cron job
12285
12279
  * @param {string} websiteUid Agency Plan website UID
12286
12280
  * @param {string} uuid Unique identifier of the cron job as returned by the list cron jobs endpoint.
12287
12281
  * @param {*} [options] Override http request option.
12288
12282
  * @throws {RequiredError}
12289
12283
  * @memberof AgencyHostingCronJobsApi
12290
12284
  */
12291
- public deleteAgencyPlanWebsiteCronJobV1(websiteUid: string, uuid: string, options?: RawAxiosRequestConfig) {
12292
- return AgencyHostingCronJobsApiFp(this.configuration).deleteAgencyPlanWebsiteCronJobV1(websiteUid, uuid, options).then((request) => request(this.axios, this.basePath));
12285
+ public deleteWebsiteCronJobV1(websiteUid: string, uuid: string, options?: RawAxiosRequestConfig) {
12286
+ return AgencyHostingCronJobsApiFp(this.configuration).deleteWebsiteCronJobV1(websiteUid, uuid, options).then((request) => request(this.axios, this.basePath));
12293
12287
  }
12294
12288
 
12295
12289
  /**
12296
12290
  * 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.
12297
- * @summary List Agency Plan website cron jobs
12291
+ * @summary List website cron jobs
12298
12292
  * @param {string} websiteUid Agency Plan website UID
12299
12293
  * @param {number} [page] Page number
12300
12294
  * @param {number} [perPage] Number of items per page
@@ -12302,8 +12296,8 @@ export class AgencyHostingCronJobsApi extends BaseAPI {
12302
12296
  * @throws {RequiredError}
12303
12297
  * @memberof AgencyHostingCronJobsApi
12304
12298
  */
12305
- public listAgencyPlanWebsiteCronJobsV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
12306
- return AgencyHostingCronJobsApiFp(this.configuration).listAgencyPlanWebsiteCronJobsV1(websiteUid, page, perPage, options).then((request) => request(this.axios, this.basePath));
12299
+ public listWebsiteCronJobsV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
12300
+ return AgencyHostingCronJobsApiFp(this.configuration).listWebsiteCronJobsV1(websiteUid, page, perPage, options).then((request) => request(this.axios, this.basePath));
12307
12301
  }
12308
12302
  }
12309
12303
 
@@ -12317,20 +12311,20 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
12317
12311
  return {
12318
12312
  /**
12319
12313
  * 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.
12320
- * @summary Create Agency Plan website database user
12314
+ * @summary Create website database user
12321
12315
  * @param {string} websiteUid Agency Plan website UID
12322
12316
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12323
12317
  * @param {AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest} agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
12324
12318
  * @param {*} [options] Override http request option.
12325
12319
  * @throws {RequiredError}
12326
12320
  */
12327
- createAgencyPlanWebsiteDatabaseUserV1: async (websiteUid: string, databaseName: string, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest: AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12321
+ createWebsiteDatabaseUserV1: async (websiteUid: string, databaseName: string, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest: AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12328
12322
  // verify required parameter 'websiteUid' is not null or undefined
12329
- assertParamExists('createAgencyPlanWebsiteDatabaseUserV1', 'websiteUid', websiteUid)
12323
+ assertParamExists('createWebsiteDatabaseUserV1', 'websiteUid', websiteUid)
12330
12324
  // verify required parameter 'databaseName' is not null or undefined
12331
- assertParamExists('createAgencyPlanWebsiteDatabaseUserV1', 'databaseName', databaseName)
12325
+ assertParamExists('createWebsiteDatabaseUserV1', 'databaseName', databaseName)
12332
12326
  // verify required parameter 'agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest' is not null or undefined
12333
- assertParamExists('createAgencyPlanWebsiteDatabaseUserV1', 'agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest', agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest)
12327
+ assertParamExists('createWebsiteDatabaseUserV1', 'agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest', agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest)
12334
12328
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users`
12335
12329
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
12336
12330
  .replace(`{${"database_name"}}`, encodeURIComponent(String(databaseName)));
@@ -12365,17 +12359,17 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
12365
12359
  },
12366
12360
  /**
12367
12361
  * 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.
12368
- * @summary Create Agency Plan website database
12362
+ * @summary Create website database
12369
12363
  * @param {string} websiteUid Agency Plan website UID
12370
12364
  * @param {AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest} agencyHostingV1WebsitesDatabasesCreateDatabaseRequest
12371
12365
  * @param {*} [options] Override http request option.
12372
12366
  * @throws {RequiredError}
12373
12367
  */
12374
- createAgencyPlanWebsiteDatabaseV1: async (websiteUid: string, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest: AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12368
+ createWebsiteDatabaseV1: async (websiteUid: string, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest: AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12375
12369
  // verify required parameter 'websiteUid' is not null or undefined
12376
- assertParamExists('createAgencyPlanWebsiteDatabaseV1', 'websiteUid', websiteUid)
12370
+ assertParamExists('createWebsiteDatabaseV1', 'websiteUid', websiteUid)
12377
12371
  // verify required parameter 'agencyHostingV1WebsitesDatabasesCreateDatabaseRequest' is not null or undefined
12378
- assertParamExists('createAgencyPlanWebsiteDatabaseV1', 'agencyHostingV1WebsitesDatabasesCreateDatabaseRequest', agencyHostingV1WebsitesDatabasesCreateDatabaseRequest)
12372
+ assertParamExists('createWebsiteDatabaseV1', 'agencyHostingV1WebsitesDatabasesCreateDatabaseRequest', agencyHostingV1WebsitesDatabasesCreateDatabaseRequest)
12379
12373
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases`
12380
12374
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
12381
12375
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12409,20 +12403,20 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
12409
12403
  },
12410
12404
  /**
12411
12405
  * 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.
12412
- * @summary Delete Agency Plan website database user
12406
+ * @summary Delete website database user
12413
12407
  * @param {string} websiteUid Agency Plan website UID
12414
12408
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12415
12409
  * @param {string} databaseUserName Database username as returned by the list databases endpoint.
12416
12410
  * @param {*} [options] Override http request option.
12417
12411
  * @throws {RequiredError}
12418
12412
  */
12419
- deleteAgencyPlanWebsiteDatabaseUserV1: async (websiteUid: string, databaseName: string, databaseUserName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12413
+ deleteWebsiteDatabaseUserV1: async (websiteUid: string, databaseName: string, databaseUserName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12420
12414
  // verify required parameter 'websiteUid' is not null or undefined
12421
- assertParamExists('deleteAgencyPlanWebsiteDatabaseUserV1', 'websiteUid', websiteUid)
12415
+ assertParamExists('deleteWebsiteDatabaseUserV1', 'websiteUid', websiteUid)
12422
12416
  // verify required parameter 'databaseName' is not null or undefined
12423
- assertParamExists('deleteAgencyPlanWebsiteDatabaseUserV1', 'databaseName', databaseName)
12417
+ assertParamExists('deleteWebsiteDatabaseUserV1', 'databaseName', databaseName)
12424
12418
  // verify required parameter 'databaseUserName' is not null or undefined
12425
- assertParamExists('deleteAgencyPlanWebsiteDatabaseUserV1', 'databaseUserName', databaseUserName)
12419
+ assertParamExists('deleteWebsiteDatabaseUserV1', 'databaseUserName', databaseUserName)
12426
12420
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}`
12427
12421
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
12428
12422
  .replace(`{${"database_name"}}`, encodeURIComponent(String(databaseName)))
@@ -12455,17 +12449,17 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
12455
12449
  },
12456
12450
  /**
12457
12451
  * 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.
12458
- * @summary Delete Agency Plan website database
12452
+ * @summary Delete website database
12459
12453
  * @param {string} websiteUid Agency Plan website UID
12460
12454
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12461
12455
  * @param {*} [options] Override http request option.
12462
12456
  * @throws {RequiredError}
12463
12457
  */
12464
- deleteAgencyPlanWebsiteDatabaseV1: async (websiteUid: string, databaseName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12458
+ deleteWebsiteDatabaseV1: async (websiteUid: string, databaseName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12465
12459
  // verify required parameter 'websiteUid' is not null or undefined
12466
- assertParamExists('deleteAgencyPlanWebsiteDatabaseV1', 'websiteUid', websiteUid)
12460
+ assertParamExists('deleteWebsiteDatabaseV1', 'websiteUid', websiteUid)
12467
12461
  // verify required parameter 'databaseName' is not null or undefined
12468
- assertParamExists('deleteAgencyPlanWebsiteDatabaseV1', 'databaseName', databaseName)
12462
+ assertParamExists('deleteWebsiteDatabaseV1', 'databaseName', databaseName)
12469
12463
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}`
12470
12464
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
12471
12465
  .replace(`{${"database_name"}}`, encodeURIComponent(String(databaseName)));
@@ -12497,16 +12491,16 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
12497
12491
  },
12498
12492
  /**
12499
12493
  * Returns a paginated list of MySQL databases created for an Agency Plan website. Each entry includes the database\'s non-system users.
12500
- * @summary List Agency Plan website databases
12494
+ * @summary List website databases
12501
12495
  * @param {string} websiteUid Agency Plan website UID
12502
12496
  * @param {number} [page] Page number
12503
12497
  * @param {number} [perPage] Number of items per page
12504
12498
  * @param {*} [options] Override http request option.
12505
12499
  * @throws {RequiredError}
12506
12500
  */
12507
- listAgencyPlanWebsiteDatabasesV1: async (websiteUid: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12501
+ listWebsiteDatabasesV1: async (websiteUid: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12508
12502
  // verify required parameter 'websiteUid' is not null or undefined
12509
- assertParamExists('listAgencyPlanWebsiteDatabasesV1', 'websiteUid', websiteUid)
12503
+ assertParamExists('listWebsiteDatabasesV1', 'websiteUid', websiteUid)
12510
12504
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases`
12511
12505
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
12512
12506
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12555,70 +12549,70 @@ export const AgencyHostingDatabasesApiFp = function(configuration?: Configuratio
12555
12549
  return {
12556
12550
  /**
12557
12551
  * 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.
12558
- * @summary Create Agency Plan website database user
12552
+ * @summary Create website database user
12559
12553
  * @param {string} websiteUid Agency Plan website UID
12560
12554
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12561
12555
  * @param {AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest} agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
12562
12556
  * @param {*} [options] Override http request option.
12563
12557
  * @throws {RequiredError}
12564
12558
  */
12565
- async createAgencyPlanWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest: AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesDatabasesDatabaseUserResource>> {
12566
- const localVarAxiosArgs = await localVarAxiosParamCreator.createAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options);
12567
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingDatabasesApi.createAgencyPlanWebsiteDatabaseUserV1']?.[0]?.url;
12559
+ async createWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest: AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesDatabasesDatabaseUserResource>> {
12560
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options);
12561
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingDatabasesApi.createWebsiteDatabaseUserV1']?.[0]?.url;
12568
12562
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12569
12563
  },
12570
12564
  /**
12571
12565
  * 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.
12572
- * @summary Create Agency Plan website database
12566
+ * @summary Create website database
12573
12567
  * @param {string} websiteUid Agency Plan website UID
12574
12568
  * @param {AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest} agencyHostingV1WebsitesDatabasesCreateDatabaseRequest
12575
12569
  * @param {*} [options] Override http request option.
12576
12570
  * @throws {RequiredError}
12577
12571
  */
12578
- async createAgencyPlanWebsiteDatabaseV1(websiteUid: string, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest: AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesDatabasesDatabaseResource>> {
12579
- const localVarAxiosArgs = await localVarAxiosParamCreator.createAgencyPlanWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options);
12580
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingDatabasesApi.createAgencyPlanWebsiteDatabaseV1']?.[0]?.url;
12572
+ async createWebsiteDatabaseV1(websiteUid: string, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest: AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesDatabasesDatabaseResource>> {
12573
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options);
12574
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingDatabasesApi.createWebsiteDatabaseV1']?.[0]?.url;
12581
12575
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12582
12576
  },
12583
12577
  /**
12584
12578
  * 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.
12585
- * @summary Delete Agency Plan website database user
12579
+ * @summary Delete website database user
12586
12580
  * @param {string} websiteUid Agency Plan website UID
12587
12581
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12588
12582
  * @param {string} databaseUserName Database username as returned by the list databases endpoint.
12589
12583
  * @param {*} [options] Override http request option.
12590
12584
  * @throws {RequiredError}
12591
12585
  */
12592
- async deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, databaseUserName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
12593
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options);
12594
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingDatabasesApi.deleteAgencyPlanWebsiteDatabaseUserV1']?.[0]?.url;
12586
+ async deleteWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, databaseUserName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
12587
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options);
12588
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingDatabasesApi.deleteWebsiteDatabaseUserV1']?.[0]?.url;
12595
12589
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12596
12590
  },
12597
12591
  /**
12598
12592
  * 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.
12599
- * @summary Delete Agency Plan website database
12593
+ * @summary Delete website database
12600
12594
  * @param {string} websiteUid Agency Plan website UID
12601
12595
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12602
12596
  * @param {*} [options] Override http request option.
12603
12597
  * @throws {RequiredError}
12604
12598
  */
12605
- async deleteAgencyPlanWebsiteDatabaseV1(websiteUid: string, databaseName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
12606
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgencyPlanWebsiteDatabaseV1(websiteUid, databaseName, options);
12607
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingDatabasesApi.deleteAgencyPlanWebsiteDatabaseV1']?.[0]?.url;
12599
+ async deleteWebsiteDatabaseV1(websiteUid: string, databaseName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
12600
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteWebsiteDatabaseV1(websiteUid, databaseName, options);
12601
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingDatabasesApi.deleteWebsiteDatabaseV1']?.[0]?.url;
12608
12602
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12609
12603
  },
12610
12604
  /**
12611
12605
  * Returns a paginated list of MySQL databases created for an Agency Plan website. Each entry includes the database\'s non-system users.
12612
- * @summary List Agency Plan website databases
12606
+ * @summary List website databases
12613
12607
  * @param {string} websiteUid Agency Plan website UID
12614
12608
  * @param {number} [page] Page number
12615
12609
  * @param {number} [perPage] Number of items per page
12616
12610
  * @param {*} [options] Override http request option.
12617
12611
  * @throws {RequiredError}
12618
12612
  */
12619
- async listAgencyPlanWebsiteDatabasesV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response>> {
12620
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAgencyPlanWebsiteDatabasesV1(websiteUid, page, perPage, options);
12621
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingDatabasesApi.listAgencyPlanWebsiteDatabasesV1']?.[0]?.url;
12613
+ async listWebsiteDatabasesV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingListWebsiteDatabasesV1200Response>> {
12614
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listWebsiteDatabasesV1(websiteUid, page, perPage, options);
12615
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingDatabasesApi.listWebsiteDatabasesV1']?.[0]?.url;
12622
12616
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12623
12617
  },
12624
12618
  }
@@ -12633,61 +12627,61 @@ export const AgencyHostingDatabasesApiFactory = function (configuration?: Config
12633
12627
  return {
12634
12628
  /**
12635
12629
  * 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.
12636
- * @summary Create Agency Plan website database user
12630
+ * @summary Create website database user
12637
12631
  * @param {string} websiteUid Agency Plan website UID
12638
12632
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12639
12633
  * @param {AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest} agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
12640
12634
  * @param {*} [options] Override http request option.
12641
12635
  * @throws {RequiredError}
12642
12636
  */
12643
- createAgencyPlanWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest: AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesDatabasesDatabaseUserResource> {
12644
- return localVarFp.createAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options).then((request) => request(axios, basePath));
12637
+ createWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest: AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesDatabasesDatabaseUserResource> {
12638
+ return localVarFp.createWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options).then((request) => request(axios, basePath));
12645
12639
  },
12646
12640
  /**
12647
12641
  * 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.
12648
- * @summary Create Agency Plan website database
12642
+ * @summary Create website database
12649
12643
  * @param {string} websiteUid Agency Plan website UID
12650
12644
  * @param {AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest} agencyHostingV1WebsitesDatabasesCreateDatabaseRequest
12651
12645
  * @param {*} [options] Override http request option.
12652
12646
  * @throws {RequiredError}
12653
12647
  */
12654
- createAgencyPlanWebsiteDatabaseV1(websiteUid: string, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest: AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesDatabasesDatabaseResource> {
12655
- return localVarFp.createAgencyPlanWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options).then((request) => request(axios, basePath));
12648
+ createWebsiteDatabaseV1(websiteUid: string, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest: AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesDatabasesDatabaseResource> {
12649
+ return localVarFp.createWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options).then((request) => request(axios, basePath));
12656
12650
  },
12657
12651
  /**
12658
12652
  * 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.
12659
- * @summary Delete Agency Plan website database user
12653
+ * @summary Delete website database user
12660
12654
  * @param {string} websiteUid Agency Plan website UID
12661
12655
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12662
12656
  * @param {string} databaseUserName Database username as returned by the list databases endpoint.
12663
12657
  * @param {*} [options] Override http request option.
12664
12658
  * @throws {RequiredError}
12665
12659
  */
12666
- deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, databaseUserName: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
12667
- return localVarFp.deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options).then((request) => request(axios, basePath));
12660
+ deleteWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, databaseUserName: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
12661
+ return localVarFp.deleteWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options).then((request) => request(axios, basePath));
12668
12662
  },
12669
12663
  /**
12670
12664
  * 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.
12671
- * @summary Delete Agency Plan website database
12665
+ * @summary Delete website database
12672
12666
  * @param {string} websiteUid Agency Plan website UID
12673
12667
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12674
12668
  * @param {*} [options] Override http request option.
12675
12669
  * @throws {RequiredError}
12676
12670
  */
12677
- deleteAgencyPlanWebsiteDatabaseV1(websiteUid: string, databaseName: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
12678
- return localVarFp.deleteAgencyPlanWebsiteDatabaseV1(websiteUid, databaseName, options).then((request) => request(axios, basePath));
12671
+ deleteWebsiteDatabaseV1(websiteUid: string, databaseName: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
12672
+ return localVarFp.deleteWebsiteDatabaseV1(websiteUid, databaseName, options).then((request) => request(axios, basePath));
12679
12673
  },
12680
12674
  /**
12681
12675
  * Returns a paginated list of MySQL databases created for an Agency Plan website. Each entry includes the database\'s non-system users.
12682
- * @summary List Agency Plan website databases
12676
+ * @summary List website databases
12683
12677
  * @param {string} websiteUid Agency Plan website UID
12684
12678
  * @param {number} [page] Page number
12685
12679
  * @param {number} [perPage] Number of items per page
12686
12680
  * @param {*} [options] Override http request option.
12687
12681
  * @throws {RequiredError}
12688
12682
  */
12689
- listAgencyPlanWebsiteDatabasesV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response> {
12690
- return localVarFp.listAgencyPlanWebsiteDatabasesV1(websiteUid, page, perPage, options).then((request) => request(axios, basePath));
12683
+ listWebsiteDatabasesV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingListWebsiteDatabasesV1200Response> {
12684
+ return localVarFp.listWebsiteDatabasesV1(websiteUid, page, perPage, options).then((request) => request(axios, basePath));
12691
12685
  },
12692
12686
  };
12693
12687
  };
@@ -12701,7 +12695,7 @@ export const AgencyHostingDatabasesApiFactory = function (configuration?: Config
12701
12695
  export class AgencyHostingDatabasesApi extends BaseAPI {
12702
12696
  /**
12703
12697
  * 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.
12704
- * @summary Create Agency Plan website database user
12698
+ * @summary Create website database user
12705
12699
  * @param {string} websiteUid Agency Plan website UID
12706
12700
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12707
12701
  * @param {AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest} agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
@@ -12709,26 +12703,26 @@ export class AgencyHostingDatabasesApi extends BaseAPI {
12709
12703
  * @throws {RequiredError}
12710
12704
  * @memberof AgencyHostingDatabasesApi
12711
12705
  */
12712
- public createAgencyPlanWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest: AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options?: RawAxiosRequestConfig) {
12713
- return AgencyHostingDatabasesApiFp(this.configuration).createAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options).then((request) => request(this.axios, this.basePath));
12706
+ public createWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest: AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options?: RawAxiosRequestConfig) {
12707
+ return AgencyHostingDatabasesApiFp(this.configuration).createWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options).then((request) => request(this.axios, this.basePath));
12714
12708
  }
12715
12709
 
12716
12710
  /**
12717
12711
  * 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.
12718
- * @summary Create Agency Plan website database
12712
+ * @summary Create website database
12719
12713
  * @param {string} websiteUid Agency Plan website UID
12720
12714
  * @param {AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest} agencyHostingV1WebsitesDatabasesCreateDatabaseRequest
12721
12715
  * @param {*} [options] Override http request option.
12722
12716
  * @throws {RequiredError}
12723
12717
  * @memberof AgencyHostingDatabasesApi
12724
12718
  */
12725
- public createAgencyPlanWebsiteDatabaseV1(websiteUid: string, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest: AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig) {
12726
- return AgencyHostingDatabasesApiFp(this.configuration).createAgencyPlanWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options).then((request) => request(this.axios, this.basePath));
12719
+ public createWebsiteDatabaseV1(websiteUid: string, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest: AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig) {
12720
+ return AgencyHostingDatabasesApiFp(this.configuration).createWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options).then((request) => request(this.axios, this.basePath));
12727
12721
  }
12728
12722
 
12729
12723
  /**
12730
12724
  * 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.
12731
- * @summary Delete Agency Plan website database user
12725
+ * @summary Delete website database user
12732
12726
  * @param {string} websiteUid Agency Plan website UID
12733
12727
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12734
12728
  * @param {string} databaseUserName Database username as returned by the list databases endpoint.
@@ -12736,26 +12730,26 @@ export class AgencyHostingDatabasesApi extends BaseAPI {
12736
12730
  * @throws {RequiredError}
12737
12731
  * @memberof AgencyHostingDatabasesApi
12738
12732
  */
12739
- public deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, databaseUserName: string, options?: RawAxiosRequestConfig) {
12740
- return AgencyHostingDatabasesApiFp(this.configuration).deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options).then((request) => request(this.axios, this.basePath));
12733
+ public deleteWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, databaseUserName: string, options?: RawAxiosRequestConfig) {
12734
+ return AgencyHostingDatabasesApiFp(this.configuration).deleteWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options).then((request) => request(this.axios, this.basePath));
12741
12735
  }
12742
12736
 
12743
12737
  /**
12744
12738
  * 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.
12745
- * @summary Delete Agency Plan website database
12739
+ * @summary Delete website database
12746
12740
  * @param {string} websiteUid Agency Plan website UID
12747
12741
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12748
12742
  * @param {*} [options] Override http request option.
12749
12743
  * @throws {RequiredError}
12750
12744
  * @memberof AgencyHostingDatabasesApi
12751
12745
  */
12752
- public deleteAgencyPlanWebsiteDatabaseV1(websiteUid: string, databaseName: string, options?: RawAxiosRequestConfig) {
12753
- return AgencyHostingDatabasesApiFp(this.configuration).deleteAgencyPlanWebsiteDatabaseV1(websiteUid, databaseName, options).then((request) => request(this.axios, this.basePath));
12746
+ public deleteWebsiteDatabaseV1(websiteUid: string, databaseName: string, options?: RawAxiosRequestConfig) {
12747
+ return AgencyHostingDatabasesApiFp(this.configuration).deleteWebsiteDatabaseV1(websiteUid, databaseName, options).then((request) => request(this.axios, this.basePath));
12754
12748
  }
12755
12749
 
12756
12750
  /**
12757
12751
  * Returns a paginated list of MySQL databases created for an Agency Plan website. Each entry includes the database\'s non-system users.
12758
- * @summary List Agency Plan website databases
12752
+ * @summary List website databases
12759
12753
  * @param {string} websiteUid Agency Plan website UID
12760
12754
  * @param {number} [page] Page number
12761
12755
  * @param {number} [perPage] Number of items per page
@@ -12763,8 +12757,8 @@ export class AgencyHostingDatabasesApi extends BaseAPI {
12763
12757
  * @throws {RequiredError}
12764
12758
  * @memberof AgencyHostingDatabasesApi
12765
12759
  */
12766
- public listAgencyPlanWebsiteDatabasesV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
12767
- return AgencyHostingDatabasesApiFp(this.configuration).listAgencyPlanWebsiteDatabasesV1(websiteUid, page, perPage, options).then((request) => request(this.axios, this.basePath));
12760
+ public listWebsiteDatabasesV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
12761
+ return AgencyHostingDatabasesApiFp(this.configuration).listWebsiteDatabasesV1(websiteUid, page, perPage, options).then((request) => request(this.axios, this.basePath));
12768
12762
  }
12769
12763
  }
12770
12764
 
@@ -12778,14 +12772,14 @@ export const AgencyHostingDatacentersApiAxiosParamCreator = function (configurat
12778
12772
  return {
12779
12773
  /**
12780
12774
  * 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.
12781
- * @summary List available datacenters for an Agency Plan order
12775
+ * @summary List available datacenters
12782
12776
  * @param {number} orderId Agency Plan order ID
12783
12777
  * @param {*} [options] Override http request option.
12784
12778
  * @throws {RequiredError}
12785
12779
  */
12786
- listAvailableDatacentersForAnAgencyPlanOrderV1: async (orderId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12780
+ listAvailableDatacentersV1: async (orderId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12787
12781
  // verify required parameter 'orderId' is not null or undefined
12788
- assertParamExists('listAvailableDatacentersForAnAgencyPlanOrderV1', 'orderId', orderId)
12782
+ assertParamExists('listAvailableDatacentersV1', 'orderId', orderId)
12789
12783
  const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/datacenters`
12790
12784
  .replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)));
12791
12785
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12826,14 +12820,14 @@ export const AgencyHostingDatacentersApiFp = function(configuration?: Configurat
12826
12820
  return {
12827
12821
  /**
12828
12822
  * 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.
12829
- * @summary List available datacenters for an Agency Plan order
12823
+ * @summary List available datacenters
12830
12824
  * @param {number} orderId Agency Plan order ID
12831
12825
  * @param {*} [options] Override http request option.
12832
12826
  * @throws {RequiredError}
12833
12827
  */
12834
- async listAvailableDatacentersForAnAgencyPlanOrderV1(orderId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgencyHostingV1DatacentersDatacenterResource>>> {
12835
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAvailableDatacentersForAnAgencyPlanOrderV1(orderId, options);
12836
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingDatacentersApi.listAvailableDatacentersForAnAgencyPlanOrderV1']?.[0]?.url;
12828
+ async listAvailableDatacentersV1(orderId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgencyHostingV1DatacentersDatacenterResource>>> {
12829
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAvailableDatacentersV1(orderId, options);
12830
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingDatacentersApi.listAvailableDatacentersV1']?.[0]?.url;
12837
12831
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12838
12832
  },
12839
12833
  }
@@ -12848,13 +12842,13 @@ export const AgencyHostingDatacentersApiFactory = function (configuration?: Conf
12848
12842
  return {
12849
12843
  /**
12850
12844
  * 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.
12851
- * @summary List available datacenters for an Agency Plan order
12845
+ * @summary List available datacenters
12852
12846
  * @param {number} orderId Agency Plan order ID
12853
12847
  * @param {*} [options] Override http request option.
12854
12848
  * @throws {RequiredError}
12855
12849
  */
12856
- listAvailableDatacentersForAnAgencyPlanOrderV1(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<AgencyHostingV1DatacentersDatacenterResource>> {
12857
- return localVarFp.listAvailableDatacentersForAnAgencyPlanOrderV1(orderId, options).then((request) => request(axios, basePath));
12850
+ listAvailableDatacentersV1(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<AgencyHostingV1DatacentersDatacenterResource>> {
12851
+ return localVarFp.listAvailableDatacentersV1(orderId, options).then((request) => request(axios, basePath));
12858
12852
  },
12859
12853
  };
12860
12854
  };
@@ -12868,14 +12862,14 @@ export const AgencyHostingDatacentersApiFactory = function (configuration?: Conf
12868
12862
  export class AgencyHostingDatacentersApi extends BaseAPI {
12869
12863
  /**
12870
12864
  * 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.
12871
- * @summary List available datacenters for an Agency Plan order
12865
+ * @summary List available datacenters
12872
12866
  * @param {number} orderId Agency Plan order ID
12873
12867
  * @param {*} [options] Override http request option.
12874
12868
  * @throws {RequiredError}
12875
12869
  * @memberof AgencyHostingDatacentersApi
12876
12870
  */
12877
- public listAvailableDatacentersForAnAgencyPlanOrderV1(orderId: number, options?: RawAxiosRequestConfig) {
12878
- return AgencyHostingDatacentersApiFp(this.configuration).listAvailableDatacentersForAnAgencyPlanOrderV1(orderId, options).then((request) => request(this.axios, this.basePath));
12871
+ public listAvailableDatacentersV1(orderId: number, options?: RawAxiosRequestConfig) {
12872
+ return AgencyHostingDatacentersApiFp(this.configuration).listAvailableDatacentersV1(orderId, options).then((request) => request(this.axios, this.basePath));
12879
12873
  }
12880
12874
  }
12881
12875
 
@@ -12889,20 +12883,20 @@ export const AgencyHostingDomainsApiAxiosParamCreator = function (configuration?
12889
12883
  return {
12890
12884
  /**
12891
12885
  * 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.
12892
- * @summary Change Agency Plan website domain
12886
+ * @summary Change website domain
12893
12887
  * @param {string} websiteUid Agency Plan website UID
12894
12888
  * @param {string} fromDomain Current domain name to change from
12895
12889
  * @param {AgencyHostingV1DomainsChangeDomainRequest} agencyHostingV1DomainsChangeDomainRequest
12896
12890
  * @param {*} [options] Override http request option.
12897
12891
  * @throws {RequiredError}
12898
12892
  */
12899
- changeAgencyPlanWebsiteDomainV1: async (websiteUid: string, fromDomain: string, agencyHostingV1DomainsChangeDomainRequest: AgencyHostingV1DomainsChangeDomainRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12893
+ changeWebsiteDomainV1: async (websiteUid: string, fromDomain: string, agencyHostingV1DomainsChangeDomainRequest: AgencyHostingV1DomainsChangeDomainRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12900
12894
  // verify required parameter 'websiteUid' is not null or undefined
12901
- assertParamExists('changeAgencyPlanWebsiteDomainV1', 'websiteUid', websiteUid)
12895
+ assertParamExists('changeWebsiteDomainV1', 'websiteUid', websiteUid)
12902
12896
  // verify required parameter 'fromDomain' is not null or undefined
12903
- assertParamExists('changeAgencyPlanWebsiteDomainV1', 'fromDomain', fromDomain)
12897
+ assertParamExists('changeWebsiteDomainV1', 'fromDomain', fromDomain)
12904
12898
  // verify required parameter 'agencyHostingV1DomainsChangeDomainRequest' is not null or undefined
12905
- assertParamExists('changeAgencyPlanWebsiteDomainV1', 'agencyHostingV1DomainsChangeDomainRequest', agencyHostingV1DomainsChangeDomainRequest)
12899
+ assertParamExists('changeWebsiteDomainV1', 'agencyHostingV1DomainsChangeDomainRequest', agencyHostingV1DomainsChangeDomainRequest)
12906
12900
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/domains/{from_domain}`
12907
12901
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
12908
12902
  .replace(`{${"from_domain"}}`, encodeURIComponent(String(fromDomain)));
@@ -12937,17 +12931,17 @@ export const AgencyHostingDomainsApiAxiosParamCreator = function (configuration?
12937
12931
  },
12938
12932
  /**
12939
12933
  * Links a domain to the specified Agency Plan website so it can serve traffic for that domain.
12940
- * @summary Link domain to Agency Plan website
12934
+ * @summary Link domain to website
12941
12935
  * @param {string} websiteUid Agency Plan website UID
12942
12936
  * @param {AgencyHostingV1DomainsLinkDomainRequest} agencyHostingV1DomainsLinkDomainRequest
12943
12937
  * @param {*} [options] Override http request option.
12944
12938
  * @throws {RequiredError}
12945
12939
  */
12946
- linkDomainToAgencyPlanWebsiteV1: async (websiteUid: string, agencyHostingV1DomainsLinkDomainRequest: AgencyHostingV1DomainsLinkDomainRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12940
+ linkDomainToWebsiteV1: async (websiteUid: string, agencyHostingV1DomainsLinkDomainRequest: AgencyHostingV1DomainsLinkDomainRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12947
12941
  // verify required parameter 'websiteUid' is not null or undefined
12948
- assertParamExists('linkDomainToAgencyPlanWebsiteV1', 'websiteUid', websiteUid)
12942
+ assertParamExists('linkDomainToWebsiteV1', 'websiteUid', websiteUid)
12949
12943
  // verify required parameter 'agencyHostingV1DomainsLinkDomainRequest' is not null or undefined
12950
- assertParamExists('linkDomainToAgencyPlanWebsiteV1', 'agencyHostingV1DomainsLinkDomainRequest', agencyHostingV1DomainsLinkDomainRequest)
12944
+ assertParamExists('linkDomainToWebsiteV1', 'agencyHostingV1DomainsLinkDomainRequest', agencyHostingV1DomainsLinkDomainRequest)
12951
12945
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/domains`
12952
12946
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
12953
12947
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12981,14 +12975,14 @@ export const AgencyHostingDomainsApiAxiosParamCreator = function (configuration?
12981
12975
  },
12982
12976
  /**
12983
12977
  * 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.
12984
- * @summary List Agency Plan domains
12978
+ * @summary List domains
12985
12979
  * @param {number} [page] Page number
12986
12980
  * @param {number} [perPage] Number of items per page
12987
12981
  * @param {Array<string> | null} [websiteUuids] Filter by website UIDs
12988
12982
  * @param {*} [options] Override http request option.
12989
12983
  * @throws {RequiredError}
12990
12984
  */
12991
- listAgencyPlanDomainsV1: async (page?: number, perPage?: number, websiteUuids?: Array<string> | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12985
+ listDomainsV1: async (page?: number, perPage?: number, websiteUuids?: Array<string> | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12992
12986
  const localVarPath = `/api/agency-hosting/v1/domains`;
12993
12987
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12994
12988
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -13030,17 +13024,17 @@ export const AgencyHostingDomainsApiAxiosParamCreator = function (configuration?
13030
13024
  },
13031
13025
  /**
13032
13026
  * 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.
13033
- * @summary Unlink domain from Agency Plan website
13027
+ * @summary Unlink domain from website
13034
13028
  * @param {string} websiteUid Agency Plan website UID
13035
13029
  * @param {string} domain Domain name
13036
13030
  * @param {*} [options] Override http request option.
13037
13031
  * @throws {RequiredError}
13038
13032
  */
13039
- unlinkDomainFromAgencyPlanWebsiteV1: async (websiteUid: string, domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13033
+ unlinkDomainFromWebsiteV1: async (websiteUid: string, domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13040
13034
  // verify required parameter 'websiteUid' is not null or undefined
13041
- assertParamExists('unlinkDomainFromAgencyPlanWebsiteV1', 'websiteUid', websiteUid)
13035
+ assertParamExists('unlinkDomainFromWebsiteV1', 'websiteUid', websiteUid)
13042
13036
  // verify required parameter 'domain' is not null or undefined
13043
- assertParamExists('unlinkDomainFromAgencyPlanWebsiteV1', 'domain', domain)
13037
+ assertParamExists('unlinkDomainFromWebsiteV1', 'domain', domain)
13044
13038
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/domains/{domain}`
13045
13039
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
13046
13040
  .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
@@ -13082,56 +13076,56 @@ export const AgencyHostingDomainsApiFp = function(configuration?: Configuration)
13082
13076
  return {
13083
13077
  /**
13084
13078
  * 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.
13085
- * @summary Change Agency Plan website domain
13079
+ * @summary Change website domain
13086
13080
  * @param {string} websiteUid Agency Plan website UID
13087
13081
  * @param {string} fromDomain Current domain name to change from
13088
13082
  * @param {AgencyHostingV1DomainsChangeDomainRequest} agencyHostingV1DomainsChangeDomainRequest
13089
13083
  * @param {*} [options] Override http request option.
13090
13084
  * @throws {RequiredError}
13091
13085
  */
13092
- async changeAgencyPlanWebsiteDomainV1(websiteUid: string, fromDomain: string, agencyHostingV1DomainsChangeDomainRequest: AgencyHostingV1DomainsChangeDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13093
- const localVarAxiosArgs = await localVarAxiosParamCreator.changeAgencyPlanWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options);
13094
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingDomainsApi.changeAgencyPlanWebsiteDomainV1']?.[0]?.url;
13086
+ async changeWebsiteDomainV1(websiteUid: string, fromDomain: string, agencyHostingV1DomainsChangeDomainRequest: AgencyHostingV1DomainsChangeDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13087
+ const localVarAxiosArgs = await localVarAxiosParamCreator.changeWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options);
13088
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingDomainsApi.changeWebsiteDomainV1']?.[0]?.url;
13095
13089
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13096
13090
  },
13097
13091
  /**
13098
13092
  * Links a domain to the specified Agency Plan website so it can serve traffic for that domain.
13099
- * @summary Link domain to Agency Plan website
13093
+ * @summary Link domain to website
13100
13094
  * @param {string} websiteUid Agency Plan website UID
13101
13095
  * @param {AgencyHostingV1DomainsLinkDomainRequest} agencyHostingV1DomainsLinkDomainRequest
13102
13096
  * @param {*} [options] Override http request option.
13103
13097
  * @throws {RequiredError}
13104
13098
  */
13105
- async linkDomainToAgencyPlanWebsiteV1(websiteUid: string, agencyHostingV1DomainsLinkDomainRequest: AgencyHostingV1DomainsLinkDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13106
- const localVarAxiosArgs = await localVarAxiosParamCreator.linkDomainToAgencyPlanWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options);
13107
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingDomainsApi.linkDomainToAgencyPlanWebsiteV1']?.[0]?.url;
13099
+ async linkDomainToWebsiteV1(websiteUid: string, agencyHostingV1DomainsLinkDomainRequest: AgencyHostingV1DomainsLinkDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13100
+ const localVarAxiosArgs = await localVarAxiosParamCreator.linkDomainToWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options);
13101
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingDomainsApi.linkDomainToWebsiteV1']?.[0]?.url;
13108
13102
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13109
13103
  },
13110
13104
  /**
13111
13105
  * 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.
13112
- * @summary List Agency Plan domains
13106
+ * @summary List domains
13113
13107
  * @param {number} [page] Page number
13114
13108
  * @param {number} [perPage] Number of items per page
13115
13109
  * @param {Array<string> | null} [websiteUuids] Filter by website UIDs
13116
13110
  * @param {*} [options] Override http request option.
13117
13111
  * @throws {RequiredError}
13118
13112
  */
13119
- async listAgencyPlanDomainsV1(page?: number, perPage?: number, websiteUuids?: Array<string> | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingListAgencyPlanDomainsV1200Response>> {
13120
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAgencyPlanDomainsV1(page, perPage, websiteUuids, options);
13121
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingDomainsApi.listAgencyPlanDomainsV1']?.[0]?.url;
13113
+ async listDomainsV1(page?: number, perPage?: number, websiteUuids?: Array<string> | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingListDomainsV1200Response>> {
13114
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDomainsV1(page, perPage, websiteUuids, options);
13115
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingDomainsApi.listDomainsV1']?.[0]?.url;
13122
13116
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13123
13117
  },
13124
13118
  /**
13125
13119
  * 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.
13126
- * @summary Unlink domain from Agency Plan website
13120
+ * @summary Unlink domain from website
13127
13121
  * @param {string} websiteUid Agency Plan website UID
13128
13122
  * @param {string} domain Domain name
13129
13123
  * @param {*} [options] Override http request option.
13130
13124
  * @throws {RequiredError}
13131
13125
  */
13132
- async unlinkDomainFromAgencyPlanWebsiteV1(websiteUid: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13133
- const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkDomainFromAgencyPlanWebsiteV1(websiteUid, domain, options);
13134
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingDomainsApi.unlinkDomainFromAgencyPlanWebsiteV1']?.[0]?.url;
13126
+ async unlinkDomainFromWebsiteV1(websiteUid: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13127
+ const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkDomainFromWebsiteV1(websiteUid, domain, options);
13128
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingDomainsApi.unlinkDomainFromWebsiteV1']?.[0]?.url;
13135
13129
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13136
13130
  },
13137
13131
  }
@@ -13146,49 +13140,49 @@ export const AgencyHostingDomainsApiFactory = function (configuration?: Configur
13146
13140
  return {
13147
13141
  /**
13148
13142
  * 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.
13149
- * @summary Change Agency Plan website domain
13143
+ * @summary Change website domain
13150
13144
  * @param {string} websiteUid Agency Plan website UID
13151
13145
  * @param {string} fromDomain Current domain name to change from
13152
13146
  * @param {AgencyHostingV1DomainsChangeDomainRequest} agencyHostingV1DomainsChangeDomainRequest
13153
13147
  * @param {*} [options] Override http request option.
13154
13148
  * @throws {RequiredError}
13155
13149
  */
13156
- changeAgencyPlanWebsiteDomainV1(websiteUid: string, fromDomain: string, agencyHostingV1DomainsChangeDomainRequest: AgencyHostingV1DomainsChangeDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13157
- return localVarFp.changeAgencyPlanWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options).then((request) => request(axios, basePath));
13150
+ changeWebsiteDomainV1(websiteUid: string, fromDomain: string, agencyHostingV1DomainsChangeDomainRequest: AgencyHostingV1DomainsChangeDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13151
+ return localVarFp.changeWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options).then((request) => request(axios, basePath));
13158
13152
  },
13159
13153
  /**
13160
13154
  * Links a domain to the specified Agency Plan website so it can serve traffic for that domain.
13161
- * @summary Link domain to Agency Plan website
13155
+ * @summary Link domain to website
13162
13156
  * @param {string} websiteUid Agency Plan website UID
13163
13157
  * @param {AgencyHostingV1DomainsLinkDomainRequest} agencyHostingV1DomainsLinkDomainRequest
13164
13158
  * @param {*} [options] Override http request option.
13165
13159
  * @throws {RequiredError}
13166
13160
  */
13167
- linkDomainToAgencyPlanWebsiteV1(websiteUid: string, agencyHostingV1DomainsLinkDomainRequest: AgencyHostingV1DomainsLinkDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13168
- return localVarFp.linkDomainToAgencyPlanWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options).then((request) => request(axios, basePath));
13161
+ linkDomainToWebsiteV1(websiteUid: string, agencyHostingV1DomainsLinkDomainRequest: AgencyHostingV1DomainsLinkDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13162
+ return localVarFp.linkDomainToWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options).then((request) => request(axios, basePath));
13169
13163
  },
13170
13164
  /**
13171
13165
  * 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.
13172
- * @summary List Agency Plan domains
13166
+ * @summary List domains
13173
13167
  * @param {number} [page] Page number
13174
13168
  * @param {number} [perPage] Number of items per page
13175
13169
  * @param {Array<string> | null} [websiteUuids] Filter by website UIDs
13176
13170
  * @param {*} [options] Override http request option.
13177
13171
  * @throws {RequiredError}
13178
13172
  */
13179
- listAgencyPlanDomainsV1(page?: number, perPage?: number, websiteUuids?: Array<string> | null, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingListAgencyPlanDomainsV1200Response> {
13180
- return localVarFp.listAgencyPlanDomainsV1(page, perPage, websiteUuids, options).then((request) => request(axios, basePath));
13173
+ listDomainsV1(page?: number, perPage?: number, websiteUuids?: Array<string> | null, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingListDomainsV1200Response> {
13174
+ return localVarFp.listDomainsV1(page, perPage, websiteUuids, options).then((request) => request(axios, basePath));
13181
13175
  },
13182
13176
  /**
13183
13177
  * 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.
13184
- * @summary Unlink domain from Agency Plan website
13178
+ * @summary Unlink domain from website
13185
13179
  * @param {string} websiteUid Agency Plan website UID
13186
13180
  * @param {string} domain Domain name
13187
13181
  * @param {*} [options] Override http request option.
13188
13182
  * @throws {RequiredError}
13189
13183
  */
13190
- unlinkDomainFromAgencyPlanWebsiteV1(websiteUid: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13191
- return localVarFp.unlinkDomainFromAgencyPlanWebsiteV1(websiteUid, domain, options).then((request) => request(axios, basePath));
13184
+ unlinkDomainFromWebsiteV1(websiteUid: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13185
+ return localVarFp.unlinkDomainFromWebsiteV1(websiteUid, domain, options).then((request) => request(axios, basePath));
13192
13186
  },
13193
13187
  };
13194
13188
  };
@@ -13202,7 +13196,7 @@ export const AgencyHostingDomainsApiFactory = function (configuration?: Configur
13202
13196
  export class AgencyHostingDomainsApi extends BaseAPI {
13203
13197
  /**
13204
13198
  * 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.
13205
- * @summary Change Agency Plan website domain
13199
+ * @summary Change website domain
13206
13200
  * @param {string} websiteUid Agency Plan website UID
13207
13201
  * @param {string} fromDomain Current domain name to change from
13208
13202
  * @param {AgencyHostingV1DomainsChangeDomainRequest} agencyHostingV1DomainsChangeDomainRequest
@@ -13210,26 +13204,26 @@ export class AgencyHostingDomainsApi extends BaseAPI {
13210
13204
  * @throws {RequiredError}
13211
13205
  * @memberof AgencyHostingDomainsApi
13212
13206
  */
13213
- public changeAgencyPlanWebsiteDomainV1(websiteUid: string, fromDomain: string, agencyHostingV1DomainsChangeDomainRequest: AgencyHostingV1DomainsChangeDomainRequest, options?: RawAxiosRequestConfig) {
13214
- return AgencyHostingDomainsApiFp(this.configuration).changeAgencyPlanWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options).then((request) => request(this.axios, this.basePath));
13207
+ public changeWebsiteDomainV1(websiteUid: string, fromDomain: string, agencyHostingV1DomainsChangeDomainRequest: AgencyHostingV1DomainsChangeDomainRequest, options?: RawAxiosRequestConfig) {
13208
+ return AgencyHostingDomainsApiFp(this.configuration).changeWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options).then((request) => request(this.axios, this.basePath));
13215
13209
  }
13216
13210
 
13217
13211
  /**
13218
13212
  * Links a domain to the specified Agency Plan website so it can serve traffic for that domain.
13219
- * @summary Link domain to Agency Plan website
13213
+ * @summary Link domain to website
13220
13214
  * @param {string} websiteUid Agency Plan website UID
13221
13215
  * @param {AgencyHostingV1DomainsLinkDomainRequest} agencyHostingV1DomainsLinkDomainRequest
13222
13216
  * @param {*} [options] Override http request option.
13223
13217
  * @throws {RequiredError}
13224
13218
  * @memberof AgencyHostingDomainsApi
13225
13219
  */
13226
- public linkDomainToAgencyPlanWebsiteV1(websiteUid: string, agencyHostingV1DomainsLinkDomainRequest: AgencyHostingV1DomainsLinkDomainRequest, options?: RawAxiosRequestConfig) {
13227
- return AgencyHostingDomainsApiFp(this.configuration).linkDomainToAgencyPlanWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options).then((request) => request(this.axios, this.basePath));
13220
+ public linkDomainToWebsiteV1(websiteUid: string, agencyHostingV1DomainsLinkDomainRequest: AgencyHostingV1DomainsLinkDomainRequest, options?: RawAxiosRequestConfig) {
13221
+ return AgencyHostingDomainsApiFp(this.configuration).linkDomainToWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options).then((request) => request(this.axios, this.basePath));
13228
13222
  }
13229
13223
 
13230
13224
  /**
13231
13225
  * 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.
13232
- * @summary List Agency Plan domains
13226
+ * @summary List domains
13233
13227
  * @param {number} [page] Page number
13234
13228
  * @param {number} [perPage] Number of items per page
13235
13229
  * @param {Array<string> | null} [websiteUuids] Filter by website UIDs
@@ -13237,21 +13231,21 @@ export class AgencyHostingDomainsApi extends BaseAPI {
13237
13231
  * @throws {RequiredError}
13238
13232
  * @memberof AgencyHostingDomainsApi
13239
13233
  */
13240
- public listAgencyPlanDomainsV1(page?: number, perPage?: number, websiteUuids?: Array<string> | null, options?: RawAxiosRequestConfig) {
13241
- return AgencyHostingDomainsApiFp(this.configuration).listAgencyPlanDomainsV1(page, perPage, websiteUuids, options).then((request) => request(this.axios, this.basePath));
13234
+ public listDomainsV1(page?: number, perPage?: number, websiteUuids?: Array<string> | null, options?: RawAxiosRequestConfig) {
13235
+ return AgencyHostingDomainsApiFp(this.configuration).listDomainsV1(page, perPage, websiteUuids, options).then((request) => request(this.axios, this.basePath));
13242
13236
  }
13243
13237
 
13244
13238
  /**
13245
13239
  * 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.
13246
- * @summary Unlink domain from Agency Plan website
13240
+ * @summary Unlink domain from website
13247
13241
  * @param {string} websiteUid Agency Plan website UID
13248
13242
  * @param {string} domain Domain name
13249
13243
  * @param {*} [options] Override http request option.
13250
13244
  * @throws {RequiredError}
13251
13245
  * @memberof AgencyHostingDomainsApi
13252
13246
  */
13253
- public unlinkDomainFromAgencyPlanWebsiteV1(websiteUid: string, domain: string, options?: RawAxiosRequestConfig) {
13254
- return AgencyHostingDomainsApiFp(this.configuration).unlinkDomainFromAgencyPlanWebsiteV1(websiteUid, domain, options).then((request) => request(this.axios, this.basePath));
13247
+ public unlinkDomainFromWebsiteV1(websiteUid: string, domain: string, options?: RawAxiosRequestConfig) {
13248
+ return AgencyHostingDomainsApiFp(this.configuration).unlinkDomainFromWebsiteV1(websiteUid, domain, options).then((request) => request(this.axios, this.basePath));
13255
13249
  }
13256
13250
  }
13257
13251
 
@@ -13265,17 +13259,17 @@ export const AgencyHostingFilesApiAxiosParamCreator = function (configuration?:
13265
13259
  return {
13266
13260
  /**
13267
13261
  * 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.
13268
- * @summary Import Agency Plan website from archive
13262
+ * @summary Import website from archive
13269
13263
  * @param {string} websiteUid Agency Plan website UID
13270
13264
  * @param {AgencyHostingV1FilesImportArchiveRequest} agencyHostingV1FilesImportArchiveRequest
13271
13265
  * @param {*} [options] Override http request option.
13272
13266
  * @throws {RequiredError}
13273
13267
  */
13274
- importAgencyPlanWebsiteFromArchiveV1: async (websiteUid: string, agencyHostingV1FilesImportArchiveRequest: AgencyHostingV1FilesImportArchiveRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13268
+ importWebsiteFromArchiveV1: async (websiteUid: string, agencyHostingV1FilesImportArchiveRequest: AgencyHostingV1FilesImportArchiveRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13275
13269
  // verify required parameter 'websiteUid' is not null or undefined
13276
- assertParamExists('importAgencyPlanWebsiteFromArchiveV1', 'websiteUid', websiteUid)
13270
+ assertParamExists('importWebsiteFromArchiveV1', 'websiteUid', websiteUid)
13277
13271
  // verify required parameter 'agencyHostingV1FilesImportArchiveRequest' is not null or undefined
13278
- assertParamExists('importAgencyPlanWebsiteFromArchiveV1', 'agencyHostingV1FilesImportArchiveRequest', agencyHostingV1FilesImportArchiveRequest)
13272
+ assertParamExists('importWebsiteFromArchiveV1', 'agencyHostingV1FilesImportArchiveRequest', agencyHostingV1FilesImportArchiveRequest)
13279
13273
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/files/import-archive`
13280
13274
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
13281
13275
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -13319,15 +13313,15 @@ export const AgencyHostingFilesApiFp = function(configuration?: Configuration) {
13319
13313
  return {
13320
13314
  /**
13321
13315
  * 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.
13322
- * @summary Import Agency Plan website from archive
13316
+ * @summary Import website from archive
13323
13317
  * @param {string} websiteUid Agency Plan website UID
13324
13318
  * @param {AgencyHostingV1FilesImportArchiveRequest} agencyHostingV1FilesImportArchiveRequest
13325
13319
  * @param {*} [options] Override http request option.
13326
13320
  * @throws {RequiredError}
13327
13321
  */
13328
- async importAgencyPlanWebsiteFromArchiveV1(websiteUid: string, agencyHostingV1FilesImportArchiveRequest: AgencyHostingV1FilesImportArchiveRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13329
- const localVarAxiosArgs = await localVarAxiosParamCreator.importAgencyPlanWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options);
13330
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingFilesApi.importAgencyPlanWebsiteFromArchiveV1']?.[0]?.url;
13322
+ async importWebsiteFromArchiveV1(websiteUid: string, agencyHostingV1FilesImportArchiveRequest: AgencyHostingV1FilesImportArchiveRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13323
+ const localVarAxiosArgs = await localVarAxiosParamCreator.importWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options);
13324
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingFilesApi.importWebsiteFromArchiveV1']?.[0]?.url;
13331
13325
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13332
13326
  },
13333
13327
  }
@@ -13342,14 +13336,14 @@ export const AgencyHostingFilesApiFactory = function (configuration?: Configurat
13342
13336
  return {
13343
13337
  /**
13344
13338
  * 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.
13345
- * @summary Import Agency Plan website from archive
13339
+ * @summary Import website from archive
13346
13340
  * @param {string} websiteUid Agency Plan website UID
13347
13341
  * @param {AgencyHostingV1FilesImportArchiveRequest} agencyHostingV1FilesImportArchiveRequest
13348
13342
  * @param {*} [options] Override http request option.
13349
13343
  * @throws {RequiredError}
13350
13344
  */
13351
- importAgencyPlanWebsiteFromArchiveV1(websiteUid: string, agencyHostingV1FilesImportArchiveRequest: AgencyHostingV1FilesImportArchiveRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13352
- return localVarFp.importAgencyPlanWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options).then((request) => request(axios, basePath));
13345
+ importWebsiteFromArchiveV1(websiteUid: string, agencyHostingV1FilesImportArchiveRequest: AgencyHostingV1FilesImportArchiveRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13346
+ return localVarFp.importWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options).then((request) => request(axios, basePath));
13353
13347
  },
13354
13348
  };
13355
13349
  };
@@ -13363,15 +13357,15 @@ export const AgencyHostingFilesApiFactory = function (configuration?: Configurat
13363
13357
  export class AgencyHostingFilesApi extends BaseAPI {
13364
13358
  /**
13365
13359
  * 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.
13366
- * @summary Import Agency Plan website from archive
13360
+ * @summary Import website from archive
13367
13361
  * @param {string} websiteUid Agency Plan website UID
13368
13362
  * @param {AgencyHostingV1FilesImportArchiveRequest} agencyHostingV1FilesImportArchiveRequest
13369
13363
  * @param {*} [options] Override http request option.
13370
13364
  * @throws {RequiredError}
13371
13365
  * @memberof AgencyHostingFilesApi
13372
13366
  */
13373
- public importAgencyPlanWebsiteFromArchiveV1(websiteUid: string, agencyHostingV1FilesImportArchiveRequest: AgencyHostingV1FilesImportArchiveRequest, options?: RawAxiosRequestConfig) {
13374
- return AgencyHostingFilesApiFp(this.configuration).importAgencyPlanWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options).then((request) => request(this.axios, this.basePath));
13367
+ public importWebsiteFromArchiveV1(websiteUid: string, agencyHostingV1FilesImportArchiveRequest: AgencyHostingV1FilesImportArchiveRequest, options?: RawAxiosRequestConfig) {
13368
+ return AgencyHostingFilesApiFp(this.configuration).importWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options).then((request) => request(this.axios, this.basePath));
13375
13369
  }
13376
13370
  }
13377
13371
 
@@ -13385,13 +13379,13 @@ export const AgencyHostingOrdersApiAxiosParamCreator = function (configuration?:
13385
13379
  return {
13386
13380
  /**
13387
13381
  * Returns a paginated list of Agency Plan orders accessible to the authenticated client.
13388
- * @summary List Agency Plan orders
13382
+ * @summary List orders
13389
13383
  * @param {number} [page] Page number
13390
13384
  * @param {number} [perPage] Number of items per page
13391
13385
  * @param {*} [options] Override http request option.
13392
13386
  * @throws {RequiredError}
13393
13387
  */
13394
- listAgencyPlanOrdersV1: async (page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13388
+ listOrdersV1: async (page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13395
13389
  const localVarPath = `/api/agency-hosting/v1/orders`;
13396
13390
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13397
13391
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -13439,15 +13433,15 @@ export const AgencyHostingOrdersApiFp = function(configuration?: Configuration)
13439
13433
  return {
13440
13434
  /**
13441
13435
  * Returns a paginated list of Agency Plan orders accessible to the authenticated client.
13442
- * @summary List Agency Plan orders
13436
+ * @summary List orders
13443
13437
  * @param {number} [page] Page number
13444
13438
  * @param {number} [perPage] Number of items per page
13445
13439
  * @param {*} [options] Override http request option.
13446
13440
  * @throws {RequiredError}
13447
13441
  */
13448
- async listAgencyPlanOrdersV1(page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingListAgencyPlanOrdersV1200Response>> {
13449
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAgencyPlanOrdersV1(page, perPage, options);
13450
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingOrdersApi.listAgencyPlanOrdersV1']?.[0]?.url;
13442
+ async listOrdersV1(page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingListOrdersV1200Response>> {
13443
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrdersV1(page, perPage, options);
13444
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingOrdersApi.listOrdersV1']?.[0]?.url;
13451
13445
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13452
13446
  },
13453
13447
  }
@@ -13462,14 +13456,14 @@ export const AgencyHostingOrdersApiFactory = function (configuration?: Configura
13462
13456
  return {
13463
13457
  /**
13464
13458
  * Returns a paginated list of Agency Plan orders accessible to the authenticated client.
13465
- * @summary List Agency Plan orders
13459
+ * @summary List orders
13466
13460
  * @param {number} [page] Page number
13467
13461
  * @param {number} [perPage] Number of items per page
13468
13462
  * @param {*} [options] Override http request option.
13469
13463
  * @throws {RequiredError}
13470
13464
  */
13471
- listAgencyPlanOrdersV1(page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingListAgencyPlanOrdersV1200Response> {
13472
- return localVarFp.listAgencyPlanOrdersV1(page, perPage, options).then((request) => request(axios, basePath));
13465
+ listOrdersV1(page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingListOrdersV1200Response> {
13466
+ return localVarFp.listOrdersV1(page, perPage, options).then((request) => request(axios, basePath));
13473
13467
  },
13474
13468
  };
13475
13469
  };
@@ -13483,15 +13477,15 @@ export const AgencyHostingOrdersApiFactory = function (configuration?: Configura
13483
13477
  export class AgencyHostingOrdersApi extends BaseAPI {
13484
13478
  /**
13485
13479
  * Returns a paginated list of Agency Plan orders accessible to the authenticated client.
13486
- * @summary List Agency Plan orders
13480
+ * @summary List orders
13487
13481
  * @param {number} [page] Page number
13488
13482
  * @param {number} [perPage] Number of items per page
13489
13483
  * @param {*} [options] Override http request option.
13490
13484
  * @throws {RequiredError}
13491
13485
  * @memberof AgencyHostingOrdersApi
13492
13486
  */
13493
- public listAgencyPlanOrdersV1(page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
13494
- return AgencyHostingOrdersApiFp(this.configuration).listAgencyPlanOrdersV1(page, perPage, options).then((request) => request(this.axios, this.basePath));
13487
+ public listOrdersV1(page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
13488
+ return AgencyHostingOrdersApiFp(this.configuration).listOrdersV1(page, perPage, options).then((request) => request(this.axios, this.basePath));
13495
13489
  }
13496
13490
  }
13497
13491
 
@@ -13504,21 +13498,20 @@ export class AgencyHostingOrdersApi extends BaseAPI {
13504
13498
  export const AgencyHostingWebsiteSetupsApiAxiosParamCreator = function (configuration?: Configuration) {
13505
13499
  return {
13506
13500
  /**
13507
- * 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.
13508
- * @summary Get Agency Plan website setup status
13501
+ * 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.
13502
+ * @summary Create a new website
13509
13503
  * @param {number} orderId Agency Plan order ID
13510
- * @param {string} setupUuid Website setup UUID
13504
+ * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13511
13505
  * @param {*} [options] Override http request option.
13512
13506
  * @throws {RequiredError}
13513
13507
  */
13514
- getAgencyPlanWebsiteSetupStatusV1: async (orderId: number, setupUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13508
+ createANewWebsiteV1: async (orderId: number, agencyHostingV1SetupsCreateSetupRequest: AgencyHostingV1SetupsCreateSetupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13515
13509
  // verify required parameter 'orderId' is not null or undefined
13516
- assertParamExists('getAgencyPlanWebsiteSetupStatusV1', 'orderId', orderId)
13517
- // verify required parameter 'setupUuid' is not null or undefined
13518
- assertParamExists('getAgencyPlanWebsiteSetupStatusV1', 'setupUuid', setupUuid)
13519
- const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/websites/setups/{setup_uuid}`
13520
- .replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)))
13521
- .replace(`{${"setup_uuid"}}`, encodeURIComponent(String(setupUuid)));
13510
+ assertParamExists('createANewWebsiteV1', 'orderId', orderId)
13511
+ // verify required parameter 'agencyHostingV1SetupsCreateSetupRequest' is not null or undefined
13512
+ assertParamExists('createANewWebsiteV1', 'agencyHostingV1SetupsCreateSetupRequest', agencyHostingV1SetupsCreateSetupRequest)
13513
+ const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/websites/setups`
13514
+ .replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)));
13522
13515
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13523
13516
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13524
13517
  let baseOptions;
@@ -13526,7 +13519,7 @@ export const AgencyHostingWebsiteSetupsApiAxiosParamCreator = function (configur
13526
13519
  baseOptions = configuration.baseOptions;
13527
13520
  }
13528
13521
 
13529
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13522
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
13530
13523
  const localVarHeaderParameter = {} as any;
13531
13524
  const localVarQueryParameter = {} as any;
13532
13525
 
@@ -13536,9 +13529,12 @@ export const AgencyHostingWebsiteSetupsApiAxiosParamCreator = function (configur
13536
13529
 
13537
13530
 
13538
13531
 
13532
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13533
+
13539
13534
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13540
13535
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13541
13536
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13537
+ localVarRequestOptions.data = serializeDataIfNeeded(agencyHostingV1SetupsCreateSetupRequest, localVarRequestOptions, configuration)
13542
13538
 
13543
13539
  return {
13544
13540
  url: toPathString(localVarUrlObj),
@@ -13546,20 +13542,21 @@ export const AgencyHostingWebsiteSetupsApiAxiosParamCreator = function (configur
13546
13542
  };
13547
13543
  },
13548
13544
  /**
13549
- * 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.
13550
- * @summary Provision a new Agency Plan website
13545
+ * 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.
13546
+ * @summary Get website setup status
13551
13547
  * @param {number} orderId Agency Plan order ID
13552
- * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13548
+ * @param {string} setupUuid Website setup UUID
13553
13549
  * @param {*} [options] Override http request option.
13554
13550
  * @throws {RequiredError}
13555
13551
  */
13556
- provisionANewAgencyPlanWebsiteV1: async (orderId: number, agencyHostingV1SetupsCreateSetupRequest: AgencyHostingV1SetupsCreateSetupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13552
+ getWebsiteSetupStatusV1: async (orderId: number, setupUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13557
13553
  // verify required parameter 'orderId' is not null or undefined
13558
- assertParamExists('provisionANewAgencyPlanWebsiteV1', 'orderId', orderId)
13559
- // verify required parameter 'agencyHostingV1SetupsCreateSetupRequest' is not null or undefined
13560
- assertParamExists('provisionANewAgencyPlanWebsiteV1', 'agencyHostingV1SetupsCreateSetupRequest', agencyHostingV1SetupsCreateSetupRequest)
13561
- const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/websites/setups`
13562
- .replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)));
13554
+ assertParamExists('getWebsiteSetupStatusV1', 'orderId', orderId)
13555
+ // verify required parameter 'setupUuid' is not null or undefined
13556
+ assertParamExists('getWebsiteSetupStatusV1', 'setupUuid', setupUuid)
13557
+ const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/websites/setups/{setup_uuid}`
13558
+ .replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)))
13559
+ .replace(`{${"setup_uuid"}}`, encodeURIComponent(String(setupUuid)));
13563
13560
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13564
13561
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13565
13562
  let baseOptions;
@@ -13567,7 +13564,7 @@ export const AgencyHostingWebsiteSetupsApiAxiosParamCreator = function (configur
13567
13564
  baseOptions = configuration.baseOptions;
13568
13565
  }
13569
13566
 
13570
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
13567
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13571
13568
  const localVarHeaderParameter = {} as any;
13572
13569
  const localVarQueryParameter = {} as any;
13573
13570
 
@@ -13577,12 +13574,9 @@ export const AgencyHostingWebsiteSetupsApiAxiosParamCreator = function (configur
13577
13574
 
13578
13575
 
13579
13576
 
13580
- localVarHeaderParameter['Content-Type'] = 'application/json';
13581
-
13582
13577
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13583
13578
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13584
13579
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13585
- localVarRequestOptions.data = serializeDataIfNeeded(agencyHostingV1SetupsCreateSetupRequest, localVarRequestOptions, configuration)
13586
13580
 
13587
13581
  return {
13588
13582
  url: toPathString(localVarUrlObj),
@@ -13600,29 +13594,29 @@ export const AgencyHostingWebsiteSetupsApiFp = function(configuration?: Configur
13600
13594
  const localVarAxiosParamCreator = AgencyHostingWebsiteSetupsApiAxiosParamCreator(configuration)
13601
13595
  return {
13602
13596
  /**
13603
- * 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.
13604
- * @summary Get Agency Plan website setup status
13597
+ * 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.
13598
+ * @summary Create a new website
13605
13599
  * @param {number} orderId Agency Plan order ID
13606
- * @param {string} setupUuid Website setup UUID
13600
+ * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13607
13601
  * @param {*} [options] Override http request option.
13608
13602
  * @throws {RequiredError}
13609
13603
  */
13610
- async getAgencyPlanWebsiteSetupStatusV1(orderId: number, setupUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1SetupsWebsiteSetupStatusResource>> {
13611
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAgencyPlanWebsiteSetupStatusV1(orderId, setupUuid, options);
13612
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsiteSetupsApi.getAgencyPlanWebsiteSetupStatusV1']?.[0]?.url;
13604
+ async createANewWebsiteV1(orderId: number, agencyHostingV1SetupsCreateSetupRequest: AgencyHostingV1SetupsCreateSetupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1SetupsWebsiteSetupResource>> {
13605
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createANewWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options);
13606
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsiteSetupsApi.createANewWebsiteV1']?.[0]?.url;
13613
13607
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13614
13608
  },
13615
13609
  /**
13616
- * 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.
13617
- * @summary Provision a new Agency Plan website
13610
+ * 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.
13611
+ * @summary Get website setup status
13618
13612
  * @param {number} orderId Agency Plan order ID
13619
- * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13613
+ * @param {string} setupUuid Website setup UUID
13620
13614
  * @param {*} [options] Override http request option.
13621
13615
  * @throws {RequiredError}
13622
13616
  */
13623
- async provisionANewAgencyPlanWebsiteV1(orderId: number, agencyHostingV1SetupsCreateSetupRequest: AgencyHostingV1SetupsCreateSetupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1SetupsWebsiteSetupResource>> {
13624
- const localVarAxiosArgs = await localVarAxiosParamCreator.provisionANewAgencyPlanWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options);
13625
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsiteSetupsApi.provisionANewAgencyPlanWebsiteV1']?.[0]?.url;
13617
+ async getWebsiteSetupStatusV1(orderId: number, setupUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1SetupsWebsiteSetupStatusResource>> {
13618
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getWebsiteSetupStatusV1(orderId, setupUuid, options);
13619
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsiteSetupsApi.getWebsiteSetupStatusV1']?.[0]?.url;
13626
13620
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13627
13621
  },
13628
13622
  }
@@ -13636,26 +13630,26 @@ export const AgencyHostingWebsiteSetupsApiFactory = function (configuration?: Co
13636
13630
  const localVarFp = AgencyHostingWebsiteSetupsApiFp(configuration)
13637
13631
  return {
13638
13632
  /**
13639
- * 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.
13640
- * @summary Get Agency Plan website setup status
13633
+ * 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.
13634
+ * @summary Create a new website
13641
13635
  * @param {number} orderId Agency Plan order ID
13642
- * @param {string} setupUuid Website setup UUID
13636
+ * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13643
13637
  * @param {*} [options] Override http request option.
13644
13638
  * @throws {RequiredError}
13645
13639
  */
13646
- getAgencyPlanWebsiteSetupStatusV1(orderId: number, setupUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1SetupsWebsiteSetupStatusResource> {
13647
- return localVarFp.getAgencyPlanWebsiteSetupStatusV1(orderId, setupUuid, options).then((request) => request(axios, basePath));
13640
+ createANewWebsiteV1(orderId: number, agencyHostingV1SetupsCreateSetupRequest: AgencyHostingV1SetupsCreateSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1SetupsWebsiteSetupResource> {
13641
+ return localVarFp.createANewWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options).then((request) => request(axios, basePath));
13648
13642
  },
13649
13643
  /**
13650
- * 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.
13651
- * @summary Provision a new Agency Plan website
13644
+ * 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.
13645
+ * @summary Get website setup status
13652
13646
  * @param {number} orderId Agency Plan order ID
13653
- * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13647
+ * @param {string} setupUuid Website setup UUID
13654
13648
  * @param {*} [options] Override http request option.
13655
13649
  * @throws {RequiredError}
13656
13650
  */
13657
- provisionANewAgencyPlanWebsiteV1(orderId: number, agencyHostingV1SetupsCreateSetupRequest: AgencyHostingV1SetupsCreateSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1SetupsWebsiteSetupResource> {
13658
- return localVarFp.provisionANewAgencyPlanWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options).then((request) => request(axios, basePath));
13651
+ getWebsiteSetupStatusV1(orderId: number, setupUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1SetupsWebsiteSetupStatusResource> {
13652
+ return localVarFp.getWebsiteSetupStatusV1(orderId, setupUuid, options).then((request) => request(axios, basePath));
13659
13653
  },
13660
13654
  };
13661
13655
  };
@@ -13668,29 +13662,29 @@ export const AgencyHostingWebsiteSetupsApiFactory = function (configuration?: Co
13668
13662
  */
13669
13663
  export class AgencyHostingWebsiteSetupsApi extends BaseAPI {
13670
13664
  /**
13671
- * 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.
13672
- * @summary Get Agency Plan website setup status
13665
+ * 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.
13666
+ * @summary Create a new website
13673
13667
  * @param {number} orderId Agency Plan order ID
13674
- * @param {string} setupUuid Website setup UUID
13668
+ * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13675
13669
  * @param {*} [options] Override http request option.
13676
13670
  * @throws {RequiredError}
13677
13671
  * @memberof AgencyHostingWebsiteSetupsApi
13678
13672
  */
13679
- public getAgencyPlanWebsiteSetupStatusV1(orderId: number, setupUuid: string, options?: RawAxiosRequestConfig) {
13680
- return AgencyHostingWebsiteSetupsApiFp(this.configuration).getAgencyPlanWebsiteSetupStatusV1(orderId, setupUuid, options).then((request) => request(this.axios, this.basePath));
13673
+ public createANewWebsiteV1(orderId: number, agencyHostingV1SetupsCreateSetupRequest: AgencyHostingV1SetupsCreateSetupRequest, options?: RawAxiosRequestConfig) {
13674
+ return AgencyHostingWebsiteSetupsApiFp(this.configuration).createANewWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options).then((request) => request(this.axios, this.basePath));
13681
13675
  }
13682
13676
 
13683
13677
  /**
13684
- * 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.
13685
- * @summary Provision a new Agency Plan website
13678
+ * 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.
13679
+ * @summary Get website setup status
13686
13680
  * @param {number} orderId Agency Plan order ID
13687
- * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13681
+ * @param {string} setupUuid Website setup UUID
13688
13682
  * @param {*} [options] Override http request option.
13689
13683
  * @throws {RequiredError}
13690
13684
  * @memberof AgencyHostingWebsiteSetupsApi
13691
13685
  */
13692
- public provisionANewAgencyPlanWebsiteV1(orderId: number, agencyHostingV1SetupsCreateSetupRequest: AgencyHostingV1SetupsCreateSetupRequest, options?: RawAxiosRequestConfig) {
13693
- return AgencyHostingWebsiteSetupsApiFp(this.configuration).provisionANewAgencyPlanWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options).then((request) => request(this.axios, this.basePath));
13686
+ public getWebsiteSetupStatusV1(orderId: number, setupUuid: string, options?: RawAxiosRequestConfig) {
13687
+ return AgencyHostingWebsiteSetupsApiFp(this.configuration).getWebsiteSetupStatusV1(orderId, setupUuid, options).then((request) => request(this.axios, this.basePath));
13694
13688
  }
13695
13689
  }
13696
13690
 
@@ -13704,17 +13698,17 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
13704
13698
  return {
13705
13699
  /**
13706
13700
  * 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.
13707
- * @summary Build Agency Plan website NodeJS assets
13701
+ * @summary Build website NodeJS assets
13708
13702
  * @param {string} websiteUid Agency Plan website UID
13709
13703
  * @param {AgencyHostingV1WebsitesBuildAssetsRequest} agencyHostingV1WebsitesBuildAssetsRequest
13710
13704
  * @param {*} [options] Override http request option.
13711
13705
  * @throws {RequiredError}
13712
13706
  */
13713
- buildAgencyPlanWebsiteNodeJSAssetsV1: async (websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13707
+ buildWebsiteNodeJSAssetsV1: async (websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13714
13708
  // verify required parameter 'websiteUid' is not null or undefined
13715
- assertParamExists('buildAgencyPlanWebsiteNodeJSAssetsV1', 'websiteUid', websiteUid)
13709
+ assertParamExists('buildWebsiteNodeJSAssetsV1', 'websiteUid', websiteUid)
13716
13710
  // verify required parameter 'agencyHostingV1WebsitesBuildAssetsRequest' is not null or undefined
13717
- assertParamExists('buildAgencyPlanWebsiteNodeJSAssetsV1', 'agencyHostingV1WebsitesBuildAssetsRequest', agencyHostingV1WebsitesBuildAssetsRequest)
13711
+ assertParamExists('buildWebsiteNodeJSAssetsV1', 'agencyHostingV1WebsitesBuildAssetsRequest', agencyHostingV1WebsitesBuildAssetsRequest)
13718
13712
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/build-assets`
13719
13713
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
13720
13714
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -13748,14 +13742,14 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
13748
13742
  },
13749
13743
  /**
13750
13744
  * 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.
13751
- * @summary Delete Agency Plan website
13745
+ * @summary Delete website
13752
13746
  * @param {string} websiteUid Agency Plan website UID
13753
13747
  * @param {*} [options] Override http request option.
13754
13748
  * @throws {RequiredError}
13755
13749
  */
13756
- deleteAgencyPlanWebsiteV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13750
+ deleteWebsiteV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13757
13751
  // verify required parameter 'websiteUid' is not null or undefined
13758
- assertParamExists('deleteAgencyPlanWebsiteV1', 'websiteUid', websiteUid)
13752
+ assertParamExists('deleteWebsiteV1', 'websiteUid', websiteUid)
13759
13753
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}`
13760
13754
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
13761
13755
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -13786,14 +13780,14 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
13786
13780
  },
13787
13781
  /**
13788
13782
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
13789
- * @summary Get Agency Plan website details
13783
+ * @summary Get website details
13790
13784
  * @param {string} websiteUid Agency Plan website UID
13791
13785
  * @param {*} [options] Override http request option.
13792
13786
  * @throws {RequiredError}
13793
13787
  */
13794
- getAgencyPlanWebsiteDetailsV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13788
+ getWebsiteDetailsV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13795
13789
  // verify required parameter 'websiteUid' is not null or undefined
13796
- assertParamExists('getAgencyPlanWebsiteDetailsV1', 'websiteUid', websiteUid)
13790
+ assertParamExists('getWebsiteDetailsV1', 'websiteUid', websiteUid)
13797
13791
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}`
13798
13792
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
13799
13793
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -13824,14 +13818,14 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
13824
13818
  },
13825
13819
  /**
13826
13820
  * 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.
13827
- * @summary List running Agency Plan website processes
13821
+ * @summary List website processes
13828
13822
  * @param {string} websiteUid Agency Plan website UID
13829
13823
  * @param {*} [options] Override http request option.
13830
13824
  * @throws {RequiredError}
13831
13825
  */
13832
- listRunningAgencyPlanWebsiteProcessesV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13826
+ listWebsiteProcessesV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13833
13827
  // verify required parameter 'websiteUid' is not null or undefined
13834
- assertParamExists('listRunningAgencyPlanWebsiteProcessesV1', 'websiteUid', websiteUid)
13828
+ assertParamExists('listWebsiteProcessesV1', 'websiteUid', websiteUid)
13835
13829
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/processes`
13836
13830
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
13837
13831
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -13872,51 +13866,51 @@ export const AgencyHostingWebsitesApiFp = function(configuration?: Configuration
13872
13866
  return {
13873
13867
  /**
13874
13868
  * 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.
13875
- * @summary Build Agency Plan website NodeJS assets
13869
+ * @summary Build website NodeJS assets
13876
13870
  * @param {string} websiteUid Agency Plan website UID
13877
13871
  * @param {AgencyHostingV1WebsitesBuildAssetsRequest} agencyHostingV1WebsitesBuildAssetsRequest
13878
13872
  * @param {*} [options] Override http request option.
13879
13873
  * @throws {RequiredError}
13880
13874
  */
13881
- async buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13882
- const localVarAxiosArgs = await localVarAxiosParamCreator.buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options);
13883
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsitesApi.buildAgencyPlanWebsiteNodeJSAssetsV1']?.[0]?.url;
13875
+ async buildWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13876
+ const localVarAxiosArgs = await localVarAxiosParamCreator.buildWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options);
13877
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsitesApi.buildWebsiteNodeJSAssetsV1']?.[0]?.url;
13884
13878
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13885
13879
  },
13886
13880
  /**
13887
13881
  * 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.
13888
- * @summary Delete Agency Plan website
13882
+ * @summary Delete website
13889
13883
  * @param {string} websiteUid Agency Plan website UID
13890
13884
  * @param {*} [options] Override http request option.
13891
13885
  * @throws {RequiredError}
13892
13886
  */
13893
- async deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13894
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgencyPlanWebsiteV1(websiteUid, options);
13895
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsitesApi.deleteAgencyPlanWebsiteV1']?.[0]?.url;
13887
+ async deleteWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13888
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteWebsiteV1(websiteUid, options);
13889
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsitesApi.deleteWebsiteV1']?.[0]?.url;
13896
13890
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13897
13891
  },
13898
13892
  /**
13899
13893
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
13900
- * @summary Get Agency Plan website details
13894
+ * @summary Get website details
13901
13895
  * @param {string} websiteUid Agency Plan website UID
13902
13896
  * @param {*} [options] Override http request option.
13903
13897
  * @throws {RequiredError}
13904
13898
  */
13905
- async getAgencyPlanWebsiteDetailsV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesWebsiteResource>> {
13906
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAgencyPlanWebsiteDetailsV1(websiteUid, options);
13907
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsitesApi.getAgencyPlanWebsiteDetailsV1']?.[0]?.url;
13899
+ async getWebsiteDetailsV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesWebsiteResource>> {
13900
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getWebsiteDetailsV1(websiteUid, options);
13901
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsitesApi.getWebsiteDetailsV1']?.[0]?.url;
13908
13902
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13909
13903
  },
13910
13904
  /**
13911
13905
  * 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.
13912
- * @summary List running Agency Plan website processes
13906
+ * @summary List website processes
13913
13907
  * @param {string} websiteUid Agency Plan website UID
13914
13908
  * @param {*} [options] Override http request option.
13915
13909
  * @throws {RequiredError}
13916
13910
  */
13917
- async listRunningAgencyPlanWebsiteProcessesV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgencyHostingV1WebsitesWebsiteProcessResource>>> {
13918
- const localVarAxiosArgs = await localVarAxiosParamCreator.listRunningAgencyPlanWebsiteProcessesV1(websiteUid, options);
13919
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsitesApi.listRunningAgencyPlanWebsiteProcessesV1']?.[0]?.url;
13911
+ async listWebsiteProcessesV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgencyHostingV1WebsitesWebsiteProcessResource>>> {
13912
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listWebsiteProcessesV1(websiteUid, options);
13913
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingWebsitesApi.listWebsiteProcessesV1']?.[0]?.url;
13920
13914
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13921
13915
  },
13922
13916
  }
@@ -13931,44 +13925,44 @@ export const AgencyHostingWebsitesApiFactory = function (configuration?: Configu
13931
13925
  return {
13932
13926
  /**
13933
13927
  * 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.
13934
- * @summary Build Agency Plan website NodeJS assets
13928
+ * @summary Build website NodeJS assets
13935
13929
  * @param {string} websiteUid Agency Plan website UID
13936
13930
  * @param {AgencyHostingV1WebsitesBuildAssetsRequest} agencyHostingV1WebsitesBuildAssetsRequest
13937
13931
  * @param {*} [options] Override http request option.
13938
13932
  * @throws {RequiredError}
13939
13933
  */
13940
- buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13941
- return localVarFp.buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options).then((request) => request(axios, basePath));
13934
+ buildWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13935
+ return localVarFp.buildWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options).then((request) => request(axios, basePath));
13942
13936
  },
13943
13937
  /**
13944
13938
  * 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.
13945
- * @summary Delete Agency Plan website
13939
+ * @summary Delete website
13946
13940
  * @param {string} websiteUid Agency Plan website UID
13947
13941
  * @param {*} [options] Override http request option.
13948
13942
  * @throws {RequiredError}
13949
13943
  */
13950
- deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13951
- return localVarFp.deleteAgencyPlanWebsiteV1(websiteUid, options).then((request) => request(axios, basePath));
13944
+ deleteWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13945
+ return localVarFp.deleteWebsiteV1(websiteUid, options).then((request) => request(axios, basePath));
13952
13946
  },
13953
13947
  /**
13954
13948
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
13955
- * @summary Get Agency Plan website details
13949
+ * @summary Get website details
13956
13950
  * @param {string} websiteUid Agency Plan website UID
13957
13951
  * @param {*} [options] Override http request option.
13958
13952
  * @throws {RequiredError}
13959
13953
  */
13960
- getAgencyPlanWebsiteDetailsV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesWebsiteResource> {
13961
- return localVarFp.getAgencyPlanWebsiteDetailsV1(websiteUid, options).then((request) => request(axios, basePath));
13954
+ getWebsiteDetailsV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesWebsiteResource> {
13955
+ return localVarFp.getWebsiteDetailsV1(websiteUid, options).then((request) => request(axios, basePath));
13962
13956
  },
13963
13957
  /**
13964
13958
  * 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.
13965
- * @summary List running Agency Plan website processes
13959
+ * @summary List website processes
13966
13960
  * @param {string} websiteUid Agency Plan website UID
13967
13961
  * @param {*} [options] Override http request option.
13968
13962
  * @throws {RequiredError}
13969
13963
  */
13970
- listRunningAgencyPlanWebsiteProcessesV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AgencyHostingV1WebsitesWebsiteProcessResource>> {
13971
- return localVarFp.listRunningAgencyPlanWebsiteProcessesV1(websiteUid, options).then((request) => request(axios, basePath));
13964
+ listWebsiteProcessesV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AgencyHostingV1WebsitesWebsiteProcessResource>> {
13965
+ return localVarFp.listWebsiteProcessesV1(websiteUid, options).then((request) => request(axios, basePath));
13972
13966
  },
13973
13967
  };
13974
13968
  };
@@ -13982,51 +13976,51 @@ export const AgencyHostingWebsitesApiFactory = function (configuration?: Configu
13982
13976
  export class AgencyHostingWebsitesApi extends BaseAPI {
13983
13977
  /**
13984
13978
  * 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.
13985
- * @summary Build Agency Plan website NodeJS assets
13979
+ * @summary Build website NodeJS assets
13986
13980
  * @param {string} websiteUid Agency Plan website UID
13987
13981
  * @param {AgencyHostingV1WebsitesBuildAssetsRequest} agencyHostingV1WebsitesBuildAssetsRequest
13988
13982
  * @param {*} [options] Override http request option.
13989
13983
  * @throws {RequiredError}
13990
13984
  * @memberof AgencyHostingWebsitesApi
13991
13985
  */
13992
- public buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig) {
13993
- return AgencyHostingWebsitesApiFp(this.configuration).buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options).then((request) => request(this.axios, this.basePath));
13986
+ public buildWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig) {
13987
+ return AgencyHostingWebsitesApiFp(this.configuration).buildWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options).then((request) => request(this.axios, this.basePath));
13994
13988
  }
13995
13989
 
13996
13990
  /**
13997
13991
  * 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.
13998
- * @summary Delete Agency Plan website
13992
+ * @summary Delete website
13999
13993
  * @param {string} websiteUid Agency Plan website UID
14000
13994
  * @param {*} [options] Override http request option.
14001
13995
  * @throws {RequiredError}
14002
13996
  * @memberof AgencyHostingWebsitesApi
14003
13997
  */
14004
- public deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig) {
14005
- return AgencyHostingWebsitesApiFp(this.configuration).deleteAgencyPlanWebsiteV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
13998
+ public deleteWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig) {
13999
+ return AgencyHostingWebsitesApiFp(this.configuration).deleteWebsiteV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
14006
14000
  }
14007
14001
 
14008
14002
  /**
14009
14003
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
14010
- * @summary Get Agency Plan website details
14004
+ * @summary Get website details
14011
14005
  * @param {string} websiteUid Agency Plan website UID
14012
14006
  * @param {*} [options] Override http request option.
14013
14007
  * @throws {RequiredError}
14014
14008
  * @memberof AgencyHostingWebsitesApi
14015
14009
  */
14016
- public getAgencyPlanWebsiteDetailsV1(websiteUid: string, options?: RawAxiosRequestConfig) {
14017
- return AgencyHostingWebsitesApiFp(this.configuration).getAgencyPlanWebsiteDetailsV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
14010
+ public getWebsiteDetailsV1(websiteUid: string, options?: RawAxiosRequestConfig) {
14011
+ return AgencyHostingWebsitesApiFp(this.configuration).getWebsiteDetailsV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
14018
14012
  }
14019
14013
 
14020
14014
  /**
14021
14015
  * 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.
14022
- * @summary List running Agency Plan website processes
14016
+ * @summary List website processes
14023
14017
  * @param {string} websiteUid Agency Plan website UID
14024
14018
  * @param {*} [options] Override http request option.
14025
14019
  * @throws {RequiredError}
14026
14020
  * @memberof AgencyHostingWebsitesApi
14027
14021
  */
14028
- public listRunningAgencyPlanWebsiteProcessesV1(websiteUid: string, options?: RawAxiosRequestConfig) {
14029
- return AgencyHostingWebsitesApiFp(this.configuration).listRunningAgencyPlanWebsiteProcessesV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
14022
+ public listWebsiteProcessesV1(websiteUid: string, options?: RawAxiosRequestConfig) {
14023
+ return AgencyHostingWebsitesApiFp(this.configuration).listWebsiteProcessesV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
14030
14024
  }
14031
14025
  }
14032
14026
 
@@ -14040,17 +14034,17 @@ export const AgencyHostingWordPressApiAxiosParamCreator = function (configuratio
14040
14034
  return {
14041
14035
  /**
14042
14036
  * Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
14043
- * @summary Change Agency Plan website WordPress core version
14037
+ * @summary Change WordPress version
14044
14038
  * @param {string} websiteUid Agency Plan website UID
14045
14039
  * @param {AgencyHostingV1WordPressChangeVersionRequest} agencyHostingV1WordPressChangeVersionRequest
14046
14040
  * @param {*} [options] Override http request option.
14047
14041
  * @throws {RequiredError}
14048
14042
  */
14049
- changeAgencyPlanWebsiteWordPressCoreVersionV1: async (websiteUid: string, agencyHostingV1WordPressChangeVersionRequest: AgencyHostingV1WordPressChangeVersionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14043
+ changeWordPressVersionV1: async (websiteUid: string, agencyHostingV1WordPressChangeVersionRequest: AgencyHostingV1WordPressChangeVersionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14050
14044
  // verify required parameter 'websiteUid' is not null or undefined
14051
- assertParamExists('changeAgencyPlanWebsiteWordPressCoreVersionV1', 'websiteUid', websiteUid)
14045
+ assertParamExists('changeWordPressVersionV1', 'websiteUid', websiteUid)
14052
14046
  // verify required parameter 'agencyHostingV1WordPressChangeVersionRequest' is not null or undefined
14053
- assertParamExists('changeAgencyPlanWebsiteWordPressCoreVersionV1', 'agencyHostingV1WordPressChangeVersionRequest', agencyHostingV1WordPressChangeVersionRequest)
14047
+ assertParamExists('changeWordPressVersionV1', 'agencyHostingV1WordPressChangeVersionRequest', agencyHostingV1WordPressChangeVersionRequest)
14054
14048
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/version`
14055
14049
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
14056
14050
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -14084,14 +14078,14 @@ export const AgencyHostingWordPressApiAxiosParamCreator = function (configuratio
14084
14078
  },
14085
14079
  /**
14086
14080
  * Returns the current WordPress settings for an Agency Plan website: installed core version, LiteSpeed Cache plugin status, object cache status, and maintenance mode status.
14087
- * @summary Get Agency Plan website WordPress settings
14081
+ * @summary Get WordPress settings
14088
14082
  * @param {string} websiteUid Agency Plan website UID
14089
14083
  * @param {*} [options] Override http request option.
14090
14084
  * @throws {RequiredError}
14091
14085
  */
14092
- getAgencyPlanWebsiteWordPressSettingsV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14086
+ getWordPressSettingsV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14093
14087
  // verify required parameter 'websiteUid' is not null or undefined
14094
- assertParamExists('getAgencyPlanWebsiteWordPressSettingsV1', 'websiteUid', websiteUid)
14088
+ assertParamExists('getWordPressSettingsV1', 'websiteUid', websiteUid)
14095
14089
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings`
14096
14090
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
14097
14091
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -14122,14 +14116,14 @@ export const AgencyHostingWordPressApiAxiosParamCreator = function (configuratio
14122
14116
  },
14123
14117
  /**
14124
14118
  * Lists the WordPress core versions available for installation on an Agency Plan website.
14125
- * @summary List available WordPress versions for an Agency Plan website
14119
+ * @summary List available WordPress versions
14126
14120
  * @param {string} websiteUid Agency Plan website UID
14127
14121
  * @param {*} [options] Override http request option.
14128
14122
  * @throws {RequiredError}
14129
14123
  */
14130
- listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14124
+ listAvailableWordPressVersionsV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14131
14125
  // verify required parameter 'websiteUid' is not null or undefined
14132
- assertParamExists('listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1', 'websiteUid', websiteUid)
14126
+ assertParamExists('listAvailableWordPressVersionsV1', 'websiteUid', websiteUid)
14133
14127
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/versions`
14134
14128
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
14135
14129
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -14170,39 +14164,39 @@ export const AgencyHostingWordPressApiFp = function(configuration?: Configuratio
14170
14164
  return {
14171
14165
  /**
14172
14166
  * Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
14173
- * @summary Change Agency Plan website WordPress core version
14167
+ * @summary Change WordPress version
14174
14168
  * @param {string} websiteUid Agency Plan website UID
14175
14169
  * @param {AgencyHostingV1WordPressChangeVersionRequest} agencyHostingV1WordPressChangeVersionRequest
14176
14170
  * @param {*} [options] Override http request option.
14177
14171
  * @throws {RequiredError}
14178
14172
  */
14179
- async changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid: string, agencyHostingV1WordPressChangeVersionRequest: AgencyHostingV1WordPressChangeVersionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
14180
- const localVarAxiosArgs = await localVarAxiosParamCreator.changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options);
14181
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingWordPressApi.changeAgencyPlanWebsiteWordPressCoreVersionV1']?.[0]?.url;
14173
+ async changeWordPressVersionV1(websiteUid: string, agencyHostingV1WordPressChangeVersionRequest: AgencyHostingV1WordPressChangeVersionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
14174
+ const localVarAxiosArgs = await localVarAxiosParamCreator.changeWordPressVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options);
14175
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingWordPressApi.changeWordPressVersionV1']?.[0]?.url;
14182
14176
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14183
14177
  },
14184
14178
  /**
14185
14179
  * Returns the current WordPress settings for an Agency Plan website: installed core version, LiteSpeed Cache plugin status, object cache status, and maintenance mode status.
14186
- * @summary Get Agency Plan website WordPress settings
14180
+ * @summary Get WordPress settings
14187
14181
  * @param {string} websiteUid Agency Plan website UID
14188
14182
  * @param {*} [options] Override http request option.
14189
14183
  * @throws {RequiredError}
14190
14184
  */
14191
- async getAgencyPlanWebsiteWordPressSettingsV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WordPressSettingsResource>> {
14192
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAgencyPlanWebsiteWordPressSettingsV1(websiteUid, options);
14193
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingWordPressApi.getAgencyPlanWebsiteWordPressSettingsV1']?.[0]?.url;
14185
+ async getWordPressSettingsV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WordPressSettingsResource>> {
14186
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getWordPressSettingsV1(websiteUid, options);
14187
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingWordPressApi.getWordPressSettingsV1']?.[0]?.url;
14194
14188
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14195
14189
  },
14196
14190
  /**
14197
14191
  * Lists the WordPress core versions available for installation on an Agency Plan website.
14198
- * @summary List available WordPress versions for an Agency Plan website
14192
+ * @summary List available WordPress versions
14199
14193
  * @param {string} websiteUid Agency Plan website UID
14200
14194
  * @param {*} [options] Override http request option.
14201
14195
  * @throws {RequiredError}
14202
14196
  */
14203
- async listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgencyHostingV1WordPressVersionResource>>> {
14204
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid, options);
14205
- const localVarOperationServerBasePath = operationServerMap['AgencyHostingWordPressApi.listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1']?.[0]?.url;
14197
+ async listAvailableWordPressVersionsV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgencyHostingV1WordPressVersionResource>>> {
14198
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAvailableWordPressVersionsV1(websiteUid, options);
14199
+ const localVarOperationServerBasePath = operationServerMap['AgencyHostingWordPressApi.listAvailableWordPressVersionsV1']?.[0]?.url;
14206
14200
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14207
14201
  },
14208
14202
  }
@@ -14217,34 +14211,34 @@ export const AgencyHostingWordPressApiFactory = function (configuration?: Config
14217
14211
  return {
14218
14212
  /**
14219
14213
  * Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
14220
- * @summary Change Agency Plan website WordPress core version
14214
+ * @summary Change WordPress version
14221
14215
  * @param {string} websiteUid Agency Plan website UID
14222
14216
  * @param {AgencyHostingV1WordPressChangeVersionRequest} agencyHostingV1WordPressChangeVersionRequest
14223
14217
  * @param {*} [options] Override http request option.
14224
14218
  * @throws {RequiredError}
14225
14219
  */
14226
- changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid: string, agencyHostingV1WordPressChangeVersionRequest: AgencyHostingV1WordPressChangeVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
14227
- return localVarFp.changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options).then((request) => request(axios, basePath));
14220
+ changeWordPressVersionV1(websiteUid: string, agencyHostingV1WordPressChangeVersionRequest: AgencyHostingV1WordPressChangeVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
14221
+ return localVarFp.changeWordPressVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options).then((request) => request(axios, basePath));
14228
14222
  },
14229
14223
  /**
14230
14224
  * Returns the current WordPress settings for an Agency Plan website: installed core version, LiteSpeed Cache plugin status, object cache status, and maintenance mode status.
14231
- * @summary Get Agency Plan website WordPress settings
14225
+ * @summary Get WordPress settings
14232
14226
  * @param {string} websiteUid Agency Plan website UID
14233
14227
  * @param {*} [options] Override http request option.
14234
14228
  * @throws {RequiredError}
14235
14229
  */
14236
- getAgencyPlanWebsiteWordPressSettingsV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WordPressSettingsResource> {
14237
- return localVarFp.getAgencyPlanWebsiteWordPressSettingsV1(websiteUid, options).then((request) => request(axios, basePath));
14230
+ getWordPressSettingsV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WordPressSettingsResource> {
14231
+ return localVarFp.getWordPressSettingsV1(websiteUid, options).then((request) => request(axios, basePath));
14238
14232
  },
14239
14233
  /**
14240
14234
  * Lists the WordPress core versions available for installation on an Agency Plan website.
14241
- * @summary List available WordPress versions for an Agency Plan website
14235
+ * @summary List available WordPress versions
14242
14236
  * @param {string} websiteUid Agency Plan website UID
14243
14237
  * @param {*} [options] Override http request option.
14244
14238
  * @throws {RequiredError}
14245
14239
  */
14246
- listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AgencyHostingV1WordPressVersionResource>> {
14247
- return localVarFp.listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid, options).then((request) => request(axios, basePath));
14240
+ listAvailableWordPressVersionsV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AgencyHostingV1WordPressVersionResource>> {
14241
+ return localVarFp.listAvailableWordPressVersionsV1(websiteUid, options).then((request) => request(axios, basePath));
14248
14242
  },
14249
14243
  };
14250
14244
  };
@@ -14258,39 +14252,39 @@ export const AgencyHostingWordPressApiFactory = function (configuration?: Config
14258
14252
  export class AgencyHostingWordPressApi extends BaseAPI {
14259
14253
  /**
14260
14254
  * Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
14261
- * @summary Change Agency Plan website WordPress core version
14255
+ * @summary Change WordPress version
14262
14256
  * @param {string} websiteUid Agency Plan website UID
14263
14257
  * @param {AgencyHostingV1WordPressChangeVersionRequest} agencyHostingV1WordPressChangeVersionRequest
14264
14258
  * @param {*} [options] Override http request option.
14265
14259
  * @throws {RequiredError}
14266
14260
  * @memberof AgencyHostingWordPressApi
14267
14261
  */
14268
- public changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid: string, agencyHostingV1WordPressChangeVersionRequest: AgencyHostingV1WordPressChangeVersionRequest, options?: RawAxiosRequestConfig) {
14269
- return AgencyHostingWordPressApiFp(this.configuration).changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options).then((request) => request(this.axios, this.basePath));
14262
+ public changeWordPressVersionV1(websiteUid: string, agencyHostingV1WordPressChangeVersionRequest: AgencyHostingV1WordPressChangeVersionRequest, options?: RawAxiosRequestConfig) {
14263
+ return AgencyHostingWordPressApiFp(this.configuration).changeWordPressVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options).then((request) => request(this.axios, this.basePath));
14270
14264
  }
14271
14265
 
14272
14266
  /**
14273
14267
  * Returns the current WordPress settings for an Agency Plan website: installed core version, LiteSpeed Cache plugin status, object cache status, and maintenance mode status.
14274
- * @summary Get Agency Plan website WordPress settings
14268
+ * @summary Get WordPress settings
14275
14269
  * @param {string} websiteUid Agency Plan website UID
14276
14270
  * @param {*} [options] Override http request option.
14277
14271
  * @throws {RequiredError}
14278
14272
  * @memberof AgencyHostingWordPressApi
14279
14273
  */
14280
- public getAgencyPlanWebsiteWordPressSettingsV1(websiteUid: string, options?: RawAxiosRequestConfig) {
14281
- return AgencyHostingWordPressApiFp(this.configuration).getAgencyPlanWebsiteWordPressSettingsV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
14274
+ public getWordPressSettingsV1(websiteUid: string, options?: RawAxiosRequestConfig) {
14275
+ return AgencyHostingWordPressApiFp(this.configuration).getWordPressSettingsV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
14282
14276
  }
14283
14277
 
14284
14278
  /**
14285
14279
  * Lists the WordPress core versions available for installation on an Agency Plan website.
14286
- * @summary List available WordPress versions for an Agency Plan website
14280
+ * @summary List available WordPress versions
14287
14281
  * @param {string} websiteUid Agency Plan website UID
14288
14282
  * @param {*} [options] Override http request option.
14289
14283
  * @throws {RequiredError}
14290
14284
  * @memberof AgencyHostingWordPressApi
14291
14285
  */
14292
- public listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig) {
14293
- return AgencyHostingWordPressApiFp(this.configuration).listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
14286
+ public listAvailableWordPressVersionsV1(websiteUid: string, options?: RawAxiosRequestConfig) {
14287
+ return AgencyHostingWordPressApiFp(this.configuration).listAvailableWordPressVersionsV1(websiteUid, options).then((request) => request(this.axios, this.basePath));
14294
14288
  }
14295
14289
  }
14296
14290
 
@@ -22773,11 +22767,11 @@ export const HostingFilesApiAxiosParamCreator = function (configuration?: Config
22773
22767
  * @param {number | null} [maxDepth] How many directory levels deep to recurse.
22774
22768
  * @param {number | null} [maxItems] Max number of entries to return in this page.
22775
22769
  * @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
22776
- * @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
22770
+ * @param {Array<ListWebsiteFilesAndDirectoriesV1FileTypesEnum>} [fileTypes] Filter by entry type, e.g. file,directory. Omit for all types.
22777
22771
  * @param {*} [options] Override http request option.
22778
22772
  * @throws {RequiredError}
22779
22773
  */
22780
- listWebsiteFilesAndDirectoriesV1: async (username: string, domain: string, directory?: string, maxDepth?: number | null, maxItems?: number | null, offset?: number | null, fileTypes?: HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22774
+ listWebsiteFilesAndDirectoriesV1: async (username: string, domain: string, directory?: string, maxDepth?: number | null, maxItems?: number | null, offset?: number | null, fileTypes?: Array<ListWebsiteFilesAndDirectoriesV1FileTypesEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22781
22775
  // verify required parameter 'username' is not null or undefined
22782
22776
  assertParamExists('listWebsiteFilesAndDirectoriesV1', 'username', username)
22783
22777
  // verify required parameter 'domain' is not null or undefined
@@ -22816,10 +22810,8 @@ export const HostingFilesApiAxiosParamCreator = function (configuration?: Config
22816
22810
  localVarQueryParameter['offset'] = offset;
22817
22811
  }
22818
22812
 
22819
- if (fileTypes !== undefined) {
22820
- for (const [key, value] of Object.entries(fileTypes)) {
22821
- localVarQueryParameter[key] = value;
22822
- }
22813
+ if (fileTypes) {
22814
+ localVarQueryParameter['file_types'] = fileTypes.join(COLLECTION_FORMATS.csv);
22823
22815
  }
22824
22816
 
22825
22817
 
@@ -22868,11 +22860,11 @@ export const HostingFilesApiFp = function(configuration?: Configuration) {
22868
22860
  * @param {number | null} [maxDepth] How many directory levels deep to recurse.
22869
22861
  * @param {number | null} [maxItems] Max number of entries to return in this page.
22870
22862
  * @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
22871
- * @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
22863
+ * @param {Array<ListWebsiteFilesAndDirectoriesV1FileTypesEnum>} [fileTypes] Filter by entry type, e.g. file,directory. Omit for all types.
22872
22864
  * @param {*} [options] Override http request option.
22873
22865
  * @throws {RequiredError}
22874
22866
  */
22875
- async listWebsiteFilesAndDirectoriesV1(username: string, domain: string, directory?: string, maxDepth?: number | null, maxItems?: number | null, offset?: number | null, fileTypes?: HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1FilesFilesResource>> {
22867
+ async listWebsiteFilesAndDirectoriesV1(username: string, domain: string, directory?: string, maxDepth?: number | null, maxItems?: number | null, offset?: number | null, fileTypes?: Array<ListWebsiteFilesAndDirectoriesV1FileTypesEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1FilesFilesResource>> {
22876
22868
  const localVarAxiosArgs = await localVarAxiosParamCreator.listWebsiteFilesAndDirectoriesV1(username, domain, directory, maxDepth, maxItems, offset, fileTypes, options);
22877
22869
  const localVarOperationServerBasePath = operationServerMap['HostingFilesApi.listWebsiteFilesAndDirectoriesV1']?.[0]?.url;
22878
22870
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -22910,11 +22902,11 @@ export const HostingFilesApiFactory = function (configuration?: Configuration, b
22910
22902
  * @param {number | null} [maxDepth] How many directory levels deep to recurse.
22911
22903
  * @param {number | null} [maxItems] Max number of entries to return in this page.
22912
22904
  * @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
22913
- * @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
22905
+ * @param {Array<ListWebsiteFilesAndDirectoriesV1FileTypesEnum>} [fileTypes] Filter by entry type, e.g. file,directory. Omit for all types.
22914
22906
  * @param {*} [options] Override http request option.
22915
22907
  * @throws {RequiredError}
22916
22908
  */
22917
- listWebsiteFilesAndDirectoriesV1(username: string, domain: string, directory?: string, maxDepth?: number | null, maxItems?: number | null, offset?: number | null, fileTypes?: HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1FilesFilesResource> {
22909
+ listWebsiteFilesAndDirectoriesV1(username: string, domain: string, directory?: string, maxDepth?: number | null, maxItems?: number | null, offset?: number | null, fileTypes?: Array<ListWebsiteFilesAndDirectoriesV1FileTypesEnum>, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1FilesFilesResource> {
22918
22910
  return localVarFp.listWebsiteFilesAndDirectoriesV1(username, domain, directory, maxDepth, maxItems, offset, fileTypes, options).then((request) => request(axios, basePath));
22919
22911
  },
22920
22912
  };
@@ -22952,16 +22944,26 @@ export class HostingFilesApi extends BaseAPI {
22952
22944
  * @param {number | null} [maxDepth] How many directory levels deep to recurse.
22953
22945
  * @param {number | null} [maxItems] Max number of entries to return in this page.
22954
22946
  * @param {number | null} [offset] Number of entries to skip. Page with offset + item count until reaching total_items.
22955
- * @param {HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter} [fileTypes] Filter by entry type, e.g. file,directory. Array or comma-separated. Omit for all types.
22947
+ * @param {Array<ListWebsiteFilesAndDirectoriesV1FileTypesEnum>} [fileTypes] Filter by entry type, e.g. file,directory. Omit for all types.
22956
22948
  * @param {*} [options] Override http request option.
22957
22949
  * @throws {RequiredError}
22958
22950
  * @memberof HostingFilesApi
22959
22951
  */
22960
- public listWebsiteFilesAndDirectoriesV1(username: string, domain: string, directory?: string, maxDepth?: number | null, maxItems?: number | null, offset?: number | null, fileTypes?: HostingListWebsiteFilesAndDirectoriesV1FileTypesParameter, options?: RawAxiosRequestConfig) {
22952
+ public listWebsiteFilesAndDirectoriesV1(username: string, domain: string, directory?: string, maxDepth?: number | null, maxItems?: number | null, offset?: number | null, fileTypes?: Array<ListWebsiteFilesAndDirectoriesV1FileTypesEnum>, options?: RawAxiosRequestConfig) {
22961
22953
  return HostingFilesApiFp(this.configuration).listWebsiteFilesAndDirectoriesV1(username, domain, directory, maxDepth, maxItems, offset, fileTypes, options).then((request) => request(this.axios, this.basePath));
22962
22954
  }
22963
22955
  }
22964
22956
 
22957
+ /**
22958
+ * @export
22959
+ */
22960
+ export const ListWebsiteFilesAndDirectoriesV1FileTypesEnum = {
22961
+ File: 'file',
22962
+ Directory: 'directory',
22963
+ Symlink: 'symlink',
22964
+ Other: 'other'
22965
+ } as const;
22966
+ export type ListWebsiteFilesAndDirectoriesV1FileTypesEnum = typeof ListWebsiteFilesAndDirectoriesV1FileTypesEnum[keyof typeof ListWebsiteFilesAndDirectoriesV1FileTypesEnum];
22965
22967
 
22966
22968
 
22967
22969
  /**