@teemill/website 0.25.0 → 0.25.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Website API
6
6
  * Manage your PodOS Website
7
7
  *
8
- * The version of the OpenAPI document: 0.25.0
8
+ * The version of the OpenAPI document: 0.25.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3798,11 +3798,14 @@ const WebsiteApiAxiosParamCreator = function (configuration) {
3798
3798
  /**
3799
3799
  * Create a new website domain
3800
3800
  * @summary Create a website domain
3801
+ * @param {string} project What project it is
3801
3802
  * @param {CreateDomainRequest} [createDomainRequest]
3802
3803
  * @param {*} [options] Override http request option.
3803
3804
  * @throws {RequiredError}
3804
3805
  */
3805
- createDomain: (createDomainRequest_1, ...args_1) => __awaiter(this, [createDomainRequest_1, ...args_1], void 0, function* (createDomainRequest, options = {}) {
3806
+ createDomain: (project_1, createDomainRequest_1, ...args_1) => __awaiter(this, [project_1, createDomainRequest_1, ...args_1], void 0, function* (project, createDomainRequest, options = {}) {
3807
+ // verify required parameter 'project' is not null or undefined
3808
+ (0, common_1.assertParamExists)('createDomain', 'project', project);
3806
3809
  const localVarPath = `/v1/website/domains`;
3807
3810
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3808
3811
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -3818,6 +3821,9 @@ const WebsiteApiAxiosParamCreator = function (configuration) {
3818
3821
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
3819
3822
  // authentication api-key required
3820
3823
  yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3824
+ if (project !== undefined) {
3825
+ localVarQueryParameter['project'] = project;
3826
+ }
3821
3827
  localVarHeaderParameter['Content-Type'] = 'application/json';
3822
3828
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3823
3829
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -3831,11 +3837,14 @@ const WebsiteApiAxiosParamCreator = function (configuration) {
3831
3837
  /**
3832
3838
  * Delete an existing website domain
3833
3839
  * @summary Delete a website domain
3840
+ * @param {string} project What project it is
3834
3841
  * @param {string} domain The domain identifier
3835
3842
  * @param {*} [options] Override http request option.
3836
3843
  * @throws {RequiredError}
3837
3844
  */
3838
- deleteDomain: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
3845
+ deleteDomain: (project_1, domain_1, ...args_1) => __awaiter(this, [project_1, domain_1, ...args_1], void 0, function* (project, domain, options = {}) {
3846
+ // verify required parameter 'project' is not null or undefined
3847
+ (0, common_1.assertParamExists)('deleteDomain', 'project', project);
3839
3848
  // verify required parameter 'domain' is not null or undefined
3840
3849
  (0, common_1.assertParamExists)('deleteDomain', 'domain', domain);
3841
3850
  const localVarPath = `/v1/website/domains/{domain}`
@@ -3854,6 +3863,9 @@ const WebsiteApiAxiosParamCreator = function (configuration) {
3854
3863
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
3855
3864
  // authentication api-key required
3856
3865
  yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3866
+ if (project !== undefined) {
3867
+ localVarQueryParameter['project'] = project;
3868
+ }
3857
3869
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3858
3870
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3859
3871
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3865,10 +3877,13 @@ const WebsiteApiAxiosParamCreator = function (configuration) {
3865
3877
  /**
3866
3878
  * List the domains attached to a website
3867
3879
  * @summary List website domains
3880
+ * @param {string} project What project it is
3868
3881
  * @param {*} [options] Override http request option.
3869
3882
  * @throws {RequiredError}
3870
3883
  */
3871
- listDomains: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3884
+ listDomains: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
3885
+ // verify required parameter 'project' is not null or undefined
3886
+ (0, common_1.assertParamExists)('listDomains', 'project', project);
3872
3887
  const localVarPath = `/v1/website/domains`;
3873
3888
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3874
3889
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -3884,6 +3899,9 @@ const WebsiteApiAxiosParamCreator = function (configuration) {
3884
3899
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
3885
3900
  // authentication api-key required
3886
3901
  yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3902
+ if (project !== undefined) {
3903
+ localVarQueryParameter['project'] = project;
3904
+ }
3887
3905
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3888
3906
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3889
3907
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3892,6 +3910,45 @@ const WebsiteApiAxiosParamCreator = function (configuration) {
3892
3910
  options: localVarRequestOptions,
3893
3911
  };
3894
3912
  }),
3913
+ /**
3914
+ * Updated a websites base domain
3915
+ * @summary Update base domain
3916
+ * @param {string} project What project it is
3917
+ * @param {CreateDomainRequest} [createDomainRequest]
3918
+ * @param {*} [options] Override http request option.
3919
+ * @throws {RequiredError}
3920
+ */
3921
+ updateBaseDomain: (project_1, createDomainRequest_1, ...args_1) => __awaiter(this, [project_1, createDomainRequest_1, ...args_1], void 0, function* (project, createDomainRequest, options = {}) {
3922
+ // verify required parameter 'project' is not null or undefined
3923
+ (0, common_1.assertParamExists)('updateBaseDomain', 'project', project);
3924
+ const localVarPath = `/v1/website/domains/base`;
3925
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3926
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3927
+ let baseOptions;
3928
+ if (configuration) {
3929
+ baseOptions = configuration.baseOptions;
3930
+ }
3931
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
3932
+ const localVarHeaderParameter = {};
3933
+ const localVarQueryParameter = {};
3934
+ // authentication session-oauth required
3935
+ // oauth required
3936
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
3937
+ // authentication api-key required
3938
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3939
+ if (project !== undefined) {
3940
+ localVarQueryParameter['project'] = project;
3941
+ }
3942
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3943
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3944
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3945
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3946
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDomainRequest, localVarRequestOptions, configuration);
3947
+ return {
3948
+ url: (0, common_1.toPathString)(localVarUrlObj),
3949
+ options: localVarRequestOptions,
3950
+ };
3951
+ }),
3895
3952
  };
3896
3953
  };
3897
3954
  exports.WebsiteApiAxiosParamCreator = WebsiteApiAxiosParamCreator;
@@ -3905,14 +3962,15 @@ const WebsiteApiFp = function (configuration) {
3905
3962
  /**
3906
3963
  * Create a new website domain
3907
3964
  * @summary Create a website domain
3965
+ * @param {string} project What project it is
3908
3966
  * @param {CreateDomainRequest} [createDomainRequest]
3909
3967
  * @param {*} [options] Override http request option.
3910
3968
  * @throws {RequiredError}
3911
3969
  */
3912
- createDomain(createDomainRequest, options) {
3970
+ createDomain(project, createDomainRequest, options) {
3913
3971
  return __awaiter(this, void 0, void 0, function* () {
3914
3972
  var _a, _b, _c;
3915
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createDomain(createDomainRequest, options);
3973
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createDomain(project, createDomainRequest, options);
3916
3974
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3917
3975
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebsiteApi.createDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3918
3976
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3921,14 +3979,15 @@ const WebsiteApiFp = function (configuration) {
3921
3979
  /**
3922
3980
  * Delete an existing website domain
3923
3981
  * @summary Delete a website domain
3982
+ * @param {string} project What project it is
3924
3983
  * @param {string} domain The domain identifier
3925
3984
  * @param {*} [options] Override http request option.
3926
3985
  * @throws {RequiredError}
3927
3986
  */
3928
- deleteDomain(domain, options) {
3987
+ deleteDomain(project, domain, options) {
3929
3988
  return __awaiter(this, void 0, void 0, function* () {
3930
3989
  var _a, _b, _c;
3931
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDomain(domain, options);
3990
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDomain(project, domain, options);
3932
3991
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3933
3992
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebsiteApi.deleteDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3934
3993
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3937,18 +3996,36 @@ const WebsiteApiFp = function (configuration) {
3937
3996
  /**
3938
3997
  * List the domains attached to a website
3939
3998
  * @summary List website domains
3999
+ * @param {string} project What project it is
3940
4000
  * @param {*} [options] Override http request option.
3941
4001
  * @throws {RequiredError}
3942
4002
  */
3943
- listDomains(options) {
4003
+ listDomains(project, options) {
3944
4004
  return __awaiter(this, void 0, void 0, function* () {
3945
4005
  var _a, _b, _c;
3946
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listDomains(options);
4006
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listDomains(project, options);
3947
4007
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3948
4008
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebsiteApi.listDomains']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3949
4009
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3950
4010
  });
3951
4011
  },
4012
+ /**
4013
+ * Updated a websites base domain
4014
+ * @summary Update base domain
4015
+ * @param {string} project What project it is
4016
+ * @param {CreateDomainRequest} [createDomainRequest]
4017
+ * @param {*} [options] Override http request option.
4018
+ * @throws {RequiredError}
4019
+ */
4020
+ updateBaseDomain(project, createDomainRequest, options) {
4021
+ return __awaiter(this, void 0, void 0, function* () {
4022
+ var _a, _b, _c;
4023
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateBaseDomain(project, createDomainRequest, options);
4024
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4025
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebsiteApi.updateBaseDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4026
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4027
+ });
4028
+ },
3952
4029
  };
3953
4030
  };
3954
4031
  exports.WebsiteApiFp = WebsiteApiFp;
@@ -3966,8 +4043,8 @@ const WebsiteApiFactory = function (configuration, basePath, axios) {
3966
4043
  * @param {*} [options] Override http request option.
3967
4044
  * @throws {RequiredError}
3968
4045
  */
3969
- createDomain(requestParameters = {}, options) {
3970
- return localVarFp.createDomain(requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
4046
+ createDomain(requestParameters, options) {
4047
+ return localVarFp.createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
3971
4048
  },
3972
4049
  /**
3973
4050
  * Delete an existing website domain
@@ -3977,16 +4054,27 @@ const WebsiteApiFactory = function (configuration, basePath, axios) {
3977
4054
  * @throws {RequiredError}
3978
4055
  */
3979
4056
  deleteDomain(requestParameters, options) {
3980
- return localVarFp.deleteDomain(requestParameters.domain, options).then((request) => request(axios, basePath));
4057
+ return localVarFp.deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(axios, basePath));
3981
4058
  },
3982
4059
  /**
3983
4060
  * List the domains attached to a website
3984
4061
  * @summary List website domains
4062
+ * @param {WebsiteApiListDomainsRequest} requestParameters Request parameters.
4063
+ * @param {*} [options] Override http request option.
4064
+ * @throws {RequiredError}
4065
+ */
4066
+ listDomains(requestParameters, options) {
4067
+ return localVarFp.listDomains(requestParameters.project, options).then((request) => request(axios, basePath));
4068
+ },
4069
+ /**
4070
+ * Updated a websites base domain
4071
+ * @summary Update base domain
4072
+ * @param {WebsiteApiUpdateBaseDomainRequest} requestParameters Request parameters.
3985
4073
  * @param {*} [options] Override http request option.
3986
4074
  * @throws {RequiredError}
3987
4075
  */
3988
- listDomains(options) {
3989
- return localVarFp.listDomains(options).then((request) => request(axios, basePath));
4076
+ updateBaseDomain(requestParameters, options) {
4077
+ return localVarFp.updateBaseDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
3990
4078
  },
3991
4079
  };
3992
4080
  };
@@ -4006,8 +4094,8 @@ class WebsiteApi extends base_1.BaseAPI {
4006
4094
  * @throws {RequiredError}
4007
4095
  * @memberof WebsiteApi
4008
4096
  */
4009
- createDomain(requestParameters = {}, options) {
4010
- return (0, exports.WebsiteApiFp)(this.configuration).createDomain(requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
4097
+ createDomain(requestParameters, options) {
4098
+ return (0, exports.WebsiteApiFp)(this.configuration).createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
4011
4099
  }
4012
4100
  /**
4013
4101
  * Delete an existing website domain
@@ -4018,17 +4106,29 @@ class WebsiteApi extends base_1.BaseAPI {
4018
4106
  * @memberof WebsiteApi
4019
4107
  */
4020
4108
  deleteDomain(requestParameters, options) {
4021
- return (0, exports.WebsiteApiFp)(this.configuration).deleteDomain(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
4109
+ return (0, exports.WebsiteApiFp)(this.configuration).deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
4022
4110
  }
4023
4111
  /**
4024
4112
  * List the domains attached to a website
4025
4113
  * @summary List website domains
4114
+ * @param {WebsiteApiListDomainsRequest} requestParameters Request parameters.
4115
+ * @param {*} [options] Override http request option.
4116
+ * @throws {RequiredError}
4117
+ * @memberof WebsiteApi
4118
+ */
4119
+ listDomains(requestParameters, options) {
4120
+ return (0, exports.WebsiteApiFp)(this.configuration).listDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
4121
+ }
4122
+ /**
4123
+ * Updated a websites base domain
4124
+ * @summary Update base domain
4125
+ * @param {WebsiteApiUpdateBaseDomainRequest} requestParameters Request parameters.
4026
4126
  * @param {*} [options] Override http request option.
4027
4127
  * @throws {RequiredError}
4028
4128
  * @memberof WebsiteApi
4029
4129
  */
4030
- listDomains(options) {
4031
- return (0, exports.WebsiteApiFp)(this.configuration).listDomains(options).then((request) => request(this.axios, this.basePath));
4130
+ updateBaseDomain(requestParameters, options) {
4131
+ return (0, exports.WebsiteApiFp)(this.configuration).updateBaseDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
4032
4132
  }
4033
4133
  }
4034
4134
  exports.WebsiteApi = WebsiteApi;
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Website API
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.25.0
5
+ * The version of the OpenAPI document: 0.25.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Website API
6
6
  * Manage your PodOS Website
7
7
  *
8
- * The version of the OpenAPI document: 0.25.0
8
+ * The version of the OpenAPI document: 0.25.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Website API
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.25.0
5
+ * The version of the OpenAPI document: 0.25.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Website API
6
6
  * Manage your PodOS Website
7
7
  *
8
- * The version of the OpenAPI document: 0.25.0
8
+ * The version of the OpenAPI document: 0.25.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Website API
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.25.0
5
+ * The version of the OpenAPI document: 0.25.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Website API
6
6
  * Manage your PodOS Website
7
7
  *
8
- * The version of the OpenAPI document: 0.25.0
8
+ * The version of the OpenAPI document: 0.25.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Website API
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.25.0
5
+ * The version of the OpenAPI document: 0.25.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -810,13 +810,13 @@ export interface InlineObject {
810
810
  * @type {Array<Domain>}
811
811
  * @memberof InlineObject
812
812
  */
813
- 'domains'?: Array<Domain>;
813
+ 'domains': Array<Domain>;
814
814
  /**
815
815
  *
816
816
  * @type {number}
817
817
  * @memberof InlineObject
818
818
  */
819
- 'nextPageToken'?: number;
819
+ 'nextPageToken': number;
820
820
  }
821
821
  /**
822
822
  *
@@ -5874,26 +5874,38 @@ export declare const WebsiteApiAxiosParamCreator: (configuration?: Configuration
5874
5874
  /**
5875
5875
  * Create a new website domain
5876
5876
  * @summary Create a website domain
5877
+ * @param {string} project What project it is
5877
5878
  * @param {CreateDomainRequest} [createDomainRequest]
5878
5879
  * @param {*} [options] Override http request option.
5879
5880
  * @throws {RequiredError}
5880
5881
  */
5881
- createDomain: (createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5882
+ createDomain: (project: string, createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5882
5883
  /**
5883
5884
  * Delete an existing website domain
5884
5885
  * @summary Delete a website domain
5886
+ * @param {string} project What project it is
5885
5887
  * @param {string} domain The domain identifier
5886
5888
  * @param {*} [options] Override http request option.
5887
5889
  * @throws {RequiredError}
5888
5890
  */
5889
- deleteDomain: (domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5891
+ deleteDomain: (project: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5890
5892
  /**
5891
5893
  * List the domains attached to a website
5892
5894
  * @summary List website domains
5895
+ * @param {string} project What project it is
5896
+ * @param {*} [options] Override http request option.
5897
+ * @throws {RequiredError}
5898
+ */
5899
+ listDomains: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5900
+ /**
5901
+ * Updated a websites base domain
5902
+ * @summary Update base domain
5903
+ * @param {string} project What project it is
5904
+ * @param {CreateDomainRequest} [createDomainRequest]
5893
5905
  * @param {*} [options] Override http request option.
5894
5906
  * @throws {RequiredError}
5895
5907
  */
5896
- listDomains: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5908
+ updateBaseDomain: (project: string, createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5897
5909
  };
5898
5910
  /**
5899
5911
  * WebsiteApi - functional programming interface
@@ -5903,26 +5915,38 @@ export declare const WebsiteApiFp: (configuration?: Configuration) => {
5903
5915
  /**
5904
5916
  * Create a new website domain
5905
5917
  * @summary Create a website domain
5918
+ * @param {string} project What project it is
5906
5919
  * @param {CreateDomainRequest} [createDomainRequest]
5907
5920
  * @param {*} [options] Override http request option.
5908
5921
  * @throws {RequiredError}
5909
5922
  */
5910
- createDomain(createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Domain>>;
5923
+ createDomain(project: string, createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Domain>>;
5911
5924
  /**
5912
5925
  * Delete an existing website domain
5913
5926
  * @summary Delete a website domain
5927
+ * @param {string} project What project it is
5914
5928
  * @param {string} domain The domain identifier
5915
5929
  * @param {*} [options] Override http request option.
5916
5930
  * @throws {RequiredError}
5917
5931
  */
5918
- deleteDomain(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5932
+ deleteDomain(project: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5919
5933
  /**
5920
5934
  * List the domains attached to a website
5921
5935
  * @summary List website domains
5936
+ * @param {string} project What project it is
5937
+ * @param {*} [options] Override http request option.
5938
+ * @throws {RequiredError}
5939
+ */
5940
+ listDomains(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>>;
5941
+ /**
5942
+ * Updated a websites base domain
5943
+ * @summary Update base domain
5944
+ * @param {string} project What project it is
5945
+ * @param {CreateDomainRequest} [createDomainRequest]
5922
5946
  * @param {*} [options] Override http request option.
5923
5947
  * @throws {RequiredError}
5924
5948
  */
5925
- listDomains(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>>;
5949
+ updateBaseDomain(project: string, createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5926
5950
  };
5927
5951
  /**
5928
5952
  * WebsiteApi - factory interface
@@ -5936,7 +5960,7 @@ export declare const WebsiteApiFactory: (configuration?: Configuration, basePath
5936
5960
  * @param {*} [options] Override http request option.
5937
5961
  * @throws {RequiredError}
5938
5962
  */
5939
- createDomain(requestParameters?: WebsiteApiCreateDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<Domain>;
5963
+ createDomain(requestParameters: WebsiteApiCreateDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<Domain>;
5940
5964
  /**
5941
5965
  * Delete an existing website domain
5942
5966
  * @summary Delete a website domain
@@ -5948,10 +5972,19 @@ export declare const WebsiteApiFactory: (configuration?: Configuration, basePath
5948
5972
  /**
5949
5973
  * List the domains attached to a website
5950
5974
  * @summary List website domains
5975
+ * @param {WebsiteApiListDomainsRequest} requestParameters Request parameters.
5976
+ * @param {*} [options] Override http request option.
5977
+ * @throws {RequiredError}
5978
+ */
5979
+ listDomains(requestParameters: WebsiteApiListDomainsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject>;
5980
+ /**
5981
+ * Updated a websites base domain
5982
+ * @summary Update base domain
5983
+ * @param {WebsiteApiUpdateBaseDomainRequest} requestParameters Request parameters.
5951
5984
  * @param {*} [options] Override http request option.
5952
5985
  * @throws {RequiredError}
5953
5986
  */
5954
- listDomains(options?: RawAxiosRequestConfig): AxiosPromise<InlineObject>;
5987
+ updateBaseDomain(requestParameters: WebsiteApiUpdateBaseDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5955
5988
  };
5956
5989
  /**
5957
5990
  * Request parameters for createDomain operation in WebsiteApi.
@@ -5959,6 +5992,12 @@ export declare const WebsiteApiFactory: (configuration?: Configuration, basePath
5959
5992
  * @interface WebsiteApiCreateDomainRequest
5960
5993
  */
5961
5994
  export interface WebsiteApiCreateDomainRequest {
5995
+ /**
5996
+ * What project it is
5997
+ * @type {string}
5998
+ * @memberof WebsiteApiCreateDomain
5999
+ */
6000
+ readonly project: string;
5962
6001
  /**
5963
6002
  *
5964
6003
  * @type {CreateDomainRequest}
@@ -5972,6 +6011,12 @@ export interface WebsiteApiCreateDomainRequest {
5972
6011
  * @interface WebsiteApiDeleteDomainRequest
5973
6012
  */
5974
6013
  export interface WebsiteApiDeleteDomainRequest {
6014
+ /**
6015
+ * What project it is
6016
+ * @type {string}
6017
+ * @memberof WebsiteApiDeleteDomain
6018
+ */
6019
+ readonly project: string;
5975
6020
  /**
5976
6021
  * The domain identifier
5977
6022
  * @type {string}
@@ -5979,6 +6024,38 @@ export interface WebsiteApiDeleteDomainRequest {
5979
6024
  */
5980
6025
  readonly domain: string;
5981
6026
  }
6027
+ /**
6028
+ * Request parameters for listDomains operation in WebsiteApi.
6029
+ * @export
6030
+ * @interface WebsiteApiListDomainsRequest
6031
+ */
6032
+ export interface WebsiteApiListDomainsRequest {
6033
+ /**
6034
+ * What project it is
6035
+ * @type {string}
6036
+ * @memberof WebsiteApiListDomains
6037
+ */
6038
+ readonly project: string;
6039
+ }
6040
+ /**
6041
+ * Request parameters for updateBaseDomain operation in WebsiteApi.
6042
+ * @export
6043
+ * @interface WebsiteApiUpdateBaseDomainRequest
6044
+ */
6045
+ export interface WebsiteApiUpdateBaseDomainRequest {
6046
+ /**
6047
+ * What project it is
6048
+ * @type {string}
6049
+ * @memberof WebsiteApiUpdateBaseDomain
6050
+ */
6051
+ readonly project: string;
6052
+ /**
6053
+ *
6054
+ * @type {CreateDomainRequest}
6055
+ * @memberof WebsiteApiUpdateBaseDomain
6056
+ */
6057
+ readonly createDomainRequest?: CreateDomainRequest;
6058
+ }
5982
6059
  /**
5983
6060
  * WebsiteApi - object-oriented interface
5984
6061
  * @export
@@ -5994,7 +6071,7 @@ export declare class WebsiteApi extends BaseAPI {
5994
6071
  * @throws {RequiredError}
5995
6072
  * @memberof WebsiteApi
5996
6073
  */
5997
- createDomain(requestParameters?: WebsiteApiCreateDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Domain, any>>;
6074
+ createDomain(requestParameters: WebsiteApiCreateDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Domain, any>>;
5998
6075
  /**
5999
6076
  * Delete an existing website domain
6000
6077
  * @summary Delete a website domain
@@ -6007,9 +6084,19 @@ export declare class WebsiteApi extends BaseAPI {
6007
6084
  /**
6008
6085
  * List the domains attached to a website
6009
6086
  * @summary List website domains
6087
+ * @param {WebsiteApiListDomainsRequest} requestParameters Request parameters.
6088
+ * @param {*} [options] Override http request option.
6089
+ * @throws {RequiredError}
6090
+ * @memberof WebsiteApi
6091
+ */
6092
+ listDomains(requestParameters: WebsiteApiListDomainsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject, any>>;
6093
+ /**
6094
+ * Updated a websites base domain
6095
+ * @summary Update base domain
6096
+ * @param {WebsiteApiUpdateBaseDomainRequest} requestParameters Request parameters.
6010
6097
  * @param {*} [options] Override http request option.
6011
6098
  * @throws {RequiredError}
6012
6099
  * @memberof WebsiteApi
6013
6100
  */
6014
- listDomains(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject, any>>;
6101
+ updateBaseDomain(requestParameters: WebsiteApiUpdateBaseDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
6015
6102
  }