@tennac-booking/sdk 1.0.71 → 1.0.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.71
8
+ * The version of the OpenAPI document: 1.0.72
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -369,6 +369,38 @@ const BookingsApiAxiosParamCreator = function (configuration) {
369
369
  options: localVarRequestOptions,
370
370
  };
371
371
  }),
372
+ /**
373
+ *
374
+ * @param {BookingPriceBody} bookingPriceBody
375
+ * @param {*} [options] Override http request option.
376
+ * @throws {RequiredError}
377
+ */
378
+ getBookingPrice: (bookingPriceBody_1, ...args_1) => __awaiter(this, [bookingPriceBody_1, ...args_1], void 0, function* (bookingPriceBody, options = {}) {
379
+ // verify required parameter 'bookingPriceBody' is not null or undefined
380
+ (0, common_1.assertParamExists)('getBookingPrice', 'bookingPriceBody', bookingPriceBody);
381
+ const localVarPath = `/api/bookings/booking-price`;
382
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
383
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
384
+ let baseOptions;
385
+ if (configuration) {
386
+ baseOptions = configuration.baseOptions;
387
+ }
388
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
389
+ const localVarHeaderParameter = {};
390
+ const localVarQueryParameter = {};
391
+ // authentication bearerAuth required
392
+ // http bearer authentication required
393
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
394
+ localVarHeaderParameter['Content-Type'] = 'application/json';
395
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
396
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
397
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
398
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bookingPriceBody, localVarRequestOptions, configuration);
399
+ return {
400
+ url: (0, common_1.toPathString)(localVarUrlObj),
401
+ options: localVarRequestOptions,
402
+ };
403
+ }),
372
404
  /**
373
405
  * Recherche des créneaux disponibles pour une réservation rapide
374
406
  * @param {number} [latitude]
@@ -458,6 +490,21 @@ const BookingsApiFp = function (configuration) {
458
490
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
459
491
  });
460
492
  },
493
+ /**
494
+ *
495
+ * @param {BookingPriceBody} bookingPriceBody
496
+ * @param {*} [options] Override http request option.
497
+ * @throws {RequiredError}
498
+ */
499
+ getBookingPrice(bookingPriceBody, options) {
500
+ return __awaiter(this, void 0, void 0, function* () {
501
+ var _a, _b, _c;
502
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getBookingPrice(bookingPriceBody, options);
503
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
504
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BookingsApi.getBookingPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
505
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
506
+ });
507
+ },
461
508
  /**
462
509
  * Recherche des créneaux disponibles pour une réservation rapide
463
510
  * @param {number} [latitude]
@@ -501,6 +548,15 @@ const BookingsApiFactory = function (configuration, basePath, axios) {
501
548
  getBookingHistory(requestParameters, options) {
502
549
  return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
503
550
  },
551
+ /**
552
+ *
553
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
554
+ * @param {*} [options] Override http request option.
555
+ * @throws {RequiredError}
556
+ */
557
+ getBookingPrice(requestParameters, options) {
558
+ return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
559
+ },
504
560
  /**
505
561
  * Recherche des créneaux disponibles pour une réservation rapide
506
562
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -530,6 +586,16 @@ class BookingsApi extends base_1.BaseAPI {
530
586
  getBookingHistory(requestParameters, options) {
531
587
  return (0, exports.BookingsApiFp)(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
532
588
  }
589
+ /**
590
+ *
591
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
592
+ * @param {*} [options] Override http request option.
593
+ * @throws {RequiredError}
594
+ * @memberof BookingsApi
595
+ */
596
+ getBookingPrice(requestParameters, options) {
597
+ return (0, exports.BookingsApiFp)(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
598
+ }
533
599
  /**
534
600
  * Recherche des créneaux disponibles pour une réservation rapide
535
601
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
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.71
5
+ * The version of the OpenAPI document: 1.0.72
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.71
8
+ * The version of the OpenAPI document: 1.0.72
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.71
5
+ * The version of the OpenAPI document: 1.0.72
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.71
8
+ * The version of the OpenAPI document: 1.0.72
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.71
5
+ * The version of the OpenAPI document: 1.0.72
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.71
8
+ * The version of the OpenAPI document: 1.0.72
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.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.71
5
+ * The version of the OpenAPI document: 1.0.72
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -597,6 +597,25 @@ export interface BookingPopulated {
597
597
  */
598
598
  'cancellationReason'?: string;
599
599
  }
600
+ /**
601
+ *
602
+ * @export
603
+ * @interface BookingPriceBody
604
+ */
605
+ export interface BookingPriceBody {
606
+ /**
607
+ *
608
+ * @type {Array<string>}
609
+ * @memberof BookingPriceBody
610
+ */
611
+ 'slotIds': Array<string>;
612
+ /**
613
+ *
614
+ * @type {Array<string>}
615
+ * @memberof BookingPriceBody
616
+ */
617
+ 'players': Array<string>;
618
+ }
600
619
  /**
601
620
  *
602
621
  * @export
@@ -1160,6 +1179,30 @@ export interface ClubResponse {
1160
1179
  * @memberof ClubResponse
1161
1180
  */
1162
1181
  'sports'?: Array<string>;
1182
+ /**
1183
+ * Autoriser plusieurs réservations en même temps
1184
+ * @type {boolean}
1185
+ * @memberof ClubResponse
1186
+ */
1187
+ 'allowMultipleBookingsAtTheSameTime'?: boolean | null;
1188
+ /**
1189
+ * Limite de réservations simultanées (même créneau)
1190
+ * @type {number}
1191
+ * @memberof ClubResponse
1192
+ */
1193
+ 'sameTimeBookingsLimit'?: number | null;
1194
+ /**
1195
+ * Limite d\'annulation en heures
1196
+ * @type {number}
1197
+ * @memberof ClubResponse
1198
+ */
1199
+ 'cancellationLimitHours'?: number | null;
1200
+ /**
1201
+ * Nombre maximum de réservations par semaine
1202
+ * @type {number}
1203
+ * @memberof ClubResponse
1204
+ */
1205
+ 'maxWeeklyBookings'?: number | null;
1163
1206
  /**
1164
1207
  *
1165
1208
  * @type {ClubResponseCreatedAt}
@@ -3760,6 +3803,30 @@ export interface PartialClubResponse {
3760
3803
  * @memberof PartialClubResponse
3761
3804
  */
3762
3805
  'sports'?: Array<string>;
3806
+ /**
3807
+ * Autoriser plusieurs réservations en même temps
3808
+ * @type {boolean}
3809
+ * @memberof PartialClubResponse
3810
+ */
3811
+ 'allowMultipleBookingsAtTheSameTime'?: boolean;
3812
+ /**
3813
+ * Limite de réservations simultanées (même créneau)
3814
+ * @type {number}
3815
+ * @memberof PartialClubResponse
3816
+ */
3817
+ 'sameTimeBookingsLimit'?: number;
3818
+ /**
3819
+ * Limite d\'annulation en heures
3820
+ * @type {number}
3821
+ * @memberof PartialClubResponse
3822
+ */
3823
+ 'cancellationLimitHours'?: number;
3824
+ /**
3825
+ * Nombre maximum de réservations par semaine
3826
+ * @type {number}
3827
+ * @memberof PartialClubResponse
3828
+ */
3829
+ 'maxWeeklyBookings'?: number;
3763
3830
  /**
3764
3831
  *
3765
3832
  * @type {ClubResponseCreatedAt}
@@ -4085,6 +4152,49 @@ export interface PlayerPaymentInfo {
4085
4152
  */
4086
4153
  'needsCheckIn': boolean;
4087
4154
  }
4155
+ /**
4156
+ *
4157
+ * @export
4158
+ * @interface PlayerPrice
4159
+ */
4160
+ export interface PlayerPrice {
4161
+ /**
4162
+ *
4163
+ * @type {string}
4164
+ * @memberof PlayerPrice
4165
+ */
4166
+ 'playerId': string;
4167
+ /**
4168
+ *
4169
+ * @type {string}
4170
+ * @memberof PlayerPrice
4171
+ */
4172
+ 'firstName'?: string;
4173
+ /**
4174
+ *
4175
+ * @type {string}
4176
+ * @memberof PlayerPrice
4177
+ */
4178
+ 'lastName'?: string;
4179
+ /**
4180
+ *
4181
+ * @type {Array<SubscriptionInfo>}
4182
+ * @memberof PlayerPrice
4183
+ */
4184
+ 'subscriptions': Array<SubscriptionInfo>;
4185
+ /**
4186
+ *
4187
+ * @type {number}
4188
+ * @memberof PlayerPrice
4189
+ */
4190
+ 'creditAvailablesInCents'?: number;
4191
+ /**
4192
+ *
4193
+ * @type {number}
4194
+ * @memberof PlayerPrice
4195
+ */
4196
+ 'price': number;
4197
+ }
4088
4198
  /**
4089
4199
  *
4090
4200
  * @export
@@ -6493,6 +6603,31 @@ export interface SubscriberPrice {
6493
6603
  */
6494
6604
  'amount': number;
6495
6605
  }
6606
+ /**
6607
+ *
6608
+ * @export
6609
+ * @interface SubscriptionInfo
6610
+ */
6611
+ export interface SubscriptionInfo {
6612
+ /**
6613
+ *
6614
+ * @type {string}
6615
+ * @memberof SubscriptionInfo
6616
+ */
6617
+ 'subscriptionPlanName'?: string;
6618
+ /**
6619
+ *
6620
+ * @type {string}
6621
+ * @memberof SubscriptionInfo
6622
+ */
6623
+ 'subscriptionDescription'?: string;
6624
+ /**
6625
+ *
6626
+ * @type {number}
6627
+ * @memberof SubscriptionInfo
6628
+ */
6629
+ 'reducedAmountInCents'?: number;
6630
+ }
6496
6631
  /**
6497
6632
  *
6498
6633
  * @export
@@ -7663,6 +7798,13 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
7663
7798
  * @throws {RequiredError}
7664
7799
  */
7665
7800
  getBookingHistory: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7801
+ /**
7802
+ *
7803
+ * @param {BookingPriceBody} bookingPriceBody
7804
+ * @param {*} [options] Override http request option.
7805
+ * @throws {RequiredError}
7806
+ */
7807
+ getBookingPrice: (bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7666
7808
  /**
7667
7809
  * Recherche des créneaux disponibles pour une réservation rapide
7668
7810
  * @param {number} [latitude]
@@ -7692,6 +7834,13 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
7692
7834
  * @throws {RequiredError}
7693
7835
  */
7694
7836
  getBookingHistory(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingHistoryPopulated>>;
7837
+ /**
7838
+ *
7839
+ * @param {BookingPriceBody} bookingPriceBody
7840
+ * @param {*} [options] Override http request option.
7841
+ * @throws {RequiredError}
7842
+ */
7843
+ getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PlayerPrice>>>;
7695
7844
  /**
7696
7845
  * Recherche des créneaux disponibles pour une réservation rapide
7697
7846
  * @param {number} [latitude]
@@ -7721,6 +7870,13 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
7721
7870
  * @throws {RequiredError}
7722
7871
  */
7723
7872
  getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated>;
7873
+ /**
7874
+ *
7875
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
7876
+ * @param {*} [options] Override http request option.
7877
+ * @throws {RequiredError}
7878
+ */
7879
+ getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PlayerPrice>>;
7724
7880
  /**
7725
7881
  * Recherche des créneaux disponibles pour une réservation rapide
7726
7882
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -7742,6 +7898,19 @@ export interface BookingsApiGetBookingHistoryRequest {
7742
7898
  */
7743
7899
  readonly bookingId: string;
7744
7900
  }
7901
+ /**
7902
+ * Request parameters for getBookingPrice operation in BookingsApi.
7903
+ * @export
7904
+ * @interface BookingsApiGetBookingPriceRequest
7905
+ */
7906
+ export interface BookingsApiGetBookingPriceRequest {
7907
+ /**
7908
+ *
7909
+ * @type {BookingPriceBody}
7910
+ * @memberof BookingsApiGetBookingPrice
7911
+ */
7912
+ readonly bookingPriceBody: BookingPriceBody;
7913
+ }
7745
7914
  /**
7746
7915
  * Request parameters for getQuickReservationSlots operation in BookingsApi.
7747
7916
  * @export
@@ -7824,6 +7993,14 @@ export declare class BookingsApi extends BaseAPI {
7824
7993
  * @memberof BookingsApi
7825
7994
  */
7826
7995
  getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingHistoryPopulated, any>>;
7996
+ /**
7997
+ *
7998
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
7999
+ * @param {*} [options] Override http request option.
8000
+ * @throws {RequiredError}
8001
+ * @memberof BookingsApi
8002
+ */
8003
+ getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerPrice[], any>>;
7827
8004
  /**
7828
8005
  * Recherche des créneaux disponibles pour une réservation rapide
7829
8006
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.71
7
+ * The version of the OpenAPI document: 1.0.72
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -364,6 +364,38 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
364
364
  options: localVarRequestOptions,
365
365
  };
366
366
  }),
367
+ /**
368
+ *
369
+ * @param {BookingPriceBody} bookingPriceBody
370
+ * @param {*} [options] Override http request option.
371
+ * @throws {RequiredError}
372
+ */
373
+ getBookingPrice: (bookingPriceBody_1, ...args_1) => __awaiter(this, [bookingPriceBody_1, ...args_1], void 0, function* (bookingPriceBody, options = {}) {
374
+ // verify required parameter 'bookingPriceBody' is not null or undefined
375
+ assertParamExists('getBookingPrice', 'bookingPriceBody', bookingPriceBody);
376
+ const localVarPath = `/api/bookings/booking-price`;
377
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
378
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
379
+ let baseOptions;
380
+ if (configuration) {
381
+ baseOptions = configuration.baseOptions;
382
+ }
383
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
384
+ const localVarHeaderParameter = {};
385
+ const localVarQueryParameter = {};
386
+ // authentication bearerAuth required
387
+ // http bearer authentication required
388
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
389
+ localVarHeaderParameter['Content-Type'] = 'application/json';
390
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
391
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
392
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
393
+ localVarRequestOptions.data = serializeDataIfNeeded(bookingPriceBody, localVarRequestOptions, configuration);
394
+ return {
395
+ url: toPathString(localVarUrlObj),
396
+ options: localVarRequestOptions,
397
+ };
398
+ }),
367
399
  /**
368
400
  * Recherche des créneaux disponibles pour une réservation rapide
369
401
  * @param {number} [latitude]
@@ -452,6 +484,21 @@ export const BookingsApiFp = function (configuration) {
452
484
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
453
485
  });
454
486
  },
487
+ /**
488
+ *
489
+ * @param {BookingPriceBody} bookingPriceBody
490
+ * @param {*} [options] Override http request option.
491
+ * @throws {RequiredError}
492
+ */
493
+ getBookingPrice(bookingPriceBody, options) {
494
+ return __awaiter(this, void 0, void 0, function* () {
495
+ var _a, _b, _c;
496
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getBookingPrice(bookingPriceBody, options);
497
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
498
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsApi.getBookingPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
499
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
500
+ });
501
+ },
455
502
  /**
456
503
  * Recherche des créneaux disponibles pour une réservation rapide
457
504
  * @param {number} [latitude]
@@ -494,6 +541,15 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
494
541
  getBookingHistory(requestParameters, options) {
495
542
  return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
496
543
  },
544
+ /**
545
+ *
546
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
547
+ * @param {*} [options] Override http request option.
548
+ * @throws {RequiredError}
549
+ */
550
+ getBookingPrice(requestParameters, options) {
551
+ return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
552
+ },
497
553
  /**
498
554
  * Recherche des créneaux disponibles pour une réservation rapide
499
555
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -522,6 +578,16 @@ export class BookingsApi extends BaseAPI {
522
578
  getBookingHistory(requestParameters, options) {
523
579
  return BookingsApiFp(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
524
580
  }
581
+ /**
582
+ *
583
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
584
+ * @param {*} [options] Override http request option.
585
+ * @throws {RequiredError}
586
+ * @memberof BookingsApi
587
+ */
588
+ getBookingPrice(requestParameters, options) {
589
+ return BookingsApiFp(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
590
+ }
525
591
  /**
526
592
  * Recherche des créneaux disponibles pour une réservation rapide
527
593
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.71
5
+ * The version of the OpenAPI document: 1.0.72
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.71
7
+ * The version of the OpenAPI document: 1.0.72
8
8
  *
9
9
  *
10
10
  * 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.71
5
+ * The version of the OpenAPI document: 1.0.72
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.71
7
+ * The version of the OpenAPI document: 1.0.72
8
8
  *
9
9
  *
10
10
  * 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.71
5
+ * The version of the OpenAPI document: 1.0.72
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.71
7
+ * The version of the OpenAPI document: 1.0.72
8
8
  *
9
9
  *
10
10
  * 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.71
5
+ * The version of the OpenAPI document: 1.0.72
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.71
7
+ * The version of the OpenAPI document: 1.0.72
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.71
5
+ * The version of the OpenAPI document: 1.0.72
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.71
8
+ * The version of the OpenAPI document: 1.0.72
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,22 @@
1
+ # BookingPriceBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **slotIds** | **Array&lt;string&gt;** | | [default to undefined]
9
+ **players** | **Array&lt;string&gt;** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BookingPriceBody } from '@tennac-booking/sdk';
15
+
16
+ const instance: BookingPriceBody = {
17
+ slotIds,
18
+ players,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)