@tennac-booking/sdk 1.0.108 → 1.0.110

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.
Files changed (42) hide show
  1. package/.openapi-generator/FILES +9 -1
  2. package/README.md +15 -2
  3. package/api.ts +672 -1
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +478 -1
  8. package/dist/api.js +280 -1
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +478 -1
  16. package/dist/esm/api.js +280 -1
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/CheckInEventParticipants200Response.md +22 -0
  28. package/docs/CheckInEventParticipants200ResponseInvoicesInner.md +28 -0
  29. package/docs/CheckInEventParticipantsRequest.md +20 -0
  30. package/docs/ClubsStaffApi.md +59 -0
  31. package/docs/CreateOnsiteInvoiceRequest.md +28 -0
  32. package/docs/CreateOnsiteInvoiceResponse.md +22 -0
  33. package/docs/CreateOnsiteInvoiceResponseInvoice.md +31 -0
  34. package/docs/EventConflictCheckRequest.md +28 -0
  35. package/docs/EventConflictCheckResponse.md +26 -0
  36. package/docs/EventsManagerApi.md +114 -0
  37. package/docs/EventsStaffApi.md +59 -0
  38. package/docs/JoinEventRequest.md +8 -0
  39. package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +22 -0
  40. package/docs/PublishEventResponse.md +2 -0
  41. package/index.ts +1 -1
  42. package/package.json +1 -1
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.108
8
+ * The version of the OpenAPI document: 1.0.110
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6086,6 +6086,42 @@ exports.ClubsManagerApi = ClubsManagerApi;
6086
6086
  */
6087
6087
  const ClubsStaffApiAxiosParamCreator = function (configuration) {
6088
6088
  return {
6089
+ /**
6090
+ * Crée une facture manuelle (on-site) et l\'associe à une réservation
6091
+ * @param {string} bookingId
6092
+ * @param {CreateOnsiteInvoiceRequest} createOnsiteInvoiceRequest
6093
+ * @param {*} [options] Override http request option.
6094
+ * @throws {RequiredError}
6095
+ */
6096
+ createOnsiteInvoiceForBooking: (bookingId_1, createOnsiteInvoiceRequest_1, ...args_1) => __awaiter(this, [bookingId_1, createOnsiteInvoiceRequest_1, ...args_1], void 0, function* (bookingId, createOnsiteInvoiceRequest, options = {}) {
6097
+ // verify required parameter 'bookingId' is not null or undefined
6098
+ (0, common_1.assertParamExists)('createOnsiteInvoiceForBooking', 'bookingId', bookingId);
6099
+ // verify required parameter 'createOnsiteInvoiceRequest' is not null or undefined
6100
+ (0, common_1.assertParamExists)('createOnsiteInvoiceForBooking', 'createOnsiteInvoiceRequest', createOnsiteInvoiceRequest);
6101
+ const localVarPath = `/api/clubs/staff/bookings/{bookingId}/invoices`
6102
+ .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
6103
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6104
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6105
+ let baseOptions;
6106
+ if (configuration) {
6107
+ baseOptions = configuration.baseOptions;
6108
+ }
6109
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
6110
+ const localVarHeaderParameter = {};
6111
+ const localVarQueryParameter = {};
6112
+ // authentication bearerAuth required
6113
+ // http bearer authentication required
6114
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6115
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6116
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6117
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6118
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6119
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createOnsiteInvoiceRequest, localVarRequestOptions, configuration);
6120
+ return {
6121
+ url: (0, common_1.toPathString)(localVarUrlObj),
6122
+ options: localVarRequestOptions,
6123
+ };
6124
+ }),
6089
6125
  /**
6090
6126
  *
6091
6127
  * @param {*} [options] Override http request option.
@@ -6316,6 +6352,22 @@ exports.ClubsStaffApiAxiosParamCreator = ClubsStaffApiAxiosParamCreator;
6316
6352
  const ClubsStaffApiFp = function (configuration) {
6317
6353
  const localVarAxiosParamCreator = (0, exports.ClubsStaffApiAxiosParamCreator)(configuration);
6318
6354
  return {
6355
+ /**
6356
+ * Crée une facture manuelle (on-site) et l\'associe à une réservation
6357
+ * @param {string} bookingId
6358
+ * @param {CreateOnsiteInvoiceRequest} createOnsiteInvoiceRequest
6359
+ * @param {*} [options] Override http request option.
6360
+ * @throws {RequiredError}
6361
+ */
6362
+ createOnsiteInvoiceForBooking(bookingId, createOnsiteInvoiceRequest, options) {
6363
+ return __awaiter(this, void 0, void 0, function* () {
6364
+ var _a, _b, _c;
6365
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createOnsiteInvoiceForBooking(bookingId, createOnsiteInvoiceRequest, options);
6366
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6367
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsStaffApi.createOnsiteInvoiceForBooking']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6368
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6369
+ });
6370
+ },
6319
6371
  /**
6320
6372
  *
6321
6373
  * @param {*} [options] Override http request option.
@@ -6439,6 +6491,15 @@ exports.ClubsStaffApiFp = ClubsStaffApiFp;
6439
6491
  const ClubsStaffApiFactory = function (configuration, basePath, axios) {
6440
6492
  const localVarFp = (0, exports.ClubsStaffApiFp)(configuration);
6441
6493
  return {
6494
+ /**
6495
+ * Crée une facture manuelle (on-site) et l\'associe à une réservation
6496
+ * @param {ClubsStaffApiCreateOnsiteInvoiceForBookingRequest} requestParameters Request parameters.
6497
+ * @param {*} [options] Override http request option.
6498
+ * @throws {RequiredError}
6499
+ */
6500
+ createOnsiteInvoiceForBooking(requestParameters, options) {
6501
+ return localVarFp.createOnsiteInvoiceForBooking(requestParameters.bookingId, requestParameters.createOnsiteInvoiceRequest, options).then((request) => request(axios, basePath));
6502
+ },
6442
6503
  /**
6443
6504
  *
6444
6505
  * @param {*} [options] Override http request option.
@@ -6514,6 +6575,16 @@ exports.ClubsStaffApiFactory = ClubsStaffApiFactory;
6514
6575
  * @extends {BaseAPI}
6515
6576
  */
6516
6577
  class ClubsStaffApi extends base_1.BaseAPI {
6578
+ /**
6579
+ * Crée une facture manuelle (on-site) et l\'associe à une réservation
6580
+ * @param {ClubsStaffApiCreateOnsiteInvoiceForBookingRequest} requestParameters Request parameters.
6581
+ * @param {*} [options] Override http request option.
6582
+ * @throws {RequiredError}
6583
+ * @memberof ClubsStaffApi
6584
+ */
6585
+ createOnsiteInvoiceForBooking(requestParameters, options) {
6586
+ return (0, exports.ClubsStaffApiFp)(this.configuration).createOnsiteInvoiceForBooking(requestParameters.bookingId, requestParameters.createOnsiteInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
6587
+ }
6517
6588
  /**
6518
6589
  *
6519
6590
  * @param {*} [options] Override http request option.
@@ -7024,6 +7095,38 @@ exports.GetPublishedEventsByClubIdTypeEnum = {
7024
7095
  */
7025
7096
  const EventsManagerApiAxiosParamCreator = function (configuration) {
7026
7097
  return {
7098
+ /**
7099
+ * Check if there are bookings overlapping an event window (for create/update/delete)
7100
+ * @param {EventConflictCheckRequest} eventConflictCheckRequest
7101
+ * @param {*} [options] Override http request option.
7102
+ * @throws {RequiredError}
7103
+ */
7104
+ checkEventConflicts: (eventConflictCheckRequest_1, ...args_1) => __awaiter(this, [eventConflictCheckRequest_1, ...args_1], void 0, function* (eventConflictCheckRequest, options = {}) {
7105
+ // verify required parameter 'eventConflictCheckRequest' is not null or undefined
7106
+ (0, common_1.assertParamExists)('checkEventConflicts', 'eventConflictCheckRequest', eventConflictCheckRequest);
7107
+ const localVarPath = `/api/events/manager/checkConflicts`;
7108
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7109
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7110
+ let baseOptions;
7111
+ if (configuration) {
7112
+ baseOptions = configuration.baseOptions;
7113
+ }
7114
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7115
+ const localVarHeaderParameter = {};
7116
+ const localVarQueryParameter = {};
7117
+ // authentication bearerAuth required
7118
+ // http bearer authentication required
7119
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7120
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7121
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7122
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7123
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7124
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(eventConflictCheckRequest, localVarRequestOptions, configuration);
7125
+ return {
7126
+ url: (0, common_1.toPathString)(localVarUrlObj),
7127
+ options: localVarRequestOptions,
7128
+ };
7129
+ }),
7027
7130
  /**
7028
7131
  * Create a new event (manager)
7029
7132
  * @param {CreateEventRequest} createEventRequest
@@ -7185,6 +7288,42 @@ const EventsManagerApiAxiosParamCreator = function (configuration) {
7185
7288
  options: localVarRequestOptions,
7186
7289
  };
7187
7290
  }),
7291
+ /**
7292
+ * Update a published event (manager) and propagate slot changes and conflicts
7293
+ * @param {string} eventId
7294
+ * @param {UpdateEventRequest} updateEventRequest
7295
+ * @param {*} [options] Override http request option.
7296
+ * @throws {RequiredError}
7297
+ */
7298
+ updatePublishedEvent: (eventId_1, updateEventRequest_1, ...args_1) => __awaiter(this, [eventId_1, updateEventRequest_1, ...args_1], void 0, function* (eventId, updateEventRequest, options = {}) {
7299
+ // verify required parameter 'eventId' is not null or undefined
7300
+ (0, common_1.assertParamExists)('updatePublishedEvent', 'eventId', eventId);
7301
+ // verify required parameter 'updateEventRequest' is not null or undefined
7302
+ (0, common_1.assertParamExists)('updatePublishedEvent', 'updateEventRequest', updateEventRequest);
7303
+ const localVarPath = `/api/events/manager/updatePublishedEvent/{eventId}`
7304
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
7305
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7306
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7307
+ let baseOptions;
7308
+ if (configuration) {
7309
+ baseOptions = configuration.baseOptions;
7310
+ }
7311
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
7312
+ const localVarHeaderParameter = {};
7313
+ const localVarQueryParameter = {};
7314
+ // authentication bearerAuth required
7315
+ // http bearer authentication required
7316
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7317
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7318
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7319
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7320
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7321
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateEventRequest, localVarRequestOptions, configuration);
7322
+ return {
7323
+ url: (0, common_1.toPathString)(localVarUrlObj),
7324
+ options: localVarRequestOptions,
7325
+ };
7326
+ }),
7188
7327
  };
7189
7328
  };
7190
7329
  exports.EventsManagerApiAxiosParamCreator = EventsManagerApiAxiosParamCreator;
@@ -7195,6 +7334,21 @@ exports.EventsManagerApiAxiosParamCreator = EventsManagerApiAxiosParamCreator;
7195
7334
  const EventsManagerApiFp = function (configuration) {
7196
7335
  const localVarAxiosParamCreator = (0, exports.EventsManagerApiAxiosParamCreator)(configuration);
7197
7336
  return {
7337
+ /**
7338
+ * Check if there are bookings overlapping an event window (for create/update/delete)
7339
+ * @param {EventConflictCheckRequest} eventConflictCheckRequest
7340
+ * @param {*} [options] Override http request option.
7341
+ * @throws {RequiredError}
7342
+ */
7343
+ checkEventConflicts(eventConflictCheckRequest, options) {
7344
+ return __awaiter(this, void 0, void 0, function* () {
7345
+ var _a, _b, _c;
7346
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.checkEventConflicts(eventConflictCheckRequest, options);
7347
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7348
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsManagerApi.checkEventConflicts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7349
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7350
+ });
7351
+ },
7198
7352
  /**
7199
7353
  * Create a new event (manager)
7200
7354
  * @param {CreateEventRequest} createEventRequest
@@ -7271,6 +7425,22 @@ const EventsManagerApiFp = function (configuration) {
7271
7425
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7272
7426
  });
7273
7427
  },
7428
+ /**
7429
+ * Update a published event (manager) and propagate slot changes and conflicts
7430
+ * @param {string} eventId
7431
+ * @param {UpdateEventRequest} updateEventRequest
7432
+ * @param {*} [options] Override http request option.
7433
+ * @throws {RequiredError}
7434
+ */
7435
+ updatePublishedEvent(eventId, updateEventRequest, options) {
7436
+ return __awaiter(this, void 0, void 0, function* () {
7437
+ var _a, _b, _c;
7438
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePublishedEvent(eventId, updateEventRequest, options);
7439
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7440
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsManagerApi.updatePublishedEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7441
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7442
+ });
7443
+ },
7274
7444
  };
7275
7445
  };
7276
7446
  exports.EventsManagerApiFp = EventsManagerApiFp;
@@ -7281,6 +7451,15 @@ exports.EventsManagerApiFp = EventsManagerApiFp;
7281
7451
  const EventsManagerApiFactory = function (configuration, basePath, axios) {
7282
7452
  const localVarFp = (0, exports.EventsManagerApiFp)(configuration);
7283
7453
  return {
7454
+ /**
7455
+ * Check if there are bookings overlapping an event window (for create/update/delete)
7456
+ * @param {EventsManagerApiCheckEventConflictsRequest} requestParameters Request parameters.
7457
+ * @param {*} [options] Override http request option.
7458
+ * @throws {RequiredError}
7459
+ */
7460
+ checkEventConflicts(requestParameters, options) {
7461
+ return localVarFp.checkEventConflicts(requestParameters.eventConflictCheckRequest, options).then((request) => request(axios, basePath));
7462
+ },
7284
7463
  /**
7285
7464
  * Create a new event (manager)
7286
7465
  * @param {EventsManagerApiCreateEventRequest} requestParameters Request parameters.
@@ -7326,6 +7505,15 @@ const EventsManagerApiFactory = function (configuration, basePath, axios) {
7326
7505
  updateEvent(requestParameters, options) {
7327
7506
  return localVarFp.updateEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(axios, basePath));
7328
7507
  },
7508
+ /**
7509
+ * Update a published event (manager) and propagate slot changes and conflicts
7510
+ * @param {EventsManagerApiUpdatePublishedEventRequest} requestParameters Request parameters.
7511
+ * @param {*} [options] Override http request option.
7512
+ * @throws {RequiredError}
7513
+ */
7514
+ updatePublishedEvent(requestParameters, options) {
7515
+ return localVarFp.updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(axios, basePath));
7516
+ },
7329
7517
  };
7330
7518
  };
7331
7519
  exports.EventsManagerApiFactory = EventsManagerApiFactory;
@@ -7336,6 +7524,16 @@ exports.EventsManagerApiFactory = EventsManagerApiFactory;
7336
7524
  * @extends {BaseAPI}
7337
7525
  */
7338
7526
  class EventsManagerApi extends base_1.BaseAPI {
7527
+ /**
7528
+ * Check if there are bookings overlapping an event window (for create/update/delete)
7529
+ * @param {EventsManagerApiCheckEventConflictsRequest} requestParameters Request parameters.
7530
+ * @param {*} [options] Override http request option.
7531
+ * @throws {RequiredError}
7532
+ * @memberof EventsManagerApi
7533
+ */
7534
+ checkEventConflicts(requestParameters, options) {
7535
+ return (0, exports.EventsManagerApiFp)(this.configuration).checkEventConflicts(requestParameters.eventConflictCheckRequest, options).then((request) => request(this.axios, this.basePath));
7536
+ }
7339
7537
  /**
7340
7538
  * Create a new event (manager)
7341
7539
  * @param {EventsManagerApiCreateEventRequest} requestParameters Request parameters.
@@ -7386,6 +7584,16 @@ class EventsManagerApi extends base_1.BaseAPI {
7386
7584
  updateEvent(requestParameters, options) {
7387
7585
  return (0, exports.EventsManagerApiFp)(this.configuration).updateEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
7388
7586
  }
7587
+ /**
7588
+ * Update a published event (manager) and propagate slot changes and conflicts
7589
+ * @param {EventsManagerApiUpdatePublishedEventRequest} requestParameters Request parameters.
7590
+ * @param {*} [options] Override http request option.
7591
+ * @throws {RequiredError}
7592
+ * @memberof EventsManagerApi
7593
+ */
7594
+ updatePublishedEvent(requestParameters, options) {
7595
+ return (0, exports.EventsManagerApiFp)(this.configuration).updatePublishedEvent(requestParameters.eventId, requestParameters.updateEventRequest, options).then((request) => request(this.axios, this.basePath));
7596
+ }
7389
7597
  }
7390
7598
  exports.EventsManagerApi = EventsManagerApi;
7391
7599
  /**
@@ -7394,6 +7602,42 @@ exports.EventsManagerApi = EventsManagerApi;
7394
7602
  */
7395
7603
  const EventsStaffApiAxiosParamCreator = function (configuration) {
7396
7604
  return {
7605
+ /**
7606
+ * Check-in des participants d\'un EventBooking (clubs avec paiements)
7607
+ * @param {string} eventBookingId
7608
+ * @param {CheckInEventParticipantsRequest} checkInEventParticipantsRequest
7609
+ * @param {*} [options] Override http request option.
7610
+ * @throws {RequiredError}
7611
+ */
7612
+ checkInEventParticipants: (eventBookingId_1, checkInEventParticipantsRequest_1, ...args_1) => __awaiter(this, [eventBookingId_1, checkInEventParticipantsRequest_1, ...args_1], void 0, function* (eventBookingId, checkInEventParticipantsRequest, options = {}) {
7613
+ // verify required parameter 'eventBookingId' is not null or undefined
7614
+ (0, common_1.assertParamExists)('checkInEventParticipants', 'eventBookingId', eventBookingId);
7615
+ // verify required parameter 'checkInEventParticipantsRequest' is not null or undefined
7616
+ (0, common_1.assertParamExists)('checkInEventParticipants', 'checkInEventParticipantsRequest', checkInEventParticipantsRequest);
7617
+ const localVarPath = `/api/events/{eventBookingId}/check-in`
7618
+ .replace(`{${"eventBookingId"}}`, encodeURIComponent(String(eventBookingId)));
7619
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7620
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7621
+ let baseOptions;
7622
+ if (configuration) {
7623
+ baseOptions = configuration.baseOptions;
7624
+ }
7625
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7626
+ const localVarHeaderParameter = {};
7627
+ const localVarQueryParameter = {};
7628
+ // authentication bearerAuth required
7629
+ // http bearer authentication required
7630
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7631
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7632
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7633
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7634
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7635
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(checkInEventParticipantsRequest, localVarRequestOptions, configuration);
7636
+ return {
7637
+ url: (0, common_1.toPathString)(localVarUrlObj),
7638
+ options: localVarRequestOptions,
7639
+ };
7640
+ }),
7397
7641
  /**
7398
7642
  * Get all events for a club (staff only)
7399
7643
  * @param {*} [options] Override http request option.
@@ -7431,6 +7675,22 @@ exports.EventsStaffApiAxiosParamCreator = EventsStaffApiAxiosParamCreator;
7431
7675
  const EventsStaffApiFp = function (configuration) {
7432
7676
  const localVarAxiosParamCreator = (0, exports.EventsStaffApiAxiosParamCreator)(configuration);
7433
7677
  return {
7678
+ /**
7679
+ * Check-in des participants d\'un EventBooking (clubs avec paiements)
7680
+ * @param {string} eventBookingId
7681
+ * @param {CheckInEventParticipantsRequest} checkInEventParticipantsRequest
7682
+ * @param {*} [options] Override http request option.
7683
+ * @throws {RequiredError}
7684
+ */
7685
+ checkInEventParticipants(eventBookingId, checkInEventParticipantsRequest, options) {
7686
+ return __awaiter(this, void 0, void 0, function* () {
7687
+ var _a, _b, _c;
7688
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.checkInEventParticipants(eventBookingId, checkInEventParticipantsRequest, options);
7689
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7690
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsStaffApi.checkInEventParticipants']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7691
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7692
+ });
7693
+ },
7434
7694
  /**
7435
7695
  * Get all events for a club (staff only)
7436
7696
  * @param {*} [options] Override http request option.
@@ -7455,6 +7715,15 @@ exports.EventsStaffApiFp = EventsStaffApiFp;
7455
7715
  const EventsStaffApiFactory = function (configuration, basePath, axios) {
7456
7716
  const localVarFp = (0, exports.EventsStaffApiFp)(configuration);
7457
7717
  return {
7718
+ /**
7719
+ * Check-in des participants d\'un EventBooking (clubs avec paiements)
7720
+ * @param {EventsStaffApiCheckInEventParticipantsRequest} requestParameters Request parameters.
7721
+ * @param {*} [options] Override http request option.
7722
+ * @throws {RequiredError}
7723
+ */
7724
+ checkInEventParticipants(requestParameters, options) {
7725
+ return localVarFp.checkInEventParticipants(requestParameters.eventBookingId, requestParameters.checkInEventParticipantsRequest, options).then((request) => request(axios, basePath));
7726
+ },
7458
7727
  /**
7459
7728
  * Get all events for a club (staff only)
7460
7729
  * @param {*} [options] Override http request option.
@@ -7473,6 +7742,16 @@ exports.EventsStaffApiFactory = EventsStaffApiFactory;
7473
7742
  * @extends {BaseAPI}
7474
7743
  */
7475
7744
  class EventsStaffApi extends base_1.BaseAPI {
7745
+ /**
7746
+ * Check-in des participants d\'un EventBooking (clubs avec paiements)
7747
+ * @param {EventsStaffApiCheckInEventParticipantsRequest} requestParameters Request parameters.
7748
+ * @param {*} [options] Override http request option.
7749
+ * @throws {RequiredError}
7750
+ * @memberof EventsStaffApi
7751
+ */
7752
+ checkInEventParticipants(requestParameters, options) {
7753
+ return (0, exports.EventsStaffApiFp)(this.configuration).checkInEventParticipants(requestParameters.eventBookingId, requestParameters.checkInEventParticipantsRequest, options).then((request) => request(this.axios, this.basePath));
7754
+ }
7476
7755
  /**
7477
7756
  * Get all events for a club (staff only)
7478
7757
  * @param {*} [options] Override http request option.
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.108
5
+ * The version of the OpenAPI document: 1.0.110
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.108
8
+ * The version of the OpenAPI document: 1.0.110
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.108
5
+ * The version of the OpenAPI document: 1.0.110
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.108
8
+ * The version of the OpenAPI document: 1.0.110
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.108
5
+ * The version of the OpenAPI document: 1.0.110
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.108
8
+ * The version of the OpenAPI document: 1.0.110
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).