@teemill/website 0.1.2 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/.openapi-generator/FILES +7 -10
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +3 -3
  4. package/api.ts +535 -0
  5. package/base.ts +86 -0
  6. package/common.ts +150 -0
  7. package/configuration.ts +110 -0
  8. package/dist/api.d.ts +316 -0
  9. package/dist/api.js +371 -0
  10. package/dist/base.d.ts +66 -0
  11. package/dist/base.js +65 -0
  12. package/dist/common.d.ts +65 -0
  13. package/dist/common.js +161 -0
  14. package/dist/configuration.d.ts +91 -0
  15. package/dist/configuration.js +43 -0
  16. package/dist/esm/api.d.ts +316 -0
  17. package/dist/esm/api.js +364 -0
  18. package/dist/esm/base.d.ts +66 -0
  19. package/dist/esm/base.js +60 -0
  20. package/dist/esm/common.d.ts +65 -0
  21. package/dist/esm/common.js +149 -0
  22. package/dist/esm/configuration.d.ts +91 -0
  23. package/dist/esm/configuration.js +39 -0
  24. package/dist/esm/index.d.ts +13 -0
  25. package/dist/esm/index.js +15 -0
  26. package/dist/index.d.ts +13 -3
  27. package/dist/index.js +15 -5
  28. package/git_push.sh +57 -0
  29. package/index.ts +18 -0
  30. package/package.json +18 -4
  31. package/tsconfig.esm.json +7 -0
  32. package/tsconfig.json +4 -6
  33. package/dist/apis/ShippingMethodsApi.d.ts +0 -96
  34. package/dist/apis/ShippingMethodsApi.js +0 -386
  35. package/dist/apis/index.d.ts +0 -1
  36. package/dist/apis/index.js +0 -19
  37. package/dist/models/ApiError.d.ts +0 -37
  38. package/dist/models/ApiError.js +0 -53
  39. package/dist/models/Price.d.ts +0 -37
  40. package/dist/models/Price.js +0 -52
  41. package/dist/models/ShippingMethod.d.ts +0 -56
  42. package/dist/models/ShippingMethod.js +0 -59
  43. package/dist/models/ShippingMethods.d.ts +0 -38
  44. package/dist/models/ShippingMethods.js +0 -54
  45. package/dist/models/UpdateShippingMethodRequest.d.ts +0 -44
  46. package/dist/models/UpdateShippingMethodRequest.js +0 -55
  47. package/dist/models/index.d.ts +0 -5
  48. package/dist/models/index.js +0 -23
  49. package/dist/runtime.d.ts +0 -187
  50. package/dist/runtime.js +0 -565
  51. package/src/apis/ShippingMethodsApi.ts +0 -337
  52. package/src/apis/index.ts +0 -3
  53. package/src/index.ts +0 -5
  54. package/src/models/ApiError.ts +0 -74
  55. package/src/models/Price.ts +0 -73
  56. package/src/models/ShippingMethod.ts +0 -104
  57. package/src/models/ShippingMethods.ts +0 -81
  58. package/src/models/UpdateShippingMethodRequest.ts +0 -88
  59. package/src/models/index.ts +0 -7
  60. package/src/runtime.ts +0 -441
package/common.ts ADDED
@@ -0,0 +1,150 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Website API
5
+ * Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.1.5
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import type { Configuration } from "./configuration";
17
+ import type { RequestArgs } from "./base";
18
+ import type { AxiosInstance, AxiosResponse } from 'axios';
19
+ import { RequiredError } from "./base";
20
+
21
+ /**
22
+ *
23
+ * @export
24
+ */
25
+ export const DUMMY_BASE_URL = 'https://example.com'
26
+
27
+ /**
28
+ *
29
+ * @throws {RequiredError}
30
+ * @export
31
+ */
32
+ export const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {
33
+ if (paramValue === null || paramValue === undefined) {
34
+ throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
35
+ }
36
+ }
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ */
42
+ export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {
43
+ if (configuration && configuration.apiKey) {
44
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
45
+ ? await configuration.apiKey(keyParamName)
46
+ : await configuration.apiKey;
47
+ object[keyParamName] = localVarApiKeyValue;
48
+ }
49
+ }
50
+
51
+ /**
52
+ *
53
+ * @export
54
+ */
55
+ export const setBasicAuthToObject = function (object: any, configuration?: Configuration) {
56
+ if (configuration && (configuration.username || configuration.password)) {
57
+ object["auth"] = { username: configuration.username, password: configuration.password };
58
+ }
59
+ }
60
+
61
+ /**
62
+ *
63
+ * @export
64
+ */
65
+ export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {
66
+ if (configuration && configuration.accessToken) {
67
+ const accessToken = typeof configuration.accessToken === 'function'
68
+ ? await configuration.accessToken()
69
+ : await configuration.accessToken;
70
+ object["Authorization"] = "Bearer " + accessToken;
71
+ }
72
+ }
73
+
74
+ /**
75
+ *
76
+ * @export
77
+ */
78
+ export const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {
79
+ if (configuration && configuration.accessToken) {
80
+ const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
81
+ ? await configuration.accessToken(name, scopes)
82
+ : await configuration.accessToken;
83
+ object["Authorization"] = "Bearer " + localVarAccessTokenValue;
84
+ }
85
+ }
86
+
87
+ function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
88
+ if (parameter == null) return;
89
+ if (typeof parameter === "object") {
90
+ if (Array.isArray(parameter)) {
91
+ (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key !== '' ? `${key}[]` : key));
92
+ }
93
+ else {
94
+ Object.keys(parameter).forEach(currentKey =>
95
+ setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)
96
+ );
97
+ }
98
+ }
99
+ else {
100
+ if (urlSearchParams.has(key)) {
101
+ urlSearchParams.append(key, parameter);
102
+ }
103
+ else {
104
+ urlSearchParams.set(key, parameter);
105
+ }
106
+ }
107
+ }
108
+
109
+ /**
110
+ *
111
+ * @export
112
+ */
113
+ export const setSearchParams = function (url: URL, ...objects: any[]) {
114
+ const searchParams = new URLSearchParams(url.search);
115
+ setFlattenedQueryParams(searchParams, objects);
116
+ url.search = decodeURIComponent(searchParams.toString());
117
+ }
118
+
119
+ /**
120
+ *
121
+ * @export
122
+ */
123
+ export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {
124
+ const nonString = typeof value !== 'string';
125
+ const needsSerialization = nonString && configuration && configuration.isJsonMime
126
+ ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
127
+ : nonString;
128
+ return needsSerialization
129
+ ? JSON.stringify(value !== undefined ? value : {})
130
+ : (value || "");
131
+ }
132
+
133
+ /**
134
+ *
135
+ * @export
136
+ */
137
+ export const toPathString = function (url: URL) {
138
+ return url.pathname + url.search + url.hash
139
+ }
140
+
141
+ /**
142
+ *
143
+ * @export
144
+ */
145
+ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
146
+ return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
147
+ const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};
148
+ return axios.request<T, R>(axiosRequestArgs);
149
+ };
150
+ }
@@ -0,0 +1,110 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Website API
5
+ * Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
+ *
7
+ * The version of the OpenAPI document: 0.1.5
8
+ * Contact: hello@teemill.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ export interface ConfigurationParameters {
17
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
18
+ username?: string;
19
+ password?: string;
20
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
21
+ basePath?: string;
22
+ serverIndex?: number;
23
+ baseOptions?: any;
24
+ formDataCtor?: new () => any;
25
+ }
26
+
27
+ export class Configuration {
28
+ /**
29
+ * parameter for apiKey security
30
+ * @param name security name
31
+ * @memberof Configuration
32
+ */
33
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
34
+ /**
35
+ * parameter for basic security
36
+ *
37
+ * @type {string}
38
+ * @memberof Configuration
39
+ */
40
+ username?: string;
41
+ /**
42
+ * parameter for basic security
43
+ *
44
+ * @type {string}
45
+ * @memberof Configuration
46
+ */
47
+ password?: string;
48
+ /**
49
+ * parameter for oauth2 security
50
+ * @param name security name
51
+ * @param scopes oauth2 scope
52
+ * @memberof Configuration
53
+ */
54
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
55
+ /**
56
+ * override base path
57
+ *
58
+ * @type {string}
59
+ * @memberof Configuration
60
+ */
61
+ basePath?: string;
62
+ /**
63
+ * override server index
64
+ *
65
+ * @type {number}
66
+ * @memberof Configuration
67
+ */
68
+ serverIndex?: number;
69
+ /**
70
+ * base options for axios calls
71
+ *
72
+ * @type {any}
73
+ * @memberof Configuration
74
+ */
75
+ baseOptions?: any;
76
+ /**
77
+ * The FormData constructor that will be used to create multipart form data
78
+ * requests. You can inject this here so that execution environments that
79
+ * do not support the FormData class can still run the generated client.
80
+ *
81
+ * @type {new () => FormData}
82
+ */
83
+ formDataCtor?: new () => any;
84
+
85
+ constructor(param: ConfigurationParameters = {}) {
86
+ this.apiKey = param.apiKey;
87
+ this.username = param.username;
88
+ this.password = param.password;
89
+ this.accessToken = param.accessToken;
90
+ this.basePath = param.basePath;
91
+ this.serverIndex = param.serverIndex;
92
+ this.baseOptions = param.baseOptions;
93
+ this.formDataCtor = param.formDataCtor;
94
+ }
95
+
96
+ /**
97
+ * Check if the given MIME is a JSON MIME.
98
+ * JSON MIME examples:
99
+ * application/json
100
+ * application/json; charset=UTF8
101
+ * APPLICATION/JSON
102
+ * application/vnd.company+json
103
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
104
+ * @return True if the given MIME is JSON, false otherwise.
105
+ */
106
+ public isJsonMime(mime: string): boolean {
107
+ const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
108
+ return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
109
+ }
110
+ }
package/dist/api.d.ts ADDED
@@ -0,0 +1,316 @@
1
+ /**
2
+ * Website API
3
+ * Manage your Teemill Website Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 0.1.5
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ApiError
20
+ */
21
+ export interface ApiError {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiError
26
+ */
27
+ 'code': string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiError
32
+ */
33
+ 'message': string;
34
+ }
35
+ /**
36
+ *
37
+ * @export
38
+ * @interface AuthorizeStripe200Response
39
+ */
40
+ export interface AuthorizeStripe200Response {
41
+ /**
42
+ * The URL to redirect to
43
+ * @type {string}
44
+ * @memberof AuthorizeStripe200Response
45
+ */
46
+ 'redirect_url': string;
47
+ }
48
+ /**
49
+ *
50
+ * @export
51
+ * @interface ConnectStripeRequest
52
+ */
53
+ export interface ConnectStripeRequest {
54
+ /**
55
+ * The code returned from the Stripe connect flow
56
+ * @type {string}
57
+ * @memberof ConnectStripeRequest
58
+ */
59
+ 'code': string;
60
+ /**
61
+ * The state returned from the Stripe connect flow
62
+ * @type {string}
63
+ * @memberof ConnectStripeRequest
64
+ */
65
+ 'state': string;
66
+ }
67
+ /**
68
+ *
69
+ * @export
70
+ * @interface PaymentAccount
71
+ */
72
+ export interface PaymentAccount {
73
+ /**
74
+ * The name of the payment account
75
+ * @type {string}
76
+ * @memberof PaymentAccount
77
+ */
78
+ 'name': string;
79
+ /**
80
+ * The payment method
81
+ * @type {string}
82
+ * @memberof PaymentAccount
83
+ */
84
+ 'method': PaymentAccountMethodEnum;
85
+ /**
86
+ * The configuration for the payment account
87
+ * @type {{ [key: string]: string; }}
88
+ * @memberof PaymentAccount
89
+ */
90
+ 'config': {
91
+ [key: string]: string;
92
+ };
93
+ }
94
+ export declare const PaymentAccountMethodEnum: {
95
+ readonly Stripe: "stripe";
96
+ readonly Paypal: "paypal";
97
+ };
98
+ export type PaymentAccountMethodEnum = typeof PaymentAccountMethodEnum[keyof typeof PaymentAccountMethodEnum];
99
+ /**
100
+ * PaymentApi - axios parameter creator
101
+ * @export
102
+ */
103
+ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration) => {
104
+ /**
105
+ * Authorize a Stripe payment account
106
+ * @summary Authorize Stripe
107
+ * @param {string} project What project it is
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ authorizeStripe: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
112
+ /**
113
+ * Connect a Stripe payment account
114
+ * @summary Connect Stripe
115
+ * @param {string} project What project it is
116
+ * @param {ConnectStripeRequest} connectStripeRequest Connect a Stripe payment account
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ connectStripe: (project: string, connectStripeRequest: ConnectStripeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
121
+ /**
122
+ * Deauthorize a Stripe payment account
123
+ * @summary Deauthorize Stripe
124
+ * @param {string} project What project it is
125
+ * @param {*} [options] Override http request option.
126
+ * @throws {RequiredError}
127
+ */
128
+ deauthorizeStripe: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
129
+ /**
130
+ * Get the Stripe payment account for the project
131
+ * @summary Get Stripe Payment Account
132
+ * @param {string} project What project it is
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ getStripePaymentAccount: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
137
+ };
138
+ /**
139
+ * PaymentApi - functional programming interface
140
+ * @export
141
+ */
142
+ export declare const PaymentApiFp: (configuration?: Configuration) => {
143
+ /**
144
+ * Authorize a Stripe payment account
145
+ * @summary Authorize Stripe
146
+ * @param {string} project What project it is
147
+ * @param {*} [options] Override http request option.
148
+ * @throws {RequiredError}
149
+ */
150
+ authorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthorizeStripe200Response>>;
151
+ /**
152
+ * Connect a Stripe payment account
153
+ * @summary Connect Stripe
154
+ * @param {string} project What project it is
155
+ * @param {ConnectStripeRequest} connectStripeRequest Connect a Stripe payment account
156
+ * @param {*} [options] Override http request option.
157
+ * @throws {RequiredError}
158
+ */
159
+ connectStripe(project: string, connectStripeRequest: ConnectStripeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentAccount>>;
160
+ /**
161
+ * Deauthorize a Stripe payment account
162
+ * @summary Deauthorize Stripe
163
+ * @param {string} project What project it is
164
+ * @param {*} [options] Override http request option.
165
+ * @throws {RequiredError}
166
+ */
167
+ deauthorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
168
+ /**
169
+ * Get the Stripe payment account for the project
170
+ * @summary Get Stripe Payment Account
171
+ * @param {string} project What project it is
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ */
175
+ getStripePaymentAccount(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentAccount>>;
176
+ };
177
+ /**
178
+ * PaymentApi - factory interface
179
+ * @export
180
+ */
181
+ export declare const PaymentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
182
+ /**
183
+ * Authorize a Stripe payment account
184
+ * @summary Authorize Stripe
185
+ * @param {PaymentApiAuthorizeStripeRequest} requestParameters Request parameters.
186
+ * @param {*} [options] Override http request option.
187
+ * @throws {RequiredError}
188
+ */
189
+ authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthorizeStripe200Response>;
190
+ /**
191
+ * Connect a Stripe payment account
192
+ * @summary Connect Stripe
193
+ * @param {PaymentApiConnectStripeRequest} requestParameters Request parameters.
194
+ * @param {*} [options] Override http request option.
195
+ * @throws {RequiredError}
196
+ */
197
+ connectStripe(requestParameters: PaymentApiConnectStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentAccount>;
198
+ /**
199
+ * Deauthorize a Stripe payment account
200
+ * @summary Deauthorize Stripe
201
+ * @param {PaymentApiDeauthorizeStripeRequest} requestParameters Request parameters.
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ */
205
+ deauthorizeStripe(requestParameters: PaymentApiDeauthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
206
+ /**
207
+ * Get the Stripe payment account for the project
208
+ * @summary Get Stripe Payment Account
209
+ * @param {PaymentApiGetStripePaymentAccountRequest} requestParameters Request parameters.
210
+ * @param {*} [options] Override http request option.
211
+ * @throws {RequiredError}
212
+ */
213
+ getStripePaymentAccount(requestParameters: PaymentApiGetStripePaymentAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentAccount>;
214
+ };
215
+ /**
216
+ * Request parameters for authorizeStripe operation in PaymentApi.
217
+ * @export
218
+ * @interface PaymentApiAuthorizeStripeRequest
219
+ */
220
+ export interface PaymentApiAuthorizeStripeRequest {
221
+ /**
222
+ * What project it is
223
+ * @type {string}
224
+ * @memberof PaymentApiAuthorizeStripe
225
+ */
226
+ readonly project: string;
227
+ }
228
+ /**
229
+ * Request parameters for connectStripe operation in PaymentApi.
230
+ * @export
231
+ * @interface PaymentApiConnectStripeRequest
232
+ */
233
+ export interface PaymentApiConnectStripeRequest {
234
+ /**
235
+ * What project it is
236
+ * @type {string}
237
+ * @memberof PaymentApiConnectStripe
238
+ */
239
+ readonly project: string;
240
+ /**
241
+ * Connect a Stripe payment account
242
+ * @type {ConnectStripeRequest}
243
+ * @memberof PaymentApiConnectStripe
244
+ */
245
+ readonly connectStripeRequest: ConnectStripeRequest;
246
+ }
247
+ /**
248
+ * Request parameters for deauthorizeStripe operation in PaymentApi.
249
+ * @export
250
+ * @interface PaymentApiDeauthorizeStripeRequest
251
+ */
252
+ export interface PaymentApiDeauthorizeStripeRequest {
253
+ /**
254
+ * What project it is
255
+ * @type {string}
256
+ * @memberof PaymentApiDeauthorizeStripe
257
+ */
258
+ readonly project: string;
259
+ }
260
+ /**
261
+ * Request parameters for getStripePaymentAccount operation in PaymentApi.
262
+ * @export
263
+ * @interface PaymentApiGetStripePaymentAccountRequest
264
+ */
265
+ export interface PaymentApiGetStripePaymentAccountRequest {
266
+ /**
267
+ * What project it is
268
+ * @type {string}
269
+ * @memberof PaymentApiGetStripePaymentAccount
270
+ */
271
+ readonly project: string;
272
+ }
273
+ /**
274
+ * PaymentApi - object-oriented interface
275
+ * @export
276
+ * @class PaymentApi
277
+ * @extends {BaseAPI}
278
+ */
279
+ export declare class PaymentApi extends BaseAPI {
280
+ /**
281
+ * Authorize a Stripe payment account
282
+ * @summary Authorize Stripe
283
+ * @param {PaymentApiAuthorizeStripeRequest} requestParameters Request parameters.
284
+ * @param {*} [options] Override http request option.
285
+ * @throws {RequiredError}
286
+ * @memberof PaymentApi
287
+ */
288
+ authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthorizeStripe200Response, any>>;
289
+ /**
290
+ * Connect a Stripe payment account
291
+ * @summary Connect Stripe
292
+ * @param {PaymentApiConnectStripeRequest} requestParameters Request parameters.
293
+ * @param {*} [options] Override http request option.
294
+ * @throws {RequiredError}
295
+ * @memberof PaymentApi
296
+ */
297
+ connectStripe(requestParameters: PaymentApiConnectStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentAccount, any>>;
298
+ /**
299
+ * Deauthorize a Stripe payment account
300
+ * @summary Deauthorize Stripe
301
+ * @param {PaymentApiDeauthorizeStripeRequest} requestParameters Request parameters.
302
+ * @param {*} [options] Override http request option.
303
+ * @throws {RequiredError}
304
+ * @memberof PaymentApi
305
+ */
306
+ deauthorizeStripe(requestParameters: PaymentApiDeauthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
307
+ /**
308
+ * Get the Stripe payment account for the project
309
+ * @summary Get Stripe Payment Account
310
+ * @param {PaymentApiGetStripePaymentAccountRequest} requestParameters Request parameters.
311
+ * @param {*} [options] Override http request option.
312
+ * @throws {RequiredError}
313
+ * @memberof PaymentApi
314
+ */
315
+ getStripePaymentAccount(requestParameters: PaymentApiGetStripePaymentAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentAccount, any>>;
316
+ }