@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.
@@ -18,6 +18,7 @@ docs/BookingPaymentStatusResponse.md
18
18
  docs/BookingPaymentStatusResponseBooking.md
19
19
  docs/BookingPaymentStatusResponseSummary.md
20
20
  docs/BookingPopulated.md
21
+ docs/BookingPriceBody.md
21
22
  docs/BookingResponse.md
22
23
  docs/BookingResponseOnsitePaymentsInner.md
23
24
  docs/BookingStatus.md
@@ -139,6 +140,7 @@ docs/PlayerCategory.md
139
140
  docs/PlayerCategoryId.md
140
141
  docs/PlayerListResponse.md
141
142
  docs/PlayerPaymentInfo.md
143
+ docs/PlayerPrice.md
142
144
  docs/PlayerSummary.md
143
145
  docs/PlayerWithPaymentMethod.md
144
146
  docs/ProfilePictureResponse.md
@@ -197,6 +199,7 @@ docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md
197
199
  docs/StripeStripeTaxCode.md
198
200
  docs/SubscribeRequestBody.md
199
201
  docs/SubscriberPrice.md
202
+ docs/SubscriptionInfo.md
200
203
  docs/SubscriptionMutationResponse.md
201
204
  docs/SubscriptionPlanResponse.md
202
205
  docs/SubscriptionsManagerApi.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.71
1
+ ## @tennac-booking/sdk@1.0.72
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @tennac-booking/sdk@1.0.71 --save
39
+ npm install @tennac-booking/sdk@1.0.72 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -52,6 +52,7 @@ All URIs are relative to *http://localhost*
52
52
  Class | Method | HTTP request | Description
53
53
  ------------ | ------------- | ------------- | -------------
54
54
  *BookingsApi* | [**getBookingHistory**](docs/BookingsApi.md#getbookinghistory) | **GET** /api/bookings/history/{bookingId} |
55
+ *BookingsApi* | [**getBookingPrice**](docs/BookingsApi.md#getbookingprice) | **POST** /api/bookings/booking-price |
55
56
  *BookingsApi* | [**getQuickReservationSlots**](docs/BookingsApi.md#getquickreservationslots) | **GET** /api/bookings/quick-reservations |
56
57
  *BookingsManagerApi* | [**applyNoShowFee**](docs/BookingsManagerApi.md#applynoshowfee) | **POST** /api/bookings/{bookingId}/no-show |
57
58
  *BookingsManagerApi* | [**managerCancelBooking**](docs/BookingsManagerApi.md#managercancelbooking) | **POST** /api/bookings/{bookingId}/manager-cancel |
@@ -200,6 +201,7 @@ Class | Method | HTTP request | Description
200
201
  - [BookingPaymentStatusResponseBooking](docs/BookingPaymentStatusResponseBooking.md)
201
202
  - [BookingPaymentStatusResponseSummary](docs/BookingPaymentStatusResponseSummary.md)
202
203
  - [BookingPopulated](docs/BookingPopulated.md)
204
+ - [BookingPriceBody](docs/BookingPriceBody.md)
203
205
  - [BookingResponse](docs/BookingResponse.md)
204
206
  - [BookingResponseOnsitePaymentsInner](docs/BookingResponseOnsitePaymentsInner.md)
205
207
  - [BookingStatus](docs/BookingStatus.md)
@@ -305,6 +307,7 @@ Class | Method | HTTP request | Description
305
307
  - [PlayerCategoryId](docs/PlayerCategoryId.md)
306
308
  - [PlayerListResponse](docs/PlayerListResponse.md)
307
309
  - [PlayerPaymentInfo](docs/PlayerPaymentInfo.md)
310
+ - [PlayerPrice](docs/PlayerPrice.md)
308
311
  - [PlayerSummary](docs/PlayerSummary.md)
309
312
  - [PlayerWithPaymentMethod](docs/PlayerWithPaymentMethod.md)
310
313
  - [ProfilePictureResponse](docs/ProfilePictureResponse.md)
@@ -361,6 +364,7 @@ Class | Method | HTTP request | Description
361
364
  - [StripeStripeTaxCode](docs/StripeStripeTaxCode.md)
362
365
  - [SubscribeRequestBody](docs/SubscribeRequestBody.md)
363
366
  - [SubscriberPrice](docs/SubscriberPrice.md)
367
+ - [SubscriptionInfo](docs/SubscriptionInfo.md)
364
368
  - [SubscriptionMutationResponse](docs/SubscriptionMutationResponse.md)
365
369
  - [SubscriptionPlanResponse](docs/SubscriptionPlanResponse.md)
366
370
  - [SurfaceType](docs/SurfaceType.md)
package/api.ts 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).
@@ -614,6 +614,25 @@ export interface BookingPopulated {
614
614
  }
615
615
 
616
616
 
617
+ /**
618
+ *
619
+ * @export
620
+ * @interface BookingPriceBody
621
+ */
622
+ export interface BookingPriceBody {
623
+ /**
624
+ *
625
+ * @type {Array<string>}
626
+ * @memberof BookingPriceBody
627
+ */
628
+ 'slotIds': Array<string>;
629
+ /**
630
+ *
631
+ * @type {Array<string>}
632
+ * @memberof BookingPriceBody
633
+ */
634
+ 'players': Array<string>;
635
+ }
617
636
  /**
618
637
  *
619
638
  * @export
@@ -1185,6 +1204,30 @@ export interface ClubResponse {
1185
1204
  * @memberof ClubResponse
1186
1205
  */
1187
1206
  'sports'?: Array<string>;
1207
+ /**
1208
+ * Autoriser plusieurs réservations en même temps
1209
+ * @type {boolean}
1210
+ * @memberof ClubResponse
1211
+ */
1212
+ 'allowMultipleBookingsAtTheSameTime'?: boolean | null;
1213
+ /**
1214
+ * Limite de réservations simultanées (même créneau)
1215
+ * @type {number}
1216
+ * @memberof ClubResponse
1217
+ */
1218
+ 'sameTimeBookingsLimit'?: number | null;
1219
+ /**
1220
+ * Limite d\'annulation en heures
1221
+ * @type {number}
1222
+ * @memberof ClubResponse
1223
+ */
1224
+ 'cancellationLimitHours'?: number | null;
1225
+ /**
1226
+ * Nombre maximum de réservations par semaine
1227
+ * @type {number}
1228
+ * @memberof ClubResponse
1229
+ */
1230
+ 'maxWeeklyBookings'?: number | null;
1188
1231
  /**
1189
1232
  *
1190
1233
  * @type {ClubResponseCreatedAt}
@@ -3822,6 +3865,30 @@ export interface PartialClubResponse {
3822
3865
  * @memberof PartialClubResponse
3823
3866
  */
3824
3867
  'sports'?: Array<string>;
3868
+ /**
3869
+ * Autoriser plusieurs réservations en même temps
3870
+ * @type {boolean}
3871
+ * @memberof PartialClubResponse
3872
+ */
3873
+ 'allowMultipleBookingsAtTheSameTime'?: boolean;
3874
+ /**
3875
+ * Limite de réservations simultanées (même créneau)
3876
+ * @type {number}
3877
+ * @memberof PartialClubResponse
3878
+ */
3879
+ 'sameTimeBookingsLimit'?: number;
3880
+ /**
3881
+ * Limite d\'annulation en heures
3882
+ * @type {number}
3883
+ * @memberof PartialClubResponse
3884
+ */
3885
+ 'cancellationLimitHours'?: number;
3886
+ /**
3887
+ * Nombre maximum de réservations par semaine
3888
+ * @type {number}
3889
+ * @memberof PartialClubResponse
3890
+ */
3891
+ 'maxWeeklyBookings'?: number;
3825
3892
  /**
3826
3893
  *
3827
3894
  * @type {ClubResponseCreatedAt}
@@ -4159,6 +4226,49 @@ export interface PlayerPaymentInfo {
4159
4226
  }
4160
4227
 
4161
4228
 
4229
+ /**
4230
+ *
4231
+ * @export
4232
+ * @interface PlayerPrice
4233
+ */
4234
+ export interface PlayerPrice {
4235
+ /**
4236
+ *
4237
+ * @type {string}
4238
+ * @memberof PlayerPrice
4239
+ */
4240
+ 'playerId': string;
4241
+ /**
4242
+ *
4243
+ * @type {string}
4244
+ * @memberof PlayerPrice
4245
+ */
4246
+ 'firstName'?: string;
4247
+ /**
4248
+ *
4249
+ * @type {string}
4250
+ * @memberof PlayerPrice
4251
+ */
4252
+ 'lastName'?: string;
4253
+ /**
4254
+ *
4255
+ * @type {Array<SubscriptionInfo>}
4256
+ * @memberof PlayerPrice
4257
+ */
4258
+ 'subscriptions': Array<SubscriptionInfo>;
4259
+ /**
4260
+ *
4261
+ * @type {number}
4262
+ * @memberof PlayerPrice
4263
+ */
4264
+ 'creditAvailablesInCents'?: number;
4265
+ /**
4266
+ *
4267
+ * @type {number}
4268
+ * @memberof PlayerPrice
4269
+ */
4270
+ 'price': number;
4271
+ }
4162
4272
  /**
4163
4273
  *
4164
4274
  * @export
@@ -6626,6 +6736,31 @@ export interface SubscriberPrice {
6626
6736
  */
6627
6737
  'amount': number;
6628
6738
  }
6739
+ /**
6740
+ *
6741
+ * @export
6742
+ * @interface SubscriptionInfo
6743
+ */
6744
+ export interface SubscriptionInfo {
6745
+ /**
6746
+ *
6747
+ * @type {string}
6748
+ * @memberof SubscriptionInfo
6749
+ */
6750
+ 'subscriptionPlanName'?: string;
6751
+ /**
6752
+ *
6753
+ * @type {string}
6754
+ * @memberof SubscriptionInfo
6755
+ */
6756
+ 'subscriptionDescription'?: string;
6757
+ /**
6758
+ *
6759
+ * @type {number}
6760
+ * @memberof SubscriptionInfo
6761
+ */
6762
+ 'reducedAmountInCents'?: number;
6763
+ }
6629
6764
  /**
6630
6765
  *
6631
6766
  * @export
@@ -7838,6 +7973,45 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
7838
7973
  options: localVarRequestOptions,
7839
7974
  };
7840
7975
  },
7976
+ /**
7977
+ *
7978
+ * @param {BookingPriceBody} bookingPriceBody
7979
+ * @param {*} [options] Override http request option.
7980
+ * @throws {RequiredError}
7981
+ */
7982
+ getBookingPrice: async (bookingPriceBody: BookingPriceBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7983
+ // verify required parameter 'bookingPriceBody' is not null or undefined
7984
+ assertParamExists('getBookingPrice', 'bookingPriceBody', bookingPriceBody)
7985
+ const localVarPath = `/api/bookings/booking-price`;
7986
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7987
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7988
+ let baseOptions;
7989
+ if (configuration) {
7990
+ baseOptions = configuration.baseOptions;
7991
+ }
7992
+
7993
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
7994
+ const localVarHeaderParameter = {} as any;
7995
+ const localVarQueryParameter = {} as any;
7996
+
7997
+ // authentication bearerAuth required
7998
+ // http bearer authentication required
7999
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
8000
+
8001
+
8002
+
8003
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8004
+
8005
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8006
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8007
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8008
+ localVarRequestOptions.data = serializeDataIfNeeded(bookingPriceBody, localVarRequestOptions, configuration)
8009
+
8010
+ return {
8011
+ url: toPathString(localVarUrlObj),
8012
+ options: localVarRequestOptions,
8013
+ };
8014
+ },
7841
8015
  /**
7842
8016
  * Recherche des créneaux disponibles pour une réservation rapide
7843
8017
  * @param {number} [latitude]
@@ -7939,6 +8113,18 @@ export const BookingsApiFp = function(configuration?: Configuration) {
7939
8113
  const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingHistory']?.[localVarOperationServerIndex]?.url;
7940
8114
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7941
8115
  },
8116
+ /**
8117
+ *
8118
+ * @param {BookingPriceBody} bookingPriceBody
8119
+ * @param {*} [options] Override http request option.
8120
+ * @throws {RequiredError}
8121
+ */
8122
+ async getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PlayerPrice>>> {
8123
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingPrice(bookingPriceBody, options);
8124
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8125
+ const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingPrice']?.[localVarOperationServerIndex]?.url;
8126
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8127
+ },
7942
8128
  /**
7943
8129
  * Recherche des créneaux disponibles pour une réservation rapide
7944
8130
  * @param {number} [latitude]
@@ -7979,6 +8165,15 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
7979
8165
  getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated> {
7980
8166
  return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
7981
8167
  },
8168
+ /**
8169
+ *
8170
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
8171
+ * @param {*} [options] Override http request option.
8172
+ * @throws {RequiredError}
8173
+ */
8174
+ getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PlayerPrice>> {
8175
+ return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
8176
+ },
7982
8177
  /**
7983
8178
  * Recherche des créneaux disponibles pour une réservation rapide
7984
8179
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
@@ -8005,6 +8200,20 @@ export interface BookingsApiGetBookingHistoryRequest {
8005
8200
  readonly bookingId: string
8006
8201
  }
8007
8202
 
8203
+ /**
8204
+ * Request parameters for getBookingPrice operation in BookingsApi.
8205
+ * @export
8206
+ * @interface BookingsApiGetBookingPriceRequest
8207
+ */
8208
+ export interface BookingsApiGetBookingPriceRequest {
8209
+ /**
8210
+ *
8211
+ * @type {BookingPriceBody}
8212
+ * @memberof BookingsApiGetBookingPrice
8213
+ */
8214
+ readonly bookingPriceBody: BookingPriceBody
8215
+ }
8216
+
8008
8217
  /**
8009
8218
  * Request parameters for getQuickReservationSlots operation in BookingsApi.
8010
8219
  * @export
@@ -8100,6 +8309,17 @@ export class BookingsApi extends BaseAPI {
8100
8309
  return BookingsApiFp(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
8101
8310
  }
8102
8311
 
8312
+ /**
8313
+ *
8314
+ * @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
8315
+ * @param {*} [options] Override http request option.
8316
+ * @throws {RequiredError}
8317
+ * @memberof BookingsApi
8318
+ */
8319
+ public getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig) {
8320
+ return BookingsApiFp(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
8321
+ }
8322
+
8103
8323
  /**
8104
8324
  * Recherche des créneaux disponibles pour une réservation rapide
8105
8325
  * @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
package/base.ts 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/common.ts 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/configuration.ts 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/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.