@teemill/website 0.25.3 → 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.3
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).
@@ -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
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.25.3
7
+ * The version of the OpenAPI document: 0.26.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2532,6 +2532,42 @@ export class PagesApi extends BaseAPI {
2532
2532
  */
2533
2533
  export const PaymentApiAxiosParamCreator = function (configuration) {
2534
2534
  return {
2535
+ /**
2536
+ * Authorize a PayPal payment account
2537
+ * @summary Authorize PayPal
2538
+ * @param {string} project What project it is
2539
+ * @param {*} [options] Override http request option.
2540
+ * @throws {RequiredError}
2541
+ */
2542
+ authorizePayPal: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
2543
+ // verify required parameter 'project' is not null or undefined
2544
+ assertParamExists('authorizePayPal', 'project', project);
2545
+ const localVarPath = `/v1/website/payment/paypal/authorize`;
2546
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2547
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2548
+ let baseOptions;
2549
+ if (configuration) {
2550
+ baseOptions = configuration.baseOptions;
2551
+ }
2552
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2553
+ const localVarHeaderParameter = {};
2554
+ const localVarQueryParameter = {};
2555
+ // authentication session-oauth required
2556
+ // oauth required
2557
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
2558
+ // authentication api-key required
2559
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2560
+ if (project !== undefined) {
2561
+ localVarQueryParameter['project'] = project;
2562
+ }
2563
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2564
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2565
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2566
+ return {
2567
+ url: toPathString(localVarUrlObj),
2568
+ options: localVarRequestOptions,
2569
+ };
2570
+ }),
2535
2571
  /**
2536
2572
  * Authorize a Stripe payment account
2537
2573
  * @summary Authorize Stripe
@@ -2568,6 +2604,42 @@ export const PaymentApiAxiosParamCreator = function (configuration) {
2568
2604
  options: localVarRequestOptions,
2569
2605
  };
2570
2606
  }),
2607
+ /**
2608
+ * Deauthorize a PayPal payment account
2609
+ * @summary Deauthorize PayPal
2610
+ * @param {string} project What project it is
2611
+ * @param {*} [options] Override http request option.
2612
+ * @throws {RequiredError}
2613
+ */
2614
+ deauthorizePayPal: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
2615
+ // verify required parameter 'project' is not null or undefined
2616
+ assertParamExists('deauthorizePayPal', 'project', project);
2617
+ const localVarPath = `/v1/website/payment/paypal/deauthorize`;
2618
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2619
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2620
+ let baseOptions;
2621
+ if (configuration) {
2622
+ baseOptions = configuration.baseOptions;
2623
+ }
2624
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
2625
+ const localVarHeaderParameter = {};
2626
+ const localVarQueryParameter = {};
2627
+ // authentication session-oauth required
2628
+ // oauth required
2629
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
2630
+ // authentication api-key required
2631
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2632
+ if (project !== undefined) {
2633
+ localVarQueryParameter['project'] = project;
2634
+ }
2635
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2636
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2637
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2638
+ return {
2639
+ url: toPathString(localVarUrlObj),
2640
+ options: localVarRequestOptions,
2641
+ };
2642
+ }),
2571
2643
  /**
2572
2644
  * Deauthorize a Stripe payment account
2573
2645
  * @summary Deauthorize Stripe
@@ -2604,6 +2676,42 @@ export const PaymentApiAxiosParamCreator = function (configuration) {
2604
2676
  options: localVarRequestOptions,
2605
2677
  };
2606
2678
  }),
2679
+ /**
2680
+ * Get the PayPal payment account information for the project
2681
+ * @summary Get PayPal Payment Account
2682
+ * @param {string} project What project it is
2683
+ * @param {*} [options] Override http request option.
2684
+ * @throws {RequiredError}
2685
+ */
2686
+ getPayPalPaymentAccount: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
2687
+ // verify required parameter 'project' is not null or undefined
2688
+ assertParamExists('getPayPalPaymentAccount', 'project', project);
2689
+ const localVarPath = `/v1/website/payment/paypal`;
2690
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2691
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2692
+ let baseOptions;
2693
+ if (configuration) {
2694
+ baseOptions = configuration.baseOptions;
2695
+ }
2696
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2697
+ const localVarHeaderParameter = {};
2698
+ const localVarQueryParameter = {};
2699
+ // authentication session-oauth required
2700
+ // oauth required
2701
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
2702
+ // authentication api-key required
2703
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2704
+ if (project !== undefined) {
2705
+ localVarQueryParameter['project'] = project;
2706
+ }
2707
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2708
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2709
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2710
+ return {
2711
+ url: toPathString(localVarUrlObj),
2712
+ options: localVarRequestOptions,
2713
+ };
2714
+ }),
2607
2715
  /**
2608
2716
  * Get the Stripe payment account for the project
2609
2717
  * @summary Get Stripe Payment Account
@@ -2649,6 +2757,22 @@ export const PaymentApiAxiosParamCreator = function (configuration) {
2649
2757
  export const PaymentApiFp = function (configuration) {
2650
2758
  const localVarAxiosParamCreator = PaymentApiAxiosParamCreator(configuration);
2651
2759
  return {
2760
+ /**
2761
+ * Authorize a PayPal payment account
2762
+ * @summary Authorize PayPal
2763
+ * @param {string} project What project it is
2764
+ * @param {*} [options] Override http request option.
2765
+ * @throws {RequiredError}
2766
+ */
2767
+ authorizePayPal(project, options) {
2768
+ return __awaiter(this, void 0, void 0, function* () {
2769
+ var _a, _b, _c;
2770
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.authorizePayPal(project, options);
2771
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2772
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentApi.authorizePayPal']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2773
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2774
+ });
2775
+ },
2652
2776
  /**
2653
2777
  * Authorize a Stripe payment account
2654
2778
  * @summary Authorize Stripe
@@ -2665,6 +2789,22 @@ export const PaymentApiFp = function (configuration) {
2665
2789
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2666
2790
  });
2667
2791
  },
2792
+ /**
2793
+ * Deauthorize a PayPal payment account
2794
+ * @summary Deauthorize PayPal
2795
+ * @param {string} project What project it is
2796
+ * @param {*} [options] Override http request option.
2797
+ * @throws {RequiredError}
2798
+ */
2799
+ deauthorizePayPal(project, options) {
2800
+ return __awaiter(this, void 0, void 0, function* () {
2801
+ var _a, _b, _c;
2802
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deauthorizePayPal(project, options);
2803
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2804
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentApi.deauthorizePayPal']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2805
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2806
+ });
2807
+ },
2668
2808
  /**
2669
2809
  * Deauthorize a Stripe payment account
2670
2810
  * @summary Deauthorize Stripe
@@ -2681,6 +2821,22 @@ export const PaymentApiFp = function (configuration) {
2681
2821
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2682
2822
  });
2683
2823
  },
2824
+ /**
2825
+ * Get the PayPal payment account information for the project
2826
+ * @summary Get PayPal Payment Account
2827
+ * @param {string} project What project it is
2828
+ * @param {*} [options] Override http request option.
2829
+ * @throws {RequiredError}
2830
+ */
2831
+ getPayPalPaymentAccount(project, options) {
2832
+ return __awaiter(this, void 0, void 0, function* () {
2833
+ var _a, _b, _c;
2834
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPayPalPaymentAccount(project, options);
2835
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2836
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentApi.getPayPalPaymentAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2837
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2838
+ });
2839
+ },
2684
2840
  /**
2685
2841
  * Get the Stripe payment account for the project
2686
2842
  * @summary Get Stripe Payment Account
@@ -2706,6 +2862,16 @@ export const PaymentApiFp = function (configuration) {
2706
2862
  export const PaymentApiFactory = function (configuration, basePath, axios) {
2707
2863
  const localVarFp = PaymentApiFp(configuration);
2708
2864
  return {
2865
+ /**
2866
+ * Authorize a PayPal payment account
2867
+ * @summary Authorize PayPal
2868
+ * @param {PaymentApiAuthorizePayPalRequest} requestParameters Request parameters.
2869
+ * @param {*} [options] Override http request option.
2870
+ * @throws {RequiredError}
2871
+ */
2872
+ authorizePayPal(requestParameters, options) {
2873
+ return localVarFp.authorizePayPal(requestParameters.project, options).then((request) => request(axios, basePath));
2874
+ },
2709
2875
  /**
2710
2876
  * Authorize a Stripe payment account
2711
2877
  * @summary Authorize Stripe
@@ -2716,6 +2882,16 @@ export const PaymentApiFactory = function (configuration, basePath, axios) {
2716
2882
  authorizeStripe(requestParameters, options) {
2717
2883
  return localVarFp.authorizeStripe(requestParameters.project, options).then((request) => request(axios, basePath));
2718
2884
  },
2885
+ /**
2886
+ * Deauthorize a PayPal payment account
2887
+ * @summary Deauthorize PayPal
2888
+ * @param {PaymentApiDeauthorizePayPalRequest} requestParameters Request parameters.
2889
+ * @param {*} [options] Override http request option.
2890
+ * @throws {RequiredError}
2891
+ */
2892
+ deauthorizePayPal(requestParameters, options) {
2893
+ return localVarFp.deauthorizePayPal(requestParameters.project, options).then((request) => request(axios, basePath));
2894
+ },
2719
2895
  /**
2720
2896
  * Deauthorize a Stripe payment account
2721
2897
  * @summary Deauthorize Stripe
@@ -2726,6 +2902,16 @@ export const PaymentApiFactory = function (configuration, basePath, axios) {
2726
2902
  deauthorizeStripe(requestParameters, options) {
2727
2903
  return localVarFp.deauthorizeStripe(requestParameters.project, options).then((request) => request(axios, basePath));
2728
2904
  },
2905
+ /**
2906
+ * Get the PayPal payment account information for the project
2907
+ * @summary Get PayPal Payment Account
2908
+ * @param {PaymentApiGetPayPalPaymentAccountRequest} requestParameters Request parameters.
2909
+ * @param {*} [options] Override http request option.
2910
+ * @throws {RequiredError}
2911
+ */
2912
+ getPayPalPaymentAccount(requestParameters, options) {
2913
+ return localVarFp.getPayPalPaymentAccount(requestParameters.project, options).then((request) => request(axios, basePath));
2914
+ },
2729
2915
  /**
2730
2916
  * Get the Stripe payment account for the project
2731
2917
  * @summary Get Stripe Payment Account
@@ -2745,6 +2931,17 @@ export const PaymentApiFactory = function (configuration, basePath, axios) {
2745
2931
  * @extends {BaseAPI}
2746
2932
  */
2747
2933
  export class PaymentApi extends BaseAPI {
2934
+ /**
2935
+ * Authorize a PayPal payment account
2936
+ * @summary Authorize PayPal
2937
+ * @param {PaymentApiAuthorizePayPalRequest} requestParameters Request parameters.
2938
+ * @param {*} [options] Override http request option.
2939
+ * @throws {RequiredError}
2940
+ * @memberof PaymentApi
2941
+ */
2942
+ authorizePayPal(requestParameters, options) {
2943
+ return PaymentApiFp(this.configuration).authorizePayPal(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2944
+ }
2748
2945
  /**
2749
2946
  * Authorize a Stripe payment account
2750
2947
  * @summary Authorize Stripe
@@ -2756,6 +2953,17 @@ export class PaymentApi extends BaseAPI {
2756
2953
  authorizeStripe(requestParameters, options) {
2757
2954
  return PaymentApiFp(this.configuration).authorizeStripe(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2758
2955
  }
2956
+ /**
2957
+ * Deauthorize a PayPal payment account
2958
+ * @summary Deauthorize PayPal
2959
+ * @param {PaymentApiDeauthorizePayPalRequest} requestParameters Request parameters.
2960
+ * @param {*} [options] Override http request option.
2961
+ * @throws {RequiredError}
2962
+ * @memberof PaymentApi
2963
+ */
2964
+ deauthorizePayPal(requestParameters, options) {
2965
+ return PaymentApiFp(this.configuration).deauthorizePayPal(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2966
+ }
2759
2967
  /**
2760
2968
  * Deauthorize a Stripe payment account
2761
2969
  * @summary Deauthorize Stripe
@@ -2767,6 +2975,17 @@ export class PaymentApi extends BaseAPI {
2767
2975
  deauthorizeStripe(requestParameters, options) {
2768
2976
  return PaymentApiFp(this.configuration).deauthorizeStripe(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2769
2977
  }
2978
+ /**
2979
+ * Get the PayPal payment account information for the project
2980
+ * @summary Get PayPal Payment Account
2981
+ * @param {PaymentApiGetPayPalPaymentAccountRequest} requestParameters Request parameters.
2982
+ * @param {*} [options] Override http request option.
2983
+ * @throws {RequiredError}
2984
+ * @memberof PaymentApi
2985
+ */
2986
+ getPayPalPaymentAccount(requestParameters, options) {
2987
+ return PaymentApiFp(this.configuration).getPayPalPaymentAccount(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
2988
+ }
2770
2989
  /**
2771
2990
  * Get the Stripe payment account for the project
2772
2991
  * @summary Get Stripe Payment Account
@@ -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.3
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).
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.25.3
7
+ * The version of the OpenAPI document: 0.26.0
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.25.3
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).
@@ -4,7 +4,7 @@
4
4
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.25.3
7
+ * The version of the OpenAPI document: 0.26.0
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.25.3
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).
@@ -4,7 +4,7 @@
4
4
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.25.3
7
+ * The version of the OpenAPI document: 0.26.0
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.25.3
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).
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.25.3
7
+ * The version of the OpenAPI document: 0.26.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.3
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).
package/dist/index.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.3
8
+ * The version of the OpenAPI document: 0.26.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).