hostinger-api-sdk 1.30.4 → 1.30.6

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 +391 -391
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +239 -239
  7. package/dist/api.js +372 -372
  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 +239 -239
  15. package/dist/esm/api.js +372 -372
  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/EcommerceProductsApi.md +1 -1
  41. package/docs/EcommerceV1ProductUploadProductImageRequest.md +2 -2
  42. package/index.ts +1 -1
  43. package/package.json +1 -1
package/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.32.3
6
+ * API Version: 1.32.5
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
  }
@@ -3569,11 +3569,11 @@ export interface EcommerceV1ProductProductImageUploadResource {
3569
3569
  */
3570
3570
  export interface EcommerceV1ProductUploadProductImageRequest {
3571
3571
  /**
3572
- * Raster image file (JPEG, PNG, GIF or WebP), maximum 15MB. SVG is not accepted.
3572
+ * Publicly reachable URL of the raster image (JPEG, PNG, GIF or WebP), maximum 15MB. The image is fetched, virus-scanned and validated by content, then stored on the CDN. SVG is not accepted.
3573
3573
  * @type {string}
3574
3574
  * @memberof EcommerceV1ProductUploadProductImageRequest
3575
3575
  */
3576
- 'image': string;
3576
+ 'image_url': string;
3577
3577
  /**
3578
3578
  * When true, the image becomes the product\'s thumbnail (primary image). When omitted, it becomes the thumbnail only if the product does not have one yet.
3579
3579
  * @type {boolean}
@@ -11913,14 +11913,14 @@ export const AgencyHostingCacheApiAxiosParamCreator = function (configuration?:
11913
11913
  return {
11914
11914
  /**
11915
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.
11916
- * @summary Clear Agency Plan website cache
11916
+ * @summary Clear website cache
11917
11917
  * @param {string} websiteUid Agency Plan website UID
11918
11918
  * @param {*} [options] Override http request option.
11919
11919
  * @throws {RequiredError}
11920
11920
  */
11921
- clearAgencyPlanWebsiteCacheV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11921
+ clearWebsiteCacheV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11922
11922
  // verify required parameter 'websiteUid' is not null or undefined
11923
- assertParamExists('clearAgencyPlanWebsiteCacheV1', 'websiteUid', websiteUid)
11923
+ assertParamExists('clearWebsiteCacheV1', 'websiteUid', websiteUid)
11924
11924
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/cache`
11925
11925
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
11926
11926
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -11961,14 +11961,14 @@ export const AgencyHostingCacheApiFp = function(configuration?: Configuration) {
11961
11961
  return {
11962
11962
  /**
11963
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.
11964
- * @summary Clear Agency Plan website cache
11964
+ * @summary Clear website cache
11965
11965
  * @param {string} websiteUid Agency Plan website UID
11966
11966
  * @param {*} [options] Override http request option.
11967
11967
  * @throws {RequiredError}
11968
11968
  */
11969
- async clearAgencyPlanWebsiteCacheV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
11970
- const localVarAxiosArgs = await localVarAxiosParamCreator.clearAgencyPlanWebsiteCacheV1(websiteUid, options);
11971
- 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;
11972
11972
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11973
11973
  },
11974
11974
  }
@@ -11983,13 +11983,13 @@ export const AgencyHostingCacheApiFactory = function (configuration?: Configurat
11983
11983
  return {
11984
11984
  /**
11985
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.
11986
- * @summary Clear Agency Plan website cache
11986
+ * @summary Clear website cache
11987
11987
  * @param {string} websiteUid Agency Plan website UID
11988
11988
  * @param {*} [options] Override http request option.
11989
11989
  * @throws {RequiredError}
11990
11990
  */
11991
- clearAgencyPlanWebsiteCacheV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
11992
- 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));
11993
11993
  },
11994
11994
  };
11995
11995
  };
@@ -12003,14 +12003,14 @@ export const AgencyHostingCacheApiFactory = function (configuration?: Configurat
12003
12003
  export class AgencyHostingCacheApi extends BaseAPI {
12004
12004
  /**
12005
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.
12006
- * @summary Clear Agency Plan website cache
12006
+ * @summary Clear website cache
12007
12007
  * @param {string} websiteUid Agency Plan website UID
12008
12008
  * @param {*} [options] Override http request option.
12009
12009
  * @throws {RequiredError}
12010
12010
  * @memberof AgencyHostingCacheApi
12011
12011
  */
12012
- public clearAgencyPlanWebsiteCacheV1(websiteUid: string, options?: RawAxiosRequestConfig) {
12013
- 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));
12014
12014
  }
12015
12015
  }
12016
12016
 
@@ -12024,17 +12024,17 @@ export const AgencyHostingCronJobsApiAxiosParamCreator = function (configuration
12024
12024
  return {
12025
12025
  /**
12026
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.
12027
- * @summary Create Agency Plan website cron job
12027
+ * @summary Create website cron job
12028
12028
  * @param {string} websiteUid Agency Plan website UID
12029
12029
  * @param {AgencyHostingV1WebsitesCronJobsCreateCronJobRequest} agencyHostingV1WebsitesCronJobsCreateCronJobRequest
12030
12030
  * @param {*} [options] Override http request option.
12031
12031
  * @throws {RequiredError}
12032
12032
  */
12033
- createAgencyPlanWebsiteCronJobV1: async (websiteUid: string, agencyHostingV1WebsitesCronJobsCreateCronJobRequest: AgencyHostingV1WebsitesCronJobsCreateCronJobRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12033
+ createWebsiteCronJobV1: async (websiteUid: string, agencyHostingV1WebsitesCronJobsCreateCronJobRequest: AgencyHostingV1WebsitesCronJobsCreateCronJobRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12034
12034
  // verify required parameter 'websiteUid' is not null or undefined
12035
- assertParamExists('createAgencyPlanWebsiteCronJobV1', 'websiteUid', websiteUid)
12035
+ assertParamExists('createWebsiteCronJobV1', 'websiteUid', websiteUid)
12036
12036
  // verify required parameter 'agencyHostingV1WebsitesCronJobsCreateCronJobRequest' is not null or undefined
12037
- assertParamExists('createAgencyPlanWebsiteCronJobV1', 'agencyHostingV1WebsitesCronJobsCreateCronJobRequest', agencyHostingV1WebsitesCronJobsCreateCronJobRequest)
12037
+ assertParamExists('createWebsiteCronJobV1', 'agencyHostingV1WebsitesCronJobsCreateCronJobRequest', agencyHostingV1WebsitesCronJobsCreateCronJobRequest)
12038
12038
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs`
12039
12039
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
12040
12040
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12068,17 +12068,17 @@ export const AgencyHostingCronJobsApiAxiosParamCreator = function (configuration
12068
12068
  },
12069
12069
  /**
12070
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.
12071
- * @summary Delete Agency Plan website cron job
12071
+ * @summary Delete website cron job
12072
12072
  * @param {string} websiteUid Agency Plan website UID
12073
12073
  * @param {string} uuid Unique identifier of the cron job as returned by the list cron jobs endpoint.
12074
12074
  * @param {*} [options] Override http request option.
12075
12075
  * @throws {RequiredError}
12076
12076
  */
12077
- deleteAgencyPlanWebsiteCronJobV1: async (websiteUid: string, uuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12077
+ deleteWebsiteCronJobV1: async (websiteUid: string, uuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12078
12078
  // verify required parameter 'websiteUid' is not null or undefined
12079
- assertParamExists('deleteAgencyPlanWebsiteCronJobV1', 'websiteUid', websiteUid)
12079
+ assertParamExists('deleteWebsiteCronJobV1', 'websiteUid', websiteUid)
12080
12080
  // verify required parameter 'uuid' is not null or undefined
12081
- assertParamExists('deleteAgencyPlanWebsiteCronJobV1', 'uuid', uuid)
12081
+ assertParamExists('deleteWebsiteCronJobV1', 'uuid', uuid)
12082
12082
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs/{uuid}`
12083
12083
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
12084
12084
  .replace(`{${"uuid"}}`, encodeURIComponent(String(uuid)));
@@ -12110,16 +12110,16 @@ export const AgencyHostingCronJobsApiAxiosParamCreator = function (configuration
12110
12110
  },
12111
12111
  /**
12112
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.
12113
- * @summary List Agency Plan website cron jobs
12113
+ * @summary List website cron jobs
12114
12114
  * @param {string} websiteUid Agency Plan website UID
12115
12115
  * @param {number} [page] Page number
12116
12116
  * @param {number} [perPage] Number of items per page
12117
12117
  * @param {*} [options] Override http request option.
12118
12118
  * @throws {RequiredError}
12119
12119
  */
12120
- 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> => {
12121
12121
  // verify required parameter 'websiteUid' is not null or undefined
12122
- assertParamExists('listAgencyPlanWebsiteCronJobsV1', 'websiteUid', websiteUid)
12122
+ assertParamExists('listWebsiteCronJobsV1', 'websiteUid', websiteUid)
12123
12123
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/cron-jobs`
12124
12124
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
12125
12125
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12168,42 +12168,42 @@ export const AgencyHostingCronJobsApiFp = function(configuration?: Configuration
12168
12168
  return {
12169
12169
  /**
12170
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.
12171
- * @summary Create Agency Plan website cron job
12171
+ * @summary Create website cron job
12172
12172
  * @param {string} websiteUid Agency Plan website UID
12173
12173
  * @param {AgencyHostingV1WebsitesCronJobsCreateCronJobRequest} agencyHostingV1WebsitesCronJobsCreateCronJobRequest
12174
12174
  * @param {*} [options] Override http request option.
12175
12175
  * @throws {RequiredError}
12176
12176
  */
12177
- async createAgencyPlanWebsiteCronJobV1(websiteUid: string, agencyHostingV1WebsitesCronJobsCreateCronJobRequest: AgencyHostingV1WebsitesCronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesCronJobsCronJobResource>> {
12178
- const localVarAxiosArgs = await localVarAxiosParamCreator.createAgencyPlanWebsiteCronJobV1(websiteUid, agencyHostingV1WebsitesCronJobsCreateCronJobRequest, options);
12179
- 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;
12180
12180
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12181
12181
  },
12182
12182
  /**
12183
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.
12184
- * @summary Delete Agency Plan website cron job
12184
+ * @summary Delete website cron job
12185
12185
  * @param {string} websiteUid Agency Plan website UID
12186
12186
  * @param {string} uuid Unique identifier of the cron job as returned by the list cron jobs endpoint.
12187
12187
  * @param {*} [options] Override http request option.
12188
12188
  * @throws {RequiredError}
12189
12189
  */
12190
- async deleteAgencyPlanWebsiteCronJobV1(websiteUid: string, uuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
12191
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgencyPlanWebsiteCronJobV1(websiteUid, uuid, options);
12192
- 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;
12193
12193
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12194
12194
  },
12195
12195
  /**
12196
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.
12197
- * @summary List Agency Plan website cron jobs
12197
+ * @summary List website cron jobs
12198
12198
  * @param {string} websiteUid Agency Plan website UID
12199
12199
  * @param {number} [page] Page number
12200
12200
  * @param {number} [perPage] Number of items per page
12201
12201
  * @param {*} [options] Override http request option.
12202
12202
  * @throws {RequiredError}
12203
12203
  */
12204
- async listAgencyPlanWebsiteCronJobsV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response>> {
12205
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAgencyPlanWebsiteCronJobsV1(websiteUid, page, perPage, options);
12206
- 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;
12207
12207
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12208
12208
  },
12209
12209
  }
@@ -12218,37 +12218,37 @@ export const AgencyHostingCronJobsApiFactory = function (configuration?: Configu
12218
12218
  return {
12219
12219
  /**
12220
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.
12221
- * @summary Create Agency Plan website cron job
12221
+ * @summary Create website cron job
12222
12222
  * @param {string} websiteUid Agency Plan website UID
12223
12223
  * @param {AgencyHostingV1WebsitesCronJobsCreateCronJobRequest} agencyHostingV1WebsitesCronJobsCreateCronJobRequest
12224
12224
  * @param {*} [options] Override http request option.
12225
12225
  * @throws {RequiredError}
12226
12226
  */
12227
- createAgencyPlanWebsiteCronJobV1(websiteUid: string, agencyHostingV1WebsitesCronJobsCreateCronJobRequest: AgencyHostingV1WebsitesCronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesCronJobsCronJobResource> {
12228
- 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));
12229
12229
  },
12230
12230
  /**
12231
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.
12232
- * @summary Delete Agency Plan website cron job
12232
+ * @summary Delete website cron job
12233
12233
  * @param {string} websiteUid Agency Plan website UID
12234
12234
  * @param {string} uuid Unique identifier of the cron job as returned by the list cron jobs endpoint.
12235
12235
  * @param {*} [options] Override http request option.
12236
12236
  * @throws {RequiredError}
12237
12237
  */
12238
- deleteAgencyPlanWebsiteCronJobV1(websiteUid: string, uuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
12239
- 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));
12240
12240
  },
12241
12241
  /**
12242
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.
12243
- * @summary List Agency Plan website cron jobs
12243
+ * @summary List website cron jobs
12244
12244
  * @param {string} websiteUid Agency Plan website UID
12245
12245
  * @param {number} [page] Page number
12246
12246
  * @param {number} [perPage] Number of items per page
12247
12247
  * @param {*} [options] Override http request option.
12248
12248
  * @throws {RequiredError}
12249
12249
  */
12250
- listAgencyPlanWebsiteCronJobsV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingListAgencyPlanWebsiteCronJobsV1200Response> {
12251
- 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));
12252
12252
  },
12253
12253
  };
12254
12254
  };
@@ -12262,33 +12262,33 @@ export const AgencyHostingCronJobsApiFactory = function (configuration?: Configu
12262
12262
  export class AgencyHostingCronJobsApi extends BaseAPI {
12263
12263
  /**
12264
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.
12265
- * @summary Create Agency Plan website cron job
12265
+ * @summary Create website cron job
12266
12266
  * @param {string} websiteUid Agency Plan website UID
12267
12267
  * @param {AgencyHostingV1WebsitesCronJobsCreateCronJobRequest} agencyHostingV1WebsitesCronJobsCreateCronJobRequest
12268
12268
  * @param {*} [options] Override http request option.
12269
12269
  * @throws {RequiredError}
12270
12270
  * @memberof AgencyHostingCronJobsApi
12271
12271
  */
12272
- public createAgencyPlanWebsiteCronJobV1(websiteUid: string, agencyHostingV1WebsitesCronJobsCreateCronJobRequest: AgencyHostingV1WebsitesCronJobsCreateCronJobRequest, options?: RawAxiosRequestConfig) {
12273
- 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));
12274
12274
  }
12275
12275
 
12276
12276
  /**
12277
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.
12278
- * @summary Delete Agency Plan website cron job
12278
+ * @summary Delete website cron job
12279
12279
  * @param {string} websiteUid Agency Plan website UID
12280
12280
  * @param {string} uuid Unique identifier of the cron job as returned by the list cron jobs endpoint.
12281
12281
  * @param {*} [options] Override http request option.
12282
12282
  * @throws {RequiredError}
12283
12283
  * @memberof AgencyHostingCronJobsApi
12284
12284
  */
12285
- public deleteAgencyPlanWebsiteCronJobV1(websiteUid: string, uuid: string, options?: RawAxiosRequestConfig) {
12286
- 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));
12287
12287
  }
12288
12288
 
12289
12289
  /**
12290
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.
12291
- * @summary List Agency Plan website cron jobs
12291
+ * @summary List website cron jobs
12292
12292
  * @param {string} websiteUid Agency Plan website UID
12293
12293
  * @param {number} [page] Page number
12294
12294
  * @param {number} [perPage] Number of items per page
@@ -12296,8 +12296,8 @@ export class AgencyHostingCronJobsApi extends BaseAPI {
12296
12296
  * @throws {RequiredError}
12297
12297
  * @memberof AgencyHostingCronJobsApi
12298
12298
  */
12299
- public listAgencyPlanWebsiteCronJobsV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
12300
- 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));
12301
12301
  }
12302
12302
  }
12303
12303
 
@@ -12311,20 +12311,20 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
12311
12311
  return {
12312
12312
  /**
12313
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.
12314
- * @summary Create Agency Plan website database user
12314
+ * @summary Create website database user
12315
12315
  * @param {string} websiteUid Agency Plan website UID
12316
12316
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12317
12317
  * @param {AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest} agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
12318
12318
  * @param {*} [options] Override http request option.
12319
12319
  * @throws {RequiredError}
12320
12320
  */
12321
- 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> => {
12322
12322
  // verify required parameter 'websiteUid' is not null or undefined
12323
- assertParamExists('createAgencyPlanWebsiteDatabaseUserV1', 'websiteUid', websiteUid)
12323
+ assertParamExists('createWebsiteDatabaseUserV1', 'websiteUid', websiteUid)
12324
12324
  // verify required parameter 'databaseName' is not null or undefined
12325
- assertParamExists('createAgencyPlanWebsiteDatabaseUserV1', 'databaseName', databaseName)
12325
+ assertParamExists('createWebsiteDatabaseUserV1', 'databaseName', databaseName)
12326
12326
  // verify required parameter 'agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest' is not null or undefined
12327
- assertParamExists('createAgencyPlanWebsiteDatabaseUserV1', 'agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest', agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest)
12327
+ assertParamExists('createWebsiteDatabaseUserV1', 'agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest', agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest)
12328
12328
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users`
12329
12329
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
12330
12330
  .replace(`{${"database_name"}}`, encodeURIComponent(String(databaseName)));
@@ -12359,17 +12359,17 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
12359
12359
  },
12360
12360
  /**
12361
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.
12362
- * @summary Create Agency Plan website database
12362
+ * @summary Create website database
12363
12363
  * @param {string} websiteUid Agency Plan website UID
12364
12364
  * @param {AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest} agencyHostingV1WebsitesDatabasesCreateDatabaseRequest
12365
12365
  * @param {*} [options] Override http request option.
12366
12366
  * @throws {RequiredError}
12367
12367
  */
12368
- createAgencyPlanWebsiteDatabaseV1: async (websiteUid: string, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest: AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12368
+ createWebsiteDatabaseV1: async (websiteUid: string, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest: AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12369
12369
  // verify required parameter 'websiteUid' is not null or undefined
12370
- assertParamExists('createAgencyPlanWebsiteDatabaseV1', 'websiteUid', websiteUid)
12370
+ assertParamExists('createWebsiteDatabaseV1', 'websiteUid', websiteUid)
12371
12371
  // verify required parameter 'agencyHostingV1WebsitesDatabasesCreateDatabaseRequest' is not null or undefined
12372
- assertParamExists('createAgencyPlanWebsiteDatabaseV1', 'agencyHostingV1WebsitesDatabasesCreateDatabaseRequest', agencyHostingV1WebsitesDatabasesCreateDatabaseRequest)
12372
+ assertParamExists('createWebsiteDatabaseV1', 'agencyHostingV1WebsitesDatabasesCreateDatabaseRequest', agencyHostingV1WebsitesDatabasesCreateDatabaseRequest)
12373
12373
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases`
12374
12374
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
12375
12375
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12403,20 +12403,20 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
12403
12403
  },
12404
12404
  /**
12405
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.
12406
- * @summary Delete Agency Plan website database user
12406
+ * @summary Delete website database user
12407
12407
  * @param {string} websiteUid Agency Plan website UID
12408
12408
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12409
12409
  * @param {string} databaseUserName Database username as returned by the list databases endpoint.
12410
12410
  * @param {*} [options] Override http request option.
12411
12411
  * @throws {RequiredError}
12412
12412
  */
12413
- 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> => {
12414
12414
  // verify required parameter 'websiteUid' is not null or undefined
12415
- assertParamExists('deleteAgencyPlanWebsiteDatabaseUserV1', 'websiteUid', websiteUid)
12415
+ assertParamExists('deleteWebsiteDatabaseUserV1', 'websiteUid', websiteUid)
12416
12416
  // verify required parameter 'databaseName' is not null or undefined
12417
- assertParamExists('deleteAgencyPlanWebsiteDatabaseUserV1', 'databaseName', databaseName)
12417
+ assertParamExists('deleteWebsiteDatabaseUserV1', 'databaseName', databaseName)
12418
12418
  // verify required parameter 'databaseUserName' is not null or undefined
12419
- assertParamExists('deleteAgencyPlanWebsiteDatabaseUserV1', 'databaseUserName', databaseUserName)
12419
+ assertParamExists('deleteWebsiteDatabaseUserV1', 'databaseUserName', databaseUserName)
12420
12420
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}/users/{database_user_name}`
12421
12421
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
12422
12422
  .replace(`{${"database_name"}}`, encodeURIComponent(String(databaseName)))
@@ -12449,17 +12449,17 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
12449
12449
  },
12450
12450
  /**
12451
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.
12452
- * @summary Delete Agency Plan website database
12452
+ * @summary Delete website database
12453
12453
  * @param {string} websiteUid Agency Plan website UID
12454
12454
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12455
12455
  * @param {*} [options] Override http request option.
12456
12456
  * @throws {RequiredError}
12457
12457
  */
12458
- deleteAgencyPlanWebsiteDatabaseV1: async (websiteUid: string, databaseName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12458
+ deleteWebsiteDatabaseV1: async (websiteUid: string, databaseName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12459
12459
  // verify required parameter 'websiteUid' is not null or undefined
12460
- assertParamExists('deleteAgencyPlanWebsiteDatabaseV1', 'websiteUid', websiteUid)
12460
+ assertParamExists('deleteWebsiteDatabaseV1', 'websiteUid', websiteUid)
12461
12461
  // verify required parameter 'databaseName' is not null or undefined
12462
- assertParamExists('deleteAgencyPlanWebsiteDatabaseV1', 'databaseName', databaseName)
12462
+ assertParamExists('deleteWebsiteDatabaseV1', 'databaseName', databaseName)
12463
12463
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases/{database_name}`
12464
12464
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
12465
12465
  .replace(`{${"database_name"}}`, encodeURIComponent(String(databaseName)));
@@ -12491,16 +12491,16 @@ export const AgencyHostingDatabasesApiAxiosParamCreator = function (configuratio
12491
12491
  },
12492
12492
  /**
12493
12493
  * Returns a paginated list of MySQL databases created for an Agency Plan website. Each entry includes the database\'s non-system users.
12494
- * @summary List Agency Plan website databases
12494
+ * @summary List website databases
12495
12495
  * @param {string} websiteUid Agency Plan website UID
12496
12496
  * @param {number} [page] Page number
12497
12497
  * @param {number} [perPage] Number of items per page
12498
12498
  * @param {*} [options] Override http request option.
12499
12499
  * @throws {RequiredError}
12500
12500
  */
12501
- 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> => {
12502
12502
  // verify required parameter 'websiteUid' is not null or undefined
12503
- assertParamExists('listAgencyPlanWebsiteDatabasesV1', 'websiteUid', websiteUid)
12503
+ assertParamExists('listWebsiteDatabasesV1', 'websiteUid', websiteUid)
12504
12504
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/databases`
12505
12505
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
12506
12506
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12549,70 +12549,70 @@ export const AgencyHostingDatabasesApiFp = function(configuration?: Configuratio
12549
12549
  return {
12550
12550
  /**
12551
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.
12552
- * @summary Create Agency Plan website database user
12552
+ * @summary Create website database user
12553
12553
  * @param {string} websiteUid Agency Plan website UID
12554
12554
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12555
12555
  * @param {AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest} agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
12556
12556
  * @param {*} [options] Override http request option.
12557
12557
  * @throws {RequiredError}
12558
12558
  */
12559
- async createAgencyPlanWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest: AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesDatabasesDatabaseUserResource>> {
12560
- const localVarAxiosArgs = await localVarAxiosParamCreator.createAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options);
12561
- 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;
12562
12562
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12563
12563
  },
12564
12564
  /**
12565
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.
12566
- * @summary Create Agency Plan website database
12566
+ * @summary Create website database
12567
12567
  * @param {string} websiteUid Agency Plan website UID
12568
12568
  * @param {AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest} agencyHostingV1WebsitesDatabasesCreateDatabaseRequest
12569
12569
  * @param {*} [options] Override http request option.
12570
12570
  * @throws {RequiredError}
12571
12571
  */
12572
- async createAgencyPlanWebsiteDatabaseV1(websiteUid: string, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest: AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesDatabasesDatabaseResource>> {
12573
- const localVarAxiosArgs = await localVarAxiosParamCreator.createAgencyPlanWebsiteDatabaseV1(websiteUid, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options);
12574
- 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;
12575
12575
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12576
12576
  },
12577
12577
  /**
12578
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.
12579
- * @summary Delete Agency Plan website database user
12579
+ * @summary Delete website database user
12580
12580
  * @param {string} websiteUid Agency Plan website UID
12581
12581
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12582
12582
  * @param {string} databaseUserName Database username as returned by the list databases endpoint.
12583
12583
  * @param {*} [options] Override http request option.
12584
12584
  * @throws {RequiredError}
12585
12585
  */
12586
- async deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, databaseUserName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
12587
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid, databaseName, databaseUserName, options);
12588
- 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;
12589
12589
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12590
12590
  },
12591
12591
  /**
12592
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.
12593
- * @summary Delete Agency Plan website database
12593
+ * @summary Delete website database
12594
12594
  * @param {string} websiteUid Agency Plan website UID
12595
12595
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12596
12596
  * @param {*} [options] Override http request option.
12597
12597
  * @throws {RequiredError}
12598
12598
  */
12599
- async deleteAgencyPlanWebsiteDatabaseV1(websiteUid: string, databaseName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
12600
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgencyPlanWebsiteDatabaseV1(websiteUid, databaseName, options);
12601
- 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;
12602
12602
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12603
12603
  },
12604
12604
  /**
12605
12605
  * Returns a paginated list of MySQL databases created for an Agency Plan website. Each entry includes the database\'s non-system users.
12606
- * @summary List Agency Plan website databases
12606
+ * @summary List website databases
12607
12607
  * @param {string} websiteUid Agency Plan website UID
12608
12608
  * @param {number} [page] Page number
12609
12609
  * @param {number} [perPage] Number of items per page
12610
12610
  * @param {*} [options] Override http request option.
12611
12611
  * @throws {RequiredError}
12612
12612
  */
12613
- async listAgencyPlanWebsiteDatabasesV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response>> {
12614
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAgencyPlanWebsiteDatabasesV1(websiteUid, page, perPage, options);
12615
- 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;
12616
12616
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12617
12617
  },
12618
12618
  }
@@ -12627,61 +12627,61 @@ export const AgencyHostingDatabasesApiFactory = function (configuration?: Config
12627
12627
  return {
12628
12628
  /**
12629
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.
12630
- * @summary Create Agency Plan website database user
12630
+ * @summary Create website database user
12631
12631
  * @param {string} websiteUid Agency Plan website UID
12632
12632
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12633
12633
  * @param {AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest} agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
12634
12634
  * @param {*} [options] Override http request option.
12635
12635
  * @throws {RequiredError}
12636
12636
  */
12637
- createAgencyPlanWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest: AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesDatabasesDatabaseUserResource> {
12638
- 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));
12639
12639
  },
12640
12640
  /**
12641
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.
12642
- * @summary Create Agency Plan website database
12642
+ * @summary Create website database
12643
12643
  * @param {string} websiteUid Agency Plan website UID
12644
12644
  * @param {AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest} agencyHostingV1WebsitesDatabasesCreateDatabaseRequest
12645
12645
  * @param {*} [options] Override http request option.
12646
12646
  * @throws {RequiredError}
12647
12647
  */
12648
- createAgencyPlanWebsiteDatabaseV1(websiteUid: string, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest: AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesDatabasesDatabaseResource> {
12649
- 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));
12650
12650
  },
12651
12651
  /**
12652
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.
12653
- * @summary Delete Agency Plan website database user
12653
+ * @summary Delete website database user
12654
12654
  * @param {string} websiteUid Agency Plan website UID
12655
12655
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12656
12656
  * @param {string} databaseUserName Database username as returned by the list databases endpoint.
12657
12657
  * @param {*} [options] Override http request option.
12658
12658
  * @throws {RequiredError}
12659
12659
  */
12660
- deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, databaseUserName: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
12661
- 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));
12662
12662
  },
12663
12663
  /**
12664
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.
12665
- * @summary Delete Agency Plan website database
12665
+ * @summary Delete website database
12666
12666
  * @param {string} websiteUid Agency Plan website UID
12667
12667
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12668
12668
  * @param {*} [options] Override http request option.
12669
12669
  * @throws {RequiredError}
12670
12670
  */
12671
- deleteAgencyPlanWebsiteDatabaseV1(websiteUid: string, databaseName: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
12672
- 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));
12673
12673
  },
12674
12674
  /**
12675
12675
  * Returns a paginated list of MySQL databases created for an Agency Plan website. Each entry includes the database\'s non-system users.
12676
- * @summary List Agency Plan website databases
12676
+ * @summary List website databases
12677
12677
  * @param {string} websiteUid Agency Plan website UID
12678
12678
  * @param {number} [page] Page number
12679
12679
  * @param {number} [perPage] Number of items per page
12680
12680
  * @param {*} [options] Override http request option.
12681
12681
  * @throws {RequiredError}
12682
12682
  */
12683
- listAgencyPlanWebsiteDatabasesV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingListAgencyPlanWebsiteDatabasesV1200Response> {
12684
- 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));
12685
12685
  },
12686
12686
  };
12687
12687
  };
@@ -12695,7 +12695,7 @@ export const AgencyHostingDatabasesApiFactory = function (configuration?: Config
12695
12695
  export class AgencyHostingDatabasesApi extends BaseAPI {
12696
12696
  /**
12697
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.
12698
- * @summary Create Agency Plan website database user
12698
+ * @summary Create website database user
12699
12699
  * @param {string} websiteUid Agency Plan website UID
12700
12700
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12701
12701
  * @param {AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest} agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
@@ -12703,26 +12703,26 @@ export class AgencyHostingDatabasesApi extends BaseAPI {
12703
12703
  * @throws {RequiredError}
12704
12704
  * @memberof AgencyHostingDatabasesApi
12705
12705
  */
12706
- public createAgencyPlanWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, agencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest: AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest, options?: RawAxiosRequestConfig) {
12707
- 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));
12708
12708
  }
12709
12709
 
12710
12710
  /**
12711
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.
12712
- * @summary Create Agency Plan website database
12712
+ * @summary Create website database
12713
12713
  * @param {string} websiteUid Agency Plan website UID
12714
12714
  * @param {AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest} agencyHostingV1WebsitesDatabasesCreateDatabaseRequest
12715
12715
  * @param {*} [options] Override http request option.
12716
12716
  * @throws {RequiredError}
12717
12717
  * @memberof AgencyHostingDatabasesApi
12718
12718
  */
12719
- public createAgencyPlanWebsiteDatabaseV1(websiteUid: string, agencyHostingV1WebsitesDatabasesCreateDatabaseRequest: AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest, options?: RawAxiosRequestConfig) {
12720
- 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));
12721
12721
  }
12722
12722
 
12723
12723
  /**
12724
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.
12725
- * @summary Delete Agency Plan website database user
12725
+ * @summary Delete website database user
12726
12726
  * @param {string} websiteUid Agency Plan website UID
12727
12727
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12728
12728
  * @param {string} databaseUserName Database username as returned by the list databases endpoint.
@@ -12730,26 +12730,26 @@ export class AgencyHostingDatabasesApi extends BaseAPI {
12730
12730
  * @throws {RequiredError}
12731
12731
  * @memberof AgencyHostingDatabasesApi
12732
12732
  */
12733
- public deleteAgencyPlanWebsiteDatabaseUserV1(websiteUid: string, databaseName: string, databaseUserName: string, options?: RawAxiosRequestConfig) {
12734
- 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));
12735
12735
  }
12736
12736
 
12737
12737
  /**
12738
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.
12739
- * @summary Delete Agency Plan website database
12739
+ * @summary Delete website database
12740
12740
  * @param {string} websiteUid Agency Plan website UID
12741
12741
  * @param {string} databaseName Full database name as returned by the list databases endpoint.
12742
12742
  * @param {*} [options] Override http request option.
12743
12743
  * @throws {RequiredError}
12744
12744
  * @memberof AgencyHostingDatabasesApi
12745
12745
  */
12746
- public deleteAgencyPlanWebsiteDatabaseV1(websiteUid: string, databaseName: string, options?: RawAxiosRequestConfig) {
12747
- 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));
12748
12748
  }
12749
12749
 
12750
12750
  /**
12751
12751
  * Returns a paginated list of MySQL databases created for an Agency Plan website. Each entry includes the database\'s non-system users.
12752
- * @summary List Agency Plan website databases
12752
+ * @summary List website databases
12753
12753
  * @param {string} websiteUid Agency Plan website UID
12754
12754
  * @param {number} [page] Page number
12755
12755
  * @param {number} [perPage] Number of items per page
@@ -12757,8 +12757,8 @@ export class AgencyHostingDatabasesApi extends BaseAPI {
12757
12757
  * @throws {RequiredError}
12758
12758
  * @memberof AgencyHostingDatabasesApi
12759
12759
  */
12760
- public listAgencyPlanWebsiteDatabasesV1(websiteUid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
12761
- 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));
12762
12762
  }
12763
12763
  }
12764
12764
 
@@ -12772,14 +12772,14 @@ export const AgencyHostingDatacentersApiAxiosParamCreator = function (configurat
12772
12772
  return {
12773
12773
  /**
12774
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.
12775
- * @summary List available datacenters for an Agency Plan order
12775
+ * @summary List available datacenters
12776
12776
  * @param {number} orderId Agency Plan order ID
12777
12777
  * @param {*} [options] Override http request option.
12778
12778
  * @throws {RequiredError}
12779
12779
  */
12780
- listAvailableDatacentersForAnAgencyPlanOrderV1: async (orderId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12780
+ listAvailableDatacentersV1: async (orderId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12781
12781
  // verify required parameter 'orderId' is not null or undefined
12782
- assertParamExists('listAvailableDatacentersForAnAgencyPlanOrderV1', 'orderId', orderId)
12782
+ assertParamExists('listAvailableDatacentersV1', 'orderId', orderId)
12783
12783
  const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/datacenters`
12784
12784
  .replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)));
12785
12785
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12820,14 +12820,14 @@ export const AgencyHostingDatacentersApiFp = function(configuration?: Configurat
12820
12820
  return {
12821
12821
  /**
12822
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.
12823
- * @summary List available datacenters for an Agency Plan order
12823
+ * @summary List available datacenters
12824
12824
  * @param {number} orderId Agency Plan order ID
12825
12825
  * @param {*} [options] Override http request option.
12826
12826
  * @throws {RequiredError}
12827
12827
  */
12828
- async listAvailableDatacentersForAnAgencyPlanOrderV1(orderId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgencyHostingV1DatacentersDatacenterResource>>> {
12829
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAvailableDatacentersForAnAgencyPlanOrderV1(orderId, options);
12830
- 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;
12831
12831
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12832
12832
  },
12833
12833
  }
@@ -12842,13 +12842,13 @@ export const AgencyHostingDatacentersApiFactory = function (configuration?: Conf
12842
12842
  return {
12843
12843
  /**
12844
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.
12845
- * @summary List available datacenters for an Agency Plan order
12845
+ * @summary List available datacenters
12846
12846
  * @param {number} orderId Agency Plan order ID
12847
12847
  * @param {*} [options] Override http request option.
12848
12848
  * @throws {RequiredError}
12849
12849
  */
12850
- listAvailableDatacentersForAnAgencyPlanOrderV1(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<AgencyHostingV1DatacentersDatacenterResource>> {
12851
- 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));
12852
12852
  },
12853
12853
  };
12854
12854
  };
@@ -12862,14 +12862,14 @@ export const AgencyHostingDatacentersApiFactory = function (configuration?: Conf
12862
12862
  export class AgencyHostingDatacentersApi extends BaseAPI {
12863
12863
  /**
12864
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.
12865
- * @summary List available datacenters for an Agency Plan order
12865
+ * @summary List available datacenters
12866
12866
  * @param {number} orderId Agency Plan order ID
12867
12867
  * @param {*} [options] Override http request option.
12868
12868
  * @throws {RequiredError}
12869
12869
  * @memberof AgencyHostingDatacentersApi
12870
12870
  */
12871
- public listAvailableDatacentersForAnAgencyPlanOrderV1(orderId: number, options?: RawAxiosRequestConfig) {
12872
- 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));
12873
12873
  }
12874
12874
  }
12875
12875
 
@@ -12883,20 +12883,20 @@ export const AgencyHostingDomainsApiAxiosParamCreator = function (configuration?
12883
12883
  return {
12884
12884
  /**
12885
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.
12886
- * @summary Change Agency Plan website domain
12886
+ * @summary Change website domain
12887
12887
  * @param {string} websiteUid Agency Plan website UID
12888
12888
  * @param {string} fromDomain Current domain name to change from
12889
12889
  * @param {AgencyHostingV1DomainsChangeDomainRequest} agencyHostingV1DomainsChangeDomainRequest
12890
12890
  * @param {*} [options] Override http request option.
12891
12891
  * @throws {RequiredError}
12892
12892
  */
12893
- 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> => {
12894
12894
  // verify required parameter 'websiteUid' is not null or undefined
12895
- assertParamExists('changeAgencyPlanWebsiteDomainV1', 'websiteUid', websiteUid)
12895
+ assertParamExists('changeWebsiteDomainV1', 'websiteUid', websiteUid)
12896
12896
  // verify required parameter 'fromDomain' is not null or undefined
12897
- assertParamExists('changeAgencyPlanWebsiteDomainV1', 'fromDomain', fromDomain)
12897
+ assertParamExists('changeWebsiteDomainV1', 'fromDomain', fromDomain)
12898
12898
  // verify required parameter 'agencyHostingV1DomainsChangeDomainRequest' is not null or undefined
12899
- assertParamExists('changeAgencyPlanWebsiteDomainV1', 'agencyHostingV1DomainsChangeDomainRequest', agencyHostingV1DomainsChangeDomainRequest)
12899
+ assertParamExists('changeWebsiteDomainV1', 'agencyHostingV1DomainsChangeDomainRequest', agencyHostingV1DomainsChangeDomainRequest)
12900
12900
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/domains/{from_domain}`
12901
12901
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
12902
12902
  .replace(`{${"from_domain"}}`, encodeURIComponent(String(fromDomain)));
@@ -12931,17 +12931,17 @@ export const AgencyHostingDomainsApiAxiosParamCreator = function (configuration?
12931
12931
  },
12932
12932
  /**
12933
12933
  * Links a domain to the specified Agency Plan website so it can serve traffic for that domain.
12934
- * @summary Link domain to Agency Plan website
12934
+ * @summary Link domain to website
12935
12935
  * @param {string} websiteUid Agency Plan website UID
12936
12936
  * @param {AgencyHostingV1DomainsLinkDomainRequest} agencyHostingV1DomainsLinkDomainRequest
12937
12937
  * @param {*} [options] Override http request option.
12938
12938
  * @throws {RequiredError}
12939
12939
  */
12940
- linkDomainToAgencyPlanWebsiteV1: async (websiteUid: string, agencyHostingV1DomainsLinkDomainRequest: AgencyHostingV1DomainsLinkDomainRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12940
+ linkDomainToWebsiteV1: async (websiteUid: string, agencyHostingV1DomainsLinkDomainRequest: AgencyHostingV1DomainsLinkDomainRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12941
12941
  // verify required parameter 'websiteUid' is not null or undefined
12942
- assertParamExists('linkDomainToAgencyPlanWebsiteV1', 'websiteUid', websiteUid)
12942
+ assertParamExists('linkDomainToWebsiteV1', 'websiteUid', websiteUid)
12943
12943
  // verify required parameter 'agencyHostingV1DomainsLinkDomainRequest' is not null or undefined
12944
- assertParamExists('linkDomainToAgencyPlanWebsiteV1', 'agencyHostingV1DomainsLinkDomainRequest', agencyHostingV1DomainsLinkDomainRequest)
12944
+ assertParamExists('linkDomainToWebsiteV1', 'agencyHostingV1DomainsLinkDomainRequest', agencyHostingV1DomainsLinkDomainRequest)
12945
12945
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/domains`
12946
12946
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
12947
12947
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12975,14 +12975,14 @@ export const AgencyHostingDomainsApiAxiosParamCreator = function (configuration?
12975
12975
  },
12976
12976
  /**
12977
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.
12978
- * @summary List Agency Plan domains
12978
+ * @summary List domains
12979
12979
  * @param {number} [page] Page number
12980
12980
  * @param {number} [perPage] Number of items per page
12981
12981
  * @param {Array<string> | null} [websiteUuids] Filter by website UIDs
12982
12982
  * @param {*} [options] Override http request option.
12983
12983
  * @throws {RequiredError}
12984
12984
  */
12985
- 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> => {
12986
12986
  const localVarPath = `/api/agency-hosting/v1/domains`;
12987
12987
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12988
12988
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -13024,17 +13024,17 @@ export const AgencyHostingDomainsApiAxiosParamCreator = function (configuration?
13024
13024
  },
13025
13025
  /**
13026
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.
13027
- * @summary Unlink domain from Agency Plan website
13027
+ * @summary Unlink domain from website
13028
13028
  * @param {string} websiteUid Agency Plan website UID
13029
13029
  * @param {string} domain Domain name
13030
13030
  * @param {*} [options] Override http request option.
13031
13031
  * @throws {RequiredError}
13032
13032
  */
13033
- unlinkDomainFromAgencyPlanWebsiteV1: async (websiteUid: string, domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13033
+ unlinkDomainFromWebsiteV1: async (websiteUid: string, domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13034
13034
  // verify required parameter 'websiteUid' is not null or undefined
13035
- assertParamExists('unlinkDomainFromAgencyPlanWebsiteV1', 'websiteUid', websiteUid)
13035
+ assertParamExists('unlinkDomainFromWebsiteV1', 'websiteUid', websiteUid)
13036
13036
  // verify required parameter 'domain' is not null or undefined
13037
- assertParamExists('unlinkDomainFromAgencyPlanWebsiteV1', 'domain', domain)
13037
+ assertParamExists('unlinkDomainFromWebsiteV1', 'domain', domain)
13038
13038
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/domains/{domain}`
13039
13039
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)))
13040
13040
  .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
@@ -13076,56 +13076,56 @@ export const AgencyHostingDomainsApiFp = function(configuration?: Configuration)
13076
13076
  return {
13077
13077
  /**
13078
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.
13079
- * @summary Change Agency Plan website domain
13079
+ * @summary Change website domain
13080
13080
  * @param {string} websiteUid Agency Plan website UID
13081
13081
  * @param {string} fromDomain Current domain name to change from
13082
13082
  * @param {AgencyHostingV1DomainsChangeDomainRequest} agencyHostingV1DomainsChangeDomainRequest
13083
13083
  * @param {*} [options] Override http request option.
13084
13084
  * @throws {RequiredError}
13085
13085
  */
13086
- async changeAgencyPlanWebsiteDomainV1(websiteUid: string, fromDomain: string, agencyHostingV1DomainsChangeDomainRequest: AgencyHostingV1DomainsChangeDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13087
- const localVarAxiosArgs = await localVarAxiosParamCreator.changeAgencyPlanWebsiteDomainV1(websiteUid, fromDomain, agencyHostingV1DomainsChangeDomainRequest, options);
13088
- 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;
13089
13089
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13090
13090
  },
13091
13091
  /**
13092
13092
  * Links a domain to the specified Agency Plan website so it can serve traffic for that domain.
13093
- * @summary Link domain to Agency Plan website
13093
+ * @summary Link domain to website
13094
13094
  * @param {string} websiteUid Agency Plan website UID
13095
13095
  * @param {AgencyHostingV1DomainsLinkDomainRequest} agencyHostingV1DomainsLinkDomainRequest
13096
13096
  * @param {*} [options] Override http request option.
13097
13097
  * @throws {RequiredError}
13098
13098
  */
13099
- async linkDomainToAgencyPlanWebsiteV1(websiteUid: string, agencyHostingV1DomainsLinkDomainRequest: AgencyHostingV1DomainsLinkDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13100
- const localVarAxiosArgs = await localVarAxiosParamCreator.linkDomainToAgencyPlanWebsiteV1(websiteUid, agencyHostingV1DomainsLinkDomainRequest, options);
13101
- 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;
13102
13102
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13103
13103
  },
13104
13104
  /**
13105
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.
13106
- * @summary List Agency Plan domains
13106
+ * @summary List domains
13107
13107
  * @param {number} [page] Page number
13108
13108
  * @param {number} [perPage] Number of items per page
13109
13109
  * @param {Array<string> | null} [websiteUuids] Filter by website UIDs
13110
13110
  * @param {*} [options] Override http request option.
13111
13111
  * @throws {RequiredError}
13112
13112
  */
13113
- async listAgencyPlanDomainsV1(page?: number, perPage?: number, websiteUuids?: Array<string> | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingListAgencyPlanDomainsV1200Response>> {
13114
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAgencyPlanDomainsV1(page, perPage, websiteUuids, options);
13115
- 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;
13116
13116
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13117
13117
  },
13118
13118
  /**
13119
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.
13120
- * @summary Unlink domain from Agency Plan website
13120
+ * @summary Unlink domain from website
13121
13121
  * @param {string} websiteUid Agency Plan website UID
13122
13122
  * @param {string} domain Domain name
13123
13123
  * @param {*} [options] Override http request option.
13124
13124
  * @throws {RequiredError}
13125
13125
  */
13126
- async unlinkDomainFromAgencyPlanWebsiteV1(websiteUid: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13127
- const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkDomainFromAgencyPlanWebsiteV1(websiteUid, domain, options);
13128
- 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;
13129
13129
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13130
13130
  },
13131
13131
  }
@@ -13140,49 +13140,49 @@ export const AgencyHostingDomainsApiFactory = function (configuration?: Configur
13140
13140
  return {
13141
13141
  /**
13142
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.
13143
- * @summary Change Agency Plan website domain
13143
+ * @summary Change website domain
13144
13144
  * @param {string} websiteUid Agency Plan website UID
13145
13145
  * @param {string} fromDomain Current domain name to change from
13146
13146
  * @param {AgencyHostingV1DomainsChangeDomainRequest} agencyHostingV1DomainsChangeDomainRequest
13147
13147
  * @param {*} [options] Override http request option.
13148
13148
  * @throws {RequiredError}
13149
13149
  */
13150
- changeAgencyPlanWebsiteDomainV1(websiteUid: string, fromDomain: string, agencyHostingV1DomainsChangeDomainRequest: AgencyHostingV1DomainsChangeDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13151
- 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));
13152
13152
  },
13153
13153
  /**
13154
13154
  * Links a domain to the specified Agency Plan website so it can serve traffic for that domain.
13155
- * @summary Link domain to Agency Plan website
13155
+ * @summary Link domain to website
13156
13156
  * @param {string} websiteUid Agency Plan website UID
13157
13157
  * @param {AgencyHostingV1DomainsLinkDomainRequest} agencyHostingV1DomainsLinkDomainRequest
13158
13158
  * @param {*} [options] Override http request option.
13159
13159
  * @throws {RequiredError}
13160
13160
  */
13161
- linkDomainToAgencyPlanWebsiteV1(websiteUid: string, agencyHostingV1DomainsLinkDomainRequest: AgencyHostingV1DomainsLinkDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13162
- 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));
13163
13163
  },
13164
13164
  /**
13165
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.
13166
- * @summary List Agency Plan domains
13166
+ * @summary List domains
13167
13167
  * @param {number} [page] Page number
13168
13168
  * @param {number} [perPage] Number of items per page
13169
13169
  * @param {Array<string> | null} [websiteUuids] Filter by website UIDs
13170
13170
  * @param {*} [options] Override http request option.
13171
13171
  * @throws {RequiredError}
13172
13172
  */
13173
- listAgencyPlanDomainsV1(page?: number, perPage?: number, websiteUuids?: Array<string> | null, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingListAgencyPlanDomainsV1200Response> {
13174
- 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));
13175
13175
  },
13176
13176
  /**
13177
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.
13178
- * @summary Unlink domain from Agency Plan website
13178
+ * @summary Unlink domain from website
13179
13179
  * @param {string} websiteUid Agency Plan website UID
13180
13180
  * @param {string} domain Domain name
13181
13181
  * @param {*} [options] Override http request option.
13182
13182
  * @throws {RequiredError}
13183
13183
  */
13184
- unlinkDomainFromAgencyPlanWebsiteV1(websiteUid: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13185
- 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));
13186
13186
  },
13187
13187
  };
13188
13188
  };
@@ -13196,7 +13196,7 @@ export const AgencyHostingDomainsApiFactory = function (configuration?: Configur
13196
13196
  export class AgencyHostingDomainsApi extends BaseAPI {
13197
13197
  /**
13198
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.
13199
- * @summary Change Agency Plan website domain
13199
+ * @summary Change website domain
13200
13200
  * @param {string} websiteUid Agency Plan website UID
13201
13201
  * @param {string} fromDomain Current domain name to change from
13202
13202
  * @param {AgencyHostingV1DomainsChangeDomainRequest} agencyHostingV1DomainsChangeDomainRequest
@@ -13204,26 +13204,26 @@ export class AgencyHostingDomainsApi extends BaseAPI {
13204
13204
  * @throws {RequiredError}
13205
13205
  * @memberof AgencyHostingDomainsApi
13206
13206
  */
13207
- public changeAgencyPlanWebsiteDomainV1(websiteUid: string, fromDomain: string, agencyHostingV1DomainsChangeDomainRequest: AgencyHostingV1DomainsChangeDomainRequest, options?: RawAxiosRequestConfig) {
13208
- 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));
13209
13209
  }
13210
13210
 
13211
13211
  /**
13212
13212
  * Links a domain to the specified Agency Plan website so it can serve traffic for that domain.
13213
- * @summary Link domain to Agency Plan website
13213
+ * @summary Link domain to website
13214
13214
  * @param {string} websiteUid Agency Plan website UID
13215
13215
  * @param {AgencyHostingV1DomainsLinkDomainRequest} agencyHostingV1DomainsLinkDomainRequest
13216
13216
  * @param {*} [options] Override http request option.
13217
13217
  * @throws {RequiredError}
13218
13218
  * @memberof AgencyHostingDomainsApi
13219
13219
  */
13220
- public linkDomainToAgencyPlanWebsiteV1(websiteUid: string, agencyHostingV1DomainsLinkDomainRequest: AgencyHostingV1DomainsLinkDomainRequest, options?: RawAxiosRequestConfig) {
13221
- 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));
13222
13222
  }
13223
13223
 
13224
13224
  /**
13225
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.
13226
- * @summary List Agency Plan domains
13226
+ * @summary List domains
13227
13227
  * @param {number} [page] Page number
13228
13228
  * @param {number} [perPage] Number of items per page
13229
13229
  * @param {Array<string> | null} [websiteUuids] Filter by website UIDs
@@ -13231,21 +13231,21 @@ export class AgencyHostingDomainsApi extends BaseAPI {
13231
13231
  * @throws {RequiredError}
13232
13232
  * @memberof AgencyHostingDomainsApi
13233
13233
  */
13234
- public listAgencyPlanDomainsV1(page?: number, perPage?: number, websiteUuids?: Array<string> | null, options?: RawAxiosRequestConfig) {
13235
- 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));
13236
13236
  }
13237
13237
 
13238
13238
  /**
13239
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.
13240
- * @summary Unlink domain from Agency Plan website
13240
+ * @summary Unlink domain from website
13241
13241
  * @param {string} websiteUid Agency Plan website UID
13242
13242
  * @param {string} domain Domain name
13243
13243
  * @param {*} [options] Override http request option.
13244
13244
  * @throws {RequiredError}
13245
13245
  * @memberof AgencyHostingDomainsApi
13246
13246
  */
13247
- public unlinkDomainFromAgencyPlanWebsiteV1(websiteUid: string, domain: string, options?: RawAxiosRequestConfig) {
13248
- 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));
13249
13249
  }
13250
13250
  }
13251
13251
 
@@ -13259,17 +13259,17 @@ export const AgencyHostingFilesApiAxiosParamCreator = function (configuration?:
13259
13259
  return {
13260
13260
  /**
13261
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.
13262
- * @summary Import Agency Plan website from archive
13262
+ * @summary Import website from archive
13263
13263
  * @param {string} websiteUid Agency Plan website UID
13264
13264
  * @param {AgencyHostingV1FilesImportArchiveRequest} agencyHostingV1FilesImportArchiveRequest
13265
13265
  * @param {*} [options] Override http request option.
13266
13266
  * @throws {RequiredError}
13267
13267
  */
13268
- importAgencyPlanWebsiteFromArchiveV1: async (websiteUid: string, agencyHostingV1FilesImportArchiveRequest: AgencyHostingV1FilesImportArchiveRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13268
+ importWebsiteFromArchiveV1: async (websiteUid: string, agencyHostingV1FilesImportArchiveRequest: AgencyHostingV1FilesImportArchiveRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13269
13269
  // verify required parameter 'websiteUid' is not null or undefined
13270
- assertParamExists('importAgencyPlanWebsiteFromArchiveV1', 'websiteUid', websiteUid)
13270
+ assertParamExists('importWebsiteFromArchiveV1', 'websiteUid', websiteUid)
13271
13271
  // verify required parameter 'agencyHostingV1FilesImportArchiveRequest' is not null or undefined
13272
- assertParamExists('importAgencyPlanWebsiteFromArchiveV1', 'agencyHostingV1FilesImportArchiveRequest', agencyHostingV1FilesImportArchiveRequest)
13272
+ assertParamExists('importWebsiteFromArchiveV1', 'agencyHostingV1FilesImportArchiveRequest', agencyHostingV1FilesImportArchiveRequest)
13273
13273
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/files/import-archive`
13274
13274
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
13275
13275
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -13313,15 +13313,15 @@ export const AgencyHostingFilesApiFp = function(configuration?: Configuration) {
13313
13313
  return {
13314
13314
  /**
13315
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.
13316
- * @summary Import Agency Plan website from archive
13316
+ * @summary Import website from archive
13317
13317
  * @param {string} websiteUid Agency Plan website UID
13318
13318
  * @param {AgencyHostingV1FilesImportArchiveRequest} agencyHostingV1FilesImportArchiveRequest
13319
13319
  * @param {*} [options] Override http request option.
13320
13320
  * @throws {RequiredError}
13321
13321
  */
13322
- async importAgencyPlanWebsiteFromArchiveV1(websiteUid: string, agencyHostingV1FilesImportArchiveRequest: AgencyHostingV1FilesImportArchiveRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13323
- const localVarAxiosArgs = await localVarAxiosParamCreator.importAgencyPlanWebsiteFromArchiveV1(websiteUid, agencyHostingV1FilesImportArchiveRequest, options);
13324
- 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;
13325
13325
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13326
13326
  },
13327
13327
  }
@@ -13336,14 +13336,14 @@ export const AgencyHostingFilesApiFactory = function (configuration?: Configurat
13336
13336
  return {
13337
13337
  /**
13338
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.
13339
- * @summary Import Agency Plan website from archive
13339
+ * @summary Import website from archive
13340
13340
  * @param {string} websiteUid Agency Plan website UID
13341
13341
  * @param {AgencyHostingV1FilesImportArchiveRequest} agencyHostingV1FilesImportArchiveRequest
13342
13342
  * @param {*} [options] Override http request option.
13343
13343
  * @throws {RequiredError}
13344
13344
  */
13345
- importAgencyPlanWebsiteFromArchiveV1(websiteUid: string, agencyHostingV1FilesImportArchiveRequest: AgencyHostingV1FilesImportArchiveRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13346
- 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));
13347
13347
  },
13348
13348
  };
13349
13349
  };
@@ -13357,15 +13357,15 @@ export const AgencyHostingFilesApiFactory = function (configuration?: Configurat
13357
13357
  export class AgencyHostingFilesApi extends BaseAPI {
13358
13358
  /**
13359
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.
13360
- * @summary Import Agency Plan website from archive
13360
+ * @summary Import website from archive
13361
13361
  * @param {string} websiteUid Agency Plan website UID
13362
13362
  * @param {AgencyHostingV1FilesImportArchiveRequest} agencyHostingV1FilesImportArchiveRequest
13363
13363
  * @param {*} [options] Override http request option.
13364
13364
  * @throws {RequiredError}
13365
13365
  * @memberof AgencyHostingFilesApi
13366
13366
  */
13367
- public importAgencyPlanWebsiteFromArchiveV1(websiteUid: string, agencyHostingV1FilesImportArchiveRequest: AgencyHostingV1FilesImportArchiveRequest, options?: RawAxiosRequestConfig) {
13368
- 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));
13369
13369
  }
13370
13370
  }
13371
13371
 
@@ -13379,13 +13379,13 @@ export const AgencyHostingOrdersApiAxiosParamCreator = function (configuration?:
13379
13379
  return {
13380
13380
  /**
13381
13381
  * Returns a paginated list of Agency Plan orders accessible to the authenticated client.
13382
- * @summary List Agency Plan orders
13382
+ * @summary List orders
13383
13383
  * @param {number} [page] Page number
13384
13384
  * @param {number} [perPage] Number of items per page
13385
13385
  * @param {*} [options] Override http request option.
13386
13386
  * @throws {RequiredError}
13387
13387
  */
13388
- listAgencyPlanOrdersV1: async (page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13388
+ listOrdersV1: async (page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13389
13389
  const localVarPath = `/api/agency-hosting/v1/orders`;
13390
13390
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13391
13391
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -13433,15 +13433,15 @@ export const AgencyHostingOrdersApiFp = function(configuration?: Configuration)
13433
13433
  return {
13434
13434
  /**
13435
13435
  * Returns a paginated list of Agency Plan orders accessible to the authenticated client.
13436
- * @summary List Agency Plan orders
13436
+ * @summary List orders
13437
13437
  * @param {number} [page] Page number
13438
13438
  * @param {number} [perPage] Number of items per page
13439
13439
  * @param {*} [options] Override http request option.
13440
13440
  * @throws {RequiredError}
13441
13441
  */
13442
- async listAgencyPlanOrdersV1(page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingListAgencyPlanOrdersV1200Response>> {
13443
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAgencyPlanOrdersV1(page, perPage, options);
13444
- 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;
13445
13445
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13446
13446
  },
13447
13447
  }
@@ -13456,14 +13456,14 @@ export const AgencyHostingOrdersApiFactory = function (configuration?: Configura
13456
13456
  return {
13457
13457
  /**
13458
13458
  * Returns a paginated list of Agency Plan orders accessible to the authenticated client.
13459
- * @summary List Agency Plan orders
13459
+ * @summary List orders
13460
13460
  * @param {number} [page] Page number
13461
13461
  * @param {number} [perPage] Number of items per page
13462
13462
  * @param {*} [options] Override http request option.
13463
13463
  * @throws {RequiredError}
13464
13464
  */
13465
- listAgencyPlanOrdersV1(page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingListAgencyPlanOrdersV1200Response> {
13466
- 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));
13467
13467
  },
13468
13468
  };
13469
13469
  };
@@ -13477,15 +13477,15 @@ export const AgencyHostingOrdersApiFactory = function (configuration?: Configura
13477
13477
  export class AgencyHostingOrdersApi extends BaseAPI {
13478
13478
  /**
13479
13479
  * Returns a paginated list of Agency Plan orders accessible to the authenticated client.
13480
- * @summary List Agency Plan orders
13480
+ * @summary List orders
13481
13481
  * @param {number} [page] Page number
13482
13482
  * @param {number} [perPage] Number of items per page
13483
13483
  * @param {*} [options] Override http request option.
13484
13484
  * @throws {RequiredError}
13485
13485
  * @memberof AgencyHostingOrdersApi
13486
13486
  */
13487
- public listAgencyPlanOrdersV1(page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
13488
- 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));
13489
13489
  }
13490
13490
  }
13491
13491
 
@@ -13498,21 +13498,20 @@ export class AgencyHostingOrdersApi extends BaseAPI {
13498
13498
  export const AgencyHostingWebsiteSetupsApiAxiosParamCreator = function (configuration?: Configuration) {
13499
13499
  return {
13500
13500
  /**
13501
- * 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.
13502
- * @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
13503
13503
  * @param {number} orderId Agency Plan order ID
13504
- * @param {string} setupUuid Website setup UUID
13504
+ * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13505
13505
  * @param {*} [options] Override http request option.
13506
13506
  * @throws {RequiredError}
13507
13507
  */
13508
- getAgencyPlanWebsiteSetupStatusV1: async (orderId: number, setupUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13508
+ createANewWebsiteV1: async (orderId: number, agencyHostingV1SetupsCreateSetupRequest: AgencyHostingV1SetupsCreateSetupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13509
13509
  // verify required parameter 'orderId' is not null or undefined
13510
- assertParamExists('getAgencyPlanWebsiteSetupStatusV1', 'orderId', orderId)
13511
- // verify required parameter 'setupUuid' is not null or undefined
13512
- assertParamExists('getAgencyPlanWebsiteSetupStatusV1', 'setupUuid', setupUuid)
13513
- const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/websites/setups/{setup_uuid}`
13514
- .replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)))
13515
- .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)));
13516
13515
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13517
13516
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13518
13517
  let baseOptions;
@@ -13520,7 +13519,7 @@ export const AgencyHostingWebsiteSetupsApiAxiosParamCreator = function (configur
13520
13519
  baseOptions = configuration.baseOptions;
13521
13520
  }
13522
13521
 
13523
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13522
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
13524
13523
  const localVarHeaderParameter = {} as any;
13525
13524
  const localVarQueryParameter = {} as any;
13526
13525
 
@@ -13530,9 +13529,12 @@ export const AgencyHostingWebsiteSetupsApiAxiosParamCreator = function (configur
13530
13529
 
13531
13530
 
13532
13531
 
13532
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13533
+
13533
13534
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13534
13535
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13535
13536
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13537
+ localVarRequestOptions.data = serializeDataIfNeeded(agencyHostingV1SetupsCreateSetupRequest, localVarRequestOptions, configuration)
13536
13538
 
13537
13539
  return {
13538
13540
  url: toPathString(localVarUrlObj),
@@ -13540,20 +13542,21 @@ export const AgencyHostingWebsiteSetupsApiAxiosParamCreator = function (configur
13540
13542
  };
13541
13543
  },
13542
13544
  /**
13543
- * 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.
13544
- * @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
13545
13547
  * @param {number} orderId Agency Plan order ID
13546
- * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13548
+ * @param {string} setupUuid Website setup UUID
13547
13549
  * @param {*} [options] Override http request option.
13548
13550
  * @throws {RequiredError}
13549
13551
  */
13550
- provisionANewAgencyPlanWebsiteV1: async (orderId: number, agencyHostingV1SetupsCreateSetupRequest: AgencyHostingV1SetupsCreateSetupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13552
+ getWebsiteSetupStatusV1: async (orderId: number, setupUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13551
13553
  // verify required parameter 'orderId' is not null or undefined
13552
- assertParamExists('provisionANewAgencyPlanWebsiteV1', 'orderId', orderId)
13553
- // verify required parameter 'agencyHostingV1SetupsCreateSetupRequest' is not null or undefined
13554
- assertParamExists('provisionANewAgencyPlanWebsiteV1', 'agencyHostingV1SetupsCreateSetupRequest', agencyHostingV1SetupsCreateSetupRequest)
13555
- const localVarPath = `/api/agency-hosting/v1/orders/{order_id}/websites/setups`
13556
- .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)));
13557
13560
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13558
13561
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13559
13562
  let baseOptions;
@@ -13561,7 +13564,7 @@ export const AgencyHostingWebsiteSetupsApiAxiosParamCreator = function (configur
13561
13564
  baseOptions = configuration.baseOptions;
13562
13565
  }
13563
13566
 
13564
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
13567
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13565
13568
  const localVarHeaderParameter = {} as any;
13566
13569
  const localVarQueryParameter = {} as any;
13567
13570
 
@@ -13571,12 +13574,9 @@ export const AgencyHostingWebsiteSetupsApiAxiosParamCreator = function (configur
13571
13574
 
13572
13575
 
13573
13576
 
13574
- localVarHeaderParameter['Content-Type'] = 'application/json';
13575
-
13576
13577
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13577
13578
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13578
13579
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13579
- localVarRequestOptions.data = serializeDataIfNeeded(agencyHostingV1SetupsCreateSetupRequest, localVarRequestOptions, configuration)
13580
13580
 
13581
13581
  return {
13582
13582
  url: toPathString(localVarUrlObj),
@@ -13594,29 +13594,29 @@ export const AgencyHostingWebsiteSetupsApiFp = function(configuration?: Configur
13594
13594
  const localVarAxiosParamCreator = AgencyHostingWebsiteSetupsApiAxiosParamCreator(configuration)
13595
13595
  return {
13596
13596
  /**
13597
- * 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.
13598
- * @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
13599
13599
  * @param {number} orderId Agency Plan order ID
13600
- * @param {string} setupUuid Website setup UUID
13600
+ * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13601
13601
  * @param {*} [options] Override http request option.
13602
13602
  * @throws {RequiredError}
13603
13603
  */
13604
- async getAgencyPlanWebsiteSetupStatusV1(orderId: number, setupUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1SetupsWebsiteSetupStatusResource>> {
13605
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAgencyPlanWebsiteSetupStatusV1(orderId, setupUuid, options);
13606
- 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;
13607
13607
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13608
13608
  },
13609
13609
  /**
13610
- * 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.
13611
- * @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
13612
13612
  * @param {number} orderId Agency Plan order ID
13613
- * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13613
+ * @param {string} setupUuid Website setup UUID
13614
13614
  * @param {*} [options] Override http request option.
13615
13615
  * @throws {RequiredError}
13616
13616
  */
13617
- async provisionANewAgencyPlanWebsiteV1(orderId: number, agencyHostingV1SetupsCreateSetupRequest: AgencyHostingV1SetupsCreateSetupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1SetupsWebsiteSetupResource>> {
13618
- const localVarAxiosArgs = await localVarAxiosParamCreator.provisionANewAgencyPlanWebsiteV1(orderId, agencyHostingV1SetupsCreateSetupRequest, options);
13619
- 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;
13620
13620
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13621
13621
  },
13622
13622
  }
@@ -13630,26 +13630,26 @@ export const AgencyHostingWebsiteSetupsApiFactory = function (configuration?: Co
13630
13630
  const localVarFp = AgencyHostingWebsiteSetupsApiFp(configuration)
13631
13631
  return {
13632
13632
  /**
13633
- * 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.
13634
- * @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
13635
13635
  * @param {number} orderId Agency Plan order ID
13636
- * @param {string} setupUuid Website setup UUID
13636
+ * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13637
13637
  * @param {*} [options] Override http request option.
13638
13638
  * @throws {RequiredError}
13639
13639
  */
13640
- getAgencyPlanWebsiteSetupStatusV1(orderId: number, setupUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1SetupsWebsiteSetupStatusResource> {
13641
- 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));
13642
13642
  },
13643
13643
  /**
13644
- * 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.
13645
- * @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
13646
13646
  * @param {number} orderId Agency Plan order ID
13647
- * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13647
+ * @param {string} setupUuid Website setup UUID
13648
13648
  * @param {*} [options] Override http request option.
13649
13649
  * @throws {RequiredError}
13650
13650
  */
13651
- provisionANewAgencyPlanWebsiteV1(orderId: number, agencyHostingV1SetupsCreateSetupRequest: AgencyHostingV1SetupsCreateSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1SetupsWebsiteSetupResource> {
13652
- 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));
13653
13653
  },
13654
13654
  };
13655
13655
  };
@@ -13662,29 +13662,29 @@ export const AgencyHostingWebsiteSetupsApiFactory = function (configuration?: Co
13662
13662
  */
13663
13663
  export class AgencyHostingWebsiteSetupsApi extends BaseAPI {
13664
13664
  /**
13665
- * 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.
13666
- * @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
13667
13667
  * @param {number} orderId Agency Plan order ID
13668
- * @param {string} setupUuid Website setup UUID
13668
+ * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13669
13669
  * @param {*} [options] Override http request option.
13670
13670
  * @throws {RequiredError}
13671
13671
  * @memberof AgencyHostingWebsiteSetupsApi
13672
13672
  */
13673
- public getAgencyPlanWebsiteSetupStatusV1(orderId: number, setupUuid: string, options?: RawAxiosRequestConfig) {
13674
- 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));
13675
13675
  }
13676
13676
 
13677
13677
  /**
13678
- * 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.
13679
- * @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
13680
13680
  * @param {number} orderId Agency Plan order ID
13681
- * @param {AgencyHostingV1SetupsCreateSetupRequest} agencyHostingV1SetupsCreateSetupRequest
13681
+ * @param {string} setupUuid Website setup UUID
13682
13682
  * @param {*} [options] Override http request option.
13683
13683
  * @throws {RequiredError}
13684
13684
  * @memberof AgencyHostingWebsiteSetupsApi
13685
13685
  */
13686
- public provisionANewAgencyPlanWebsiteV1(orderId: number, agencyHostingV1SetupsCreateSetupRequest: AgencyHostingV1SetupsCreateSetupRequest, options?: RawAxiosRequestConfig) {
13687
- 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));
13688
13688
  }
13689
13689
  }
13690
13690
 
@@ -13698,17 +13698,17 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
13698
13698
  return {
13699
13699
  /**
13700
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.
13701
- * @summary Build Agency Plan website NodeJS assets
13701
+ * @summary Build website NodeJS assets
13702
13702
  * @param {string} websiteUid Agency Plan website UID
13703
13703
  * @param {AgencyHostingV1WebsitesBuildAssetsRequest} agencyHostingV1WebsitesBuildAssetsRequest
13704
13704
  * @param {*} [options] Override http request option.
13705
13705
  * @throws {RequiredError}
13706
13706
  */
13707
- buildAgencyPlanWebsiteNodeJSAssetsV1: async (websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13707
+ buildWebsiteNodeJSAssetsV1: async (websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13708
13708
  // verify required parameter 'websiteUid' is not null or undefined
13709
- assertParamExists('buildAgencyPlanWebsiteNodeJSAssetsV1', 'websiteUid', websiteUid)
13709
+ assertParamExists('buildWebsiteNodeJSAssetsV1', 'websiteUid', websiteUid)
13710
13710
  // verify required parameter 'agencyHostingV1WebsitesBuildAssetsRequest' is not null or undefined
13711
- assertParamExists('buildAgencyPlanWebsiteNodeJSAssetsV1', 'agencyHostingV1WebsitesBuildAssetsRequest', agencyHostingV1WebsitesBuildAssetsRequest)
13711
+ assertParamExists('buildWebsiteNodeJSAssetsV1', 'agencyHostingV1WebsitesBuildAssetsRequest', agencyHostingV1WebsitesBuildAssetsRequest)
13712
13712
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/build-assets`
13713
13713
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
13714
13714
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -13742,14 +13742,14 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
13742
13742
  },
13743
13743
  /**
13744
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.
13745
- * @summary Delete Agency Plan website
13745
+ * @summary Delete website
13746
13746
  * @param {string} websiteUid Agency Plan website UID
13747
13747
  * @param {*} [options] Override http request option.
13748
13748
  * @throws {RequiredError}
13749
13749
  */
13750
- deleteAgencyPlanWebsiteV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13750
+ deleteWebsiteV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13751
13751
  // verify required parameter 'websiteUid' is not null or undefined
13752
- assertParamExists('deleteAgencyPlanWebsiteV1', 'websiteUid', websiteUid)
13752
+ assertParamExists('deleteWebsiteV1', 'websiteUid', websiteUid)
13753
13753
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}`
13754
13754
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
13755
13755
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -13780,14 +13780,14 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
13780
13780
  },
13781
13781
  /**
13782
13782
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
13783
- * @summary Get Agency Plan website details
13783
+ * @summary Get website details
13784
13784
  * @param {string} websiteUid Agency Plan website UID
13785
13785
  * @param {*} [options] Override http request option.
13786
13786
  * @throws {RequiredError}
13787
13787
  */
13788
- getAgencyPlanWebsiteDetailsV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13788
+ getWebsiteDetailsV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13789
13789
  // verify required parameter 'websiteUid' is not null or undefined
13790
- assertParamExists('getAgencyPlanWebsiteDetailsV1', 'websiteUid', websiteUid)
13790
+ assertParamExists('getWebsiteDetailsV1', 'websiteUid', websiteUid)
13791
13791
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}`
13792
13792
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
13793
13793
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -13818,14 +13818,14 @@ export const AgencyHostingWebsitesApiAxiosParamCreator = function (configuration
13818
13818
  },
13819
13819
  /**
13820
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.
13821
- * @summary List running Agency Plan website processes
13821
+ * @summary List website processes
13822
13822
  * @param {string} websiteUid Agency Plan website UID
13823
13823
  * @param {*} [options] Override http request option.
13824
13824
  * @throws {RequiredError}
13825
13825
  */
13826
- listRunningAgencyPlanWebsiteProcessesV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13826
+ listWebsiteProcessesV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13827
13827
  // verify required parameter 'websiteUid' is not null or undefined
13828
- assertParamExists('listRunningAgencyPlanWebsiteProcessesV1', 'websiteUid', websiteUid)
13828
+ assertParamExists('listWebsiteProcessesV1', 'websiteUid', websiteUid)
13829
13829
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/processes`
13830
13830
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
13831
13831
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -13866,51 +13866,51 @@ export const AgencyHostingWebsitesApiFp = function(configuration?: Configuration
13866
13866
  return {
13867
13867
  /**
13868
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.
13869
- * @summary Build Agency Plan website NodeJS assets
13869
+ * @summary Build website NodeJS assets
13870
13870
  * @param {string} websiteUid Agency Plan website UID
13871
13871
  * @param {AgencyHostingV1WebsitesBuildAssetsRequest} agencyHostingV1WebsitesBuildAssetsRequest
13872
13872
  * @param {*} [options] Override http request option.
13873
13873
  * @throws {RequiredError}
13874
13874
  */
13875
- async buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13876
- const localVarAxiosArgs = await localVarAxiosParamCreator.buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid, agencyHostingV1WebsitesBuildAssetsRequest, options);
13877
- 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;
13878
13878
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13879
13879
  },
13880
13880
  /**
13881
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.
13882
- * @summary Delete Agency Plan website
13882
+ * @summary Delete website
13883
13883
  * @param {string} websiteUid Agency Plan website UID
13884
13884
  * @param {*} [options] Override http request option.
13885
13885
  * @throws {RequiredError}
13886
13886
  */
13887
- async deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
13888
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgencyPlanWebsiteV1(websiteUid, options);
13889
- 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;
13890
13890
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13891
13891
  },
13892
13892
  /**
13893
13893
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
13894
- * @summary Get Agency Plan website details
13894
+ * @summary Get website details
13895
13895
  * @param {string} websiteUid Agency Plan website UID
13896
13896
  * @param {*} [options] Override http request option.
13897
13897
  * @throws {RequiredError}
13898
13898
  */
13899
- async getAgencyPlanWebsiteDetailsV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WebsitesWebsiteResource>> {
13900
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAgencyPlanWebsiteDetailsV1(websiteUid, options);
13901
- 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;
13902
13902
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13903
13903
  },
13904
13904
  /**
13905
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.
13906
- * @summary List running Agency Plan website processes
13906
+ * @summary List website processes
13907
13907
  * @param {string} websiteUid Agency Plan website UID
13908
13908
  * @param {*} [options] Override http request option.
13909
13909
  * @throws {RequiredError}
13910
13910
  */
13911
- async listRunningAgencyPlanWebsiteProcessesV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgencyHostingV1WebsitesWebsiteProcessResource>>> {
13912
- const localVarAxiosArgs = await localVarAxiosParamCreator.listRunningAgencyPlanWebsiteProcessesV1(websiteUid, options);
13913
- 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;
13914
13914
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13915
13915
  },
13916
13916
  }
@@ -13925,44 +13925,44 @@ export const AgencyHostingWebsitesApiFactory = function (configuration?: Configu
13925
13925
  return {
13926
13926
  /**
13927
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.
13928
- * @summary Build Agency Plan website NodeJS assets
13928
+ * @summary Build website NodeJS assets
13929
13929
  * @param {string} websiteUid Agency Plan website UID
13930
13930
  * @param {AgencyHostingV1WebsitesBuildAssetsRequest} agencyHostingV1WebsitesBuildAssetsRequest
13931
13931
  * @param {*} [options] Override http request option.
13932
13932
  * @throws {RequiredError}
13933
13933
  */
13934
- buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13935
- 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));
13936
13936
  },
13937
13937
  /**
13938
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.
13939
- * @summary Delete Agency Plan website
13939
+ * @summary Delete website
13940
13940
  * @param {string} websiteUid Agency Plan website UID
13941
13941
  * @param {*} [options] Override http request option.
13942
13942
  * @throws {RequiredError}
13943
13943
  */
13944
- deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
13945
- 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));
13946
13946
  },
13947
13947
  /**
13948
13948
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
13949
- * @summary Get Agency Plan website details
13949
+ * @summary Get website details
13950
13950
  * @param {string} websiteUid Agency Plan website UID
13951
13951
  * @param {*} [options] Override http request option.
13952
13952
  * @throws {RequiredError}
13953
13953
  */
13954
- getAgencyPlanWebsiteDetailsV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WebsitesWebsiteResource> {
13955
- 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));
13956
13956
  },
13957
13957
  /**
13958
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.
13959
- * @summary List running Agency Plan website processes
13959
+ * @summary List website processes
13960
13960
  * @param {string} websiteUid Agency Plan website UID
13961
13961
  * @param {*} [options] Override http request option.
13962
13962
  * @throws {RequiredError}
13963
13963
  */
13964
- listRunningAgencyPlanWebsiteProcessesV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AgencyHostingV1WebsitesWebsiteProcessResource>> {
13965
- 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));
13966
13966
  },
13967
13967
  };
13968
13968
  };
@@ -13976,51 +13976,51 @@ export const AgencyHostingWebsitesApiFactory = function (configuration?: Configu
13976
13976
  export class AgencyHostingWebsitesApi extends BaseAPI {
13977
13977
  /**
13978
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.
13979
- * @summary Build Agency Plan website NodeJS assets
13979
+ * @summary Build website NodeJS assets
13980
13980
  * @param {string} websiteUid Agency Plan website UID
13981
13981
  * @param {AgencyHostingV1WebsitesBuildAssetsRequest} agencyHostingV1WebsitesBuildAssetsRequest
13982
13982
  * @param {*} [options] Override http request option.
13983
13983
  * @throws {RequiredError}
13984
13984
  * @memberof AgencyHostingWebsitesApi
13985
13985
  */
13986
- public buildAgencyPlanWebsiteNodeJSAssetsV1(websiteUid: string, agencyHostingV1WebsitesBuildAssetsRequest: AgencyHostingV1WebsitesBuildAssetsRequest, options?: RawAxiosRequestConfig) {
13987
- 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));
13988
13988
  }
13989
13989
 
13990
13990
  /**
13991
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.
13992
- * @summary Delete Agency Plan website
13992
+ * @summary Delete website
13993
13993
  * @param {string} websiteUid Agency Plan website UID
13994
13994
  * @param {*} [options] Override http request option.
13995
13995
  * @throws {RequiredError}
13996
13996
  * @memberof AgencyHostingWebsitesApi
13997
13997
  */
13998
- public deleteAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig) {
13999
- 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));
14000
14000
  }
14001
14001
 
14002
14002
  /**
14003
14003
  * Retrieves detailed information about a specific Agency Plan website, including configuration, status, metadata, hosting plan details, and resource quotas.
14004
- * @summary Get Agency Plan website details
14004
+ * @summary Get website details
14005
14005
  * @param {string} websiteUid Agency Plan website UID
14006
14006
  * @param {*} [options] Override http request option.
14007
14007
  * @throws {RequiredError}
14008
14008
  * @memberof AgencyHostingWebsitesApi
14009
14009
  */
14010
- public getAgencyPlanWebsiteDetailsV1(websiteUid: string, options?: RawAxiosRequestConfig) {
14011
- 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));
14012
14012
  }
14013
14013
 
14014
14014
  /**
14015
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.
14016
- * @summary List running Agency Plan website processes
14016
+ * @summary List website processes
14017
14017
  * @param {string} websiteUid Agency Plan website UID
14018
14018
  * @param {*} [options] Override http request option.
14019
14019
  * @throws {RequiredError}
14020
14020
  * @memberof AgencyHostingWebsitesApi
14021
14021
  */
14022
- public listRunningAgencyPlanWebsiteProcessesV1(websiteUid: string, options?: RawAxiosRequestConfig) {
14023
- 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));
14024
14024
  }
14025
14025
  }
14026
14026
 
@@ -14034,17 +14034,17 @@ export const AgencyHostingWordPressApiAxiosParamCreator = function (configuratio
14034
14034
  return {
14035
14035
  /**
14036
14036
  * Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
14037
- * @summary Change Agency Plan website WordPress core version
14037
+ * @summary Change WordPress version
14038
14038
  * @param {string} websiteUid Agency Plan website UID
14039
14039
  * @param {AgencyHostingV1WordPressChangeVersionRequest} agencyHostingV1WordPressChangeVersionRequest
14040
14040
  * @param {*} [options] Override http request option.
14041
14041
  * @throws {RequiredError}
14042
14042
  */
14043
- changeAgencyPlanWebsiteWordPressCoreVersionV1: async (websiteUid: string, agencyHostingV1WordPressChangeVersionRequest: AgencyHostingV1WordPressChangeVersionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14043
+ changeWordPressVersionV1: async (websiteUid: string, agencyHostingV1WordPressChangeVersionRequest: AgencyHostingV1WordPressChangeVersionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14044
14044
  // verify required parameter 'websiteUid' is not null or undefined
14045
- assertParamExists('changeAgencyPlanWebsiteWordPressCoreVersionV1', 'websiteUid', websiteUid)
14045
+ assertParamExists('changeWordPressVersionV1', 'websiteUid', websiteUid)
14046
14046
  // verify required parameter 'agencyHostingV1WordPressChangeVersionRequest' is not null or undefined
14047
- assertParamExists('changeAgencyPlanWebsiteWordPressCoreVersionV1', 'agencyHostingV1WordPressChangeVersionRequest', agencyHostingV1WordPressChangeVersionRequest)
14047
+ assertParamExists('changeWordPressVersionV1', 'agencyHostingV1WordPressChangeVersionRequest', agencyHostingV1WordPressChangeVersionRequest)
14048
14048
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/version`
14049
14049
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
14050
14050
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -14078,14 +14078,14 @@ export const AgencyHostingWordPressApiAxiosParamCreator = function (configuratio
14078
14078
  },
14079
14079
  /**
14080
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.
14081
- * @summary Get Agency Plan website WordPress settings
14081
+ * @summary Get WordPress settings
14082
14082
  * @param {string} websiteUid Agency Plan website UID
14083
14083
  * @param {*} [options] Override http request option.
14084
14084
  * @throws {RequiredError}
14085
14085
  */
14086
- getAgencyPlanWebsiteWordPressSettingsV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14086
+ getWordPressSettingsV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14087
14087
  // verify required parameter 'websiteUid' is not null or undefined
14088
- assertParamExists('getAgencyPlanWebsiteWordPressSettingsV1', 'websiteUid', websiteUid)
14088
+ assertParamExists('getWordPressSettingsV1', 'websiteUid', websiteUid)
14089
14089
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings`
14090
14090
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
14091
14091
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -14116,14 +14116,14 @@ export const AgencyHostingWordPressApiAxiosParamCreator = function (configuratio
14116
14116
  },
14117
14117
  /**
14118
14118
  * Lists the WordPress core versions available for installation on an Agency Plan website.
14119
- * @summary List available WordPress versions for an Agency Plan website
14119
+ * @summary List available WordPress versions
14120
14120
  * @param {string} websiteUid Agency Plan website UID
14121
14121
  * @param {*} [options] Override http request option.
14122
14122
  * @throws {RequiredError}
14123
14123
  */
14124
- listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14124
+ listAvailableWordPressVersionsV1: async (websiteUid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
14125
14125
  // verify required parameter 'websiteUid' is not null or undefined
14126
- assertParamExists('listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1', 'websiteUid', websiteUid)
14126
+ assertParamExists('listAvailableWordPressVersionsV1', 'websiteUid', websiteUid)
14127
14127
  const localVarPath = `/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings/versions`
14128
14128
  .replace(`{${"website_uid"}}`, encodeURIComponent(String(websiteUid)));
14129
14129
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -14164,39 +14164,39 @@ export const AgencyHostingWordPressApiFp = function(configuration?: Configuratio
14164
14164
  return {
14165
14165
  /**
14166
14166
  * Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
14167
- * @summary Change Agency Plan website WordPress core version
14167
+ * @summary Change WordPress version
14168
14168
  * @param {string} websiteUid Agency Plan website UID
14169
14169
  * @param {AgencyHostingV1WordPressChangeVersionRequest} agencyHostingV1WordPressChangeVersionRequest
14170
14170
  * @param {*} [options] Override http request option.
14171
14171
  * @throws {RequiredError}
14172
14172
  */
14173
- async changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid: string, agencyHostingV1WordPressChangeVersionRequest: AgencyHostingV1WordPressChangeVersionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
14174
- const localVarAxiosArgs = await localVarAxiosParamCreator.changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid, agencyHostingV1WordPressChangeVersionRequest, options);
14175
- 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;
14176
14176
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14177
14177
  },
14178
14178
  /**
14179
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.
14180
- * @summary Get Agency Plan website WordPress settings
14180
+ * @summary Get WordPress settings
14181
14181
  * @param {string} websiteUid Agency Plan website UID
14182
14182
  * @param {*} [options] Override http request option.
14183
14183
  * @throws {RequiredError}
14184
14184
  */
14185
- async getAgencyPlanWebsiteWordPressSettingsV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgencyHostingV1WordPressSettingsResource>> {
14186
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAgencyPlanWebsiteWordPressSettingsV1(websiteUid, options);
14187
- 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;
14188
14188
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14189
14189
  },
14190
14190
  /**
14191
14191
  * Lists the WordPress core versions available for installation on an Agency Plan website.
14192
- * @summary List available WordPress versions for an Agency Plan website
14192
+ * @summary List available WordPress versions
14193
14193
  * @param {string} websiteUid Agency Plan website UID
14194
14194
  * @param {*} [options] Override http request option.
14195
14195
  * @throws {RequiredError}
14196
14196
  */
14197
- async listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgencyHostingV1WordPressVersionResource>>> {
14198
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid, options);
14199
- 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;
14200
14200
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14201
14201
  },
14202
14202
  }
@@ -14211,34 +14211,34 @@ export const AgencyHostingWordPressApiFactory = function (configuration?: Config
14211
14211
  return {
14212
14212
  /**
14213
14213
  * Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
14214
- * @summary Change Agency Plan website WordPress core version
14214
+ * @summary Change WordPress version
14215
14215
  * @param {string} websiteUid Agency Plan website UID
14216
14216
  * @param {AgencyHostingV1WordPressChangeVersionRequest} agencyHostingV1WordPressChangeVersionRequest
14217
14217
  * @param {*} [options] Override http request option.
14218
14218
  * @throws {RequiredError}
14219
14219
  */
14220
- changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid: string, agencyHostingV1WordPressChangeVersionRequest: AgencyHostingV1WordPressChangeVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
14221
- 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));
14222
14222
  },
14223
14223
  /**
14224
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.
14225
- * @summary Get Agency Plan website WordPress settings
14225
+ * @summary Get WordPress settings
14226
14226
  * @param {string} websiteUid Agency Plan website UID
14227
14227
  * @param {*} [options] Override http request option.
14228
14228
  * @throws {RequiredError}
14229
14229
  */
14230
- getAgencyPlanWebsiteWordPressSettingsV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<AgencyHostingV1WordPressSettingsResource> {
14231
- 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));
14232
14232
  },
14233
14233
  /**
14234
14234
  * Lists the WordPress core versions available for installation on an Agency Plan website.
14235
- * @summary List available WordPress versions for an Agency Plan website
14235
+ * @summary List available WordPress versions
14236
14236
  * @param {string} websiteUid Agency Plan website UID
14237
14237
  * @param {*} [options] Override http request option.
14238
14238
  * @throws {RequiredError}
14239
14239
  */
14240
- listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AgencyHostingV1WordPressVersionResource>> {
14241
- 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));
14242
14242
  },
14243
14243
  };
14244
14244
  };
@@ -14252,39 +14252,39 @@ export const AgencyHostingWordPressApiFactory = function (configuration?: Config
14252
14252
  export class AgencyHostingWordPressApi extends BaseAPI {
14253
14253
  /**
14254
14254
  * Changes the installed WordPress core version on an Agency Plan website to one of the versions available for installation.
14255
- * @summary Change Agency Plan website WordPress core version
14255
+ * @summary Change WordPress version
14256
14256
  * @param {string} websiteUid Agency Plan website UID
14257
14257
  * @param {AgencyHostingV1WordPressChangeVersionRequest} agencyHostingV1WordPressChangeVersionRequest
14258
14258
  * @param {*} [options] Override http request option.
14259
14259
  * @throws {RequiredError}
14260
14260
  * @memberof AgencyHostingWordPressApi
14261
14261
  */
14262
- public changeAgencyPlanWebsiteWordPressCoreVersionV1(websiteUid: string, agencyHostingV1WordPressChangeVersionRequest: AgencyHostingV1WordPressChangeVersionRequest, options?: RawAxiosRequestConfig) {
14263
- 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));
14264
14264
  }
14265
14265
 
14266
14266
  /**
14267
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.
14268
- * @summary Get Agency Plan website WordPress settings
14268
+ * @summary Get WordPress settings
14269
14269
  * @param {string} websiteUid Agency Plan website UID
14270
14270
  * @param {*} [options] Override http request option.
14271
14271
  * @throws {RequiredError}
14272
14272
  * @memberof AgencyHostingWordPressApi
14273
14273
  */
14274
- public getAgencyPlanWebsiteWordPressSettingsV1(websiteUid: string, options?: RawAxiosRequestConfig) {
14275
- 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));
14276
14276
  }
14277
14277
 
14278
14278
  /**
14279
14279
  * Lists the WordPress core versions available for installation on an Agency Plan website.
14280
- * @summary List available WordPress versions for an Agency Plan website
14280
+ * @summary List available WordPress versions
14281
14281
  * @param {string} websiteUid Agency Plan website UID
14282
14282
  * @param {*} [options] Override http request option.
14283
14283
  * @throws {RequiredError}
14284
14284
  * @memberof AgencyHostingWordPressApi
14285
14285
  */
14286
- public listAvailableWordPressVersionsForAnAgencyPlanWebsiteV1(websiteUid: string, options?: RawAxiosRequestConfig) {
14287
- 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));
14288
14288
  }
14289
14289
  }
14290
14290
 
@@ -19320,7 +19320,7 @@ export const EcommerceProductsApiAxiosParamCreator = function (configuration?: C
19320
19320
  };
19321
19321
  },
19322
19322
  /**
19323
- * Upload a raster image (JPEG, PNG, GIF or WebP, max 15MB) and attach it to a product in a single call. The image is virus-scanned and validated by content, then stored on the CDN. Set is_thumbnail to make it the product\'s primary image.
19323
+ * Fetch a raster image (JPEG, PNG, GIF or WebP, max 15MB) from a URL and attach it to a product in a single call. The image is virus-scanned and validated by content, then stored on the CDN. Set is_thumbnail to make it the product\'s primary image.
19324
19324
  * @summary Upload and attach a product image
19325
19325
  * @param {string} storeId The ID of the store the product belongs to.
19326
19326
  * @param {string} productId The ID of the product to attach the image to.
@@ -19404,7 +19404,7 @@ export const EcommerceProductsApiFp = function(configuration?: Configuration) {
19404
19404
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19405
19405
  },
19406
19406
  /**
19407
- * Upload a raster image (JPEG, PNG, GIF or WebP, max 15MB) and attach it to a product in a single call. The image is virus-scanned and validated by content, then stored on the CDN. Set is_thumbnail to make it the product\'s primary image.
19407
+ * Fetch a raster image (JPEG, PNG, GIF or WebP, max 15MB) from a URL and attach it to a product in a single call. The image is virus-scanned and validated by content, then stored on the CDN. Set is_thumbnail to make it the product\'s primary image.
19408
19408
  * @summary Upload and attach a product image
19409
19409
  * @param {string} storeId The ID of the store the product belongs to.
19410
19410
  * @param {string} productId The ID of the product to attach the image to.
@@ -19450,7 +19450,7 @@ export const EcommerceProductsApiFactory = function (configuration?: Configurati
19450
19450
  return localVarFp.createPhysicalProductV1(storeId, ecommerceV1ProductCreatePhysicalProductRequest, options).then((request) => request(axios, basePath));
19451
19451
  },
19452
19452
  /**
19453
- * Upload a raster image (JPEG, PNG, GIF or WebP, max 15MB) and attach it to a product in a single call. The image is virus-scanned and validated by content, then stored on the CDN. Set is_thumbnail to make it the product\'s primary image.
19453
+ * Fetch a raster image (JPEG, PNG, GIF or WebP, max 15MB) from a URL and attach it to a product in a single call. The image is virus-scanned and validated by content, then stored on the CDN. Set is_thumbnail to make it the product\'s primary image.
19454
19454
  * @summary Upload and attach a product image
19455
19455
  * @param {string} storeId The ID of the store the product belongs to.
19456
19456
  * @param {string} productId The ID of the product to attach the image to.
@@ -19498,7 +19498,7 @@ export class EcommerceProductsApi extends BaseAPI {
19498
19498
  }
19499
19499
 
19500
19500
  /**
19501
- * Upload a raster image (JPEG, PNG, GIF or WebP, max 15MB) and attach it to a product in a single call. The image is virus-scanned and validated by content, then stored on the CDN. Set is_thumbnail to make it the product\'s primary image.
19501
+ * Fetch a raster image (JPEG, PNG, GIF or WebP, max 15MB) from a URL and attach it to a product in a single call. The image is virus-scanned and validated by content, then stored on the CDN. Set is_thumbnail to make it the product\'s primary image.
19502
19502
  * @summary Upload and attach a product image
19503
19503
  * @param {string} storeId The ID of the store the product belongs to.
19504
19504
  * @param {string} productId The ID of the product to attach the image to.