@tennac-booking/sdk 1.0.183 → 1.0.185
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/.openapi-generator/FILES +412 -426
- package/README.md +3 -23
- package/api.ts +58 -1269
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +55 -821
- package/dist/api.js +15 -767
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +55 -821
- package/dist/esm/api.js +11 -750
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/BookingsApi.md +5 -5
- package/docs/JoinOpenBookingRequest.md +26 -0
- package/docs/UserClubMembership.md +2 -0
- package/docs/UserProfileResponse.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/PaymentIntentResult.md +0 -28
- package/docs/PaymentProviderType.md +0 -10
- package/docs/PaymentStatus.md +0 -14
- package/docs/PaymentsStaffApi.md +0 -124
- package/docs/SumUpApi.md +0 -63
- package/docs/SumUpManagerApi.md +0 -332
- package/docs/SumupAccountStatusResponse.md +0 -32
- package/docs/SumupCancelPaymentRequest.md +0 -20
- package/docs/SumupConnectUrlResponse.md +0 -20
- package/docs/SumupCreatePaymentRequest.md +0 -32
- package/docs/SumupOAuthCallbackResponse.md +0 -24
- package/docs/SumupPairReaderRequest.md +0 -20
- package/docs/SumupPairReaderResponse.md +0 -20
- package/docs/SumupReaderInfo.md +0 -34
- package/docs/SumupReadersResponse.md +0 -20
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* openapi.json
|
|
6
6
|
* Pandook API Documentation
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.185
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,11 +22,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.UpdateRecurringDefinitionRequestTypeEnum = exports.UpdateRecurringDefinitionRequestVisibilityTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = exports.TrendDirection = exports.SurfaceType = exports.StaffUserProfileResponseCreatedFromEnum = exports.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.
|
|
26
|
-
exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubCustomerStaffApi = exports.ClubCustomerStaffApiFactory = exports.ClubCustomerStaffApiFp = exports.ClubCustomerStaffApiAxiosParamCreator = exports.ClubCustomerMeApi = exports.ClubCustomerMeApiFactory = exports.ClubCustomerMeApiFp = exports.ClubCustomerMeApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.WeekdayKey = exports.WaitListResponseTargetTypeEnum = exports.VisibilityType = exports.UserProfileResponseCreatedFromEnum = exports.UserLocationSummaryTypeEnum =
|
|
27
|
-
exports.ImagesApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ContactApi = exports.ContactApiFactory = exports.ContactApiFp = exports.ContactApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = exports.ClubSettingsStaffApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp =
|
|
28
|
-
exports.
|
|
29
|
-
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = exports.UsersApi = void 0;
|
|
25
|
+
exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = exports.UpdateRecurringDefinitionRequestParticipationTypeEnum = exports.UpdateRecurringDefinitionRequestTypeEnum = exports.UpdateRecurringDefinitionRequestVisibilityTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = exports.TrendDirection = exports.SurfaceType = exports.StaffUserProfileResponseCreatedFromEnum = exports.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.InvoiceStatusSETUPSUCCESS = exports.InvoiceStatusSETUPPENDING = exports.InvoiceStatus = exports.ImageContextType = exports.IUserLocationTypeEnum = exports.IUserAttributesCreatedFromEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.EventBookingStatus = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CreateActualityRequestDiffusionModeEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingInvoicePaymentStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
|
+
exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubCustomerStaffApi = exports.ClubCustomerStaffApiFactory = exports.ClubCustomerStaffApiFp = exports.ClubCustomerStaffApiAxiosParamCreator = exports.ClubCustomerMeApi = exports.ClubCustomerMeApiFactory = exports.ClubCustomerMeApiFp = exports.ClubCustomerMeApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.WeekdayKey = exports.WaitListResponseTargetTypeEnum = exports.VisibilityType = exports.UserProfileResponseCreatedFromEnum = exports.UserLocationSummaryTypeEnum = void 0;
|
|
27
|
+
exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ContactApi = exports.ContactApiFactory = exports.ContactApiFp = exports.ContactApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = exports.ClubSettingsStaffApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp = void 0;
|
|
28
|
+
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.PublicEmailApi = exports.PublicEmailApiFactory = exports.PublicEmailApiFp = exports.PublicEmailApiAxiosParamCreator = exports.ImagesApi = void 0;
|
|
30
29
|
const axios_1 = require("axios");
|
|
31
30
|
// Some imports not used depending on template conditions
|
|
32
31
|
// @ts-ignore
|
|
@@ -259,26 +258,6 @@ exports.PaymentMethod = {
|
|
|
259
258
|
OnsiteCash: 'onsite_cash',
|
|
260
259
|
Free: 'free'
|
|
261
260
|
};
|
|
262
|
-
/**
|
|
263
|
-
*
|
|
264
|
-
* @export
|
|
265
|
-
* @enum {string}
|
|
266
|
-
*/
|
|
267
|
-
exports.PaymentProviderType = {
|
|
268
|
-
Stripe: 'stripe',
|
|
269
|
-
Sumup: 'sumup'
|
|
270
|
-
};
|
|
271
|
-
/**
|
|
272
|
-
*
|
|
273
|
-
* @export
|
|
274
|
-
* @enum {string}
|
|
275
|
-
*/
|
|
276
|
-
exports.PaymentStatus = {
|
|
277
|
-
Pending: 'pending',
|
|
278
|
-
Succeeded: 'succeeded',
|
|
279
|
-
Failed: 'failed',
|
|
280
|
-
Cancelled: 'cancelled'
|
|
281
|
-
};
|
|
282
261
|
/**
|
|
283
262
|
*
|
|
284
263
|
* @export
|
|
@@ -781,15 +760,15 @@ const BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
781
760
|
/**
|
|
782
761
|
*
|
|
783
762
|
* @param {string} bookingId
|
|
784
|
-
* @param {
|
|
763
|
+
* @param {JoinOpenBookingRequest} joinOpenBookingRequest
|
|
785
764
|
* @param {*} [options] Override http request option.
|
|
786
765
|
* @throws {RequiredError}
|
|
787
766
|
*/
|
|
788
|
-
joinOpenBooking: (bookingId_1,
|
|
767
|
+
joinOpenBooking: (bookingId_1, joinOpenBookingRequest_1, ...args_1) => __awaiter(this, [bookingId_1, joinOpenBookingRequest_1, ...args_1], void 0, function* (bookingId, joinOpenBookingRequest, options = {}) {
|
|
789
768
|
// verify required parameter 'bookingId' is not null or undefined
|
|
790
769
|
(0, common_1.assertParamExists)('joinOpenBooking', 'bookingId', bookingId);
|
|
791
|
-
// verify required parameter '
|
|
792
|
-
(0, common_1.assertParamExists)('joinOpenBooking', '
|
|
770
|
+
// verify required parameter 'joinOpenBookingRequest' is not null or undefined
|
|
771
|
+
(0, common_1.assertParamExists)('joinOpenBooking', 'joinOpenBookingRequest', joinOpenBookingRequest);
|
|
793
772
|
const localVarPath = `/api/bookings/{bookingId}/open/join`
|
|
794
773
|
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
795
774
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -808,7 +787,7 @@ const BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
808
787
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
809
788
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
810
789
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
811
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
790
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(joinOpenBookingRequest, localVarRequestOptions, configuration);
|
|
812
791
|
return {
|
|
813
792
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
814
793
|
options: localVarRequestOptions,
|
|
@@ -1005,14 +984,14 @@ const BookingsApiFp = function (configuration) {
|
|
|
1005
984
|
/**
|
|
1006
985
|
*
|
|
1007
986
|
* @param {string} bookingId
|
|
1008
|
-
* @param {
|
|
987
|
+
* @param {JoinOpenBookingRequest} joinOpenBookingRequest
|
|
1009
988
|
* @param {*} [options] Override http request option.
|
|
1010
989
|
* @throws {RequiredError}
|
|
1011
990
|
*/
|
|
1012
|
-
joinOpenBooking(bookingId,
|
|
991
|
+
joinOpenBooking(bookingId, joinOpenBookingRequest, options) {
|
|
1013
992
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1014
993
|
var _a, _b, _c;
|
|
1015
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.joinOpenBooking(bookingId,
|
|
994
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.joinOpenBooking(bookingId, joinOpenBookingRequest, options);
|
|
1016
995
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1017
996
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BookingsApi.joinOpenBooking']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1018
997
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1131,7 +1110,7 @@ const BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
1131
1110
|
* @throws {RequiredError}
|
|
1132
1111
|
*/
|
|
1133
1112
|
joinOpenBooking(requestParameters, options) {
|
|
1134
|
-
return localVarFp.joinOpenBooking(requestParameters.bookingId, requestParameters.
|
|
1113
|
+
return localVarFp.joinOpenBooking(requestParameters.bookingId, requestParameters.joinOpenBookingRequest, options).then((request) => request(axios, basePath));
|
|
1135
1114
|
},
|
|
1136
1115
|
/**
|
|
1137
1116
|
*
|
|
@@ -1250,7 +1229,7 @@ class BookingsApi extends base_1.BaseAPI {
|
|
|
1250
1229
|
* @memberof BookingsApi
|
|
1251
1230
|
*/
|
|
1252
1231
|
joinOpenBooking(requestParameters, options) {
|
|
1253
|
-
return (0, exports.BookingsApiFp)(this.configuration).joinOpenBooking(requestParameters.bookingId, requestParameters.
|
|
1232
|
+
return (0, exports.BookingsApiFp)(this.configuration).joinOpenBooking(requestParameters.bookingId, requestParameters.joinOpenBookingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1254
1233
|
}
|
|
1255
1234
|
/**
|
|
1256
1235
|
*
|
|
@@ -11447,189 +11426,6 @@ class ImagesApi extends base_1.BaseAPI {
|
|
|
11447
11426
|
}
|
|
11448
11427
|
}
|
|
11449
11428
|
exports.ImagesApi = ImagesApi;
|
|
11450
|
-
/**
|
|
11451
|
-
* PaymentsStaffApi - axios parameter creator
|
|
11452
|
-
* @export
|
|
11453
|
-
*/
|
|
11454
|
-
const PaymentsStaffApiAxiosParamCreator = function (configuration) {
|
|
11455
|
-
return {
|
|
11456
|
-
/**
|
|
11457
|
-
* Cancel a SumUp reader checkout.
|
|
11458
|
-
* @param {string} clubId
|
|
11459
|
-
* @param {string} paymentId
|
|
11460
|
-
* @param {SumupCancelPaymentRequest} [sumupCancelPaymentRequest]
|
|
11461
|
-
* @param {*} [options] Override http request option.
|
|
11462
|
-
* @throws {RequiredError}
|
|
11463
|
-
*/
|
|
11464
|
-
cancelSumupPayment: (clubId_1, paymentId_1, sumupCancelPaymentRequest_1, ...args_1) => __awaiter(this, [clubId_1, paymentId_1, sumupCancelPaymentRequest_1, ...args_1], void 0, function* (clubId, paymentId, sumupCancelPaymentRequest, options = {}) {
|
|
11465
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
11466
|
-
(0, common_1.assertParamExists)('cancelSumupPayment', 'clubId', clubId);
|
|
11467
|
-
// verify required parameter 'paymentId' is not null or undefined
|
|
11468
|
-
(0, common_1.assertParamExists)('cancelSumupPayment', 'paymentId', paymentId);
|
|
11469
|
-
const localVarPath = `/api/clubs/{clubId}/payments/sumup/{paymentId}/cancel`
|
|
11470
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)))
|
|
11471
|
-
.replace(`{${"paymentId"}}`, encodeURIComponent(String(paymentId)));
|
|
11472
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11473
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11474
|
-
let baseOptions;
|
|
11475
|
-
if (configuration) {
|
|
11476
|
-
baseOptions = configuration.baseOptions;
|
|
11477
|
-
}
|
|
11478
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
11479
|
-
const localVarHeaderParameter = {};
|
|
11480
|
-
const localVarQueryParameter = {};
|
|
11481
|
-
// authentication bearerAuth required
|
|
11482
|
-
// http bearer authentication required
|
|
11483
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
11484
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11485
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11486
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11487
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11488
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sumupCancelPaymentRequest, localVarRequestOptions, configuration);
|
|
11489
|
-
return {
|
|
11490
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11491
|
-
options: localVarRequestOptions,
|
|
11492
|
-
};
|
|
11493
|
-
}),
|
|
11494
|
-
/**
|
|
11495
|
-
* Start a SumUp reader checkout (manual payment trigger).
|
|
11496
|
-
* @param {string} clubId
|
|
11497
|
-
* @param {SumupCreatePaymentRequest} sumupCreatePaymentRequest
|
|
11498
|
-
* @param {*} [options] Override http request option.
|
|
11499
|
-
* @throws {RequiredError}
|
|
11500
|
-
*/
|
|
11501
|
-
createSumupPayment: (clubId_1, sumupCreatePaymentRequest_1, ...args_1) => __awaiter(this, [clubId_1, sumupCreatePaymentRequest_1, ...args_1], void 0, function* (clubId, sumupCreatePaymentRequest, options = {}) {
|
|
11502
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
11503
|
-
(0, common_1.assertParamExists)('createSumupPayment', 'clubId', clubId);
|
|
11504
|
-
// verify required parameter 'sumupCreatePaymentRequest' is not null or undefined
|
|
11505
|
-
(0, common_1.assertParamExists)('createSumupPayment', 'sumupCreatePaymentRequest', sumupCreatePaymentRequest);
|
|
11506
|
-
const localVarPath = `/api/clubs/{clubId}/payments/sumup`
|
|
11507
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
11508
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11509
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11510
|
-
let baseOptions;
|
|
11511
|
-
if (configuration) {
|
|
11512
|
-
baseOptions = configuration.baseOptions;
|
|
11513
|
-
}
|
|
11514
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
11515
|
-
const localVarHeaderParameter = {};
|
|
11516
|
-
const localVarQueryParameter = {};
|
|
11517
|
-
// authentication bearerAuth required
|
|
11518
|
-
// http bearer authentication required
|
|
11519
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
11520
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11521
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11522
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11523
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11524
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sumupCreatePaymentRequest, localVarRequestOptions, configuration);
|
|
11525
|
-
return {
|
|
11526
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11527
|
-
options: localVarRequestOptions,
|
|
11528
|
-
};
|
|
11529
|
-
}),
|
|
11530
|
-
};
|
|
11531
|
-
};
|
|
11532
|
-
exports.PaymentsStaffApiAxiosParamCreator = PaymentsStaffApiAxiosParamCreator;
|
|
11533
|
-
/**
|
|
11534
|
-
* PaymentsStaffApi - functional programming interface
|
|
11535
|
-
* @export
|
|
11536
|
-
*/
|
|
11537
|
-
const PaymentsStaffApiFp = function (configuration) {
|
|
11538
|
-
const localVarAxiosParamCreator = (0, exports.PaymentsStaffApiAxiosParamCreator)(configuration);
|
|
11539
|
-
return {
|
|
11540
|
-
/**
|
|
11541
|
-
* Cancel a SumUp reader checkout.
|
|
11542
|
-
* @param {string} clubId
|
|
11543
|
-
* @param {string} paymentId
|
|
11544
|
-
* @param {SumupCancelPaymentRequest} [sumupCancelPaymentRequest]
|
|
11545
|
-
* @param {*} [options] Override http request option.
|
|
11546
|
-
* @throws {RequiredError}
|
|
11547
|
-
*/
|
|
11548
|
-
cancelSumupPayment(clubId, paymentId, sumupCancelPaymentRequest, options) {
|
|
11549
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
11550
|
-
var _a, _b, _c;
|
|
11551
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelSumupPayment(clubId, paymentId, sumupCancelPaymentRequest, options);
|
|
11552
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11553
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentsStaffApi.cancelSumupPayment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11554
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11555
|
-
});
|
|
11556
|
-
},
|
|
11557
|
-
/**
|
|
11558
|
-
* Start a SumUp reader checkout (manual payment trigger).
|
|
11559
|
-
* @param {string} clubId
|
|
11560
|
-
* @param {SumupCreatePaymentRequest} sumupCreatePaymentRequest
|
|
11561
|
-
* @param {*} [options] Override http request option.
|
|
11562
|
-
* @throws {RequiredError}
|
|
11563
|
-
*/
|
|
11564
|
-
createSumupPayment(clubId, sumupCreatePaymentRequest, options) {
|
|
11565
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
11566
|
-
var _a, _b, _c;
|
|
11567
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSumupPayment(clubId, sumupCreatePaymentRequest, options);
|
|
11568
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11569
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentsStaffApi.createSumupPayment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11570
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11571
|
-
});
|
|
11572
|
-
},
|
|
11573
|
-
};
|
|
11574
|
-
};
|
|
11575
|
-
exports.PaymentsStaffApiFp = PaymentsStaffApiFp;
|
|
11576
|
-
/**
|
|
11577
|
-
* PaymentsStaffApi - factory interface
|
|
11578
|
-
* @export
|
|
11579
|
-
*/
|
|
11580
|
-
const PaymentsStaffApiFactory = function (configuration, basePath, axios) {
|
|
11581
|
-
const localVarFp = (0, exports.PaymentsStaffApiFp)(configuration);
|
|
11582
|
-
return {
|
|
11583
|
-
/**
|
|
11584
|
-
* Cancel a SumUp reader checkout.
|
|
11585
|
-
* @param {PaymentsStaffApiCancelSumupPaymentRequest} requestParameters Request parameters.
|
|
11586
|
-
* @param {*} [options] Override http request option.
|
|
11587
|
-
* @throws {RequiredError}
|
|
11588
|
-
*/
|
|
11589
|
-
cancelSumupPayment(requestParameters, options) {
|
|
11590
|
-
return localVarFp.cancelSumupPayment(requestParameters.clubId, requestParameters.paymentId, requestParameters.sumupCancelPaymentRequest, options).then((request) => request(axios, basePath));
|
|
11591
|
-
},
|
|
11592
|
-
/**
|
|
11593
|
-
* Start a SumUp reader checkout (manual payment trigger).
|
|
11594
|
-
* @param {PaymentsStaffApiCreateSumupPaymentRequest} requestParameters Request parameters.
|
|
11595
|
-
* @param {*} [options] Override http request option.
|
|
11596
|
-
* @throws {RequiredError}
|
|
11597
|
-
*/
|
|
11598
|
-
createSumupPayment(requestParameters, options) {
|
|
11599
|
-
return localVarFp.createSumupPayment(requestParameters.clubId, requestParameters.sumupCreatePaymentRequest, options).then((request) => request(axios, basePath));
|
|
11600
|
-
},
|
|
11601
|
-
};
|
|
11602
|
-
};
|
|
11603
|
-
exports.PaymentsStaffApiFactory = PaymentsStaffApiFactory;
|
|
11604
|
-
/**
|
|
11605
|
-
* PaymentsStaffApi - object-oriented interface
|
|
11606
|
-
* @export
|
|
11607
|
-
* @class PaymentsStaffApi
|
|
11608
|
-
* @extends {BaseAPI}
|
|
11609
|
-
*/
|
|
11610
|
-
class PaymentsStaffApi extends base_1.BaseAPI {
|
|
11611
|
-
/**
|
|
11612
|
-
* Cancel a SumUp reader checkout.
|
|
11613
|
-
* @param {PaymentsStaffApiCancelSumupPaymentRequest} requestParameters Request parameters.
|
|
11614
|
-
* @param {*} [options] Override http request option.
|
|
11615
|
-
* @throws {RequiredError}
|
|
11616
|
-
* @memberof PaymentsStaffApi
|
|
11617
|
-
*/
|
|
11618
|
-
cancelSumupPayment(requestParameters, options) {
|
|
11619
|
-
return (0, exports.PaymentsStaffApiFp)(this.configuration).cancelSumupPayment(requestParameters.clubId, requestParameters.paymentId, requestParameters.sumupCancelPaymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11620
|
-
}
|
|
11621
|
-
/**
|
|
11622
|
-
* Start a SumUp reader checkout (manual payment trigger).
|
|
11623
|
-
* @param {PaymentsStaffApiCreateSumupPaymentRequest} requestParameters Request parameters.
|
|
11624
|
-
* @param {*} [options] Override http request option.
|
|
11625
|
-
* @throws {RequiredError}
|
|
11626
|
-
* @memberof PaymentsStaffApi
|
|
11627
|
-
*/
|
|
11628
|
-
createSumupPayment(requestParameters, options) {
|
|
11629
|
-
return (0, exports.PaymentsStaffApiFp)(this.configuration).createSumupPayment(requestParameters.clubId, requestParameters.sumupCreatePaymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11630
|
-
}
|
|
11631
|
-
}
|
|
11632
|
-
exports.PaymentsStaffApi = PaymentsStaffApi;
|
|
11633
11429
|
/**
|
|
11634
11430
|
* PublicEmailApi - axios parameter creator
|
|
11635
11431
|
* @export
|
|
@@ -13054,554 +12850,6 @@ class SubscriptionsUserApi extends base_1.BaseAPI {
|
|
|
13054
12850
|
}
|
|
13055
12851
|
}
|
|
13056
12852
|
exports.SubscriptionsUserApi = SubscriptionsUserApi;
|
|
13057
|
-
/**
|
|
13058
|
-
* SumUpApi - axios parameter creator
|
|
13059
|
-
* @export
|
|
13060
|
-
*/
|
|
13061
|
-
const SumUpApiAxiosParamCreator = function (configuration) {
|
|
13062
|
-
return {
|
|
13063
|
-
/**
|
|
13064
|
-
* OAuth callback for SumUp.
|
|
13065
|
-
* @param {string} code
|
|
13066
|
-
* @param {string} state
|
|
13067
|
-
* @param {*} [options] Override http request option.
|
|
13068
|
-
* @throws {RequiredError}
|
|
13069
|
-
*/
|
|
13070
|
-
sumupOauthCallback: (code_1, state_1, ...args_1) => __awaiter(this, [code_1, state_1, ...args_1], void 0, function* (code, state, options = {}) {
|
|
13071
|
-
// verify required parameter 'code' is not null or undefined
|
|
13072
|
-
(0, common_1.assertParamExists)('sumupOauthCallback', 'code', code);
|
|
13073
|
-
// verify required parameter 'state' is not null or undefined
|
|
13074
|
-
(0, common_1.assertParamExists)('sumupOauthCallback', 'state', state);
|
|
13075
|
-
const localVarPath = `/api/sumup/oauth/callback`;
|
|
13076
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13077
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13078
|
-
let baseOptions;
|
|
13079
|
-
if (configuration) {
|
|
13080
|
-
baseOptions = configuration.baseOptions;
|
|
13081
|
-
}
|
|
13082
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
13083
|
-
const localVarHeaderParameter = {};
|
|
13084
|
-
const localVarQueryParameter = {};
|
|
13085
|
-
if (code !== undefined) {
|
|
13086
|
-
localVarQueryParameter['code'] = code;
|
|
13087
|
-
}
|
|
13088
|
-
if (state !== undefined) {
|
|
13089
|
-
localVarQueryParameter['state'] = state;
|
|
13090
|
-
}
|
|
13091
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13092
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13093
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13094
|
-
return {
|
|
13095
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13096
|
-
options: localVarRequestOptions,
|
|
13097
|
-
};
|
|
13098
|
-
}),
|
|
13099
|
-
};
|
|
13100
|
-
};
|
|
13101
|
-
exports.SumUpApiAxiosParamCreator = SumUpApiAxiosParamCreator;
|
|
13102
|
-
/**
|
|
13103
|
-
* SumUpApi - functional programming interface
|
|
13104
|
-
* @export
|
|
13105
|
-
*/
|
|
13106
|
-
const SumUpApiFp = function (configuration) {
|
|
13107
|
-
const localVarAxiosParamCreator = (0, exports.SumUpApiAxiosParamCreator)(configuration);
|
|
13108
|
-
return {
|
|
13109
|
-
/**
|
|
13110
|
-
* OAuth callback for SumUp.
|
|
13111
|
-
* @param {string} code
|
|
13112
|
-
* @param {string} state
|
|
13113
|
-
* @param {*} [options] Override http request option.
|
|
13114
|
-
* @throws {RequiredError}
|
|
13115
|
-
*/
|
|
13116
|
-
sumupOauthCallback(code, state, options) {
|
|
13117
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
13118
|
-
var _a, _b, _c;
|
|
13119
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.sumupOauthCallback(code, state, options);
|
|
13120
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13121
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SumUpApi.sumupOauthCallback']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13122
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13123
|
-
});
|
|
13124
|
-
},
|
|
13125
|
-
};
|
|
13126
|
-
};
|
|
13127
|
-
exports.SumUpApiFp = SumUpApiFp;
|
|
13128
|
-
/**
|
|
13129
|
-
* SumUpApi - factory interface
|
|
13130
|
-
* @export
|
|
13131
|
-
*/
|
|
13132
|
-
const SumUpApiFactory = function (configuration, basePath, axios) {
|
|
13133
|
-
const localVarFp = (0, exports.SumUpApiFp)(configuration);
|
|
13134
|
-
return {
|
|
13135
|
-
/**
|
|
13136
|
-
* OAuth callback for SumUp.
|
|
13137
|
-
* @param {SumUpApiSumupOauthCallbackRequest} requestParameters Request parameters.
|
|
13138
|
-
* @param {*} [options] Override http request option.
|
|
13139
|
-
* @throws {RequiredError}
|
|
13140
|
-
*/
|
|
13141
|
-
sumupOauthCallback(requestParameters, options) {
|
|
13142
|
-
return localVarFp.sumupOauthCallback(requestParameters.code, requestParameters.state, options).then((request) => request(axios, basePath));
|
|
13143
|
-
},
|
|
13144
|
-
};
|
|
13145
|
-
};
|
|
13146
|
-
exports.SumUpApiFactory = SumUpApiFactory;
|
|
13147
|
-
/**
|
|
13148
|
-
* SumUpApi - object-oriented interface
|
|
13149
|
-
* @export
|
|
13150
|
-
* @class SumUpApi
|
|
13151
|
-
* @extends {BaseAPI}
|
|
13152
|
-
*/
|
|
13153
|
-
class SumUpApi extends base_1.BaseAPI {
|
|
13154
|
-
/**
|
|
13155
|
-
* OAuth callback for SumUp.
|
|
13156
|
-
* @param {SumUpApiSumupOauthCallbackRequest} requestParameters Request parameters.
|
|
13157
|
-
* @param {*} [options] Override http request option.
|
|
13158
|
-
* @throws {RequiredError}
|
|
13159
|
-
* @memberof SumUpApi
|
|
13160
|
-
*/
|
|
13161
|
-
sumupOauthCallback(requestParameters, options) {
|
|
13162
|
-
return (0, exports.SumUpApiFp)(this.configuration).sumupOauthCallback(requestParameters.code, requestParameters.state, options).then((request) => request(this.axios, this.basePath));
|
|
13163
|
-
}
|
|
13164
|
-
}
|
|
13165
|
-
exports.SumUpApi = SumUpApi;
|
|
13166
|
-
/**
|
|
13167
|
-
* SumUpManagerApi - axios parameter creator
|
|
13168
|
-
* @export
|
|
13169
|
-
*/
|
|
13170
|
-
const SumUpManagerApiAxiosParamCreator = function (configuration) {
|
|
13171
|
-
return {
|
|
13172
|
-
/**
|
|
13173
|
-
* Disconnect SumUp account for a club.
|
|
13174
|
-
* @param {string} clubId
|
|
13175
|
-
* @param {*} [options] Override http request option.
|
|
13176
|
-
* @throws {RequiredError}
|
|
13177
|
-
*/
|
|
13178
|
-
disconnectSumup: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
|
|
13179
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
13180
|
-
(0, common_1.assertParamExists)('disconnectSumup', 'clubId', clubId);
|
|
13181
|
-
const localVarPath = `/api/clubs/{clubId}/sumup/disconnect`
|
|
13182
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
13183
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13184
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13185
|
-
let baseOptions;
|
|
13186
|
-
if (configuration) {
|
|
13187
|
-
baseOptions = configuration.baseOptions;
|
|
13188
|
-
}
|
|
13189
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
13190
|
-
const localVarHeaderParameter = {};
|
|
13191
|
-
const localVarQueryParameter = {};
|
|
13192
|
-
// authentication bearerAuth required
|
|
13193
|
-
// http bearer authentication required
|
|
13194
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13195
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13196
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13197
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13198
|
-
return {
|
|
13199
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13200
|
-
options: localVarRequestOptions,
|
|
13201
|
-
};
|
|
13202
|
-
}),
|
|
13203
|
-
/**
|
|
13204
|
-
* Start SumUp OAuth connection for a club.
|
|
13205
|
-
* @param {string} clubId
|
|
13206
|
-
* @param {*} [options] Override http request option.
|
|
13207
|
-
* @throws {RequiredError}
|
|
13208
|
-
*/
|
|
13209
|
-
getSumupConnectUrl: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
|
|
13210
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
13211
|
-
(0, common_1.assertParamExists)('getSumupConnectUrl', 'clubId', clubId);
|
|
13212
|
-
const localVarPath = `/api/clubs/{clubId}/sumup/connect`
|
|
13213
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
13214
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13215
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13216
|
-
let baseOptions;
|
|
13217
|
-
if (configuration) {
|
|
13218
|
-
baseOptions = configuration.baseOptions;
|
|
13219
|
-
}
|
|
13220
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
13221
|
-
const localVarHeaderParameter = {};
|
|
13222
|
-
const localVarQueryParameter = {};
|
|
13223
|
-
// authentication bearerAuth required
|
|
13224
|
-
// http bearer authentication required
|
|
13225
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13226
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13227
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13228
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13229
|
-
return {
|
|
13230
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13231
|
-
options: localVarRequestOptions,
|
|
13232
|
-
};
|
|
13233
|
-
}),
|
|
13234
|
-
/**
|
|
13235
|
-
* Get SumUp connection status for a club.
|
|
13236
|
-
* @param {string} clubId
|
|
13237
|
-
* @param {*} [options] Override http request option.
|
|
13238
|
-
* @throws {RequiredError}
|
|
13239
|
-
*/
|
|
13240
|
-
getSumupStatus: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
|
|
13241
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
13242
|
-
(0, common_1.assertParamExists)('getSumupStatus', 'clubId', clubId);
|
|
13243
|
-
const localVarPath = `/api/clubs/{clubId}/sumup/status`
|
|
13244
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
13245
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13246
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13247
|
-
let baseOptions;
|
|
13248
|
-
if (configuration) {
|
|
13249
|
-
baseOptions = configuration.baseOptions;
|
|
13250
|
-
}
|
|
13251
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
13252
|
-
const localVarHeaderParameter = {};
|
|
13253
|
-
const localVarQueryParameter = {};
|
|
13254
|
-
// authentication bearerAuth required
|
|
13255
|
-
// http bearer authentication required
|
|
13256
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13257
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13258
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13259
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13260
|
-
return {
|
|
13261
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13262
|
-
options: localVarRequestOptions,
|
|
13263
|
-
};
|
|
13264
|
-
}),
|
|
13265
|
-
/**
|
|
13266
|
-
* List SumUp readers for a club.
|
|
13267
|
-
* @param {string} clubId
|
|
13268
|
-
* @param {*} [options] Override http request option.
|
|
13269
|
-
* @throws {RequiredError}
|
|
13270
|
-
*/
|
|
13271
|
-
listSumupReaders: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
|
|
13272
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
13273
|
-
(0, common_1.assertParamExists)('listSumupReaders', 'clubId', clubId);
|
|
13274
|
-
const localVarPath = `/api/clubs/{clubId}/sumup/readers`
|
|
13275
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
13276
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13277
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13278
|
-
let baseOptions;
|
|
13279
|
-
if (configuration) {
|
|
13280
|
-
baseOptions = configuration.baseOptions;
|
|
13281
|
-
}
|
|
13282
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
13283
|
-
const localVarHeaderParameter = {};
|
|
13284
|
-
const localVarQueryParameter = {};
|
|
13285
|
-
// authentication bearerAuth required
|
|
13286
|
-
// http bearer authentication required
|
|
13287
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13288
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13289
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13290
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13291
|
-
return {
|
|
13292
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13293
|
-
options: localVarRequestOptions,
|
|
13294
|
-
};
|
|
13295
|
-
}),
|
|
13296
|
-
/**
|
|
13297
|
-
* Pair a SumUp reader with a club.
|
|
13298
|
-
* @param {string} clubId
|
|
13299
|
-
* @param {SumupPairReaderRequest} sumupPairReaderRequest
|
|
13300
|
-
* @param {*} [options] Override http request option.
|
|
13301
|
-
* @throws {RequiredError}
|
|
13302
|
-
*/
|
|
13303
|
-
pairSumupReader: (clubId_1, sumupPairReaderRequest_1, ...args_1) => __awaiter(this, [clubId_1, sumupPairReaderRequest_1, ...args_1], void 0, function* (clubId, sumupPairReaderRequest, options = {}) {
|
|
13304
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
13305
|
-
(0, common_1.assertParamExists)('pairSumupReader', 'clubId', clubId);
|
|
13306
|
-
// verify required parameter 'sumupPairReaderRequest' is not null or undefined
|
|
13307
|
-
(0, common_1.assertParamExists)('pairSumupReader', 'sumupPairReaderRequest', sumupPairReaderRequest);
|
|
13308
|
-
const localVarPath = `/api/clubs/{clubId}/sumup/readers/pair`
|
|
13309
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
13310
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13311
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13312
|
-
let baseOptions;
|
|
13313
|
-
if (configuration) {
|
|
13314
|
-
baseOptions = configuration.baseOptions;
|
|
13315
|
-
}
|
|
13316
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
13317
|
-
const localVarHeaderParameter = {};
|
|
13318
|
-
const localVarQueryParameter = {};
|
|
13319
|
-
// authentication bearerAuth required
|
|
13320
|
-
// http bearer authentication required
|
|
13321
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13322
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13323
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13324
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13325
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13326
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sumupPairReaderRequest, localVarRequestOptions, configuration);
|
|
13327
|
-
return {
|
|
13328
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13329
|
-
options: localVarRequestOptions,
|
|
13330
|
-
};
|
|
13331
|
-
}),
|
|
13332
|
-
/**
|
|
13333
|
-
* Select a SumUp reader for a club.
|
|
13334
|
-
* @param {string} clubId
|
|
13335
|
-
* @param {string} readerId
|
|
13336
|
-
* @param {*} [options] Override http request option.
|
|
13337
|
-
* @throws {RequiredError}
|
|
13338
|
-
*/
|
|
13339
|
-
selectSumupReader: (clubId_1, readerId_1, ...args_1) => __awaiter(this, [clubId_1, readerId_1, ...args_1], void 0, function* (clubId, readerId, options = {}) {
|
|
13340
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
13341
|
-
(0, common_1.assertParamExists)('selectSumupReader', 'clubId', clubId);
|
|
13342
|
-
// verify required parameter 'readerId' is not null or undefined
|
|
13343
|
-
(0, common_1.assertParamExists)('selectSumupReader', 'readerId', readerId);
|
|
13344
|
-
const localVarPath = `/api/clubs/{clubId}/sumup/readers/{readerId}/select`
|
|
13345
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)))
|
|
13346
|
-
.replace(`{${"readerId"}}`, encodeURIComponent(String(readerId)));
|
|
13347
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13348
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13349
|
-
let baseOptions;
|
|
13350
|
-
if (configuration) {
|
|
13351
|
-
baseOptions = configuration.baseOptions;
|
|
13352
|
-
}
|
|
13353
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
13354
|
-
const localVarHeaderParameter = {};
|
|
13355
|
-
const localVarQueryParameter = {};
|
|
13356
|
-
// authentication bearerAuth required
|
|
13357
|
-
// http bearer authentication required
|
|
13358
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13359
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13360
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13361
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13362
|
-
return {
|
|
13363
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13364
|
-
options: localVarRequestOptions,
|
|
13365
|
-
};
|
|
13366
|
-
}),
|
|
13367
|
-
};
|
|
13368
|
-
};
|
|
13369
|
-
exports.SumUpManagerApiAxiosParamCreator = SumUpManagerApiAxiosParamCreator;
|
|
13370
|
-
/**
|
|
13371
|
-
* SumUpManagerApi - functional programming interface
|
|
13372
|
-
* @export
|
|
13373
|
-
*/
|
|
13374
|
-
const SumUpManagerApiFp = function (configuration) {
|
|
13375
|
-
const localVarAxiosParamCreator = (0, exports.SumUpManagerApiAxiosParamCreator)(configuration);
|
|
13376
|
-
return {
|
|
13377
|
-
/**
|
|
13378
|
-
* Disconnect SumUp account for a club.
|
|
13379
|
-
* @param {string} clubId
|
|
13380
|
-
* @param {*} [options] Override http request option.
|
|
13381
|
-
* @throws {RequiredError}
|
|
13382
|
-
*/
|
|
13383
|
-
disconnectSumup(clubId, options) {
|
|
13384
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
13385
|
-
var _a, _b, _c;
|
|
13386
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.disconnectSumup(clubId, options);
|
|
13387
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13388
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SumUpManagerApi.disconnectSumup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13389
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13390
|
-
});
|
|
13391
|
-
},
|
|
13392
|
-
/**
|
|
13393
|
-
* Start SumUp OAuth connection for a club.
|
|
13394
|
-
* @param {string} clubId
|
|
13395
|
-
* @param {*} [options] Override http request option.
|
|
13396
|
-
* @throws {RequiredError}
|
|
13397
|
-
*/
|
|
13398
|
-
getSumupConnectUrl(clubId, options) {
|
|
13399
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
13400
|
-
var _a, _b, _c;
|
|
13401
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSumupConnectUrl(clubId, options);
|
|
13402
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13403
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SumUpManagerApi.getSumupConnectUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13404
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13405
|
-
});
|
|
13406
|
-
},
|
|
13407
|
-
/**
|
|
13408
|
-
* Get SumUp connection status for a club.
|
|
13409
|
-
* @param {string} clubId
|
|
13410
|
-
* @param {*} [options] Override http request option.
|
|
13411
|
-
* @throws {RequiredError}
|
|
13412
|
-
*/
|
|
13413
|
-
getSumupStatus(clubId, options) {
|
|
13414
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
13415
|
-
var _a, _b, _c;
|
|
13416
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSumupStatus(clubId, options);
|
|
13417
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13418
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SumUpManagerApi.getSumupStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13419
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13420
|
-
});
|
|
13421
|
-
},
|
|
13422
|
-
/**
|
|
13423
|
-
* List SumUp readers for a club.
|
|
13424
|
-
* @param {string} clubId
|
|
13425
|
-
* @param {*} [options] Override http request option.
|
|
13426
|
-
* @throws {RequiredError}
|
|
13427
|
-
*/
|
|
13428
|
-
listSumupReaders(clubId, options) {
|
|
13429
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
13430
|
-
var _a, _b, _c;
|
|
13431
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSumupReaders(clubId, options);
|
|
13432
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13433
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SumUpManagerApi.listSumupReaders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13434
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13435
|
-
});
|
|
13436
|
-
},
|
|
13437
|
-
/**
|
|
13438
|
-
* Pair a SumUp reader with a club.
|
|
13439
|
-
* @param {string} clubId
|
|
13440
|
-
* @param {SumupPairReaderRequest} sumupPairReaderRequest
|
|
13441
|
-
* @param {*} [options] Override http request option.
|
|
13442
|
-
* @throws {RequiredError}
|
|
13443
|
-
*/
|
|
13444
|
-
pairSumupReader(clubId, sumupPairReaderRequest, options) {
|
|
13445
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
13446
|
-
var _a, _b, _c;
|
|
13447
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.pairSumupReader(clubId, sumupPairReaderRequest, options);
|
|
13448
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13449
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SumUpManagerApi.pairSumupReader']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13450
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13451
|
-
});
|
|
13452
|
-
},
|
|
13453
|
-
/**
|
|
13454
|
-
* Select a SumUp reader for a club.
|
|
13455
|
-
* @param {string} clubId
|
|
13456
|
-
* @param {string} readerId
|
|
13457
|
-
* @param {*} [options] Override http request option.
|
|
13458
|
-
* @throws {RequiredError}
|
|
13459
|
-
*/
|
|
13460
|
-
selectSumupReader(clubId, readerId, options) {
|
|
13461
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
13462
|
-
var _a, _b, _c;
|
|
13463
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.selectSumupReader(clubId, readerId, options);
|
|
13464
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13465
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SumUpManagerApi.selectSumupReader']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13466
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13467
|
-
});
|
|
13468
|
-
},
|
|
13469
|
-
};
|
|
13470
|
-
};
|
|
13471
|
-
exports.SumUpManagerApiFp = SumUpManagerApiFp;
|
|
13472
|
-
/**
|
|
13473
|
-
* SumUpManagerApi - factory interface
|
|
13474
|
-
* @export
|
|
13475
|
-
*/
|
|
13476
|
-
const SumUpManagerApiFactory = function (configuration, basePath, axios) {
|
|
13477
|
-
const localVarFp = (0, exports.SumUpManagerApiFp)(configuration);
|
|
13478
|
-
return {
|
|
13479
|
-
/**
|
|
13480
|
-
* Disconnect SumUp account for a club.
|
|
13481
|
-
* @param {SumUpManagerApiDisconnectSumupRequest} requestParameters Request parameters.
|
|
13482
|
-
* @param {*} [options] Override http request option.
|
|
13483
|
-
* @throws {RequiredError}
|
|
13484
|
-
*/
|
|
13485
|
-
disconnectSumup(requestParameters, options) {
|
|
13486
|
-
return localVarFp.disconnectSumup(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
13487
|
-
},
|
|
13488
|
-
/**
|
|
13489
|
-
* Start SumUp OAuth connection for a club.
|
|
13490
|
-
* @param {SumUpManagerApiGetSumupConnectUrlRequest} requestParameters Request parameters.
|
|
13491
|
-
* @param {*} [options] Override http request option.
|
|
13492
|
-
* @throws {RequiredError}
|
|
13493
|
-
*/
|
|
13494
|
-
getSumupConnectUrl(requestParameters, options) {
|
|
13495
|
-
return localVarFp.getSumupConnectUrl(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
13496
|
-
},
|
|
13497
|
-
/**
|
|
13498
|
-
* Get SumUp connection status for a club.
|
|
13499
|
-
* @param {SumUpManagerApiGetSumupStatusRequest} requestParameters Request parameters.
|
|
13500
|
-
* @param {*} [options] Override http request option.
|
|
13501
|
-
* @throws {RequiredError}
|
|
13502
|
-
*/
|
|
13503
|
-
getSumupStatus(requestParameters, options) {
|
|
13504
|
-
return localVarFp.getSumupStatus(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
13505
|
-
},
|
|
13506
|
-
/**
|
|
13507
|
-
* List SumUp readers for a club.
|
|
13508
|
-
* @param {SumUpManagerApiListSumupReadersRequest} requestParameters Request parameters.
|
|
13509
|
-
* @param {*} [options] Override http request option.
|
|
13510
|
-
* @throws {RequiredError}
|
|
13511
|
-
*/
|
|
13512
|
-
listSumupReaders(requestParameters, options) {
|
|
13513
|
-
return localVarFp.listSumupReaders(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
13514
|
-
},
|
|
13515
|
-
/**
|
|
13516
|
-
* Pair a SumUp reader with a club.
|
|
13517
|
-
* @param {SumUpManagerApiPairSumupReaderRequest} requestParameters Request parameters.
|
|
13518
|
-
* @param {*} [options] Override http request option.
|
|
13519
|
-
* @throws {RequiredError}
|
|
13520
|
-
*/
|
|
13521
|
-
pairSumupReader(requestParameters, options) {
|
|
13522
|
-
return localVarFp.pairSumupReader(requestParameters.clubId, requestParameters.sumupPairReaderRequest, options).then((request) => request(axios, basePath));
|
|
13523
|
-
},
|
|
13524
|
-
/**
|
|
13525
|
-
* Select a SumUp reader for a club.
|
|
13526
|
-
* @param {SumUpManagerApiSelectSumupReaderRequest} requestParameters Request parameters.
|
|
13527
|
-
* @param {*} [options] Override http request option.
|
|
13528
|
-
* @throws {RequiredError}
|
|
13529
|
-
*/
|
|
13530
|
-
selectSumupReader(requestParameters, options) {
|
|
13531
|
-
return localVarFp.selectSumupReader(requestParameters.clubId, requestParameters.readerId, options).then((request) => request(axios, basePath));
|
|
13532
|
-
},
|
|
13533
|
-
};
|
|
13534
|
-
};
|
|
13535
|
-
exports.SumUpManagerApiFactory = SumUpManagerApiFactory;
|
|
13536
|
-
/**
|
|
13537
|
-
* SumUpManagerApi - object-oriented interface
|
|
13538
|
-
* @export
|
|
13539
|
-
* @class SumUpManagerApi
|
|
13540
|
-
* @extends {BaseAPI}
|
|
13541
|
-
*/
|
|
13542
|
-
class SumUpManagerApi extends base_1.BaseAPI {
|
|
13543
|
-
/**
|
|
13544
|
-
* Disconnect SumUp account for a club.
|
|
13545
|
-
* @param {SumUpManagerApiDisconnectSumupRequest} requestParameters Request parameters.
|
|
13546
|
-
* @param {*} [options] Override http request option.
|
|
13547
|
-
* @throws {RequiredError}
|
|
13548
|
-
* @memberof SumUpManagerApi
|
|
13549
|
-
*/
|
|
13550
|
-
disconnectSumup(requestParameters, options) {
|
|
13551
|
-
return (0, exports.SumUpManagerApiFp)(this.configuration).disconnectSumup(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
13552
|
-
}
|
|
13553
|
-
/**
|
|
13554
|
-
* Start SumUp OAuth connection for a club.
|
|
13555
|
-
* @param {SumUpManagerApiGetSumupConnectUrlRequest} requestParameters Request parameters.
|
|
13556
|
-
* @param {*} [options] Override http request option.
|
|
13557
|
-
* @throws {RequiredError}
|
|
13558
|
-
* @memberof SumUpManagerApi
|
|
13559
|
-
*/
|
|
13560
|
-
getSumupConnectUrl(requestParameters, options) {
|
|
13561
|
-
return (0, exports.SumUpManagerApiFp)(this.configuration).getSumupConnectUrl(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
13562
|
-
}
|
|
13563
|
-
/**
|
|
13564
|
-
* Get SumUp connection status for a club.
|
|
13565
|
-
* @param {SumUpManagerApiGetSumupStatusRequest} requestParameters Request parameters.
|
|
13566
|
-
* @param {*} [options] Override http request option.
|
|
13567
|
-
* @throws {RequiredError}
|
|
13568
|
-
* @memberof SumUpManagerApi
|
|
13569
|
-
*/
|
|
13570
|
-
getSumupStatus(requestParameters, options) {
|
|
13571
|
-
return (0, exports.SumUpManagerApiFp)(this.configuration).getSumupStatus(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
13572
|
-
}
|
|
13573
|
-
/**
|
|
13574
|
-
* List SumUp readers for a club.
|
|
13575
|
-
* @param {SumUpManagerApiListSumupReadersRequest} requestParameters Request parameters.
|
|
13576
|
-
* @param {*} [options] Override http request option.
|
|
13577
|
-
* @throws {RequiredError}
|
|
13578
|
-
* @memberof SumUpManagerApi
|
|
13579
|
-
*/
|
|
13580
|
-
listSumupReaders(requestParameters, options) {
|
|
13581
|
-
return (0, exports.SumUpManagerApiFp)(this.configuration).listSumupReaders(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
13582
|
-
}
|
|
13583
|
-
/**
|
|
13584
|
-
* Pair a SumUp reader with a club.
|
|
13585
|
-
* @param {SumUpManagerApiPairSumupReaderRequest} requestParameters Request parameters.
|
|
13586
|
-
* @param {*} [options] Override http request option.
|
|
13587
|
-
* @throws {RequiredError}
|
|
13588
|
-
* @memberof SumUpManagerApi
|
|
13589
|
-
*/
|
|
13590
|
-
pairSumupReader(requestParameters, options) {
|
|
13591
|
-
return (0, exports.SumUpManagerApiFp)(this.configuration).pairSumupReader(requestParameters.clubId, requestParameters.sumupPairReaderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
13592
|
-
}
|
|
13593
|
-
/**
|
|
13594
|
-
* Select a SumUp reader for a club.
|
|
13595
|
-
* @param {SumUpManagerApiSelectSumupReaderRequest} requestParameters Request parameters.
|
|
13596
|
-
* @param {*} [options] Override http request option.
|
|
13597
|
-
* @throws {RequiredError}
|
|
13598
|
-
* @memberof SumUpManagerApi
|
|
13599
|
-
*/
|
|
13600
|
-
selectSumupReader(requestParameters, options) {
|
|
13601
|
-
return (0, exports.SumUpManagerApiFp)(this.configuration).selectSumupReader(requestParameters.clubId, requestParameters.readerId, options).then((request) => request(this.axios, this.basePath));
|
|
13602
|
-
}
|
|
13603
|
-
}
|
|
13604
|
-
exports.SumUpManagerApi = SumUpManagerApi;
|
|
13605
12853
|
/**
|
|
13606
12854
|
* UserApi - axios parameter creator
|
|
13607
12855
|
* @export
|