@tennac-booking/sdk 1.0.124 → 1.0.126

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.
@@ -45,8 +45,8 @@ docs/ChangePasswordResponse.md
45
45
  docs/CheckInEventParticipants200Response.md
46
46
  docs/CheckInEventParticipants200ResponseInvoicesInner.md
47
47
  docs/CheckInEventParticipantsRequest.md
48
- docs/CheckInPlayersRequest.md
49
- docs/CheckInPlayersResponse.md
48
+ docs/CheckInPlayerRequest.md
49
+ docs/CheckInPlayerResponse.md
50
50
  docs/CheckTeamNameAvailability200Response.md
51
51
  docs/CheckedInPlayer.md
52
52
  docs/ClientApi.md
package/README.md CHANGED
@@ -56,7 +56,7 @@ Class | Method | HTTP request | Description
56
56
  *BookingsApi* | [**getQuickReservationSlots**](docs/BookingsApi.md#getquickreservationslots) | **GET** /api/bookings/quick-reservations |
57
57
  *BookingsManagerApi* | [**applyNoShowFee**](docs/BookingsManagerApi.md#applynoshowfee) | **POST** /api/bookings/{bookingId}/no-show |
58
58
  *BookingsManagerApi* | [**managerCancelBooking**](docs/BookingsManagerApi.md#managercancelbooking) | **POST** /api/bookings/{bookingId}/manager-cancel |
59
- *BookingsStaffApi* | [**checkInPlayers**](docs/BookingsStaffApi.md#checkinplayers) | **POST** /api/bookings/{bookingId}/check-in |
59
+ *BookingsStaffApi* | [**checkInPlayer**](docs/BookingsStaffApi.md#checkinplayer) | **POST** /api/bookings/{bookingId}/check-in |
60
60
  *BookingsStaffApi* | [**createStaffBooking**](docs/BookingsStaffApi.md#createstaffbooking) | **POST** /api/bookings/staff |
61
61
  *BookingsStaffApi* | [**getBookingById**](docs/BookingsStaffApi.md#getbookingbyid) | **GET** /api/bookings/{bookingId} |
62
62
  *BookingsStaffApi* | [**getBookingHistoryStaff**](docs/BookingsStaffApi.md#getbookinghistorystaff) | **GET** /api/bookings/staff/history{bookingId} |
@@ -258,8 +258,8 @@ Class | Method | HTTP request | Description
258
258
  - [CheckInEventParticipants200Response](docs/CheckInEventParticipants200Response.md)
259
259
  - [CheckInEventParticipants200ResponseInvoicesInner](docs/CheckInEventParticipants200ResponseInvoicesInner.md)
260
260
  - [CheckInEventParticipantsRequest](docs/CheckInEventParticipantsRequest.md)
261
- - [CheckInPlayersRequest](docs/CheckInPlayersRequest.md)
262
- - [CheckInPlayersResponse](docs/CheckInPlayersResponse.md)
261
+ - [CheckInPlayerRequest](docs/CheckInPlayerRequest.md)
262
+ - [CheckInPlayerResponse](docs/CheckInPlayerResponse.md)
263
263
  - [CheckTeamNameAvailability200Response](docs/CheckTeamNameAvailability200Response.md)
264
264
  - [CheckedInPlayer](docs/CheckedInPlayer.md)
265
265
  - [ClientFullOnboardingResponse](docs/ClientFullOnboardingResponse.md)
package/api.ts CHANGED
@@ -1458,34 +1458,34 @@ export interface CheckInEventParticipantsRequest {
1458
1458
  /**
1459
1459
  *
1460
1460
  * @export
1461
- * @interface CheckInPlayersRequest
1461
+ * @interface CheckInPlayerRequest
1462
1462
  */
1463
- export interface CheckInPlayersRequest {
1463
+ export interface CheckInPlayerRequest {
1464
1464
  /**
1465
- * Liste des IDs des joueurs qui ont payé/sont arrivés
1466
- * @type {Array<string>}
1467
- * @memberof CheckInPlayersRequest
1465
+ * ID du joueur qui a payé/est arrivé
1466
+ * @type {string}
1467
+ * @memberof CheckInPlayerRequest
1468
1468
  */
1469
- 'playerIds': Array<string>;
1469
+ 'playerId': string;
1470
1470
  }
1471
1471
  /**
1472
1472
  *
1473
1473
  * @export
1474
- * @interface CheckInPlayersResponse
1474
+ * @interface CheckInPlayerResponse
1475
1475
  */
1476
- export interface CheckInPlayersResponse {
1476
+ export interface CheckInPlayerResponse {
1477
1477
  /**
1478
1478
  * Message de confirmation
1479
1479
  * @type {string}
1480
- * @memberof CheckInPlayersResponse
1480
+ * @memberof CheckInPlayerResponse
1481
1481
  */
1482
1482
  'message': string;
1483
1483
  /**
1484
- * Joueurs ayant effectué le check-in
1485
- * @type {Array<CheckedInPlayer>}
1486
- * @memberof CheckInPlayersResponse
1484
+ *
1485
+ * @type {CheckedInPlayer}
1486
+ * @memberof CheckInPlayerResponse
1487
1487
  */
1488
- 'invoices': Array<CheckedInPlayer>;
1488
+ 'invoice': CheckedInPlayer;
1489
1489
  }
1490
1490
  /**
1491
1491
  *
@@ -12009,17 +12009,17 @@ export class BookingsManagerApi extends BaseAPI {
12009
12009
  export const BookingsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
12010
12010
  return {
12011
12011
  /**
12012
- * Check-in des joueurs only for club with payment features
12012
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
12013
12013
  * @param {string} bookingId
12014
- * @param {CheckInPlayersRequest} checkInPlayersRequest
12014
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
12015
12015
  * @param {*} [options] Override http request option.
12016
12016
  * @throws {RequiredError}
12017
12017
  */
12018
- checkInPlayers: async (bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12018
+ checkInPlayer: async (bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12019
12019
  // verify required parameter 'bookingId' is not null or undefined
12020
- assertParamExists('checkInPlayers', 'bookingId', bookingId)
12021
- // verify required parameter 'checkInPlayersRequest' is not null or undefined
12022
- assertParamExists('checkInPlayers', 'checkInPlayersRequest', checkInPlayersRequest)
12020
+ assertParamExists('checkInPlayer', 'bookingId', bookingId)
12021
+ // verify required parameter 'checkInPlayerRequest' is not null or undefined
12022
+ assertParamExists('checkInPlayer', 'checkInPlayerRequest', checkInPlayerRequest)
12023
12023
  const localVarPath = `/api/bookings/{bookingId}/check-in`
12024
12024
  .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
12025
12025
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -12044,7 +12044,7 @@ export const BookingsStaffApiAxiosParamCreator = function (configuration?: Confi
12044
12044
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12045
12045
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12046
12046
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12047
- localVarRequestOptions.data = serializeDataIfNeeded(checkInPlayersRequest, localVarRequestOptions, configuration)
12047
+ localVarRequestOptions.data = serializeDataIfNeeded(checkInPlayerRequest, localVarRequestOptions, configuration)
12048
12048
 
12049
12049
  return {
12050
12050
  url: toPathString(localVarUrlObj),
@@ -12344,16 +12344,16 @@ export const BookingsStaffApiFp = function(configuration?: Configuration) {
12344
12344
  const localVarAxiosParamCreator = BookingsStaffApiAxiosParamCreator(configuration)
12345
12345
  return {
12346
12346
  /**
12347
- * Check-in des joueurs only for club with payment features
12347
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
12348
12348
  * @param {string} bookingId
12349
- * @param {CheckInPlayersRequest} checkInPlayersRequest
12349
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
12350
12350
  * @param {*} [options] Override http request option.
12351
12351
  * @throws {RequiredError}
12352
12352
  */
12353
- async checkInPlayers(bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayersResponse>> {
12354
- const localVarAxiosArgs = await localVarAxiosParamCreator.checkInPlayers(bookingId, checkInPlayersRequest, options);
12353
+ async checkInPlayer(bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayerResponse>> {
12354
+ const localVarAxiosArgs = await localVarAxiosParamCreator.checkInPlayer(bookingId, checkInPlayerRequest, options);
12355
12355
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12356
- const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.checkInPlayers']?.[localVarOperationServerIndex]?.url;
12356
+ const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.checkInPlayer']?.[localVarOperationServerIndex]?.url;
12357
12357
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12358
12358
  },
12359
12359
  /**
@@ -12455,13 +12455,13 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
12455
12455
  const localVarFp = BookingsStaffApiFp(configuration)
12456
12456
  return {
12457
12457
  /**
12458
- * Check-in des joueurs only for club with payment features
12459
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
12458
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
12459
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
12460
12460
  * @param {*} [options] Override http request option.
12461
12461
  * @throws {RequiredError}
12462
12462
  */
12463
- checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayersResponse> {
12464
- return localVarFp.checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(axios, basePath));
12463
+ checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerResponse> {
12464
+ return localVarFp.checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(axios, basePath));
12465
12465
  },
12466
12466
  /**
12467
12467
  * Créer une réservation pour un joueur depuis l\'espace staff
@@ -12530,24 +12530,24 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
12530
12530
  };
12531
12531
 
12532
12532
  /**
12533
- * Request parameters for checkInPlayers operation in BookingsStaffApi.
12533
+ * Request parameters for checkInPlayer operation in BookingsStaffApi.
12534
12534
  * @export
12535
- * @interface BookingsStaffApiCheckInPlayersRequest
12535
+ * @interface BookingsStaffApiCheckInPlayerRequest
12536
12536
  */
12537
- export interface BookingsStaffApiCheckInPlayersRequest {
12537
+ export interface BookingsStaffApiCheckInPlayerRequest {
12538
12538
  /**
12539
12539
  *
12540
12540
  * @type {string}
12541
- * @memberof BookingsStaffApiCheckInPlayers
12541
+ * @memberof BookingsStaffApiCheckInPlayer
12542
12542
  */
12543
12543
  readonly bookingId: string
12544
12544
 
12545
12545
  /**
12546
12546
  *
12547
- * @type {CheckInPlayersRequest}
12548
- * @memberof BookingsStaffApiCheckInPlayers
12547
+ * @type {CheckInPlayerRequest}
12548
+ * @memberof BookingsStaffApiCheckInPlayer
12549
12549
  */
12550
- readonly checkInPlayersRequest: CheckInPlayersRequest
12550
+ readonly checkInPlayerRequest: CheckInPlayerRequest
12551
12551
  }
12552
12552
 
12553
12553
  /**
@@ -12684,14 +12684,14 @@ export interface BookingsStaffApiListClubBookingsRequest {
12684
12684
  */
12685
12685
  export class BookingsStaffApi extends BaseAPI {
12686
12686
  /**
12687
- * Check-in des joueurs only for club with payment features
12688
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
12687
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
12688
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
12689
12689
  * @param {*} [options] Override http request option.
12690
12690
  * @throws {RequiredError}
12691
12691
  * @memberof BookingsStaffApi
12692
12692
  */
12693
- public checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig) {
12694
- return BookingsStaffApiFp(this.configuration).checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(this.axios, this.basePath));
12693
+ public checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig) {
12694
+ return BookingsStaffApiFp(this.configuration).checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(this.axios, this.basePath));
12695
12695
  }
12696
12696
 
12697
12697
  /**
package/dist/api.d.ts CHANGED
@@ -1421,34 +1421,34 @@ export interface CheckInEventParticipantsRequest {
1421
1421
  /**
1422
1422
  *
1423
1423
  * @export
1424
- * @interface CheckInPlayersRequest
1424
+ * @interface CheckInPlayerRequest
1425
1425
  */
1426
- export interface CheckInPlayersRequest {
1426
+ export interface CheckInPlayerRequest {
1427
1427
  /**
1428
- * Liste des IDs des joueurs qui ont payé/sont arrivés
1429
- * @type {Array<string>}
1430
- * @memberof CheckInPlayersRequest
1428
+ * ID du joueur qui a payé/est arrivé
1429
+ * @type {string}
1430
+ * @memberof CheckInPlayerRequest
1431
1431
  */
1432
- 'playerIds': Array<string>;
1432
+ 'playerId': string;
1433
1433
  }
1434
1434
  /**
1435
1435
  *
1436
1436
  * @export
1437
- * @interface CheckInPlayersResponse
1437
+ * @interface CheckInPlayerResponse
1438
1438
  */
1439
- export interface CheckInPlayersResponse {
1439
+ export interface CheckInPlayerResponse {
1440
1440
  /**
1441
1441
  * Message de confirmation
1442
1442
  * @type {string}
1443
- * @memberof CheckInPlayersResponse
1443
+ * @memberof CheckInPlayerResponse
1444
1444
  */
1445
1445
  'message': string;
1446
1446
  /**
1447
- * Joueurs ayant effectué le check-in
1448
- * @type {Array<CheckedInPlayer>}
1449
- * @memberof CheckInPlayersResponse
1447
+ *
1448
+ * @type {CheckedInPlayer}
1449
+ * @memberof CheckInPlayerResponse
1450
1450
  */
1451
- 'invoices': Array<CheckedInPlayer>;
1451
+ 'invoice': CheckedInPlayer;
1452
1452
  }
1453
1453
  /**
1454
1454
  *
@@ -11528,13 +11528,13 @@ export declare class BookingsManagerApi extends BaseAPI {
11528
11528
  */
11529
11529
  export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
11530
11530
  /**
11531
- * Check-in des joueurs only for club with payment features
11531
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
11532
11532
  * @param {string} bookingId
11533
- * @param {CheckInPlayersRequest} checkInPlayersRequest
11533
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
11534
11534
  * @param {*} [options] Override http request option.
11535
11535
  * @throws {RequiredError}
11536
11536
  */
11537
- checkInPlayers: (bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11537
+ checkInPlayer: (bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11538
11538
  /**
11539
11539
  * Créer une réservation pour un joueur depuis l\'espace staff
11540
11540
  * @param {StaffCreateBookingRequest} staffCreateBookingRequest
@@ -11595,13 +11595,13 @@ export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configu
11595
11595
  */
11596
11596
  export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
11597
11597
  /**
11598
- * Check-in des joueurs only for club with payment features
11598
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
11599
11599
  * @param {string} bookingId
11600
- * @param {CheckInPlayersRequest} checkInPlayersRequest
11600
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
11601
11601
  * @param {*} [options] Override http request option.
11602
11602
  * @throws {RequiredError}
11603
11603
  */
11604
- checkInPlayers(bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayersResponse>>;
11604
+ checkInPlayer(bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayerResponse>>;
11605
11605
  /**
11606
11606
  * Créer une réservation pour un joueur depuis l\'espace staff
11607
11607
  * @param {StaffCreateBookingRequest} staffCreateBookingRequest
@@ -11662,12 +11662,12 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
11662
11662
  */
11663
11663
  export declare const BookingsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11664
11664
  /**
11665
- * Check-in des joueurs only for club with payment features
11666
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
11665
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
11666
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
11667
11667
  * @param {*} [options] Override http request option.
11668
11668
  * @throws {RequiredError}
11669
11669
  */
11670
- checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayersResponse>;
11670
+ checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerResponse>;
11671
11671
  /**
11672
11672
  * Créer une réservation pour un joueur depuis l\'espace staff
11673
11673
  * @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
@@ -11719,23 +11719,23 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
11719
11719
  listClubBookings(requestParameters?: BookingsStaffApiListClubBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffBookingsPaginatedResponse>;
11720
11720
  };
11721
11721
  /**
11722
- * Request parameters for checkInPlayers operation in BookingsStaffApi.
11722
+ * Request parameters for checkInPlayer operation in BookingsStaffApi.
11723
11723
  * @export
11724
- * @interface BookingsStaffApiCheckInPlayersRequest
11724
+ * @interface BookingsStaffApiCheckInPlayerRequest
11725
11725
  */
11726
- export interface BookingsStaffApiCheckInPlayersRequest {
11726
+ export interface BookingsStaffApiCheckInPlayerRequest {
11727
11727
  /**
11728
11728
  *
11729
11729
  * @type {string}
11730
- * @memberof BookingsStaffApiCheckInPlayers
11730
+ * @memberof BookingsStaffApiCheckInPlayer
11731
11731
  */
11732
11732
  readonly bookingId: string;
11733
11733
  /**
11734
11734
  *
11735
- * @type {CheckInPlayersRequest}
11736
- * @memberof BookingsStaffApiCheckInPlayers
11735
+ * @type {CheckInPlayerRequest}
11736
+ * @memberof BookingsStaffApiCheckInPlayer
11737
11737
  */
11738
- readonly checkInPlayersRequest: CheckInPlayersRequest;
11738
+ readonly checkInPlayerRequest: CheckInPlayerRequest;
11739
11739
  }
11740
11740
  /**
11741
11741
  * Request parameters for createStaffBooking operation in BookingsStaffApi.
@@ -11860,13 +11860,13 @@ export interface BookingsStaffApiListClubBookingsRequest {
11860
11860
  */
11861
11861
  export declare class BookingsStaffApi extends BaseAPI {
11862
11862
  /**
11863
- * Check-in des joueurs only for club with payment features
11864
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
11863
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
11864
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
11865
11865
  * @param {*} [options] Override http request option.
11866
11866
  * @throws {RequiredError}
11867
11867
  * @memberof BookingsStaffApi
11868
11868
  */
11869
- checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayersResponse, any, {}>>;
11869
+ checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayerResponse, any, {}>>;
11870
11870
  /**
11871
11871
  * Créer une réservation pour un joueur depuis l\'espace staff
11872
11872
  * @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
package/dist/api.js CHANGED
@@ -858,17 +858,17 @@ exports.BookingsManagerApi = BookingsManagerApi;
858
858
  const BookingsStaffApiAxiosParamCreator = function (configuration) {
859
859
  return {
860
860
  /**
861
- * Check-in des joueurs only for club with payment features
861
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
862
862
  * @param {string} bookingId
863
- * @param {CheckInPlayersRequest} checkInPlayersRequest
863
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
864
864
  * @param {*} [options] Override http request option.
865
865
  * @throws {RequiredError}
866
866
  */
867
- checkInPlayers: (bookingId_1, checkInPlayersRequest_1, ...args_1) => __awaiter(this, [bookingId_1, checkInPlayersRequest_1, ...args_1], void 0, function* (bookingId, checkInPlayersRequest, options = {}) {
867
+ checkInPlayer: (bookingId_1, checkInPlayerRequest_1, ...args_1) => __awaiter(this, [bookingId_1, checkInPlayerRequest_1, ...args_1], void 0, function* (bookingId, checkInPlayerRequest, options = {}) {
868
868
  // verify required parameter 'bookingId' is not null or undefined
869
- (0, common_1.assertParamExists)('checkInPlayers', 'bookingId', bookingId);
870
- // verify required parameter 'checkInPlayersRequest' is not null or undefined
871
- (0, common_1.assertParamExists)('checkInPlayers', 'checkInPlayersRequest', checkInPlayersRequest);
869
+ (0, common_1.assertParamExists)('checkInPlayer', 'bookingId', bookingId);
870
+ // verify required parameter 'checkInPlayerRequest' is not null or undefined
871
+ (0, common_1.assertParamExists)('checkInPlayer', 'checkInPlayerRequest', checkInPlayerRequest);
872
872
  const localVarPath = `/api/bookings/{bookingId}/check-in`
873
873
  .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
874
874
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -887,7 +887,7 @@ const BookingsStaffApiAxiosParamCreator = function (configuration) {
887
887
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
888
888
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
889
889
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
890
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(checkInPlayersRequest, localVarRequestOptions, configuration);
890
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(checkInPlayerRequest, localVarRequestOptions, configuration);
891
891
  return {
892
892
  url: (0, common_1.toPathString)(localVarUrlObj),
893
893
  options: localVarRequestOptions,
@@ -1138,18 +1138,18 @@ const BookingsStaffApiFp = function (configuration) {
1138
1138
  const localVarAxiosParamCreator = (0, exports.BookingsStaffApiAxiosParamCreator)(configuration);
1139
1139
  return {
1140
1140
  /**
1141
- * Check-in des joueurs only for club with payment features
1141
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
1142
1142
  * @param {string} bookingId
1143
- * @param {CheckInPlayersRequest} checkInPlayersRequest
1143
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
1144
1144
  * @param {*} [options] Override http request option.
1145
1145
  * @throws {RequiredError}
1146
1146
  */
1147
- checkInPlayers(bookingId, checkInPlayersRequest, options) {
1147
+ checkInPlayer(bookingId, checkInPlayerRequest, options) {
1148
1148
  return __awaiter(this, void 0, void 0, function* () {
1149
1149
  var _a, _b, _c;
1150
- const localVarAxiosArgs = yield localVarAxiosParamCreator.checkInPlayers(bookingId, checkInPlayersRequest, options);
1150
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.checkInPlayer(bookingId, checkInPlayerRequest, options);
1151
1151
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1152
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BookingsStaffApi.checkInPlayers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1152
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BookingsStaffApi.checkInPlayer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1153
1153
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1154
1154
  });
1155
1155
  },
@@ -1273,13 +1273,13 @@ const BookingsStaffApiFactory = function (configuration, basePath, axios) {
1273
1273
  const localVarFp = (0, exports.BookingsStaffApiFp)(configuration);
1274
1274
  return {
1275
1275
  /**
1276
- * Check-in des joueurs only for club with payment features
1277
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
1276
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
1277
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
1278
1278
  * @param {*} [options] Override http request option.
1279
1279
  * @throws {RequiredError}
1280
1280
  */
1281
- checkInPlayers(requestParameters, options) {
1282
- return localVarFp.checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(axios, basePath));
1281
+ checkInPlayer(requestParameters, options) {
1282
+ return localVarFp.checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(axios, basePath));
1283
1283
  },
1284
1284
  /**
1285
1285
  * Créer une réservation pour un joueur depuis l\'espace staff
@@ -1355,14 +1355,14 @@ exports.BookingsStaffApiFactory = BookingsStaffApiFactory;
1355
1355
  */
1356
1356
  class BookingsStaffApi extends base_1.BaseAPI {
1357
1357
  /**
1358
- * Check-in des joueurs only for club with payment features
1359
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
1358
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
1359
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
1360
1360
  * @param {*} [options] Override http request option.
1361
1361
  * @throws {RequiredError}
1362
1362
  * @memberof BookingsStaffApi
1363
1363
  */
1364
- checkInPlayers(requestParameters, options) {
1365
- return (0, exports.BookingsStaffApiFp)(this.configuration).checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(this.axios, this.basePath));
1364
+ checkInPlayer(requestParameters, options) {
1365
+ return (0, exports.BookingsStaffApiFp)(this.configuration).checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(this.axios, this.basePath));
1366
1366
  }
1367
1367
  /**
1368
1368
  * Créer une réservation pour un joueur depuis l\'espace staff
package/dist/esm/api.d.ts CHANGED
@@ -1421,34 +1421,34 @@ export interface CheckInEventParticipantsRequest {
1421
1421
  /**
1422
1422
  *
1423
1423
  * @export
1424
- * @interface CheckInPlayersRequest
1424
+ * @interface CheckInPlayerRequest
1425
1425
  */
1426
- export interface CheckInPlayersRequest {
1426
+ export interface CheckInPlayerRequest {
1427
1427
  /**
1428
- * Liste des IDs des joueurs qui ont payé/sont arrivés
1429
- * @type {Array<string>}
1430
- * @memberof CheckInPlayersRequest
1428
+ * ID du joueur qui a payé/est arrivé
1429
+ * @type {string}
1430
+ * @memberof CheckInPlayerRequest
1431
1431
  */
1432
- 'playerIds': Array<string>;
1432
+ 'playerId': string;
1433
1433
  }
1434
1434
  /**
1435
1435
  *
1436
1436
  * @export
1437
- * @interface CheckInPlayersResponse
1437
+ * @interface CheckInPlayerResponse
1438
1438
  */
1439
- export interface CheckInPlayersResponse {
1439
+ export interface CheckInPlayerResponse {
1440
1440
  /**
1441
1441
  * Message de confirmation
1442
1442
  * @type {string}
1443
- * @memberof CheckInPlayersResponse
1443
+ * @memberof CheckInPlayerResponse
1444
1444
  */
1445
1445
  'message': string;
1446
1446
  /**
1447
- * Joueurs ayant effectué le check-in
1448
- * @type {Array<CheckedInPlayer>}
1449
- * @memberof CheckInPlayersResponse
1447
+ *
1448
+ * @type {CheckedInPlayer}
1449
+ * @memberof CheckInPlayerResponse
1450
1450
  */
1451
- 'invoices': Array<CheckedInPlayer>;
1451
+ 'invoice': CheckedInPlayer;
1452
1452
  }
1453
1453
  /**
1454
1454
  *
@@ -11528,13 +11528,13 @@ export declare class BookingsManagerApi extends BaseAPI {
11528
11528
  */
11529
11529
  export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
11530
11530
  /**
11531
- * Check-in des joueurs only for club with payment features
11531
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
11532
11532
  * @param {string} bookingId
11533
- * @param {CheckInPlayersRequest} checkInPlayersRequest
11533
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
11534
11534
  * @param {*} [options] Override http request option.
11535
11535
  * @throws {RequiredError}
11536
11536
  */
11537
- checkInPlayers: (bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11537
+ checkInPlayer: (bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11538
11538
  /**
11539
11539
  * Créer une réservation pour un joueur depuis l\'espace staff
11540
11540
  * @param {StaffCreateBookingRequest} staffCreateBookingRequest
@@ -11595,13 +11595,13 @@ export declare const BookingsStaffApiAxiosParamCreator: (configuration?: Configu
11595
11595
  */
11596
11596
  export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
11597
11597
  /**
11598
- * Check-in des joueurs only for club with payment features
11598
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
11599
11599
  * @param {string} bookingId
11600
- * @param {CheckInPlayersRequest} checkInPlayersRequest
11600
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
11601
11601
  * @param {*} [options] Override http request option.
11602
11602
  * @throws {RequiredError}
11603
11603
  */
11604
- checkInPlayers(bookingId: string, checkInPlayersRequest: CheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayersResponse>>;
11604
+ checkInPlayer(bookingId: string, checkInPlayerRequest: CheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayerResponse>>;
11605
11605
  /**
11606
11606
  * Créer une réservation pour un joueur depuis l\'espace staff
11607
11607
  * @param {StaffCreateBookingRequest} staffCreateBookingRequest
@@ -11662,12 +11662,12 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
11662
11662
  */
11663
11663
  export declare const BookingsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11664
11664
  /**
11665
- * Check-in des joueurs only for club with payment features
11666
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
11665
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
11666
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
11667
11667
  * @param {*} [options] Override http request option.
11668
11668
  * @throws {RequiredError}
11669
11669
  */
11670
- checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayersResponse>;
11670
+ checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerResponse>;
11671
11671
  /**
11672
11672
  * Créer une réservation pour un joueur depuis l\'espace staff
11673
11673
  * @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
@@ -11719,23 +11719,23 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
11719
11719
  listClubBookings(requestParameters?: BookingsStaffApiListClubBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffBookingsPaginatedResponse>;
11720
11720
  };
11721
11721
  /**
11722
- * Request parameters for checkInPlayers operation in BookingsStaffApi.
11722
+ * Request parameters for checkInPlayer operation in BookingsStaffApi.
11723
11723
  * @export
11724
- * @interface BookingsStaffApiCheckInPlayersRequest
11724
+ * @interface BookingsStaffApiCheckInPlayerRequest
11725
11725
  */
11726
- export interface BookingsStaffApiCheckInPlayersRequest {
11726
+ export interface BookingsStaffApiCheckInPlayerRequest {
11727
11727
  /**
11728
11728
  *
11729
11729
  * @type {string}
11730
- * @memberof BookingsStaffApiCheckInPlayers
11730
+ * @memberof BookingsStaffApiCheckInPlayer
11731
11731
  */
11732
11732
  readonly bookingId: string;
11733
11733
  /**
11734
11734
  *
11735
- * @type {CheckInPlayersRequest}
11736
- * @memberof BookingsStaffApiCheckInPlayers
11735
+ * @type {CheckInPlayerRequest}
11736
+ * @memberof BookingsStaffApiCheckInPlayer
11737
11737
  */
11738
- readonly checkInPlayersRequest: CheckInPlayersRequest;
11738
+ readonly checkInPlayerRequest: CheckInPlayerRequest;
11739
11739
  }
11740
11740
  /**
11741
11741
  * Request parameters for createStaffBooking operation in BookingsStaffApi.
@@ -11860,13 +11860,13 @@ export interface BookingsStaffApiListClubBookingsRequest {
11860
11860
  */
11861
11861
  export declare class BookingsStaffApi extends BaseAPI {
11862
11862
  /**
11863
- * Check-in des joueurs only for club with payment features
11864
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
11863
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
11864
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
11865
11865
  * @param {*} [options] Override http request option.
11866
11866
  * @throws {RequiredError}
11867
11867
  * @memberof BookingsStaffApi
11868
11868
  */
11869
- checkInPlayers(requestParameters: BookingsStaffApiCheckInPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayersResponse, any, {}>>;
11869
+ checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckInPlayerResponse, any, {}>>;
11870
11870
  /**
11871
11871
  * Créer une réservation pour un joueur depuis l\'espace staff
11872
11872
  * @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
package/dist/esm/api.js CHANGED
@@ -844,17 +844,17 @@ export class BookingsManagerApi extends BaseAPI {
844
844
  export const BookingsStaffApiAxiosParamCreator = function (configuration) {
845
845
  return {
846
846
  /**
847
- * Check-in des joueurs only for club with payment features
847
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
848
848
  * @param {string} bookingId
849
- * @param {CheckInPlayersRequest} checkInPlayersRequest
849
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
850
850
  * @param {*} [options] Override http request option.
851
851
  * @throws {RequiredError}
852
852
  */
853
- checkInPlayers: (bookingId_1, checkInPlayersRequest_1, ...args_1) => __awaiter(this, [bookingId_1, checkInPlayersRequest_1, ...args_1], void 0, function* (bookingId, checkInPlayersRequest, options = {}) {
853
+ checkInPlayer: (bookingId_1, checkInPlayerRequest_1, ...args_1) => __awaiter(this, [bookingId_1, checkInPlayerRequest_1, ...args_1], void 0, function* (bookingId, checkInPlayerRequest, options = {}) {
854
854
  // verify required parameter 'bookingId' is not null or undefined
855
- assertParamExists('checkInPlayers', 'bookingId', bookingId);
856
- // verify required parameter 'checkInPlayersRequest' is not null or undefined
857
- assertParamExists('checkInPlayers', 'checkInPlayersRequest', checkInPlayersRequest);
855
+ assertParamExists('checkInPlayer', 'bookingId', bookingId);
856
+ // verify required parameter 'checkInPlayerRequest' is not null or undefined
857
+ assertParamExists('checkInPlayer', 'checkInPlayerRequest', checkInPlayerRequest);
858
858
  const localVarPath = `/api/bookings/{bookingId}/check-in`
859
859
  .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
860
860
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -873,7 +873,7 @@ export const BookingsStaffApiAxiosParamCreator = function (configuration) {
873
873
  setSearchParams(localVarUrlObj, localVarQueryParameter);
874
874
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
875
875
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
876
- localVarRequestOptions.data = serializeDataIfNeeded(checkInPlayersRequest, localVarRequestOptions, configuration);
876
+ localVarRequestOptions.data = serializeDataIfNeeded(checkInPlayerRequest, localVarRequestOptions, configuration);
877
877
  return {
878
878
  url: toPathString(localVarUrlObj),
879
879
  options: localVarRequestOptions,
@@ -1123,18 +1123,18 @@ export const BookingsStaffApiFp = function (configuration) {
1123
1123
  const localVarAxiosParamCreator = BookingsStaffApiAxiosParamCreator(configuration);
1124
1124
  return {
1125
1125
  /**
1126
- * Check-in des joueurs only for club with payment features
1126
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
1127
1127
  * @param {string} bookingId
1128
- * @param {CheckInPlayersRequest} checkInPlayersRequest
1128
+ * @param {CheckInPlayerRequest} checkInPlayerRequest
1129
1129
  * @param {*} [options] Override http request option.
1130
1130
  * @throws {RequiredError}
1131
1131
  */
1132
- checkInPlayers(bookingId, checkInPlayersRequest, options) {
1132
+ checkInPlayer(bookingId, checkInPlayerRequest, options) {
1133
1133
  return __awaiter(this, void 0, void 0, function* () {
1134
1134
  var _a, _b, _c;
1135
- const localVarAxiosArgs = yield localVarAxiosParamCreator.checkInPlayers(bookingId, checkInPlayersRequest, options);
1135
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.checkInPlayer(bookingId, checkInPlayerRequest, options);
1136
1136
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1137
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsStaffApi.checkInPlayers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1137
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsStaffApi.checkInPlayer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1138
1138
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1139
1139
  });
1140
1140
  },
@@ -1257,13 +1257,13 @@ export const BookingsStaffApiFactory = function (configuration, basePath, axios)
1257
1257
  const localVarFp = BookingsStaffApiFp(configuration);
1258
1258
  return {
1259
1259
  /**
1260
- * Check-in des joueurs only for club with payment features
1261
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
1260
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
1261
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
1262
1262
  * @param {*} [options] Override http request option.
1263
1263
  * @throws {RequiredError}
1264
1264
  */
1265
- checkInPlayers(requestParameters, options) {
1266
- return localVarFp.checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(axios, basePath));
1265
+ checkInPlayer(requestParameters, options) {
1266
+ return localVarFp.checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(axios, basePath));
1267
1267
  },
1268
1268
  /**
1269
1269
  * Créer une réservation pour un joueur depuis l\'espace staff
@@ -1338,14 +1338,14 @@ export const BookingsStaffApiFactory = function (configuration, basePath, axios)
1338
1338
  */
1339
1339
  export class BookingsStaffApi extends BaseAPI {
1340
1340
  /**
1341
- * Check-in des joueurs only for club with payment features
1342
- * @param {BookingsStaffApiCheckInPlayersRequest} requestParameters Request parameters.
1341
+ * Check-in d\'un joueur (paiement en ligne ou sur place)
1342
+ * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
1343
1343
  * @param {*} [options] Override http request option.
1344
1344
  * @throws {RequiredError}
1345
1345
  * @memberof BookingsStaffApi
1346
1346
  */
1347
- checkInPlayers(requestParameters, options) {
1348
- return BookingsStaffApiFp(this.configuration).checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(this.axios, this.basePath));
1347
+ checkInPlayer(requestParameters, options) {
1348
+ return BookingsStaffApiFp(this.configuration).checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(this.axios, this.basePath));
1349
1349
  }
1350
1350
  /**
1351
1351
  * Créer une réservation pour un joueur depuis l\'espace staff
@@ -4,7 +4,7 @@ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**checkInPlayers**](#checkinplayers) | **POST** /api/bookings/{bookingId}/check-in | |
7
+ |[**checkInPlayer**](#checkinplayer) | **POST** /api/bookings/{bookingId}/check-in | |
8
8
  |[**createStaffBooking**](#createstaffbooking) | **POST** /api/bookings/staff | |
9
9
  |[**getBookingById**](#getbookingbyid) | **GET** /api/bookings/{bookingId} | |
10
10
  |[**getBookingHistoryStaff**](#getbookinghistorystaff) | **GET** /api/bookings/staff/history{bookingId} | |
@@ -13,10 +13,10 @@ All URIs are relative to *http://localhost*
13
13
  |[**getWeeklyBookings**](#getweeklybookings) | **GET** /api/bookings/weekly/{weekId} | |
14
14
  |[**listClubBookings**](#listclubbookings) | **GET** /api/bookings/staff | |
15
15
 
16
- # **checkInPlayers**
17
- > CheckInPlayersResponse checkInPlayers(checkInPlayersRequest)
16
+ # **checkInPlayer**
17
+ > CheckInPlayerResponse checkInPlayer(checkInPlayerRequest)
18
18
 
19
- Check-in des joueurs only for club with payment features
19
+ Check-in d\'un joueur (paiement en ligne ou sur place)
20
20
 
21
21
  ### Example
22
22
 
@@ -24,18 +24,18 @@ Check-in des joueurs only for club with payment features
24
24
  import {
25
25
  BookingsStaffApi,
26
26
  Configuration,
27
- CheckInPlayersRequest
27
+ CheckInPlayerRequest
28
28
  } from '@tennac-booking/sdk';
29
29
 
30
30
  const configuration = new Configuration();
31
31
  const apiInstance = new BookingsStaffApi(configuration);
32
32
 
33
33
  let bookingId: string; // (default to undefined)
34
- let checkInPlayersRequest: CheckInPlayersRequest; //
34
+ let checkInPlayerRequest: CheckInPlayerRequest; //
35
35
 
36
- const { status, data } = await apiInstance.checkInPlayers(
36
+ const { status, data } = await apiInstance.checkInPlayer(
37
37
  bookingId,
38
- checkInPlayersRequest
38
+ checkInPlayerRequest
39
39
  );
40
40
  ```
41
41
 
@@ -43,13 +43,13 @@ const { status, data } = await apiInstance.checkInPlayers(
43
43
 
44
44
  |Name | Type | Description | Notes|
45
45
  |------------- | ------------- | ------------- | -------------|
46
- | **checkInPlayersRequest** | **CheckInPlayersRequest**| | |
46
+ | **checkInPlayerRequest** | **CheckInPlayerRequest**| | |
47
47
  | **bookingId** | [**string**] | | defaults to undefined|
48
48
 
49
49
 
50
50
  ### Return type
51
51
 
52
- **CheckInPlayersResponse**
52
+ **CheckInPlayerResponse**
53
53
 
54
54
  ### Authorization
55
55
 
@@ -1,19 +1,19 @@
1
- # CheckInPlayersRequest
1
+ # CheckInPlayerRequest
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **playerIds** | **Array&lt;string&gt;** | Liste des IDs des joueurs qui ont payé/sont arrivés | [default to undefined]
8
+ **playerId** | **string** | ID du joueur qui a payé/est arrivé | [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { CheckInPlayersRequest } from '@tennac-booking/sdk';
13
+ import { CheckInPlayerRequest } from '@tennac-booking/sdk';
14
14
 
15
- const instance: CheckInPlayersRequest = {
16
- playerIds,
15
+ const instance: CheckInPlayerRequest = {
16
+ playerId,
17
17
  };
18
18
  ```
19
19
 
@@ -1,4 +1,4 @@
1
- # CheckInPlayersResponse
1
+ # CheckInPlayerResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -6,16 +6,16 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **message** | **string** | Message de confirmation | [default to undefined]
9
- **invoices** | [**Array&lt;CheckedInPlayer&gt;**](CheckedInPlayer.md) | Joueurs ayant effectué le check-in | [default to undefined]
9
+ **invoice** | [**CheckedInPlayer**](CheckedInPlayer.md) | | [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { CheckInPlayersResponse } from '@tennac-booking/sdk';
14
+ import { CheckInPlayerResponse } from '@tennac-booking/sdk';
15
15
 
16
- const instance: CheckInPlayersResponse = {
16
+ const instance: CheckInPlayerResponse = {
17
17
  message,
18
- invoices,
18
+ invoice,
19
19
  };
20
20
  ```
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.124",
3
+ "version": "1.0.126",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {