@teemill/website 0.24.0 → 0.25.1

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/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.24.0
5
+ * The version of the OpenAPI document: 0.25.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -177,19 +177,6 @@ export declare const AttributeThumbnailTypeEnum: {
177
177
  readonly Image: "image";
178
178
  };
179
179
  export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof typeof AttributeThumbnailTypeEnum];
180
- /**
181
- *
182
- * @export
183
- * @interface AuthorizeStripe200Response
184
- */
185
- export interface AuthorizeStripe200Response {
186
- /**
187
- * The URL to redirect to
188
- * @type {string}
189
- * @memberof AuthorizeStripe200Response
190
- */
191
- 'redirect_url': string;
192
- }
193
180
  /**
194
181
  * The banner image that is used to display the collection
195
182
  * @export
@@ -637,6 +624,19 @@ export interface CreateCollectionRequestSeoMetadata {
637
624
  */
638
625
  'image'?: MetaImage | null;
639
626
  }
627
+ /**
628
+ *
629
+ * @export
630
+ * @interface CreateDomainRequest
631
+ */
632
+ export interface CreateDomainRequest {
633
+ /**
634
+ *
635
+ * @type {string}
636
+ * @memberof CreateDomainRequest
637
+ */
638
+ 'domain'?: string;
639
+ }
640
640
  /**
641
641
  *
642
642
  * @export
@@ -656,6 +656,37 @@ export interface CreateSearchRedirectRequest {
656
656
  */
657
657
  'destinationUrl': string;
658
658
  }
659
+ /**
660
+ *
661
+ * @export
662
+ * @interface Domain
663
+ */
664
+ export interface Domain {
665
+ /**
666
+ *
667
+ * @type {number}
668
+ * @memberof Domain
669
+ */
670
+ 'id'?: number;
671
+ /**
672
+ *
673
+ * @type {string}
674
+ * @memberof Domain
675
+ */
676
+ 'name': string;
677
+ /**
678
+ *
679
+ * @type {number}
680
+ * @memberof Domain
681
+ */
682
+ 'priority': number;
683
+ /**
684
+ *
685
+ * @type {string}
686
+ * @memberof Domain
687
+ */
688
+ 'enabledAt': string | null;
689
+ }
659
690
  /**
660
691
  *
661
692
  * @export
@@ -768,6 +799,38 @@ export interface Image {
768
799
  */
769
800
  'updatedAt'?: string;
770
801
  }
802
+ /**
803
+ *
804
+ * @export
805
+ * @interface InlineObject
806
+ */
807
+ export interface InlineObject {
808
+ /**
809
+ *
810
+ * @type {Array<Domain>}
811
+ * @memberof InlineObject
812
+ */
813
+ 'domains'?: Array<Domain>;
814
+ /**
815
+ *
816
+ * @type {number}
817
+ * @memberof InlineObject
818
+ */
819
+ 'nextPageToken'?: number;
820
+ }
821
+ /**
822
+ *
823
+ * @export
824
+ * @interface InlineObject1
825
+ */
826
+ export interface InlineObject1 {
827
+ /**
828
+ * The URL to redirect to
829
+ * @type {string}
830
+ * @memberof InlineObject1
831
+ */
832
+ 'redirect_url': string;
833
+ }
771
834
  /**
772
835
  *
773
836
  * @export
@@ -4943,7 +5006,7 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
4943
5006
  * @param {*} [options] Override http request option.
4944
5007
  * @throws {RequiredError}
4945
5008
  */
4946
- authorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthorizeStripe200Response>>;
5009
+ authorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject1>>;
4947
5010
  /**
4948
5011
  * Deauthorize a Stripe payment account
4949
5012
  * @summary Deauthorize Stripe
@@ -4973,7 +5036,7 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
4973
5036
  * @param {*} [options] Override http request option.
4974
5037
  * @throws {RequiredError}
4975
5038
  */
4976
- authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthorizeStripe200Response>;
5039
+ authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject1>;
4977
5040
  /**
4978
5041
  * Deauthorize a Stripe payment account
4979
5042
  * @summary Deauthorize Stripe
@@ -5045,7 +5108,7 @@ export declare class PaymentApi extends BaseAPI {
5045
5108
  * @throws {RequiredError}
5046
5109
  * @memberof PaymentApi
5047
5110
  */
5048
- authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthorizeStripe200Response, any>>;
5111
+ authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject1, any>>;
5049
5112
  /**
5050
5113
  * Deauthorize a Stripe payment account
5051
5114
  * @summary Deauthorize Stripe
@@ -5803,3 +5866,183 @@ export declare class SearchApi extends BaseAPI {
5803
5866
  */
5804
5867
  updateSearchRedirect(requestParameters: SearchApiUpdateSearchRedirectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchRedirect, any>>;
5805
5868
  }
5869
+ /**
5870
+ * WebsiteApi - axios parameter creator
5871
+ * @export
5872
+ */
5873
+ export declare const WebsiteApiAxiosParamCreator: (configuration?: Configuration) => {
5874
+ /**
5875
+ * Create a new website domain
5876
+ * @summary Create a website domain
5877
+ * @param {string} project What project it is
5878
+ * @param {CreateDomainRequest} [createDomainRequest]
5879
+ * @param {*} [options] Override http request option.
5880
+ * @throws {RequiredError}
5881
+ */
5882
+ createDomain: (project: string, createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5883
+ /**
5884
+ * Delete an existing website domain
5885
+ * @summary Delete a website domain
5886
+ * @param {string} project What project it is
5887
+ * @param {string} domain The domain identifier
5888
+ * @param {*} [options] Override http request option.
5889
+ * @throws {RequiredError}
5890
+ */
5891
+ deleteDomain: (project: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5892
+ /**
5893
+ * List the domains attached to a website
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
+ /**
5902
+ * WebsiteApi - functional programming interface
5903
+ * @export
5904
+ */
5905
+ export declare const WebsiteApiFp: (configuration?: Configuration) => {
5906
+ /**
5907
+ * Create a new website domain
5908
+ * @summary Create a website domain
5909
+ * @param {string} project What project it is
5910
+ * @param {CreateDomainRequest} [createDomainRequest]
5911
+ * @param {*} [options] Override http request option.
5912
+ * @throws {RequiredError}
5913
+ */
5914
+ createDomain(project: string, createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Domain>>;
5915
+ /**
5916
+ * Delete an existing website domain
5917
+ * @summary Delete a website domain
5918
+ * @param {string} project What project it is
5919
+ * @param {string} domain The domain identifier
5920
+ * @param {*} [options] Override http request option.
5921
+ * @throws {RequiredError}
5922
+ */
5923
+ deleteDomain(project: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5924
+ /**
5925
+ * List the domains attached to a website
5926
+ * @summary List website domains
5927
+ * @param {string} project What project it is
5928
+ * @param {*} [options] Override http request option.
5929
+ * @throws {RequiredError}
5930
+ */
5931
+ listDomains(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>>;
5932
+ };
5933
+ /**
5934
+ * WebsiteApi - factory interface
5935
+ * @export
5936
+ */
5937
+ export declare const WebsiteApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5938
+ /**
5939
+ * Create a new website domain
5940
+ * @summary Create a website domain
5941
+ * @param {WebsiteApiCreateDomainRequest} requestParameters Request parameters.
5942
+ * @param {*} [options] Override http request option.
5943
+ * @throws {RequiredError}
5944
+ */
5945
+ createDomain(requestParameters: WebsiteApiCreateDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<Domain>;
5946
+ /**
5947
+ * Delete an existing website domain
5948
+ * @summary Delete a website domain
5949
+ * @param {WebsiteApiDeleteDomainRequest} requestParameters Request parameters.
5950
+ * @param {*} [options] Override http request option.
5951
+ * @throws {RequiredError}
5952
+ */
5953
+ deleteDomain(requestParameters: WebsiteApiDeleteDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5954
+ /**
5955
+ * List the domains attached to a website
5956
+ * @summary List website domains
5957
+ * @param {WebsiteApiListDomainsRequest} requestParameters Request parameters.
5958
+ * @param {*} [options] Override http request option.
5959
+ * @throws {RequiredError}
5960
+ */
5961
+ listDomains(requestParameters: WebsiteApiListDomainsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject>;
5962
+ };
5963
+ /**
5964
+ * Request parameters for createDomain operation in WebsiteApi.
5965
+ * @export
5966
+ * @interface WebsiteApiCreateDomainRequest
5967
+ */
5968
+ export interface WebsiteApiCreateDomainRequest {
5969
+ /**
5970
+ * What project it is
5971
+ * @type {string}
5972
+ * @memberof WebsiteApiCreateDomain
5973
+ */
5974
+ readonly project: string;
5975
+ /**
5976
+ *
5977
+ * @type {CreateDomainRequest}
5978
+ * @memberof WebsiteApiCreateDomain
5979
+ */
5980
+ readonly createDomainRequest?: CreateDomainRequest;
5981
+ }
5982
+ /**
5983
+ * Request parameters for deleteDomain operation in WebsiteApi.
5984
+ * @export
5985
+ * @interface WebsiteApiDeleteDomainRequest
5986
+ */
5987
+ export interface WebsiteApiDeleteDomainRequest {
5988
+ /**
5989
+ * What project it is
5990
+ * @type {string}
5991
+ * @memberof WebsiteApiDeleteDomain
5992
+ */
5993
+ readonly project: string;
5994
+ /**
5995
+ * The domain identifier
5996
+ * @type {string}
5997
+ * @memberof WebsiteApiDeleteDomain
5998
+ */
5999
+ readonly domain: string;
6000
+ }
6001
+ /**
6002
+ * Request parameters for listDomains operation in WebsiteApi.
6003
+ * @export
6004
+ * @interface WebsiteApiListDomainsRequest
6005
+ */
6006
+ export interface WebsiteApiListDomainsRequest {
6007
+ /**
6008
+ * What project it is
6009
+ * @type {string}
6010
+ * @memberof WebsiteApiListDomains
6011
+ */
6012
+ readonly project: string;
6013
+ }
6014
+ /**
6015
+ * WebsiteApi - object-oriented interface
6016
+ * @export
6017
+ * @class WebsiteApi
6018
+ * @extends {BaseAPI}
6019
+ */
6020
+ export declare class WebsiteApi extends BaseAPI {
6021
+ /**
6022
+ * Create a new website domain
6023
+ * @summary Create a website domain
6024
+ * @param {WebsiteApiCreateDomainRequest} requestParameters Request parameters.
6025
+ * @param {*} [options] Override http request option.
6026
+ * @throws {RequiredError}
6027
+ * @memberof WebsiteApi
6028
+ */
6029
+ createDomain(requestParameters: WebsiteApiCreateDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Domain, any>>;
6030
+ /**
6031
+ * Delete an existing website domain
6032
+ * @summary Delete a website domain
6033
+ * @param {WebsiteApiDeleteDomainRequest} requestParameters Request parameters.
6034
+ * @param {*} [options] Override http request option.
6035
+ * @throws {RequiredError}
6036
+ * @memberof WebsiteApi
6037
+ */
6038
+ deleteDomain(requestParameters: WebsiteApiDeleteDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
6039
+ /**
6040
+ * List the domains attached to a website
6041
+ * @summary List website domains
6042
+ * @param {WebsiteApiListDomainsRequest} requestParameters Request parameters.
6043
+ * @param {*} [options] Override http request option.
6044
+ * @throws {RequiredError}
6045
+ * @memberof WebsiteApi
6046
+ */
6047
+ listDomains(requestParameters: WebsiteApiListDomainsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject, any>>;
6048
+ }
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.24.0
7
+ * The version of the OpenAPI document: 0.25.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3741,3 +3741,265 @@ export class SearchApi extends BaseAPI {
3741
3741
  return SearchApiFp(this.configuration).updateSearchRedirect(requestParameters.project, requestParameters.redirectId, requestParameters.updateSearchRedirectRequest, options).then((request) => request(this.axios, this.basePath));
3742
3742
  }
3743
3743
  }
3744
+ /**
3745
+ * WebsiteApi - axios parameter creator
3746
+ * @export
3747
+ */
3748
+ export const WebsiteApiAxiosParamCreator = function (configuration) {
3749
+ return {
3750
+ /**
3751
+ * Create a new website domain
3752
+ * @summary Create a website domain
3753
+ * @param {string} project What project it is
3754
+ * @param {CreateDomainRequest} [createDomainRequest]
3755
+ * @param {*} [options] Override http request option.
3756
+ * @throws {RequiredError}
3757
+ */
3758
+ createDomain: (project_1, createDomainRequest_1, ...args_1) => __awaiter(this, [project_1, createDomainRequest_1, ...args_1], void 0, function* (project, createDomainRequest, options = {}) {
3759
+ // verify required parameter 'project' is not null or undefined
3760
+ assertParamExists('createDomain', 'project', project);
3761
+ const localVarPath = `/v1/website/domains`;
3762
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3763
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3764
+ let baseOptions;
3765
+ if (configuration) {
3766
+ baseOptions = configuration.baseOptions;
3767
+ }
3768
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3769
+ const localVarHeaderParameter = {};
3770
+ const localVarQueryParameter = {};
3771
+ // authentication session-oauth required
3772
+ // oauth required
3773
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
3774
+ // authentication api-key required
3775
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
3776
+ if (project !== undefined) {
3777
+ localVarQueryParameter['project'] = project;
3778
+ }
3779
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3780
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3781
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3782
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3783
+ localVarRequestOptions.data = serializeDataIfNeeded(createDomainRequest, localVarRequestOptions, configuration);
3784
+ return {
3785
+ url: toPathString(localVarUrlObj),
3786
+ options: localVarRequestOptions,
3787
+ };
3788
+ }),
3789
+ /**
3790
+ * Delete an existing website domain
3791
+ * @summary Delete a website domain
3792
+ * @param {string} project What project it is
3793
+ * @param {string} domain The domain identifier
3794
+ * @param {*} [options] Override http request option.
3795
+ * @throws {RequiredError}
3796
+ */
3797
+ deleteDomain: (project_1, domain_1, ...args_1) => __awaiter(this, [project_1, domain_1, ...args_1], void 0, function* (project, domain, options = {}) {
3798
+ // verify required parameter 'project' is not null or undefined
3799
+ assertParamExists('deleteDomain', 'project', project);
3800
+ // verify required parameter 'domain' is not null or undefined
3801
+ assertParamExists('deleteDomain', 'domain', domain);
3802
+ const localVarPath = `/v1/website/domains/{domain}`
3803
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
3804
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3805
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3806
+ let baseOptions;
3807
+ if (configuration) {
3808
+ baseOptions = configuration.baseOptions;
3809
+ }
3810
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
3811
+ const localVarHeaderParameter = {};
3812
+ const localVarQueryParameter = {};
3813
+ // authentication session-oauth required
3814
+ // oauth required
3815
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
3816
+ // authentication api-key required
3817
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
3818
+ if (project !== undefined) {
3819
+ localVarQueryParameter['project'] = project;
3820
+ }
3821
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3822
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3823
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3824
+ return {
3825
+ url: toPathString(localVarUrlObj),
3826
+ options: localVarRequestOptions,
3827
+ };
3828
+ }),
3829
+ /**
3830
+ * List the domains attached to a website
3831
+ * @summary List website domains
3832
+ * @param {string} project What project it is
3833
+ * @param {*} [options] Override http request option.
3834
+ * @throws {RequiredError}
3835
+ */
3836
+ listDomains: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
3837
+ // verify required parameter 'project' is not null or undefined
3838
+ assertParamExists('listDomains', 'project', project);
3839
+ const localVarPath = `/v1/website/domains`;
3840
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3841
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3842
+ let baseOptions;
3843
+ if (configuration) {
3844
+ baseOptions = configuration.baseOptions;
3845
+ }
3846
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3847
+ const localVarHeaderParameter = {};
3848
+ const localVarQueryParameter = {};
3849
+ // authentication session-oauth required
3850
+ // oauth required
3851
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
3852
+ // authentication api-key required
3853
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
3854
+ if (project !== undefined) {
3855
+ localVarQueryParameter['project'] = project;
3856
+ }
3857
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3858
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3859
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3860
+ return {
3861
+ url: toPathString(localVarUrlObj),
3862
+ options: localVarRequestOptions,
3863
+ };
3864
+ }),
3865
+ };
3866
+ };
3867
+ /**
3868
+ * WebsiteApi - functional programming interface
3869
+ * @export
3870
+ */
3871
+ export const WebsiteApiFp = function (configuration) {
3872
+ const localVarAxiosParamCreator = WebsiteApiAxiosParamCreator(configuration);
3873
+ return {
3874
+ /**
3875
+ * Create a new website domain
3876
+ * @summary Create a website domain
3877
+ * @param {string} project What project it is
3878
+ * @param {CreateDomainRequest} [createDomainRequest]
3879
+ * @param {*} [options] Override http request option.
3880
+ * @throws {RequiredError}
3881
+ */
3882
+ createDomain(project, createDomainRequest, options) {
3883
+ return __awaiter(this, void 0, void 0, function* () {
3884
+ var _a, _b, _c;
3885
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createDomain(project, createDomainRequest, options);
3886
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3887
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WebsiteApi.createDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3888
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3889
+ });
3890
+ },
3891
+ /**
3892
+ * Delete an existing website domain
3893
+ * @summary Delete a website domain
3894
+ * @param {string} project What project it is
3895
+ * @param {string} domain The domain identifier
3896
+ * @param {*} [options] Override http request option.
3897
+ * @throws {RequiredError}
3898
+ */
3899
+ deleteDomain(project, domain, options) {
3900
+ return __awaiter(this, void 0, void 0, function* () {
3901
+ var _a, _b, _c;
3902
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDomain(project, domain, options);
3903
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3904
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WebsiteApi.deleteDomain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3905
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3906
+ });
3907
+ },
3908
+ /**
3909
+ * List the domains attached to a website
3910
+ * @summary List website domains
3911
+ * @param {string} project What project it is
3912
+ * @param {*} [options] Override http request option.
3913
+ * @throws {RequiredError}
3914
+ */
3915
+ listDomains(project, options) {
3916
+ return __awaiter(this, void 0, void 0, function* () {
3917
+ var _a, _b, _c;
3918
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listDomains(project, options);
3919
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3920
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WebsiteApi.listDomains']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3921
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3922
+ });
3923
+ },
3924
+ };
3925
+ };
3926
+ /**
3927
+ * WebsiteApi - factory interface
3928
+ * @export
3929
+ */
3930
+ export const WebsiteApiFactory = function (configuration, basePath, axios) {
3931
+ const localVarFp = WebsiteApiFp(configuration);
3932
+ return {
3933
+ /**
3934
+ * Create a new website domain
3935
+ * @summary Create a website domain
3936
+ * @param {WebsiteApiCreateDomainRequest} requestParameters Request parameters.
3937
+ * @param {*} [options] Override http request option.
3938
+ * @throws {RequiredError}
3939
+ */
3940
+ createDomain(requestParameters, options) {
3941
+ return localVarFp.createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
3942
+ },
3943
+ /**
3944
+ * Delete an existing website domain
3945
+ * @summary Delete a website domain
3946
+ * @param {WebsiteApiDeleteDomainRequest} requestParameters Request parameters.
3947
+ * @param {*} [options] Override http request option.
3948
+ * @throws {RequiredError}
3949
+ */
3950
+ deleteDomain(requestParameters, options) {
3951
+ return localVarFp.deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(axios, basePath));
3952
+ },
3953
+ /**
3954
+ * List the domains attached to a website
3955
+ * @summary List website domains
3956
+ * @param {WebsiteApiListDomainsRequest} requestParameters Request parameters.
3957
+ * @param {*} [options] Override http request option.
3958
+ * @throws {RequiredError}
3959
+ */
3960
+ listDomains(requestParameters, options) {
3961
+ return localVarFp.listDomains(requestParameters.project, options).then((request) => request(axios, basePath));
3962
+ },
3963
+ };
3964
+ };
3965
+ /**
3966
+ * WebsiteApi - object-oriented interface
3967
+ * @export
3968
+ * @class WebsiteApi
3969
+ * @extends {BaseAPI}
3970
+ */
3971
+ export class WebsiteApi extends BaseAPI {
3972
+ /**
3973
+ * Create a new website domain
3974
+ * @summary Create a website domain
3975
+ * @param {WebsiteApiCreateDomainRequest} requestParameters Request parameters.
3976
+ * @param {*} [options] Override http request option.
3977
+ * @throws {RequiredError}
3978
+ * @memberof WebsiteApi
3979
+ */
3980
+ createDomain(requestParameters, options) {
3981
+ return WebsiteApiFp(this.configuration).createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
3982
+ }
3983
+ /**
3984
+ * Delete an existing website domain
3985
+ * @summary Delete a website domain
3986
+ * @param {WebsiteApiDeleteDomainRequest} requestParameters Request parameters.
3987
+ * @param {*} [options] Override http request option.
3988
+ * @throws {RequiredError}
3989
+ * @memberof WebsiteApi
3990
+ */
3991
+ deleteDomain(requestParameters, options) {
3992
+ return WebsiteApiFp(this.configuration).deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
3993
+ }
3994
+ /**
3995
+ * List the domains attached to a website
3996
+ * @summary List website domains
3997
+ * @param {WebsiteApiListDomainsRequest} requestParameters Request parameters.
3998
+ * @param {*} [options] Override http request option.
3999
+ * @throws {RequiredError}
4000
+ * @memberof WebsiteApi
4001
+ */
4002
+ listDomains(requestParameters, options) {
4003
+ return WebsiteApiFp(this.configuration).listDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
4004
+ }
4005
+ }
@@ -2,7 +2,7 @@
2
2
  * Website API
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.24.0
5
+ * The version of the OpenAPI document: 0.25.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.24.0
7
+ * The version of the OpenAPI document: 0.25.1
8
8
  *
9
9
  *
10
10
  * 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.24.0
5
+ * The version of the OpenAPI document: 0.25.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.24.0
7
+ * The version of the OpenAPI document: 0.25.1
8
8
  *
9
9
  *
10
10
  * 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.24.0
5
+ * The version of the OpenAPI document: 0.25.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.24.0
7
+ * The version of the OpenAPI document: 0.25.1
8
8
  *
9
9
  *
10
10
  * 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.24.0
5
+ * The version of the OpenAPI document: 0.25.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.24.0
7
+ * The version of the OpenAPI document: 0.25.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).