@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/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.13.0
8
+ * The version of the OpenAPI document: 0.14.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PlatformApi = exports.PlatformApiFactory = exports.PlatformApiFp = exports.PlatformApiAxiosParamCreator = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.ListCustomersSortByEnum = exports.ExportCustomersSortByEnum = exports.CustomersApi = exports.CustomersApiFactory = exports.CustomersApiFp = exports.CustomersApiAxiosParamCreator = exports.VariantAttributeThumbnailTypeEnum = exports.ProductAttributeValuesInnerThumbnailTypeEnum = exports.OutputFileFormatEnum = exports.OutputPositionEnum = exports.OrderStatus = void 0;
25
+ exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PlatformApi = exports.PlatformApiFactory = exports.PlatformApiFp = exports.PlatformApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.ListCustomersSortByEnum = exports.ExportCustomersSortByEnum = exports.CustomersApi = exports.CustomersApiFactory = exports.CustomersApiFp = exports.CustomersApiAxiosParamCreator = exports.VariantAttributeThumbnailTypeEnum = exports.ProductAttributeValuesInnerThumbnailTypeEnum = exports.PaymentAccountMethodEnum = exports.OutputFileFormatEnum = exports.OutputPositionEnum = exports.OrderStatus = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -59,6 +59,9 @@ exports.OutputFileFormatEnum = {
59
59
  Webp: 'webp',
60
60
  Pdf: 'pdf'
61
61
  };
62
+ exports.PaymentAccountMethodEnum = {
63
+ Stripe: 'stripe'
64
+ };
62
65
  exports.ProductAttributeValuesInnerThumbnailTypeEnum = {
63
66
  Text: 'text',
64
67
  Color: 'color',
@@ -1019,6 +1022,263 @@ class OrdersApi extends base_1.BaseAPI {
1019
1022
  }
1020
1023
  }
1021
1024
  exports.OrdersApi = OrdersApi;
1025
+ /**
1026
+ * PaymentApi - axios parameter creator
1027
+ * @export
1028
+ */
1029
+ const PaymentApiAxiosParamCreator = function (configuration) {
1030
+ return {
1031
+ /**
1032
+ * Authorize a Stripe payment account
1033
+ * @summary Authorize Stripe
1034
+ * @param {string} project Project unique identifier
1035
+ * @param {*} [options] Override http request option.
1036
+ * @throws {RequiredError}
1037
+ */
1038
+ authorizeStripe: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
1039
+ // verify required parameter 'project' is not null or undefined
1040
+ (0, common_1.assertParamExists)('authorizeStripe', 'project', project);
1041
+ const localVarPath = `/v1/platform/payment/stripe/authorize`;
1042
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1043
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1044
+ let baseOptions;
1045
+ if (configuration) {
1046
+ baseOptions = configuration.baseOptions;
1047
+ }
1048
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1049
+ const localVarHeaderParameter = {};
1050
+ const localVarQueryParameter = {};
1051
+ // authentication session-oauth required
1052
+ // oauth required
1053
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
1054
+ // authentication api-key required
1055
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1056
+ if (project !== undefined) {
1057
+ localVarQueryParameter['project'] = project;
1058
+ }
1059
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1060
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1061
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1062
+ return {
1063
+ url: (0, common_1.toPathString)(localVarUrlObj),
1064
+ options: localVarRequestOptions,
1065
+ };
1066
+ }),
1067
+ /**
1068
+ * Deauthorize a Stripe payment account
1069
+ * @summary Deauthorize Stripe
1070
+ * @param {string} project Project unique identifier
1071
+ * @param {*} [options] Override http request option.
1072
+ * @throws {RequiredError}
1073
+ */
1074
+ deauthorizeStripe: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
1075
+ // verify required parameter 'project' is not null or undefined
1076
+ (0, common_1.assertParamExists)('deauthorizeStripe', 'project', project);
1077
+ const localVarPath = `/v1/platform/payment/stripe/deauthorize`;
1078
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1079
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1080
+ let baseOptions;
1081
+ if (configuration) {
1082
+ baseOptions = configuration.baseOptions;
1083
+ }
1084
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1085
+ const localVarHeaderParameter = {};
1086
+ const localVarQueryParameter = {};
1087
+ // authentication session-oauth required
1088
+ // oauth required
1089
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
1090
+ // authentication api-key required
1091
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1092
+ if (project !== undefined) {
1093
+ localVarQueryParameter['project'] = project;
1094
+ }
1095
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1096
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1097
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1098
+ return {
1099
+ url: (0, common_1.toPathString)(localVarUrlObj),
1100
+ options: localVarRequestOptions,
1101
+ };
1102
+ }),
1103
+ /**
1104
+ * Get the Stripe payment account for the project
1105
+ * @summary Get Stripe Payment Account
1106
+ * @param {string} project Project unique identifier
1107
+ * @param {*} [options] Override http request option.
1108
+ * @throws {RequiredError}
1109
+ */
1110
+ getStripePaymentAccount: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
1111
+ // verify required parameter 'project' is not null or undefined
1112
+ (0, common_1.assertParamExists)('getStripePaymentAccount', 'project', project);
1113
+ const localVarPath = `/v1/platform/payment/stripe`;
1114
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1115
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1116
+ let baseOptions;
1117
+ if (configuration) {
1118
+ baseOptions = configuration.baseOptions;
1119
+ }
1120
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1121
+ const localVarHeaderParameter = {};
1122
+ const localVarQueryParameter = {};
1123
+ // authentication session-oauth required
1124
+ // oauth required
1125
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
1126
+ // authentication api-key required
1127
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1128
+ if (project !== undefined) {
1129
+ localVarQueryParameter['project'] = project;
1130
+ }
1131
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1132
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1133
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1134
+ return {
1135
+ url: (0, common_1.toPathString)(localVarUrlObj),
1136
+ options: localVarRequestOptions,
1137
+ };
1138
+ }),
1139
+ };
1140
+ };
1141
+ exports.PaymentApiAxiosParamCreator = PaymentApiAxiosParamCreator;
1142
+ /**
1143
+ * PaymentApi - functional programming interface
1144
+ * @export
1145
+ */
1146
+ const PaymentApiFp = function (configuration) {
1147
+ const localVarAxiosParamCreator = (0, exports.PaymentApiAxiosParamCreator)(configuration);
1148
+ return {
1149
+ /**
1150
+ * Authorize a Stripe payment account
1151
+ * @summary Authorize Stripe
1152
+ * @param {string} project Project unique identifier
1153
+ * @param {*} [options] Override http request option.
1154
+ * @throws {RequiredError}
1155
+ */
1156
+ authorizeStripe(project, options) {
1157
+ return __awaiter(this, void 0, void 0, function* () {
1158
+ var _a, _b, _c;
1159
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.authorizeStripe(project, options);
1160
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1161
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentApi.authorizeStripe']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1162
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1163
+ });
1164
+ },
1165
+ /**
1166
+ * Deauthorize a Stripe payment account
1167
+ * @summary Deauthorize Stripe
1168
+ * @param {string} project Project unique identifier
1169
+ * @param {*} [options] Override http request option.
1170
+ * @throws {RequiredError}
1171
+ */
1172
+ deauthorizeStripe(project, options) {
1173
+ return __awaiter(this, void 0, void 0, function* () {
1174
+ var _a, _b, _c;
1175
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deauthorizeStripe(project, options);
1176
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1177
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentApi.deauthorizeStripe']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1178
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1179
+ });
1180
+ },
1181
+ /**
1182
+ * Get the Stripe payment account for the project
1183
+ * @summary Get Stripe Payment Account
1184
+ * @param {string} project Project unique identifier
1185
+ * @param {*} [options] Override http request option.
1186
+ * @throws {RequiredError}
1187
+ */
1188
+ getStripePaymentAccount(project, options) {
1189
+ return __awaiter(this, void 0, void 0, function* () {
1190
+ var _a, _b, _c;
1191
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getStripePaymentAccount(project, options);
1192
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1193
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentApi.getStripePaymentAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1194
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1195
+ });
1196
+ },
1197
+ };
1198
+ };
1199
+ exports.PaymentApiFp = PaymentApiFp;
1200
+ /**
1201
+ * PaymentApi - factory interface
1202
+ * @export
1203
+ */
1204
+ const PaymentApiFactory = function (configuration, basePath, axios) {
1205
+ const localVarFp = (0, exports.PaymentApiFp)(configuration);
1206
+ return {
1207
+ /**
1208
+ * Authorize a Stripe payment account
1209
+ * @summary Authorize Stripe
1210
+ * @param {PaymentApiAuthorizeStripeRequest} requestParameters Request parameters.
1211
+ * @param {*} [options] Override http request option.
1212
+ * @throws {RequiredError}
1213
+ */
1214
+ authorizeStripe(requestParameters, options) {
1215
+ return localVarFp.authorizeStripe(requestParameters.project, options).then((request) => request(axios, basePath));
1216
+ },
1217
+ /**
1218
+ * Deauthorize a Stripe payment account
1219
+ * @summary Deauthorize Stripe
1220
+ * @param {PaymentApiDeauthorizeStripeRequest} requestParameters Request parameters.
1221
+ * @param {*} [options] Override http request option.
1222
+ * @throws {RequiredError}
1223
+ */
1224
+ deauthorizeStripe(requestParameters, options) {
1225
+ return localVarFp.deauthorizeStripe(requestParameters.project, options).then((request) => request(axios, basePath));
1226
+ },
1227
+ /**
1228
+ * Get the Stripe payment account for the project
1229
+ * @summary Get Stripe Payment Account
1230
+ * @param {PaymentApiGetStripePaymentAccountRequest} requestParameters Request parameters.
1231
+ * @param {*} [options] Override http request option.
1232
+ * @throws {RequiredError}
1233
+ */
1234
+ getStripePaymentAccount(requestParameters, options) {
1235
+ return localVarFp.getStripePaymentAccount(requestParameters.project, options).then((request) => request(axios, basePath));
1236
+ },
1237
+ };
1238
+ };
1239
+ exports.PaymentApiFactory = PaymentApiFactory;
1240
+ /**
1241
+ * PaymentApi - object-oriented interface
1242
+ * @export
1243
+ * @class PaymentApi
1244
+ * @extends {BaseAPI}
1245
+ */
1246
+ class PaymentApi extends base_1.BaseAPI {
1247
+ /**
1248
+ * Authorize a Stripe payment account
1249
+ * @summary Authorize Stripe
1250
+ * @param {PaymentApiAuthorizeStripeRequest} requestParameters Request parameters.
1251
+ * @param {*} [options] Override http request option.
1252
+ * @throws {RequiredError}
1253
+ * @memberof PaymentApi
1254
+ */
1255
+ authorizeStripe(requestParameters, options) {
1256
+ return (0, exports.PaymentApiFp)(this.configuration).authorizeStripe(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
1257
+ }
1258
+ /**
1259
+ * Deauthorize a Stripe payment account
1260
+ * @summary Deauthorize Stripe
1261
+ * @param {PaymentApiDeauthorizeStripeRequest} requestParameters Request parameters.
1262
+ * @param {*} [options] Override http request option.
1263
+ * @throws {RequiredError}
1264
+ * @memberof PaymentApi
1265
+ */
1266
+ deauthorizeStripe(requestParameters, options) {
1267
+ return (0, exports.PaymentApiFp)(this.configuration).deauthorizeStripe(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
1268
+ }
1269
+ /**
1270
+ * Get the Stripe payment account for the project
1271
+ * @summary Get Stripe Payment Account
1272
+ * @param {PaymentApiGetStripePaymentAccountRequest} requestParameters Request parameters.
1273
+ * @param {*} [options] Override http request option.
1274
+ * @throws {RequiredError}
1275
+ * @memberof PaymentApi
1276
+ */
1277
+ getStripePaymentAccount(requestParameters, options) {
1278
+ return (0, exports.PaymentApiFp)(this.configuration).getStripePaymentAccount(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
1279
+ }
1280
+ }
1281
+ exports.PaymentApi = PaymentApi;
1022
1282
  /**
1023
1283
  * PlatformApi - axios parameter creator
1024
1284
  * @export
package/dist/base.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).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.13.0
8
+ * The version of the OpenAPI document: 0.14.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.13.0
8
+ * The version of the OpenAPI document: 0.14.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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).
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.13.0
8
+ * The version of the OpenAPI document: 0.14.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,7 +23,7 @@ class Configuration {
23
23
  this.accessToken = param.accessToken;
24
24
  this.basePath = param.basePath;
25
25
  this.serverIndex = param.serverIndex;
26
- this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/0.13.0/typescript-axios" }) }, param.baseOptions);
26
+ this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/0.14.0/typescript-axios" }) }, param.baseOptions);
27
27
  this.formDataCtor = param.formDataCtor;
28
28
  }
29
29
  /**
package/dist/esm/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