@tennac-booking/sdk 1.0.182 → 1.0.184

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.
@@ -52,6 +52,9 @@ docs/CheckInEventParticipants200ResponseInvoicesInner.md
52
52
  docs/CheckInEventParticipantsRequest.md
53
53
  docs/CheckInPlayerRequest.md
54
54
  docs/CheckInPlayerResponse.md
55
+ docs/CheckInPlayerSumupRequest.md
56
+ docs/CheckInPlayerSumupResponse.md
57
+ docs/CheckInSumupPaymentInfo.md
55
58
  docs/CheckTeamNameAvailability200Response.md
56
59
  docs/CheckedInPlayer.md
57
60
  docs/ClientApi.md
@@ -358,6 +361,8 @@ docs/SumupCancelPaymentRequest.md
358
361
  docs/SumupConnectUrlResponse.md
359
362
  docs/SumupCreatePaymentRequest.md
360
363
  docs/SumupOAuthCallbackResponse.md
364
+ docs/SumupPairReaderRequest.md
365
+ docs/SumupPairReaderResponse.md
361
366
  docs/SumupReaderInfo.md
362
367
  docs/SumupReadersResponse.md
363
368
  docs/SurfaceType.md
package/README.md CHANGED
@@ -65,6 +65,7 @@ Class | Method | HTTP request | Description
65
65
  *BookingsManagerApi* | [**applyNoShowFee**](docs/BookingsManagerApi.md#applynoshowfee) | **POST** /api/bookings/{bookingId}/no-show |
66
66
  *BookingsManagerApi* | [**managerCancelBooking**](docs/BookingsManagerApi.md#managercancelbooking) | **POST** /api/bookings/{bookingId}/manager-cancel |
67
67
  *BookingsStaffApi* | [**checkInPlayer**](docs/BookingsStaffApi.md#checkinplayer) | **POST** /api/bookings/{bookingId}/check-in |
68
+ *BookingsStaffApi* | [**checkInPlayerWithSumup**](docs/BookingsStaffApi.md#checkinplayerwithsumup) | **POST** /api/bookings/{bookingId}/check-in/sumup |
68
69
  *BookingsStaffApi* | [**createStaffBooking**](docs/BookingsStaffApi.md#createstaffbooking) | **POST** /api/bookings/staff |
69
70
  *BookingsStaffApi* | [**getBookingById**](docs/BookingsStaffApi.md#getbookingbyid) | **GET** /api/bookings/{bookingId} |
70
71
  *BookingsStaffApi* | [**getBookingHistoryStaff**](docs/BookingsStaffApi.md#getbookinghistorystaff) | **GET** /api/bookings/staff/history{bookingId} |
@@ -229,6 +230,7 @@ Class | Method | HTTP request | Description
229
230
  *SumUpManagerApi* | [**getSumupConnectUrl**](docs/SumUpManagerApi.md#getsumupconnecturl) | **GET** /api/clubs/{clubId}/sumup/connect |
230
231
  *SumUpManagerApi* | [**getSumupStatus**](docs/SumUpManagerApi.md#getsumupstatus) | **GET** /api/clubs/{clubId}/sumup/status |
231
232
  *SumUpManagerApi* | [**listSumupReaders**](docs/SumUpManagerApi.md#listsumupreaders) | **GET** /api/clubs/{clubId}/sumup/readers |
233
+ *SumUpManagerApi* | [**pairSumupReader**](docs/SumUpManagerApi.md#pairsumupreader) | **POST** /api/clubs/{clubId}/sumup/readers/pair |
232
234
  *SumUpManagerApi* | [**selectSumupReader**](docs/SumUpManagerApi.md#selectsumupreader) | **POST** /api/clubs/{clubId}/sumup/readers/{readerId}/select |
233
235
  *UserApi* | [**getMyClubInfos**](docs/UserApi.md#getmyclubinfos) | **GET** /api/users/me/club-infos |
234
236
  *UsersApi* | [**addFavoriteClub**](docs/UsersApi.md#addfavoriteclub) | **POST** /api/users/me/favorite-clubs |
@@ -333,6 +335,9 @@ Class | Method | HTTP request | Description
333
335
  - [CheckInEventParticipantsRequest](docs/CheckInEventParticipantsRequest.md)
334
336
  - [CheckInPlayerRequest](docs/CheckInPlayerRequest.md)
335
337
  - [CheckInPlayerResponse](docs/CheckInPlayerResponse.md)
338
+ - [CheckInPlayerSumupRequest](docs/CheckInPlayerSumupRequest.md)
339
+ - [CheckInPlayerSumupResponse](docs/CheckInPlayerSumupResponse.md)
340
+ - [CheckInSumupPaymentInfo](docs/CheckInSumupPaymentInfo.md)
336
341
  - [CheckTeamNameAvailability200Response](docs/CheckTeamNameAvailability200Response.md)
337
342
  - [CheckedInPlayer](docs/CheckedInPlayer.md)
338
343
  - [ClientFullOnboardingResponse](docs/ClientFullOnboardingResponse.md)
@@ -611,6 +616,8 @@ Class | Method | HTTP request | Description
611
616
  - [SumupConnectUrlResponse](docs/SumupConnectUrlResponse.md)
612
617
  - [SumupCreatePaymentRequest](docs/SumupCreatePaymentRequest.md)
613
618
  - [SumupOAuthCallbackResponse](docs/SumupOAuthCallbackResponse.md)
619
+ - [SumupPairReaderRequest](docs/SumupPairReaderRequest.md)
620
+ - [SumupPairReaderResponse](docs/SumupPairReaderResponse.md)
614
621
  - [SumupReaderInfo](docs/SumupReaderInfo.md)
615
622
  - [SumupReadersResponse](docs/SumupReadersResponse.md)
616
623
  - [SurfaceType](docs/SurfaceType.md)
package/api.ts CHANGED
@@ -1674,6 +1674,83 @@ export interface CheckInPlayerResponse {
1674
1674
  */
1675
1675
  'invoice': CheckedInPlayer;
1676
1676
  }
1677
+ /**
1678
+ *
1679
+ * @export
1680
+ * @interface CheckInPlayerSumupRequest
1681
+ */
1682
+ export interface CheckInPlayerSumupRequest {
1683
+ /**
1684
+ * ID du joueur qui a payé/est arrivé
1685
+ * @type {string}
1686
+ * @memberof CheckInPlayerSumupRequest
1687
+ */
1688
+ 'playerId': string;
1689
+ /**
1690
+ * Reader SumUp ciblé (optionnel)
1691
+ * @type {string}
1692
+ * @memberof CheckInPlayerSumupRequest
1693
+ */
1694
+ 'readerId'?: string;
1695
+ }
1696
+ /**
1697
+ *
1698
+ * @export
1699
+ * @interface CheckInPlayerSumupResponse
1700
+ */
1701
+ export interface CheckInPlayerSumupResponse {
1702
+ /**
1703
+ * Message de confirmation
1704
+ * @type {string}
1705
+ * @memberof CheckInPlayerSumupResponse
1706
+ */
1707
+ 'message': string;
1708
+ /**
1709
+ *
1710
+ * @type {CheckedInPlayer}
1711
+ * @memberof CheckInPlayerSumupResponse
1712
+ */
1713
+ 'invoice': CheckedInPlayer;
1714
+ /**
1715
+ *
1716
+ * @type {CheckInSumupPaymentInfo}
1717
+ * @memberof CheckInPlayerSumupResponse
1718
+ */
1719
+ 'sumupPayment'?: CheckInSumupPaymentInfo;
1720
+ }
1721
+ /**
1722
+ *
1723
+ * @export
1724
+ * @interface CheckInSumupPaymentInfo
1725
+ */
1726
+ export interface CheckInSumupPaymentInfo {
1727
+ /**
1728
+ * ID du paiement SumUp
1729
+ * @type {string}
1730
+ * @memberof CheckInSumupPaymentInfo
1731
+ */
1732
+ 'paymentId': string;
1733
+ /**
1734
+ * ID du checkout SumUp
1735
+ * @type {string}
1736
+ * @memberof CheckInSumupPaymentInfo
1737
+ */
1738
+ 'checkoutId'?: string;
1739
+ /**
1740
+ *
1741
+ * @type {PaymentStatus}
1742
+ * @memberof CheckInSumupPaymentInfo
1743
+ */
1744
+ 'status': PaymentStatus;
1745
+ /**
1746
+ * Reader SumUp utilisé
1747
+ * @type {string}
1748
+ * @memberof CheckInSumupPaymentInfo
1749
+ */
1750
+ 'readerId'?: string;
1751
+ }
1752
+
1753
+
1677
1754
  /**
1678
1755
  *
1679
1756
  * @export
@@ -11772,6 +11849,18 @@ export interface SumupAccountStatusResponse {
11772
11849
  * @memberof SumupAccountStatusResponse
11773
11850
  */
11774
11851
  'readerId'?: string;
11852
+ /**
11853
+ *
11854
+ * @type {string}
11855
+ * @memberof SumupAccountStatusResponse
11856
+ */
11857
+ 'readerName'?: string;
11858
+ /**
11859
+ *
11860
+ * @type {string}
11861
+ * @memberof SumupAccountStatusResponse
11862
+ */
11863
+ 'readerPairedAt'?: string;
11775
11864
  /**
11776
11865
  *
11777
11866
  * @type {string}
@@ -11885,6 +11974,38 @@ export interface SumupOAuthCallbackResponse {
11885
11974
  */
11886
11975
  'scope'?: string;
11887
11976
  }
11977
+ /**
11978
+ *
11979
+ * @export
11980
+ * @interface SumupPairReaderRequest
11981
+ */
11982
+ export interface SumupPairReaderRequest {
11983
+ /**
11984
+ *
11985
+ * @type {string}
11986
+ * @memberof SumupPairReaderRequest
11987
+ */
11988
+ 'pairingCode': string;
11989
+ /**
11990
+ *
11991
+ * @type {string}
11992
+ * @memberof SumupPairReaderRequest
11993
+ */
11994
+ 'name': string;
11995
+ }
11996
+ /**
11997
+ *
11998
+ * @export
11999
+ * @interface SumupPairReaderResponse
12000
+ */
12001
+ export interface SumupPairReaderResponse {
12002
+ /**
12003
+ *
12004
+ * @type {SumupReaderInfo}
12005
+ * @memberof SumupPairReaderResponse
12006
+ */
12007
+ 'reader': SumupReaderInfo;
12008
+ }
11888
12009
  /**
11889
12010
  *
11890
12011
  * @export
@@ -15532,7 +15653,7 @@ export class BookingsManagerApi extends BaseAPI {
15532
15653
  export const BookingsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
15533
15654
  return {
15534
15655
  /**
15535
- * Check-in d\'un joueur (paiement en ligne ou sur place)
15656
+ * Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
15536
15657
  * @param {string} bookingId
15537
15658
  * @param {CheckInPlayerRequest} checkInPlayerRequest
15538
15659
  * @param {*} [options] Override http request option.
@@ -15574,6 +15695,49 @@ export const BookingsStaffApiAxiosParamCreator = function (configuration?: Confi
15574
15695
  options: localVarRequestOptions,
15575
15696
  };
15576
15697
  },
15698
+ /**
15699
+ * Check-in d\'un joueur avec création d\'un checkout SumUp
15700
+ * @param {string} bookingId
15701
+ * @param {CheckInPlayerSumupRequest} checkInPlayerSumupRequest
15702
+ * @param {*} [options] Override http request option.
15703
+ * @throws {RequiredError}
15704
+ */
15705
+ checkInPlayerWithSumup: async (bookingId: string, checkInPlayerSumupRequest: CheckInPlayerSumupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15706
+ // verify required parameter 'bookingId' is not null or undefined
15707
+ assertParamExists('checkInPlayerWithSumup', 'bookingId', bookingId)
15708
+ // verify required parameter 'checkInPlayerSumupRequest' is not null or undefined
15709
+ assertParamExists('checkInPlayerWithSumup', 'checkInPlayerSumupRequest', checkInPlayerSumupRequest)
15710
+ const localVarPath = `/api/bookings/{bookingId}/check-in/sumup`
15711
+ .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
15712
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15713
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15714
+ let baseOptions;
15715
+ if (configuration) {
15716
+ baseOptions = configuration.baseOptions;
15717
+ }
15718
+
15719
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15720
+ const localVarHeaderParameter = {} as any;
15721
+ const localVarQueryParameter = {} as any;
15722
+
15723
+ // authentication bearerAuth required
15724
+ // http bearer authentication required
15725
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15726
+
15727
+
15728
+
15729
+ localVarHeaderParameter['Content-Type'] = 'application/json';
15730
+
15731
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15732
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15733
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15734
+ localVarRequestOptions.data = serializeDataIfNeeded(checkInPlayerSumupRequest, localVarRequestOptions, configuration)
15735
+
15736
+ return {
15737
+ url: toPathString(localVarUrlObj),
15738
+ options: localVarRequestOptions,
15739
+ };
15740
+ },
15577
15741
  /**
15578
15742
  * Créer une réservation pour un joueur depuis l\'espace staff
15579
15743
  * @param {StaffCreateBookingRequest} staffCreateBookingRequest
@@ -15867,7 +16031,7 @@ export const BookingsStaffApiFp = function(configuration?: Configuration) {
15867
16031
  const localVarAxiosParamCreator = BookingsStaffApiAxiosParamCreator(configuration)
15868
16032
  return {
15869
16033
  /**
15870
- * Check-in d\'un joueur (paiement en ligne ou sur place)
16034
+ * Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
15871
16035
  * @param {string} bookingId
15872
16036
  * @param {CheckInPlayerRequest} checkInPlayerRequest
15873
16037
  * @param {*} [options] Override http request option.
@@ -15879,6 +16043,19 @@ export const BookingsStaffApiFp = function(configuration?: Configuration) {
15879
16043
  const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.checkInPlayer']?.[localVarOperationServerIndex]?.url;
15880
16044
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15881
16045
  },
16046
+ /**
16047
+ * Check-in d\'un joueur avec création d\'un checkout SumUp
16048
+ * @param {string} bookingId
16049
+ * @param {CheckInPlayerSumupRequest} checkInPlayerSumupRequest
16050
+ * @param {*} [options] Override http request option.
16051
+ * @throws {RequiredError}
16052
+ */
16053
+ async checkInPlayerWithSumup(bookingId: string, checkInPlayerSumupRequest: CheckInPlayerSumupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayerSumupResponse>> {
16054
+ const localVarAxiosArgs = await localVarAxiosParamCreator.checkInPlayerWithSumup(bookingId, checkInPlayerSumupRequest, options);
16055
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16056
+ const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.checkInPlayerWithSumup']?.[localVarOperationServerIndex]?.url;
16057
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16058
+ },
15882
16059
  /**
15883
16060
  * Créer une réservation pour un joueur depuis l\'espace staff
15884
16061
  * @param {StaffCreateBookingRequest} staffCreateBookingRequest
@@ -15978,7 +16155,7 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
15978
16155
  const localVarFp = BookingsStaffApiFp(configuration)
15979
16156
  return {
15980
16157
  /**
15981
- * Check-in d\'un joueur (paiement en ligne ou sur place)
16158
+ * Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
15982
16159
  * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
15983
16160
  * @param {*} [options] Override http request option.
15984
16161
  * @throws {RequiredError}
@@ -15986,6 +16163,15 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
15986
16163
  checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerResponse> {
15987
16164
  return localVarFp.checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(axios, basePath));
15988
16165
  },
16166
+ /**
16167
+ * Check-in d\'un joueur avec création d\'un checkout SumUp
16168
+ * @param {BookingsStaffApiCheckInPlayerWithSumupRequest} requestParameters Request parameters.
16169
+ * @param {*} [options] Override http request option.
16170
+ * @throws {RequiredError}
16171
+ */
16172
+ checkInPlayerWithSumup(requestParameters: BookingsStaffApiCheckInPlayerWithSumupRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerSumupResponse> {
16173
+ return localVarFp.checkInPlayerWithSumup(requestParameters.bookingId, requestParameters.checkInPlayerSumupRequest, options).then((request) => request(axios, basePath));
16174
+ },
15989
16175
  /**
15990
16176
  * Créer une réservation pour un joueur depuis l\'espace staff
15991
16177
  * @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
@@ -16073,6 +16259,27 @@ export interface BookingsStaffApiCheckInPlayerRequest {
16073
16259
  readonly checkInPlayerRequest: CheckInPlayerRequest
16074
16260
  }
16075
16261
 
16262
+ /**
16263
+ * Request parameters for checkInPlayerWithSumup operation in BookingsStaffApi.
16264
+ * @export
16265
+ * @interface BookingsStaffApiCheckInPlayerWithSumupRequest
16266
+ */
16267
+ export interface BookingsStaffApiCheckInPlayerWithSumupRequest {
16268
+ /**
16269
+ *
16270
+ * @type {string}
16271
+ * @memberof BookingsStaffApiCheckInPlayerWithSumup
16272
+ */
16273
+ readonly bookingId: string
16274
+
16275
+ /**
16276
+ *
16277
+ * @type {CheckInPlayerSumupRequest}
16278
+ * @memberof BookingsStaffApiCheckInPlayerWithSumup
16279
+ */
16280
+ readonly checkInPlayerSumupRequest: CheckInPlayerSumupRequest
16281
+ }
16282
+
16076
16283
  /**
16077
16284
  * Request parameters for createStaffBooking operation in BookingsStaffApi.
16078
16285
  * @export
@@ -16207,7 +16414,7 @@ export interface BookingsStaffApiListClubBookingsRequest {
16207
16414
  */
16208
16415
  export class BookingsStaffApi extends BaseAPI {
16209
16416
  /**
16210
- * Check-in d\'un joueur (paiement en ligne ou sur place)
16417
+ * Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
16211
16418
  * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
16212
16419
  * @param {*} [options] Override http request option.
16213
16420
  * @throws {RequiredError}
@@ -16217,6 +16424,17 @@ export class BookingsStaffApi extends BaseAPI {
16217
16424
  return BookingsStaffApiFp(this.configuration).checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(this.axios, this.basePath));
16218
16425
  }
16219
16426
 
16427
+ /**
16428
+ * Check-in d\'un joueur avec création d\'un checkout SumUp
16429
+ * @param {BookingsStaffApiCheckInPlayerWithSumupRequest} requestParameters Request parameters.
16430
+ * @param {*} [options] Override http request option.
16431
+ * @throws {RequiredError}
16432
+ * @memberof BookingsStaffApi
16433
+ */
16434
+ public checkInPlayerWithSumup(requestParameters: BookingsStaffApiCheckInPlayerWithSumupRequest, options?: RawAxiosRequestConfig) {
16435
+ return BookingsStaffApiFp(this.configuration).checkInPlayerWithSumup(requestParameters.bookingId, requestParameters.checkInPlayerSumupRequest, options).then((request) => request(this.axios, this.basePath));
16436
+ }
16437
+
16220
16438
  /**
16221
16439
  * Créer une réservation pour un joueur depuis l\'espace staff
16222
16440
  * @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
@@ -30450,6 +30668,49 @@ export const SumUpManagerApiAxiosParamCreator = function (configuration?: Config
30450
30668
  options: localVarRequestOptions,
30451
30669
  };
30452
30670
  },
30671
+ /**
30672
+ * Pair a SumUp reader with a club.
30673
+ * @param {string} clubId
30674
+ * @param {SumupPairReaderRequest} sumupPairReaderRequest
30675
+ * @param {*} [options] Override http request option.
30676
+ * @throws {RequiredError}
30677
+ */
30678
+ pairSumupReader: async (clubId: string, sumupPairReaderRequest: SumupPairReaderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30679
+ // verify required parameter 'clubId' is not null or undefined
30680
+ assertParamExists('pairSumupReader', 'clubId', clubId)
30681
+ // verify required parameter 'sumupPairReaderRequest' is not null or undefined
30682
+ assertParamExists('pairSumupReader', 'sumupPairReaderRequest', sumupPairReaderRequest)
30683
+ const localVarPath = `/api/clubs/{clubId}/sumup/readers/pair`
30684
+ .replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
30685
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30686
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30687
+ let baseOptions;
30688
+ if (configuration) {
30689
+ baseOptions = configuration.baseOptions;
30690
+ }
30691
+
30692
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
30693
+ const localVarHeaderParameter = {} as any;
30694
+ const localVarQueryParameter = {} as any;
30695
+
30696
+ // authentication bearerAuth required
30697
+ // http bearer authentication required
30698
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
30699
+
30700
+
30701
+
30702
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30703
+
30704
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30705
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30706
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30707
+ localVarRequestOptions.data = serializeDataIfNeeded(sumupPairReaderRequest, localVarRequestOptions, configuration)
30708
+
30709
+ return {
30710
+ url: toPathString(localVarUrlObj),
30711
+ options: localVarRequestOptions,
30712
+ };
30713
+ },
30453
30714
  /**
30454
30715
  * Select a SumUp reader for a club.
30455
30716
  * @param {string} clubId
@@ -30549,6 +30810,19 @@ export const SumUpManagerApiFp = function(configuration?: Configuration) {
30549
30810
  const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.listSumupReaders']?.[localVarOperationServerIndex]?.url;
30550
30811
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30551
30812
  },
30813
+ /**
30814
+ * Pair a SumUp reader with a club.
30815
+ * @param {string} clubId
30816
+ * @param {SumupPairReaderRequest} sumupPairReaderRequest
30817
+ * @param {*} [options] Override http request option.
30818
+ * @throws {RequiredError}
30819
+ */
30820
+ async pairSumupReader(clubId: string, sumupPairReaderRequest: SumupPairReaderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupPairReaderResponse>> {
30821
+ const localVarAxiosArgs = await localVarAxiosParamCreator.pairSumupReader(clubId, sumupPairReaderRequest, options);
30822
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30823
+ const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.pairSumupReader']?.[localVarOperationServerIndex]?.url;
30824
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30825
+ },
30552
30826
  /**
30553
30827
  * Select a SumUp reader for a club.
30554
30828
  * @param {string} clubId
@@ -30608,6 +30882,15 @@ export const SumUpManagerApiFactory = function (configuration?: Configuration, b
30608
30882
  listSumupReaders(requestParameters: SumUpManagerApiListSumupReadersRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupReadersResponse> {
30609
30883
  return localVarFp.listSumupReaders(requestParameters.clubId, options).then((request) => request(axios, basePath));
30610
30884
  },
30885
+ /**
30886
+ * Pair a SumUp reader with a club.
30887
+ * @param {SumUpManagerApiPairSumupReaderRequest} requestParameters Request parameters.
30888
+ * @param {*} [options] Override http request option.
30889
+ * @throws {RequiredError}
30890
+ */
30891
+ pairSumupReader(requestParameters: SumUpManagerApiPairSumupReaderRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupPairReaderResponse> {
30892
+ return localVarFp.pairSumupReader(requestParameters.clubId, requestParameters.sumupPairReaderRequest, options).then((request) => request(axios, basePath));
30893
+ },
30611
30894
  /**
30612
30895
  * Select a SumUp reader for a club.
30613
30896
  * @param {SumUpManagerApiSelectSumupReaderRequest} requestParameters Request parameters.
@@ -30676,6 +30959,27 @@ export interface SumUpManagerApiListSumupReadersRequest {
30676
30959
  readonly clubId: string
30677
30960
  }
30678
30961
 
30962
+ /**
30963
+ * Request parameters for pairSumupReader operation in SumUpManagerApi.
30964
+ * @export
30965
+ * @interface SumUpManagerApiPairSumupReaderRequest
30966
+ */
30967
+ export interface SumUpManagerApiPairSumupReaderRequest {
30968
+ /**
30969
+ *
30970
+ * @type {string}
30971
+ * @memberof SumUpManagerApiPairSumupReader
30972
+ */
30973
+ readonly clubId: string
30974
+
30975
+ /**
30976
+ *
30977
+ * @type {SumupPairReaderRequest}
30978
+ * @memberof SumUpManagerApiPairSumupReader
30979
+ */
30980
+ readonly sumupPairReaderRequest: SumupPairReaderRequest
30981
+ }
30982
+
30679
30983
  /**
30680
30984
  * Request parameters for selectSumupReader operation in SumUpManagerApi.
30681
30985
  * @export
@@ -30748,6 +31052,17 @@ export class SumUpManagerApi extends BaseAPI {
30748
31052
  return SumUpManagerApiFp(this.configuration).listSumupReaders(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
30749
31053
  }
30750
31054
 
31055
+ /**
31056
+ * Pair a SumUp reader with a club.
31057
+ * @param {SumUpManagerApiPairSumupReaderRequest} requestParameters Request parameters.
31058
+ * @param {*} [options] Override http request option.
31059
+ * @throws {RequiredError}
31060
+ * @memberof SumUpManagerApi
31061
+ */
31062
+ public pairSumupReader(requestParameters: SumUpManagerApiPairSumupReaderRequest, options?: RawAxiosRequestConfig) {
31063
+ return SumUpManagerApiFp(this.configuration).pairSumupReader(requestParameters.clubId, requestParameters.sumupPairReaderRequest, options).then((request) => request(this.axios, this.basePath));
31064
+ }
31065
+
30751
31066
  /**
30752
31067
  * Select a SumUp reader for a club.
30753
31068
  * @param {SumUpManagerApiSelectSumupReaderRequest} requestParameters Request parameters.