@teemill/website 0.25.1 → 0.26.0

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.25.1
5
+ * The version of the OpenAPI document: 0.26.0
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
  *
@@ -4969,6 +4969,14 @@ export declare class PagesApi extends BaseAPI {
4969
4969
  * @export
4970
4970
  */
4971
4971
  export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration) => {
4972
+ /**
4973
+ * Authorize a PayPal payment account
4974
+ * @summary Authorize PayPal
4975
+ * @param {string} project What project it is
4976
+ * @param {*} [options] Override http request option.
4977
+ * @throws {RequiredError}
4978
+ */
4979
+ authorizePayPal: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4972
4980
  /**
4973
4981
  * Authorize a Stripe payment account
4974
4982
  * @summary Authorize Stripe
@@ -4977,6 +4985,14 @@ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration
4977
4985
  * @throws {RequiredError}
4978
4986
  */
4979
4987
  authorizeStripe: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4988
+ /**
4989
+ * Deauthorize a PayPal payment account
4990
+ * @summary Deauthorize PayPal
4991
+ * @param {string} project What project it is
4992
+ * @param {*} [options] Override http request option.
4993
+ * @throws {RequiredError}
4994
+ */
4995
+ deauthorizePayPal: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4980
4996
  /**
4981
4997
  * Deauthorize a Stripe payment account
4982
4998
  * @summary Deauthorize Stripe
@@ -4985,6 +5001,14 @@ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration
4985
5001
  * @throws {RequiredError}
4986
5002
  */
4987
5003
  deauthorizeStripe: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5004
+ /**
5005
+ * Get the PayPal payment account information for the project
5006
+ * @summary Get PayPal Payment Account
5007
+ * @param {string} project What project it is
5008
+ * @param {*} [options] Override http request option.
5009
+ * @throws {RequiredError}
5010
+ */
5011
+ getPayPalPaymentAccount: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4988
5012
  /**
4989
5013
  * Get the Stripe payment account for the project
4990
5014
  * @summary Get Stripe Payment Account
@@ -4999,6 +5023,14 @@ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration
4999
5023
  * @export
5000
5024
  */
5001
5025
  export declare const PaymentApiFp: (configuration?: Configuration) => {
5026
+ /**
5027
+ * Authorize a PayPal payment account
5028
+ * @summary Authorize PayPal
5029
+ * @param {string} project What project it is
5030
+ * @param {*} [options] Override http request option.
5031
+ * @throws {RequiredError}
5032
+ */
5033
+ authorizePayPal(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject1>>;
5002
5034
  /**
5003
5035
  * Authorize a Stripe payment account
5004
5036
  * @summary Authorize Stripe
@@ -5007,6 +5039,14 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
5007
5039
  * @throws {RequiredError}
5008
5040
  */
5009
5041
  authorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject1>>;
5042
+ /**
5043
+ * Deauthorize a PayPal payment account
5044
+ * @summary Deauthorize PayPal
5045
+ * @param {string} project What project it is
5046
+ * @param {*} [options] Override http request option.
5047
+ * @throws {RequiredError}
5048
+ */
5049
+ deauthorizePayPal(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5010
5050
  /**
5011
5051
  * Deauthorize a Stripe payment account
5012
5052
  * @summary Deauthorize Stripe
@@ -5015,6 +5055,14 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
5015
5055
  * @throws {RequiredError}
5016
5056
  */
5017
5057
  deauthorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5058
+ /**
5059
+ * Get the PayPal payment account information for the project
5060
+ * @summary Get PayPal Payment Account
5061
+ * @param {string} project What project it is
5062
+ * @param {*} [options] Override http request option.
5063
+ * @throws {RequiredError}
5064
+ */
5065
+ getPayPalPaymentAccount(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentAccount>>;
5018
5066
  /**
5019
5067
  * Get the Stripe payment account for the project
5020
5068
  * @summary Get Stripe Payment Account
@@ -5029,6 +5077,14 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
5029
5077
  * @export
5030
5078
  */
5031
5079
  export declare const PaymentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5080
+ /**
5081
+ * Authorize a PayPal payment account
5082
+ * @summary Authorize PayPal
5083
+ * @param {PaymentApiAuthorizePayPalRequest} requestParameters Request parameters.
5084
+ * @param {*} [options] Override http request option.
5085
+ * @throws {RequiredError}
5086
+ */
5087
+ authorizePayPal(requestParameters: PaymentApiAuthorizePayPalRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject1>;
5032
5088
  /**
5033
5089
  * Authorize a Stripe payment account
5034
5090
  * @summary Authorize Stripe
@@ -5037,6 +5093,14 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
5037
5093
  * @throws {RequiredError}
5038
5094
  */
5039
5095
  authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject1>;
5096
+ /**
5097
+ * Deauthorize a PayPal payment account
5098
+ * @summary Deauthorize PayPal
5099
+ * @param {PaymentApiDeauthorizePayPalRequest} requestParameters Request parameters.
5100
+ * @param {*} [options] Override http request option.
5101
+ * @throws {RequiredError}
5102
+ */
5103
+ deauthorizePayPal(requestParameters: PaymentApiDeauthorizePayPalRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5040
5104
  /**
5041
5105
  * Deauthorize a Stripe payment account
5042
5106
  * @summary Deauthorize Stripe
@@ -5045,6 +5109,14 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
5045
5109
  * @throws {RequiredError}
5046
5110
  */
5047
5111
  deauthorizeStripe(requestParameters: PaymentApiDeauthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5112
+ /**
5113
+ * Get the PayPal payment account information for the project
5114
+ * @summary Get PayPal Payment Account
5115
+ * @param {PaymentApiGetPayPalPaymentAccountRequest} requestParameters Request parameters.
5116
+ * @param {*} [options] Override http request option.
5117
+ * @throws {RequiredError}
5118
+ */
5119
+ getPayPalPaymentAccount(requestParameters: PaymentApiGetPayPalPaymentAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentAccount>;
5048
5120
  /**
5049
5121
  * Get the Stripe payment account for the project
5050
5122
  * @summary Get Stripe Payment Account
@@ -5054,6 +5126,19 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
5054
5126
  */
5055
5127
  getStripePaymentAccount(requestParameters: PaymentApiGetStripePaymentAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentAccount>;
5056
5128
  };
5129
+ /**
5130
+ * Request parameters for authorizePayPal operation in PaymentApi.
5131
+ * @export
5132
+ * @interface PaymentApiAuthorizePayPalRequest
5133
+ */
5134
+ export interface PaymentApiAuthorizePayPalRequest {
5135
+ /**
5136
+ * What project it is
5137
+ * @type {string}
5138
+ * @memberof PaymentApiAuthorizePayPal
5139
+ */
5140
+ readonly project: string;
5141
+ }
5057
5142
  /**
5058
5143
  * Request parameters for authorizeStripe operation in PaymentApi.
5059
5144
  * @export
@@ -5067,6 +5152,19 @@ export interface PaymentApiAuthorizeStripeRequest {
5067
5152
  */
5068
5153
  readonly project: string;
5069
5154
  }
5155
+ /**
5156
+ * Request parameters for deauthorizePayPal operation in PaymentApi.
5157
+ * @export
5158
+ * @interface PaymentApiDeauthorizePayPalRequest
5159
+ */
5160
+ export interface PaymentApiDeauthorizePayPalRequest {
5161
+ /**
5162
+ * What project it is
5163
+ * @type {string}
5164
+ * @memberof PaymentApiDeauthorizePayPal
5165
+ */
5166
+ readonly project: string;
5167
+ }
5070
5168
  /**
5071
5169
  * Request parameters for deauthorizeStripe operation in PaymentApi.
5072
5170
  * @export
@@ -5080,6 +5178,19 @@ export interface PaymentApiDeauthorizeStripeRequest {
5080
5178
  */
5081
5179
  readonly project: string;
5082
5180
  }
5181
+ /**
5182
+ * Request parameters for getPayPalPaymentAccount operation in PaymentApi.
5183
+ * @export
5184
+ * @interface PaymentApiGetPayPalPaymentAccountRequest
5185
+ */
5186
+ export interface PaymentApiGetPayPalPaymentAccountRequest {
5187
+ /**
5188
+ * What project it is
5189
+ * @type {string}
5190
+ * @memberof PaymentApiGetPayPalPaymentAccount
5191
+ */
5192
+ readonly project: string;
5193
+ }
5083
5194
  /**
5084
5195
  * Request parameters for getStripePaymentAccount operation in PaymentApi.
5085
5196
  * @export
@@ -5100,6 +5211,15 @@ export interface PaymentApiGetStripePaymentAccountRequest {
5100
5211
  * @extends {BaseAPI}
5101
5212
  */
5102
5213
  export declare class PaymentApi extends BaseAPI {
5214
+ /**
5215
+ * Authorize a PayPal payment account
5216
+ * @summary Authorize PayPal
5217
+ * @param {PaymentApiAuthorizePayPalRequest} requestParameters Request parameters.
5218
+ * @param {*} [options] Override http request option.
5219
+ * @throws {RequiredError}
5220
+ * @memberof PaymentApi
5221
+ */
5222
+ authorizePayPal(requestParameters: PaymentApiAuthorizePayPalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject1, any>>;
5103
5223
  /**
5104
5224
  * Authorize a Stripe payment account
5105
5225
  * @summary Authorize Stripe
@@ -5109,6 +5229,15 @@ export declare class PaymentApi extends BaseAPI {
5109
5229
  * @memberof PaymentApi
5110
5230
  */
5111
5231
  authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject1, any>>;
5232
+ /**
5233
+ * Deauthorize a PayPal payment account
5234
+ * @summary Deauthorize PayPal
5235
+ * @param {PaymentApiDeauthorizePayPalRequest} requestParameters Request parameters.
5236
+ * @param {*} [options] Override http request option.
5237
+ * @throws {RequiredError}
5238
+ * @memberof PaymentApi
5239
+ */
5240
+ deauthorizePayPal(requestParameters: PaymentApiDeauthorizePayPalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
5112
5241
  /**
5113
5242
  * Deauthorize a Stripe payment account
5114
5243
  * @summary Deauthorize Stripe
@@ -5118,6 +5247,15 @@ export declare class PaymentApi extends BaseAPI {
5118
5247
  * @memberof PaymentApi
5119
5248
  */
5120
5249
  deauthorizeStripe(requestParameters: PaymentApiDeauthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
5250
+ /**
5251
+ * Get the PayPal payment account information for the project
5252
+ * @summary Get PayPal Payment Account
5253
+ * @param {PaymentApiGetPayPalPaymentAccountRequest} requestParameters Request parameters.
5254
+ * @param {*} [options] Override http request option.
5255
+ * @throws {RequiredError}
5256
+ * @memberof PaymentApi
5257
+ */
5258
+ getPayPalPaymentAccount(requestParameters: PaymentApiGetPayPalPaymentAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentAccount, any>>;
5121
5259
  /**
5122
5260
  * Get the Stripe payment account for the project
5123
5261
  * @summary Get Stripe Payment Account
@@ -5897,6 +6035,15 @@ export declare const WebsiteApiAxiosParamCreator: (configuration?: Configuration
5897
6035
  * @throws {RequiredError}
5898
6036
  */
5899
6037
  listDomains: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6038
+ /**
6039
+ * Updated a websites base domain
6040
+ * @summary Update base domain
6041
+ * @param {string} project What project it is
6042
+ * @param {CreateDomainRequest} [createDomainRequest]
6043
+ * @param {*} [options] Override http request option.
6044
+ * @throws {RequiredError}
6045
+ */
6046
+ updateBaseDomain: (project: string, createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5900
6047
  };
5901
6048
  /**
5902
6049
  * WebsiteApi - functional programming interface
@@ -5929,6 +6076,15 @@ export declare const WebsiteApiFp: (configuration?: Configuration) => {
5929
6076
  * @throws {RequiredError}
5930
6077
  */
5931
6078
  listDomains(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>>;
6079
+ /**
6080
+ * Updated a websites base domain
6081
+ * @summary Update base domain
6082
+ * @param {string} project What project it is
6083
+ * @param {CreateDomainRequest} [createDomainRequest]
6084
+ * @param {*} [options] Override http request option.
6085
+ * @throws {RequiredError}
6086
+ */
6087
+ updateBaseDomain(project: string, createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5932
6088
  };
5933
6089
  /**
5934
6090
  * WebsiteApi - factory interface
@@ -5959,6 +6115,14 @@ export declare const WebsiteApiFactory: (configuration?: Configuration, basePath
5959
6115
  * @throws {RequiredError}
5960
6116
  */
5961
6117
  listDomains(requestParameters: WebsiteApiListDomainsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject>;
6118
+ /**
6119
+ * Updated a websites base domain
6120
+ * @summary Update base domain
6121
+ * @param {WebsiteApiUpdateBaseDomainRequest} requestParameters Request parameters.
6122
+ * @param {*} [options] Override http request option.
6123
+ * @throws {RequiredError}
6124
+ */
6125
+ updateBaseDomain(requestParameters: WebsiteApiUpdateBaseDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5962
6126
  };
5963
6127
  /**
5964
6128
  * Request parameters for createDomain operation in WebsiteApi.
@@ -6011,6 +6175,25 @@ export interface WebsiteApiListDomainsRequest {
6011
6175
  */
6012
6176
  readonly project: string;
6013
6177
  }
6178
+ /**
6179
+ * Request parameters for updateBaseDomain operation in WebsiteApi.
6180
+ * @export
6181
+ * @interface WebsiteApiUpdateBaseDomainRequest
6182
+ */
6183
+ export interface WebsiteApiUpdateBaseDomainRequest {
6184
+ /**
6185
+ * What project it is
6186
+ * @type {string}
6187
+ * @memberof WebsiteApiUpdateBaseDomain
6188
+ */
6189
+ readonly project: string;
6190
+ /**
6191
+ *
6192
+ * @type {CreateDomainRequest}
6193
+ * @memberof WebsiteApiUpdateBaseDomain
6194
+ */
6195
+ readonly createDomainRequest?: CreateDomainRequest;
6196
+ }
6014
6197
  /**
6015
6198
  * WebsiteApi - object-oriented interface
6016
6199
  * @export
@@ -6045,4 +6228,13 @@ export declare class WebsiteApi extends BaseAPI {
6045
6228
  * @memberof WebsiteApi
6046
6229
  */
6047
6230
  listDomains(requestParameters: WebsiteApiListDomainsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject, any>>;
6231
+ /**
6232
+ * Updated a websites base domain
6233
+ * @summary Update base domain
6234
+ * @param {WebsiteApiUpdateBaseDomainRequest} requestParameters Request parameters.
6235
+ * @param {*} [options] Override http request option.
6236
+ * @throws {RequiredError}
6237
+ * @memberof WebsiteApi
6238
+ */
6239
+ updateBaseDomain(requestParameters: WebsiteApiUpdateBaseDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
6048
6240
  }