@teemill/platform 0.13.0 → 0.14.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/platform@0.13.0
1
+ ## @teemill/platform@0.14.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/platform@0.13.0 --save
39
+ npm install @teemill/platform@0.14.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.13.0
7
+ * The version of the OpenAPI document: 0.14.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -153,6 +153,19 @@ export interface ApplicationTechnology {
153
153
  */
154
154
  'ref'?: string;
155
155
  }
156
+ /**
157
+ *
158
+ * @export
159
+ * @interface AuthorizeStripe200Response
160
+ */
161
+ export interface AuthorizeStripe200Response {
162
+ /**
163
+ * The URL to redirect to
164
+ * @type {string}
165
+ * @memberof AuthorizeStripe200Response
166
+ */
167
+ 'redirect_url': string;
168
+ }
156
169
  /**
157
170
  * Order recipient contact information, used only for courier tracking/updates.
158
171
  * @export
@@ -978,6 +991,38 @@ export interface OutputPadding {
978
991
  */
979
992
  'left': number;
980
993
  }
994
+ /**
995
+ *
996
+ * @export
997
+ * @interface PaymentAccount
998
+ */
999
+ export interface PaymentAccount {
1000
+ /**
1001
+ * The name of the payment account
1002
+ * @type {string}
1003
+ * @memberof PaymentAccount
1004
+ */
1005
+ 'name': string;
1006
+ /**
1007
+ * The payment method
1008
+ * @type {string}
1009
+ * @memberof PaymentAccount
1010
+ */
1011
+ 'method': PaymentAccountMethodEnum;
1012
+ /**
1013
+ * The configuration for the payment account
1014
+ * @type {{ [key: string]: string; }}
1015
+ * @memberof PaymentAccount
1016
+ */
1017
+ 'config': { [key: string]: string; };
1018
+ }
1019
+
1020
+ export const PaymentAccountMethodEnum = {
1021
+ Stripe: 'stripe'
1022
+ } as const;
1023
+
1024
+ export type PaymentAccountMethodEnum = typeof PaymentAccountMethodEnum[keyof typeof PaymentAccountMethodEnum];
1025
+
981
1026
  /**
982
1027
  *
983
1028
  * @export
@@ -3144,6 +3189,324 @@ export class OrdersApi extends BaseAPI {
3144
3189
 
3145
3190
 
3146
3191
 
3192
+ /**
3193
+ * PaymentApi - axios parameter creator
3194
+ * @export
3195
+ */
3196
+ export const PaymentApiAxiosParamCreator = function (configuration?: Configuration) {
3197
+ return {
3198
+ /**
3199
+ * Authorize a Stripe payment account
3200
+ * @summary Authorize Stripe
3201
+ * @param {string} project Project unique identifier
3202
+ * @param {*} [options] Override http request option.
3203
+ * @throws {RequiredError}
3204
+ */
3205
+ authorizeStripe: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3206
+ // verify required parameter 'project' is not null or undefined
3207
+ assertParamExists('authorizeStripe', 'project', project)
3208
+ const localVarPath = `/v1/platform/payment/stripe/authorize`;
3209
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3210
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3211
+ let baseOptions;
3212
+ if (configuration) {
3213
+ baseOptions = configuration.baseOptions;
3214
+ }
3215
+
3216
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3217
+ const localVarHeaderParameter = {} as any;
3218
+ const localVarQueryParameter = {} as any;
3219
+
3220
+ // authentication session-oauth required
3221
+ // oauth required
3222
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
3223
+
3224
+ // authentication api-key required
3225
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3226
+
3227
+ if (project !== undefined) {
3228
+ localVarQueryParameter['project'] = project;
3229
+ }
3230
+
3231
+
3232
+
3233
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3234
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3235
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3236
+
3237
+ return {
3238
+ url: toPathString(localVarUrlObj),
3239
+ options: localVarRequestOptions,
3240
+ };
3241
+ },
3242
+ /**
3243
+ * Deauthorize a Stripe payment account
3244
+ * @summary Deauthorize Stripe
3245
+ * @param {string} project Project unique identifier
3246
+ * @param {*} [options] Override http request option.
3247
+ * @throws {RequiredError}
3248
+ */
3249
+ deauthorizeStripe: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3250
+ // verify required parameter 'project' is not null or undefined
3251
+ assertParamExists('deauthorizeStripe', 'project', project)
3252
+ const localVarPath = `/v1/platform/payment/stripe/deauthorize`;
3253
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3254
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3255
+ let baseOptions;
3256
+ if (configuration) {
3257
+ baseOptions = configuration.baseOptions;
3258
+ }
3259
+
3260
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3261
+ const localVarHeaderParameter = {} as any;
3262
+ const localVarQueryParameter = {} as any;
3263
+
3264
+ // authentication session-oauth required
3265
+ // oauth required
3266
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
3267
+
3268
+ // authentication api-key required
3269
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3270
+
3271
+ if (project !== undefined) {
3272
+ localVarQueryParameter['project'] = project;
3273
+ }
3274
+
3275
+
3276
+
3277
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3278
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3279
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3280
+
3281
+ return {
3282
+ url: toPathString(localVarUrlObj),
3283
+ options: localVarRequestOptions,
3284
+ };
3285
+ },
3286
+ /**
3287
+ * Get the Stripe payment account for the project
3288
+ * @summary Get Stripe Payment Account
3289
+ * @param {string} project Project unique identifier
3290
+ * @param {*} [options] Override http request option.
3291
+ * @throws {RequiredError}
3292
+ */
3293
+ getStripePaymentAccount: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3294
+ // verify required parameter 'project' is not null or undefined
3295
+ assertParamExists('getStripePaymentAccount', 'project', project)
3296
+ const localVarPath = `/v1/platform/payment/stripe`;
3297
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3298
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3299
+ let baseOptions;
3300
+ if (configuration) {
3301
+ baseOptions = configuration.baseOptions;
3302
+ }
3303
+
3304
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3305
+ const localVarHeaderParameter = {} as any;
3306
+ const localVarQueryParameter = {} as any;
3307
+
3308
+ // authentication session-oauth required
3309
+ // oauth required
3310
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
3311
+
3312
+ // authentication api-key required
3313
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3314
+
3315
+ if (project !== undefined) {
3316
+ localVarQueryParameter['project'] = project;
3317
+ }
3318
+
3319
+
3320
+
3321
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3322
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3323
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3324
+
3325
+ return {
3326
+ url: toPathString(localVarUrlObj),
3327
+ options: localVarRequestOptions,
3328
+ };
3329
+ },
3330
+ }
3331
+ };
3332
+
3333
+ /**
3334
+ * PaymentApi - functional programming interface
3335
+ * @export
3336
+ */
3337
+ export const PaymentApiFp = function(configuration?: Configuration) {
3338
+ const localVarAxiosParamCreator = PaymentApiAxiosParamCreator(configuration)
3339
+ return {
3340
+ /**
3341
+ * Authorize a Stripe payment account
3342
+ * @summary Authorize Stripe
3343
+ * @param {string} project Project unique identifier
3344
+ * @param {*} [options] Override http request option.
3345
+ * @throws {RequiredError}
3346
+ */
3347
+ async authorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthorizeStripe200Response>> {
3348
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authorizeStripe(project, options);
3349
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3350
+ const localVarOperationServerBasePath = operationServerMap['PaymentApi.authorizeStripe']?.[localVarOperationServerIndex]?.url;
3351
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3352
+ },
3353
+ /**
3354
+ * Deauthorize a Stripe payment account
3355
+ * @summary Deauthorize Stripe
3356
+ * @param {string} project Project unique identifier
3357
+ * @param {*} [options] Override http request option.
3358
+ * @throws {RequiredError}
3359
+ */
3360
+ async deauthorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3361
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deauthorizeStripe(project, options);
3362
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3363
+ const localVarOperationServerBasePath = operationServerMap['PaymentApi.deauthorizeStripe']?.[localVarOperationServerIndex]?.url;
3364
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3365
+ },
3366
+ /**
3367
+ * Get the Stripe payment account for the project
3368
+ * @summary Get Stripe Payment Account
3369
+ * @param {string} project Project unique identifier
3370
+ * @param {*} [options] Override http request option.
3371
+ * @throws {RequiredError}
3372
+ */
3373
+ async getStripePaymentAccount(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentAccount>> {
3374
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getStripePaymentAccount(project, options);
3375
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3376
+ const localVarOperationServerBasePath = operationServerMap['PaymentApi.getStripePaymentAccount']?.[localVarOperationServerIndex]?.url;
3377
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3378
+ },
3379
+ }
3380
+ };
3381
+
3382
+ /**
3383
+ * PaymentApi - factory interface
3384
+ * @export
3385
+ */
3386
+ export const PaymentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3387
+ const localVarFp = PaymentApiFp(configuration)
3388
+ return {
3389
+ /**
3390
+ * Authorize a Stripe payment account
3391
+ * @summary Authorize Stripe
3392
+ * @param {PaymentApiAuthorizeStripeRequest} requestParameters Request parameters.
3393
+ * @param {*} [options] Override http request option.
3394
+ * @throws {RequiredError}
3395
+ */
3396
+ authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthorizeStripe200Response> {
3397
+ return localVarFp.authorizeStripe(requestParameters.project, options).then((request) => request(axios, basePath));
3398
+ },
3399
+ /**
3400
+ * Deauthorize a Stripe payment account
3401
+ * @summary Deauthorize Stripe
3402
+ * @param {PaymentApiDeauthorizeStripeRequest} requestParameters Request parameters.
3403
+ * @param {*} [options] Override http request option.
3404
+ * @throws {RequiredError}
3405
+ */
3406
+ deauthorizeStripe(requestParameters: PaymentApiDeauthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
3407
+ return localVarFp.deauthorizeStripe(requestParameters.project, options).then((request) => request(axios, basePath));
3408
+ },
3409
+ /**
3410
+ * Get the Stripe payment account for the project
3411
+ * @summary Get Stripe Payment Account
3412
+ * @param {PaymentApiGetStripePaymentAccountRequest} requestParameters Request parameters.
3413
+ * @param {*} [options] Override http request option.
3414
+ * @throws {RequiredError}
3415
+ */
3416
+ getStripePaymentAccount(requestParameters: PaymentApiGetStripePaymentAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentAccount> {
3417
+ return localVarFp.getStripePaymentAccount(requestParameters.project, options).then((request) => request(axios, basePath));
3418
+ },
3419
+ };
3420
+ };
3421
+
3422
+ /**
3423
+ * Request parameters for authorizeStripe operation in PaymentApi.
3424
+ * @export
3425
+ * @interface PaymentApiAuthorizeStripeRequest
3426
+ */
3427
+ export interface PaymentApiAuthorizeStripeRequest {
3428
+ /**
3429
+ * Project unique identifier
3430
+ * @type {string}
3431
+ * @memberof PaymentApiAuthorizeStripe
3432
+ */
3433
+ readonly project: string
3434
+ }
3435
+
3436
+ /**
3437
+ * Request parameters for deauthorizeStripe operation in PaymentApi.
3438
+ * @export
3439
+ * @interface PaymentApiDeauthorizeStripeRequest
3440
+ */
3441
+ export interface PaymentApiDeauthorizeStripeRequest {
3442
+ /**
3443
+ * Project unique identifier
3444
+ * @type {string}
3445
+ * @memberof PaymentApiDeauthorizeStripe
3446
+ */
3447
+ readonly project: string
3448
+ }
3449
+
3450
+ /**
3451
+ * Request parameters for getStripePaymentAccount operation in PaymentApi.
3452
+ * @export
3453
+ * @interface PaymentApiGetStripePaymentAccountRequest
3454
+ */
3455
+ export interface PaymentApiGetStripePaymentAccountRequest {
3456
+ /**
3457
+ * Project unique identifier
3458
+ * @type {string}
3459
+ * @memberof PaymentApiGetStripePaymentAccount
3460
+ */
3461
+ readonly project: string
3462
+ }
3463
+
3464
+ /**
3465
+ * PaymentApi - object-oriented interface
3466
+ * @export
3467
+ * @class PaymentApi
3468
+ * @extends {BaseAPI}
3469
+ */
3470
+ export class PaymentApi extends BaseAPI {
3471
+ /**
3472
+ * Authorize a Stripe payment account
3473
+ * @summary Authorize Stripe
3474
+ * @param {PaymentApiAuthorizeStripeRequest} requestParameters Request parameters.
3475
+ * @param {*} [options] Override http request option.
3476
+ * @throws {RequiredError}
3477
+ * @memberof PaymentApi
3478
+ */
3479
+ public authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig) {
3480
+ return PaymentApiFp(this.configuration).authorizeStripe(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
3481
+ }
3482
+
3483
+ /**
3484
+ * Deauthorize a Stripe payment account
3485
+ * @summary Deauthorize Stripe
3486
+ * @param {PaymentApiDeauthorizeStripeRequest} requestParameters Request parameters.
3487
+ * @param {*} [options] Override http request option.
3488
+ * @throws {RequiredError}
3489
+ * @memberof PaymentApi
3490
+ */
3491
+ public deauthorizeStripe(requestParameters: PaymentApiDeauthorizeStripeRequest, options?: RawAxiosRequestConfig) {
3492
+ return PaymentApiFp(this.configuration).deauthorizeStripe(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
3493
+ }
3494
+
3495
+ /**
3496
+ * Get the Stripe payment account for the project
3497
+ * @summary Get Stripe Payment Account
3498
+ * @param {PaymentApiGetStripePaymentAccountRequest} requestParameters Request parameters.
3499
+ * @param {*} [options] Override http request option.
3500
+ * @throws {RequiredError}
3501
+ * @memberof PaymentApi
3502
+ */
3503
+ public getStripePaymentAccount(requestParameters: PaymentApiGetStripePaymentAccountRequest, options?: RawAxiosRequestConfig) {
3504
+ return PaymentApiFp(this.configuration).getStripePaymentAccount(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
3505
+ }
3506
+ }
3507
+
3508
+
3509
+
3147
3510
  /**
3148
3511
  * PlatformApi - axios parameter creator
3149
3512
  * @export
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.13.0
7
+ * The version of the OpenAPI document: 0.14.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.13.0
7
+ * The version of the OpenAPI document: 0.14.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.13.0
7
+ * The version of the OpenAPI document: 0.14.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -92,7 +92,7 @@ export class Configuration {
92
92
  this.baseOptions = {
93
93
  headers: {
94
94
  ...param.baseOptions?.headers,
95
- 'User-Agent': "OpenAPI-Generator/0.13.0/typescript-axios"
95
+ 'User-Agent': "OpenAPI-Generator/0.14.0/typescript-axios"
96
96
  },
97
97
  ...param.baseOptions
98
98
  };
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.13.0
5
+ * The version of the OpenAPI document: 0.14.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -143,6 +143,19 @@ export interface ApplicationTechnology {
143
143
  */
144
144
  'ref'?: string;
145
145
  }
146
+ /**
147
+ *
148
+ * @export
149
+ * @interface AuthorizeStripe200Response
150
+ */
151
+ export interface AuthorizeStripe200Response {
152
+ /**
153
+ * The URL to redirect to
154
+ * @type {string}
155
+ * @memberof AuthorizeStripe200Response
156
+ */
157
+ 'redirect_url': string;
158
+ }
146
159
  /**
147
160
  * Order recipient contact information, used only for courier tracking/updates.
148
161
  * @export
@@ -956,6 +969,37 @@ export interface OutputPadding {
956
969
  */
957
970
  'left': number;
958
971
  }
972
+ /**
973
+ *
974
+ * @export
975
+ * @interface PaymentAccount
976
+ */
977
+ export interface PaymentAccount {
978
+ /**
979
+ * The name of the payment account
980
+ * @type {string}
981
+ * @memberof PaymentAccount
982
+ */
983
+ 'name': string;
984
+ /**
985
+ * The payment method
986
+ * @type {string}
987
+ * @memberof PaymentAccount
988
+ */
989
+ 'method': PaymentAccountMethodEnum;
990
+ /**
991
+ * The configuration for the payment account
992
+ * @type {{ [key: string]: string; }}
993
+ * @memberof PaymentAccount
994
+ */
995
+ 'config': {
996
+ [key: string]: string;
997
+ };
998
+ }
999
+ export declare const PaymentAccountMethodEnum: {
1000
+ readonly Stripe: "stripe";
1001
+ };
1002
+ export type PaymentAccountMethodEnum = typeof PaymentAccountMethodEnum[keyof typeof PaymentAccountMethodEnum];
959
1003
  /**
960
1004
  *
961
1005
  * @export
@@ -2485,6 +2529,170 @@ export declare class OrdersApi extends BaseAPI {
2485
2529
  */
2486
2530
  updateFulfillment(requestParameters: OrdersApiUpdateFulfillmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Fulfillment, any>>;
2487
2531
  }
2532
+ /**
2533
+ * PaymentApi - axios parameter creator
2534
+ * @export
2535
+ */
2536
+ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration) => {
2537
+ /**
2538
+ * Authorize a Stripe payment account
2539
+ * @summary Authorize Stripe
2540
+ * @param {string} project Project unique identifier
2541
+ * @param {*} [options] Override http request option.
2542
+ * @throws {RequiredError}
2543
+ */
2544
+ authorizeStripe: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2545
+ /**
2546
+ * Deauthorize a Stripe payment account
2547
+ * @summary Deauthorize Stripe
2548
+ * @param {string} project Project unique identifier
2549
+ * @param {*} [options] Override http request option.
2550
+ * @throws {RequiredError}
2551
+ */
2552
+ deauthorizeStripe: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2553
+ /**
2554
+ * Get the Stripe payment account for the project
2555
+ * @summary Get Stripe Payment Account
2556
+ * @param {string} project Project unique identifier
2557
+ * @param {*} [options] Override http request option.
2558
+ * @throws {RequiredError}
2559
+ */
2560
+ getStripePaymentAccount: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2561
+ };
2562
+ /**
2563
+ * PaymentApi - functional programming interface
2564
+ * @export
2565
+ */
2566
+ export declare const PaymentApiFp: (configuration?: Configuration) => {
2567
+ /**
2568
+ * Authorize a Stripe payment account
2569
+ * @summary Authorize Stripe
2570
+ * @param {string} project Project unique identifier
2571
+ * @param {*} [options] Override http request option.
2572
+ * @throws {RequiredError}
2573
+ */
2574
+ authorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthorizeStripe200Response>>;
2575
+ /**
2576
+ * Deauthorize a Stripe payment account
2577
+ * @summary Deauthorize Stripe
2578
+ * @param {string} project Project unique identifier
2579
+ * @param {*} [options] Override http request option.
2580
+ * @throws {RequiredError}
2581
+ */
2582
+ deauthorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2583
+ /**
2584
+ * Get the Stripe payment account for the project
2585
+ * @summary Get Stripe Payment Account
2586
+ * @param {string} project Project unique identifier
2587
+ * @param {*} [options] Override http request option.
2588
+ * @throws {RequiredError}
2589
+ */
2590
+ getStripePaymentAccount(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentAccount>>;
2591
+ };
2592
+ /**
2593
+ * PaymentApi - factory interface
2594
+ * @export
2595
+ */
2596
+ export declare const PaymentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2597
+ /**
2598
+ * Authorize a Stripe payment account
2599
+ * @summary Authorize Stripe
2600
+ * @param {PaymentApiAuthorizeStripeRequest} requestParameters Request parameters.
2601
+ * @param {*} [options] Override http request option.
2602
+ * @throws {RequiredError}
2603
+ */
2604
+ authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthorizeStripe200Response>;
2605
+ /**
2606
+ * Deauthorize a Stripe payment account
2607
+ * @summary Deauthorize Stripe
2608
+ * @param {PaymentApiDeauthorizeStripeRequest} requestParameters Request parameters.
2609
+ * @param {*} [options] Override http request option.
2610
+ * @throws {RequiredError}
2611
+ */
2612
+ deauthorizeStripe(requestParameters: PaymentApiDeauthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2613
+ /**
2614
+ * Get the Stripe payment account for the project
2615
+ * @summary Get Stripe Payment Account
2616
+ * @param {PaymentApiGetStripePaymentAccountRequest} requestParameters Request parameters.
2617
+ * @param {*} [options] Override http request option.
2618
+ * @throws {RequiredError}
2619
+ */
2620
+ getStripePaymentAccount(requestParameters: PaymentApiGetStripePaymentAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentAccount>;
2621
+ };
2622
+ /**
2623
+ * Request parameters for authorizeStripe operation in PaymentApi.
2624
+ * @export
2625
+ * @interface PaymentApiAuthorizeStripeRequest
2626
+ */
2627
+ export interface PaymentApiAuthorizeStripeRequest {
2628
+ /**
2629
+ * Project unique identifier
2630
+ * @type {string}
2631
+ * @memberof PaymentApiAuthorizeStripe
2632
+ */
2633
+ readonly project: string;
2634
+ }
2635
+ /**
2636
+ * Request parameters for deauthorizeStripe operation in PaymentApi.
2637
+ * @export
2638
+ * @interface PaymentApiDeauthorizeStripeRequest
2639
+ */
2640
+ export interface PaymentApiDeauthorizeStripeRequest {
2641
+ /**
2642
+ * Project unique identifier
2643
+ * @type {string}
2644
+ * @memberof PaymentApiDeauthorizeStripe
2645
+ */
2646
+ readonly project: string;
2647
+ }
2648
+ /**
2649
+ * Request parameters for getStripePaymentAccount operation in PaymentApi.
2650
+ * @export
2651
+ * @interface PaymentApiGetStripePaymentAccountRequest
2652
+ */
2653
+ export interface PaymentApiGetStripePaymentAccountRequest {
2654
+ /**
2655
+ * Project unique identifier
2656
+ * @type {string}
2657
+ * @memberof PaymentApiGetStripePaymentAccount
2658
+ */
2659
+ readonly project: string;
2660
+ }
2661
+ /**
2662
+ * PaymentApi - object-oriented interface
2663
+ * @export
2664
+ * @class PaymentApi
2665
+ * @extends {BaseAPI}
2666
+ */
2667
+ export declare class PaymentApi extends BaseAPI {
2668
+ /**
2669
+ * Authorize a Stripe payment account
2670
+ * @summary Authorize Stripe
2671
+ * @param {PaymentApiAuthorizeStripeRequest} requestParameters Request parameters.
2672
+ * @param {*} [options] Override http request option.
2673
+ * @throws {RequiredError}
2674
+ * @memberof PaymentApi
2675
+ */
2676
+ authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthorizeStripe200Response, any>>;
2677
+ /**
2678
+ * Deauthorize a Stripe payment account
2679
+ * @summary Deauthorize Stripe
2680
+ * @param {PaymentApiDeauthorizeStripeRequest} requestParameters Request parameters.
2681
+ * @param {*} [options] Override http request option.
2682
+ * @throws {RequiredError}
2683
+ * @memberof PaymentApi
2684
+ */
2685
+ deauthorizeStripe(requestParameters: PaymentApiDeauthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2686
+ /**
2687
+ * Get the Stripe payment account for the project
2688
+ * @summary Get Stripe Payment Account
2689
+ * @param {PaymentApiGetStripePaymentAccountRequest} requestParameters Request parameters.
2690
+ * @param {*} [options] Override http request option.
2691
+ * @throws {RequiredError}
2692
+ * @memberof PaymentApi
2693
+ */
2694
+ getStripePaymentAccount(requestParameters: PaymentApiGetStripePaymentAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentAccount, any>>;
2695
+ }
2488
2696
  /**
2489
2697
  * PlatformApi - axios parameter creator
2490
2698
  * @export