@tennac-booking/sdk 1.0.212 → 1.0.215

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.
@@ -204,8 +204,6 @@ docs/GetCourtsByClubAndSportById200ResponseCourtsInner.md
204
204
  docs/GetGuestBookingPrice200Response.md
205
205
  docs/GetGuestBookingPriceRequest.md
206
206
  docs/GetInfillPercentagePerPeriod200Response.md
207
- docs/GetOpenBookingPrice200Response.md
208
- docs/GetOpenBookingPriceRequest.md
209
207
  docs/GetOpenEventBookingJoinPrice200Response.md
210
208
  docs/GetOpenEventBookings200Response.md
211
209
  docs/GetPublishedActualities200Response.md
@@ -264,6 +262,7 @@ docs/OpenBookingBasePriceResponse.md
264
262
  docs/OpenBookingInfo.md
265
263
  docs/OpenBookingJoinEstimateResponse.md
266
264
  docs/OpenBookingPlayerInfo.md
265
+ docs/OpenBookingPriceBody.md
267
266
  docs/OpenBookingSportInfo.md
268
267
  docs/OpenBookingsResponse.md
269
268
  docs/PaginationInfo.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.210
1
+ ## @tennac-booking/sdk@1.0.214
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.210 --save
39
+ npm install @tennac-booking/sdk@1.0.214 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -270,7 +270,7 @@ Class | Method | HTTP request | Description
270
270
  *UsersApi* | [**requestOrganizationCode**](docs/UsersApi.md#requestorganizationcode) | **POST** /api/users/me/request-organization-code |
271
271
  *UsersApi* | [**requestPasswordReset**](docs/UsersApi.md#requestpasswordreset) | **POST** /api/users/request-password-reset |
272
272
  *UsersApi* | [**resetPassword**](docs/UsersApi.md#resetpassword) | **POST** /api/users/reset-password |
273
- *UsersApi* | [**searchPartner**](docs/UsersApi.md#searchpartner) | **GET** /api/users/serachPartner |
273
+ *UsersApi* | [**searchPartner**](docs/UsersApi.md#searchpartner) | **GET** /api/users/searchPartner |
274
274
  *UsersApi* | [**signInOrSignUpWithGoogle**](docs/UsersApi.md#signinorsignupwithgoogle) | **POST** /api/users/googleSignin |
275
275
  *UsersApi* | [**updateCustomer**](docs/UsersApi.md#updatecustomer) | **PUT** /api/users/me/customer |
276
276
  *UsersApi* | [**updateLevelBySports**](docs/UsersApi.md#updatelevelbysports) | **PUT** /api/users/me/level-by-sports |
@@ -475,8 +475,6 @@ Class | Method | HTTP request | Description
475
475
  - [GetGuestBookingPrice200Response](docs/GetGuestBookingPrice200Response.md)
476
476
  - [GetGuestBookingPriceRequest](docs/GetGuestBookingPriceRequest.md)
477
477
  - [GetInfillPercentagePerPeriod200Response](docs/GetInfillPercentagePerPeriod200Response.md)
478
- - [GetOpenBookingPrice200Response](docs/GetOpenBookingPrice200Response.md)
479
- - [GetOpenBookingPriceRequest](docs/GetOpenBookingPriceRequest.md)
480
478
  - [GetOpenEventBookingJoinPrice200Response](docs/GetOpenEventBookingJoinPrice200Response.md)
481
479
  - [GetOpenEventBookings200Response](docs/GetOpenEventBookings200Response.md)
482
480
  - [GetPublishedActualities200Response](docs/GetPublishedActualities200Response.md)
@@ -533,6 +531,7 @@ Class | Method | HTTP request | Description
533
531
  - [OpenBookingInfo](docs/OpenBookingInfo.md)
534
532
  - [OpenBookingJoinEstimateResponse](docs/OpenBookingJoinEstimateResponse.md)
535
533
  - [OpenBookingPlayerInfo](docs/OpenBookingPlayerInfo.md)
534
+ - [OpenBookingPriceBody](docs/OpenBookingPriceBody.md)
536
535
  - [OpenBookingSportInfo](docs/OpenBookingSportInfo.md)
537
536
  - [OpenBookingsResponse](docs/OpenBookingsResponse.md)
538
537
  - [PaginationInfo](docs/PaginationInfo.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.210
7
+ * The version of the OpenAPI document: 1.0.214
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6717,62 +6717,6 @@ export interface GetInfillPercentagePerPeriod200Response {
6717
6717
  */
6718
6718
  'infillPercentage': number;
6719
6719
  }
6720
- /**
6721
- *
6722
- * @export
6723
- * @interface GetOpenBookingPrice200Response
6724
- */
6725
- export interface GetOpenBookingPrice200Response {
6726
- /**
6727
- *
6728
- * @type {number}
6729
- * @memberof GetOpenBookingPrice200Response
6730
- */
6731
- 'totalBasePrice': number;
6732
- /**
6733
- *
6734
- * @type {Array<PlayerPrice>}
6735
- * @memberof GetOpenBookingPrice200Response
6736
- */
6737
- 'playersPrices': Array<PlayerPrice>;
6738
- /**
6739
- *
6740
- * @type {number}
6741
- * @memberof GetOpenBookingPrice200Response
6742
- */
6743
- 'basePricePerPlayer': number;
6744
- }
6745
- /**
6746
- *
6747
- * @export
6748
- * @interface GetOpenBookingPriceRequest
6749
- */
6750
- export interface GetOpenBookingPriceRequest {
6751
- /**
6752
- * Construct a type with a set of properties K of type T
6753
- * @type {{ [key: string]: number; }}
6754
- * @memberof GetOpenBookingPriceRequest
6755
- */
6756
- 'creditsByPlayer'?: { [key: string]: number; };
6757
- /**
6758
- *
6759
- * @type {Array<string>}
6760
- * @memberof GetOpenBookingPriceRequest
6761
- */
6762
- 'initialPlayerIds'?: Array<string>;
6763
- /**
6764
- *
6765
- * @type {number}
6766
- * @memberof GetOpenBookingPriceRequest
6767
- */
6768
- 'maxPlayers': number;
6769
- /**
6770
- *
6771
- * @type {Array<string>}
6772
- * @memberof GetOpenBookingPriceRequest
6773
- */
6774
- 'slotIds': Array<string>;
6775
- }
6776
6720
  /**
6777
6721
  *
6778
6722
  * @export
@@ -8713,6 +8657,37 @@ export interface OpenBookingPlayerInfo {
8713
8657
  */
8714
8658
  'profilePicture'?: string;
8715
8659
  }
8660
+ /**
8661
+ *
8662
+ * @export
8663
+ * @interface OpenBookingPriceBody
8664
+ */
8665
+ export interface OpenBookingPriceBody {
8666
+ /**
8667
+ *
8668
+ * @type {Array<string>}
8669
+ * @memberof OpenBookingPriceBody
8670
+ */
8671
+ 'slotIds': Array<string>;
8672
+ /**
8673
+ *
8674
+ * @type {Array<PlayerShare>}
8675
+ * @memberof OpenBookingPriceBody
8676
+ */
8677
+ 'playerShares'?: Array<PlayerShare>;
8678
+ /**
8679
+ *
8680
+ * @type {number}
8681
+ * @memberof OpenBookingPriceBody
8682
+ */
8683
+ 'creditToUseInCents'?: number;
8684
+ /**
8685
+ *
8686
+ * @type {number}
8687
+ * @memberof OpenBookingPriceBody
8688
+ */
8689
+ 'maxPlayersDesired': number;
8690
+ }
8716
8691
  /**
8717
8692
  *
8718
8693
  * @export
@@ -17164,13 +17139,13 @@ export const BookingsUserApiAxiosParamCreator = function (configuration?: Config
17164
17139
  },
17165
17140
  /**
17166
17141
  * Calculer le prix d\'une réservation ouverte avec joueurs initiaux
17167
- * @param {GetOpenBookingPriceRequest} getOpenBookingPriceRequest
17142
+ * @param {OpenBookingPriceBody} openBookingPriceBody
17168
17143
  * @param {*} [options] Override http request option.
17169
17144
  * @throws {RequiredError}
17170
17145
  */
17171
- getOpenBookingPrice: async (getOpenBookingPriceRequest: GetOpenBookingPriceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17172
- // verify required parameter 'getOpenBookingPriceRequest' is not null or undefined
17173
- assertParamExists('getOpenBookingPrice', 'getOpenBookingPriceRequest', getOpenBookingPriceRequest)
17146
+ getOpenBookingPrice: async (openBookingPriceBody: OpenBookingPriceBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17147
+ // verify required parameter 'openBookingPriceBody' is not null or undefined
17148
+ assertParamExists('getOpenBookingPrice', 'openBookingPriceBody', openBookingPriceBody)
17174
17149
  const localVarPath = `/api/bookings/open/booking-price`;
17175
17150
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17176
17151
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -17194,7 +17169,7 @@ export const BookingsUserApiAxiosParamCreator = function (configuration?: Config
17194
17169
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17195
17170
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17196
17171
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17197
- localVarRequestOptions.data = serializeDataIfNeeded(getOpenBookingPriceRequest, localVarRequestOptions, configuration)
17172
+ localVarRequestOptions.data = serializeDataIfNeeded(openBookingPriceBody, localVarRequestOptions, configuration)
17198
17173
 
17199
17174
  return {
17200
17175
  url: toPathString(localVarUrlObj),
@@ -17292,12 +17267,12 @@ export const BookingsUserApiFp = function(configuration?: Configuration) {
17292
17267
  },
17293
17268
  /**
17294
17269
  * Calculer le prix d\'une réservation ouverte avec joueurs initiaux
17295
- * @param {GetOpenBookingPriceRequest} getOpenBookingPriceRequest
17270
+ * @param {OpenBookingPriceBody} openBookingPriceBody
17296
17271
  * @param {*} [options] Override http request option.
17297
17272
  * @throws {RequiredError}
17298
17273
  */
17299
- async getOpenBookingPrice(getOpenBookingPriceRequest: GetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOpenBookingPrice200Response>> {
17300
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOpenBookingPrice(getOpenBookingPriceRequest, options);
17274
+ async getOpenBookingPrice(openBookingPriceBody: OpenBookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPriceResponse>> {
17275
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOpenBookingPrice(openBookingPriceBody, options);
17301
17276
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17302
17277
  const localVarOperationServerBasePath = operationServerMap['BookingsUserApi.getOpenBookingPrice']?.[localVarOperationServerIndex]?.url;
17303
17278
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -17358,8 +17333,8 @@ export const BookingsUserApiFactory = function (configuration?: Configuration, b
17358
17333
  * @param {*} [options] Override http request option.
17359
17334
  * @throws {RequiredError}
17360
17335
  */
17361
- getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOpenBookingPrice200Response> {
17362
- return localVarFp.getOpenBookingPrice(requestParameters.getOpenBookingPriceRequest, options).then((request) => request(axios, basePath));
17336
+ getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingPriceResponse> {
17337
+ return localVarFp.getOpenBookingPrice(requestParameters.openBookingPriceBody, options).then((request) => request(axios, basePath));
17363
17338
  },
17364
17339
  /**
17365
17340
  * Mettre à jour une réservation ouverte (description et niveau minimal)
@@ -17423,10 +17398,10 @@ export interface BookingsUserApiCreateOpenBookingRequest {
17423
17398
  export interface BookingsUserApiGetOpenBookingPriceRequest {
17424
17399
  /**
17425
17400
  *
17426
- * @type {GetOpenBookingPriceRequest}
17401
+ * @type {OpenBookingPriceBody}
17427
17402
  * @memberof BookingsUserApiGetOpenBookingPrice
17428
17403
  */
17429
- readonly getOpenBookingPriceRequest: GetOpenBookingPriceRequest
17404
+ readonly openBookingPriceBody: OpenBookingPriceBody
17430
17405
  }
17431
17406
 
17432
17407
  /**
@@ -17498,7 +17473,7 @@ export class BookingsUserApi extends BaseAPI {
17498
17473
  * @memberof BookingsUserApi
17499
17474
  */
17500
17475
  public getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig) {
17501
- return BookingsUserApiFp(this.configuration).getOpenBookingPrice(requestParameters.getOpenBookingPriceRequest, options).then((request) => request(this.axios, this.basePath));
17476
+ return BookingsUserApiFp(this.configuration).getOpenBookingPrice(requestParameters.openBookingPriceBody, options).then((request) => request(this.axios, this.basePath));
17502
17477
  }
17503
17478
 
17504
17479
  /**
@@ -32913,7 +32888,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
32913
32888
  searchPartner: async (q: string, page?: number, limit?: number, excludeIds?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32914
32889
  // verify required parameter 'q' is not null or undefined
32915
32890
  assertParamExists('searchPartner', 'q', q)
32916
- const localVarPath = `/api/users/serachPartner`;
32891
+ const localVarPath = `/api/users/searchPartner`;
32917
32892
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
32918
32893
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32919
32894
  let baseOptions;
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.210
7
+ * The version of the OpenAPI document: 1.0.214
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.210
7
+ * The version of the OpenAPI document: 1.0.214
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.210
7
+ * The version of the OpenAPI document: 1.0.214
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.210
5
+ * The version of the OpenAPI document: 1.0.214
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6616,64 +6616,6 @@ export interface GetInfillPercentagePerPeriod200Response {
6616
6616
  */
6617
6617
  'infillPercentage': number;
6618
6618
  }
6619
- /**
6620
- *
6621
- * @export
6622
- * @interface GetOpenBookingPrice200Response
6623
- */
6624
- export interface GetOpenBookingPrice200Response {
6625
- /**
6626
- *
6627
- * @type {number}
6628
- * @memberof GetOpenBookingPrice200Response
6629
- */
6630
- 'totalBasePrice': number;
6631
- /**
6632
- *
6633
- * @type {Array<PlayerPrice>}
6634
- * @memberof GetOpenBookingPrice200Response
6635
- */
6636
- 'playersPrices': Array<PlayerPrice>;
6637
- /**
6638
- *
6639
- * @type {number}
6640
- * @memberof GetOpenBookingPrice200Response
6641
- */
6642
- 'basePricePerPlayer': number;
6643
- }
6644
- /**
6645
- *
6646
- * @export
6647
- * @interface GetOpenBookingPriceRequest
6648
- */
6649
- export interface GetOpenBookingPriceRequest {
6650
- /**
6651
- * Construct a type with a set of properties K of type T
6652
- * @type {{ [key: string]: number; }}
6653
- * @memberof GetOpenBookingPriceRequest
6654
- */
6655
- 'creditsByPlayer'?: {
6656
- [key: string]: number;
6657
- };
6658
- /**
6659
- *
6660
- * @type {Array<string>}
6661
- * @memberof GetOpenBookingPriceRequest
6662
- */
6663
- 'initialPlayerIds'?: Array<string>;
6664
- /**
6665
- *
6666
- * @type {number}
6667
- * @memberof GetOpenBookingPriceRequest
6668
- */
6669
- 'maxPlayers': number;
6670
- /**
6671
- *
6672
- * @type {Array<string>}
6673
- * @memberof GetOpenBookingPriceRequest
6674
- */
6675
- 'slotIds': Array<string>;
6676
- }
6677
6619
  /**
6678
6620
  *
6679
6621
  * @export
@@ -8587,6 +8529,37 @@ export interface OpenBookingPlayerInfo {
8587
8529
  */
8588
8530
  'profilePicture'?: string;
8589
8531
  }
8532
+ /**
8533
+ *
8534
+ * @export
8535
+ * @interface OpenBookingPriceBody
8536
+ */
8537
+ export interface OpenBookingPriceBody {
8538
+ /**
8539
+ *
8540
+ * @type {Array<string>}
8541
+ * @memberof OpenBookingPriceBody
8542
+ */
8543
+ 'slotIds': Array<string>;
8544
+ /**
8545
+ *
8546
+ * @type {Array<PlayerShare>}
8547
+ * @memberof OpenBookingPriceBody
8548
+ */
8549
+ 'playerShares'?: Array<PlayerShare>;
8550
+ /**
8551
+ *
8552
+ * @type {number}
8553
+ * @memberof OpenBookingPriceBody
8554
+ */
8555
+ 'creditToUseInCents'?: number;
8556
+ /**
8557
+ *
8558
+ * @type {number}
8559
+ * @memberof OpenBookingPriceBody
8560
+ */
8561
+ 'maxPlayersDesired': number;
8562
+ }
8590
8563
  /**
8591
8564
  *
8592
8565
  * @export
@@ -15782,11 +15755,11 @@ export declare const BookingsUserApiAxiosParamCreator: (configuration?: Configur
15782
15755
  createOpenBooking: (createOpenBookingRequest: CreateOpenBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15783
15756
  /**
15784
15757
  * Calculer le prix d\'une réservation ouverte avec joueurs initiaux
15785
- * @param {GetOpenBookingPriceRequest} getOpenBookingPriceRequest
15758
+ * @param {OpenBookingPriceBody} openBookingPriceBody
15786
15759
  * @param {*} [options] Override http request option.
15787
15760
  * @throws {RequiredError}
15788
15761
  */
15789
- getOpenBookingPrice: (getOpenBookingPriceRequest: GetOpenBookingPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15762
+ getOpenBookingPrice: (openBookingPriceBody: OpenBookingPriceBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15790
15763
  /**
15791
15764
  * Mettre à jour une réservation ouverte (description et niveau minimal)
15792
15765
  * @param {string} bookingId
@@ -15824,11 +15797,11 @@ export declare const BookingsUserApiFp: (configuration?: Configuration) => {
15824
15797
  createOpenBooking(createOpenBookingRequest: CreateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
15825
15798
  /**
15826
15799
  * Calculer le prix d\'une réservation ouverte avec joueurs initiaux
15827
- * @param {GetOpenBookingPriceRequest} getOpenBookingPriceRequest
15800
+ * @param {OpenBookingPriceBody} openBookingPriceBody
15828
15801
  * @param {*} [options] Override http request option.
15829
15802
  * @throws {RequiredError}
15830
15803
  */
15831
- getOpenBookingPrice(getOpenBookingPriceRequest: GetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOpenBookingPrice200Response>>;
15804
+ getOpenBookingPrice(openBookingPriceBody: OpenBookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPriceResponse>>;
15832
15805
  /**
15833
15806
  * Mettre à jour une réservation ouverte (description et niveau minimal)
15834
15807
  * @param {string} bookingId
@@ -15870,7 +15843,7 @@ export declare const BookingsUserApiFactory: (configuration?: Configuration, bas
15870
15843
  * @param {*} [options] Override http request option.
15871
15844
  * @throws {RequiredError}
15872
15845
  */
15873
- getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOpenBookingPrice200Response>;
15846
+ getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingPriceResponse>;
15874
15847
  /**
15875
15848
  * Mettre à jour une réservation ouverte (description et niveau minimal)
15876
15849
  * @param {BookingsUserApiUpdateOpenBookingRequest} requestParameters Request parameters.
@@ -15926,10 +15899,10 @@ export interface BookingsUserApiCreateOpenBookingRequest {
15926
15899
  export interface BookingsUserApiGetOpenBookingPriceRequest {
15927
15900
  /**
15928
15901
  *
15929
- * @type {GetOpenBookingPriceRequest}
15902
+ * @type {OpenBookingPriceBody}
15930
15903
  * @memberof BookingsUserApiGetOpenBookingPrice
15931
15904
  */
15932
- readonly getOpenBookingPriceRequest: GetOpenBookingPriceRequest;
15905
+ readonly openBookingPriceBody: OpenBookingPriceBody;
15933
15906
  }
15934
15907
  /**
15935
15908
  * Request parameters for updateOpenBooking operation in BookingsUserApi.
@@ -15988,7 +15961,7 @@ export declare class BookingsUserApi extends BaseAPI {
15988
15961
  * @throws {RequiredError}
15989
15962
  * @memberof BookingsUserApi
15990
15963
  */
15991
- getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOpenBookingPrice200Response, any, {}>>;
15964
+ getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPriceResponse, any, {}>>;
15992
15965
  /**
15993
15966
  * Mettre à jour une réservation ouverte (description et niveau minimal)
15994
15967
  * @param {BookingsUserApiUpdateOpenBookingRequest} requestParameters Request parameters.
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.210
8
+ * The version of the OpenAPI document: 1.0.214
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2243,13 +2243,13 @@ const BookingsUserApiAxiosParamCreator = function (configuration) {
2243
2243
  }),
2244
2244
  /**
2245
2245
  * Calculer le prix d\'une réservation ouverte avec joueurs initiaux
2246
- * @param {GetOpenBookingPriceRequest} getOpenBookingPriceRequest
2246
+ * @param {OpenBookingPriceBody} openBookingPriceBody
2247
2247
  * @param {*} [options] Override http request option.
2248
2248
  * @throws {RequiredError}
2249
2249
  */
2250
- getOpenBookingPrice: (getOpenBookingPriceRequest_1, ...args_1) => __awaiter(this, [getOpenBookingPriceRequest_1, ...args_1], void 0, function* (getOpenBookingPriceRequest, options = {}) {
2251
- // verify required parameter 'getOpenBookingPriceRequest' is not null or undefined
2252
- (0, common_1.assertParamExists)('getOpenBookingPrice', 'getOpenBookingPriceRequest', getOpenBookingPriceRequest);
2250
+ getOpenBookingPrice: (openBookingPriceBody_1, ...args_1) => __awaiter(this, [openBookingPriceBody_1, ...args_1], void 0, function* (openBookingPriceBody, options = {}) {
2251
+ // verify required parameter 'openBookingPriceBody' is not null or undefined
2252
+ (0, common_1.assertParamExists)('getOpenBookingPrice', 'openBookingPriceBody', openBookingPriceBody);
2253
2253
  const localVarPath = `/api/bookings/open/booking-price`;
2254
2254
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2255
2255
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2267,7 +2267,7 @@ const BookingsUserApiAxiosParamCreator = function (configuration) {
2267
2267
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2268
2268
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2269
2269
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2270
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getOpenBookingPriceRequest, localVarRequestOptions, configuration);
2270
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(openBookingPriceBody, localVarRequestOptions, configuration);
2271
2271
  return {
2272
2272
  url: (0, common_1.toPathString)(localVarUrlObj),
2273
2273
  options: localVarRequestOptions,
@@ -2366,14 +2366,14 @@ const BookingsUserApiFp = function (configuration) {
2366
2366
  },
2367
2367
  /**
2368
2368
  * Calculer le prix d\'une réservation ouverte avec joueurs initiaux
2369
- * @param {GetOpenBookingPriceRequest} getOpenBookingPriceRequest
2369
+ * @param {OpenBookingPriceBody} openBookingPriceBody
2370
2370
  * @param {*} [options] Override http request option.
2371
2371
  * @throws {RequiredError}
2372
2372
  */
2373
- getOpenBookingPrice(getOpenBookingPriceRequest, options) {
2373
+ getOpenBookingPrice(openBookingPriceBody, options) {
2374
2374
  return __awaiter(this, void 0, void 0, function* () {
2375
2375
  var _a, _b, _c;
2376
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getOpenBookingPrice(getOpenBookingPriceRequest, options);
2376
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOpenBookingPrice(openBookingPriceBody, options);
2377
2377
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2378
2378
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BookingsUserApi.getOpenBookingPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2379
2379
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2439,7 +2439,7 @@ const BookingsUserApiFactory = function (configuration, basePath, axios) {
2439
2439
  * @throws {RequiredError}
2440
2440
  */
2441
2441
  getOpenBookingPrice(requestParameters, options) {
2442
- return localVarFp.getOpenBookingPrice(requestParameters.getOpenBookingPriceRequest, options).then((request) => request(axios, basePath));
2442
+ return localVarFp.getOpenBookingPrice(requestParameters.openBookingPriceBody, options).then((request) => request(axios, basePath));
2443
2443
  },
2444
2444
  /**
2445
2445
  * Mettre à jour une réservation ouverte (description et niveau minimal)
@@ -2498,7 +2498,7 @@ class BookingsUserApi extends base_1.BaseAPI {
2498
2498
  * @memberof BookingsUserApi
2499
2499
  */
2500
2500
  getOpenBookingPrice(requestParameters, options) {
2501
- return (0, exports.BookingsUserApiFp)(this.configuration).getOpenBookingPrice(requestParameters.getOpenBookingPriceRequest, options).then((request) => request(this.axios, this.basePath));
2501
+ return (0, exports.BookingsUserApiFp)(this.configuration).getOpenBookingPrice(requestParameters.openBookingPriceBody, options).then((request) => request(this.axios, this.basePath));
2502
2502
  }
2503
2503
  /**
2504
2504
  * Mettre à jour une réservation ouverte (description et niveau minimal)
@@ -14919,7 +14919,7 @@ const UsersApiAxiosParamCreator = function (configuration) {
14919
14919
  searchPartner: (q_1, page_1, limit_1, excludeIds_1, ...args_1) => __awaiter(this, [q_1, page_1, limit_1, excludeIds_1, ...args_1], void 0, function* (q, page, limit, excludeIds, options = {}) {
14920
14920
  // verify required parameter 'q' is not null or undefined
14921
14921
  (0, common_1.assertParamExists)('searchPartner', 'q', q);
14922
- const localVarPath = `/api/users/serachPartner`;
14922
+ const localVarPath = `/api/users/searchPartner`;
14923
14923
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14924
14924
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14925
14925
  let baseOptions;
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.210
5
+ * The version of the OpenAPI document: 1.0.214
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.210
8
+ * The version of the OpenAPI document: 1.0.214
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.210
5
+ * The version of the OpenAPI document: 1.0.214
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.210
8
+ * The version of the OpenAPI document: 1.0.214
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.210
5
+ * The version of the OpenAPI document: 1.0.214
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.210
8
+ * The version of the OpenAPI document: 1.0.214
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.210
5
+ * The version of the OpenAPI document: 1.0.214
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6616,64 +6616,6 @@ export interface GetInfillPercentagePerPeriod200Response {
6616
6616
  */
6617
6617
  'infillPercentage': number;
6618
6618
  }
6619
- /**
6620
- *
6621
- * @export
6622
- * @interface GetOpenBookingPrice200Response
6623
- */
6624
- export interface GetOpenBookingPrice200Response {
6625
- /**
6626
- *
6627
- * @type {number}
6628
- * @memberof GetOpenBookingPrice200Response
6629
- */
6630
- 'totalBasePrice': number;
6631
- /**
6632
- *
6633
- * @type {Array<PlayerPrice>}
6634
- * @memberof GetOpenBookingPrice200Response
6635
- */
6636
- 'playersPrices': Array<PlayerPrice>;
6637
- /**
6638
- *
6639
- * @type {number}
6640
- * @memberof GetOpenBookingPrice200Response
6641
- */
6642
- 'basePricePerPlayer': number;
6643
- }
6644
- /**
6645
- *
6646
- * @export
6647
- * @interface GetOpenBookingPriceRequest
6648
- */
6649
- export interface GetOpenBookingPriceRequest {
6650
- /**
6651
- * Construct a type with a set of properties K of type T
6652
- * @type {{ [key: string]: number; }}
6653
- * @memberof GetOpenBookingPriceRequest
6654
- */
6655
- 'creditsByPlayer'?: {
6656
- [key: string]: number;
6657
- };
6658
- /**
6659
- *
6660
- * @type {Array<string>}
6661
- * @memberof GetOpenBookingPriceRequest
6662
- */
6663
- 'initialPlayerIds'?: Array<string>;
6664
- /**
6665
- *
6666
- * @type {number}
6667
- * @memberof GetOpenBookingPriceRequest
6668
- */
6669
- 'maxPlayers': number;
6670
- /**
6671
- *
6672
- * @type {Array<string>}
6673
- * @memberof GetOpenBookingPriceRequest
6674
- */
6675
- 'slotIds': Array<string>;
6676
- }
6677
6619
  /**
6678
6620
  *
6679
6621
  * @export
@@ -8587,6 +8529,37 @@ export interface OpenBookingPlayerInfo {
8587
8529
  */
8588
8530
  'profilePicture'?: string;
8589
8531
  }
8532
+ /**
8533
+ *
8534
+ * @export
8535
+ * @interface OpenBookingPriceBody
8536
+ */
8537
+ export interface OpenBookingPriceBody {
8538
+ /**
8539
+ *
8540
+ * @type {Array<string>}
8541
+ * @memberof OpenBookingPriceBody
8542
+ */
8543
+ 'slotIds': Array<string>;
8544
+ /**
8545
+ *
8546
+ * @type {Array<PlayerShare>}
8547
+ * @memberof OpenBookingPriceBody
8548
+ */
8549
+ 'playerShares'?: Array<PlayerShare>;
8550
+ /**
8551
+ *
8552
+ * @type {number}
8553
+ * @memberof OpenBookingPriceBody
8554
+ */
8555
+ 'creditToUseInCents'?: number;
8556
+ /**
8557
+ *
8558
+ * @type {number}
8559
+ * @memberof OpenBookingPriceBody
8560
+ */
8561
+ 'maxPlayersDesired': number;
8562
+ }
8590
8563
  /**
8591
8564
  *
8592
8565
  * @export
@@ -15782,11 +15755,11 @@ export declare const BookingsUserApiAxiosParamCreator: (configuration?: Configur
15782
15755
  createOpenBooking: (createOpenBookingRequest: CreateOpenBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15783
15756
  /**
15784
15757
  * Calculer le prix d\'une réservation ouverte avec joueurs initiaux
15785
- * @param {GetOpenBookingPriceRequest} getOpenBookingPriceRequest
15758
+ * @param {OpenBookingPriceBody} openBookingPriceBody
15786
15759
  * @param {*} [options] Override http request option.
15787
15760
  * @throws {RequiredError}
15788
15761
  */
15789
- getOpenBookingPrice: (getOpenBookingPriceRequest: GetOpenBookingPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15762
+ getOpenBookingPrice: (openBookingPriceBody: OpenBookingPriceBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15790
15763
  /**
15791
15764
  * Mettre à jour une réservation ouverte (description et niveau minimal)
15792
15765
  * @param {string} bookingId
@@ -15824,11 +15797,11 @@ export declare const BookingsUserApiFp: (configuration?: Configuration) => {
15824
15797
  createOpenBooking(createOpenBookingRequest: CreateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
15825
15798
  /**
15826
15799
  * Calculer le prix d\'une réservation ouverte avec joueurs initiaux
15827
- * @param {GetOpenBookingPriceRequest} getOpenBookingPriceRequest
15800
+ * @param {OpenBookingPriceBody} openBookingPriceBody
15828
15801
  * @param {*} [options] Override http request option.
15829
15802
  * @throws {RequiredError}
15830
15803
  */
15831
- getOpenBookingPrice(getOpenBookingPriceRequest: GetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOpenBookingPrice200Response>>;
15804
+ getOpenBookingPrice(openBookingPriceBody: OpenBookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPriceResponse>>;
15832
15805
  /**
15833
15806
  * Mettre à jour une réservation ouverte (description et niveau minimal)
15834
15807
  * @param {string} bookingId
@@ -15870,7 +15843,7 @@ export declare const BookingsUserApiFactory: (configuration?: Configuration, bas
15870
15843
  * @param {*} [options] Override http request option.
15871
15844
  * @throws {RequiredError}
15872
15845
  */
15873
- getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOpenBookingPrice200Response>;
15846
+ getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingPriceResponse>;
15874
15847
  /**
15875
15848
  * Mettre à jour une réservation ouverte (description et niveau minimal)
15876
15849
  * @param {BookingsUserApiUpdateOpenBookingRequest} requestParameters Request parameters.
@@ -15926,10 +15899,10 @@ export interface BookingsUserApiCreateOpenBookingRequest {
15926
15899
  export interface BookingsUserApiGetOpenBookingPriceRequest {
15927
15900
  /**
15928
15901
  *
15929
- * @type {GetOpenBookingPriceRequest}
15902
+ * @type {OpenBookingPriceBody}
15930
15903
  * @memberof BookingsUserApiGetOpenBookingPrice
15931
15904
  */
15932
- readonly getOpenBookingPriceRequest: GetOpenBookingPriceRequest;
15905
+ readonly openBookingPriceBody: OpenBookingPriceBody;
15933
15906
  }
15934
15907
  /**
15935
15908
  * Request parameters for updateOpenBooking operation in BookingsUserApi.
@@ -15988,7 +15961,7 @@ export declare class BookingsUserApi extends BaseAPI {
15988
15961
  * @throws {RequiredError}
15989
15962
  * @memberof BookingsUserApi
15990
15963
  */
15991
- getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOpenBookingPrice200Response, any, {}>>;
15964
+ getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPriceResponse, any, {}>>;
15992
15965
  /**
15993
15966
  * Mettre à jour une réservation ouverte (description et niveau minimal)
15994
15967
  * @param {BookingsUserApiUpdateOpenBookingRequest} 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.210
7
+ * The version of the OpenAPI document: 1.0.214
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2220,13 +2220,13 @@ export const BookingsUserApiAxiosParamCreator = function (configuration) {
2220
2220
  }),
2221
2221
  /**
2222
2222
  * Calculer le prix d\'une réservation ouverte avec joueurs initiaux
2223
- * @param {GetOpenBookingPriceRequest} getOpenBookingPriceRequest
2223
+ * @param {OpenBookingPriceBody} openBookingPriceBody
2224
2224
  * @param {*} [options] Override http request option.
2225
2225
  * @throws {RequiredError}
2226
2226
  */
2227
- getOpenBookingPrice: (getOpenBookingPriceRequest_1, ...args_1) => __awaiter(this, [getOpenBookingPriceRequest_1, ...args_1], void 0, function* (getOpenBookingPriceRequest, options = {}) {
2228
- // verify required parameter 'getOpenBookingPriceRequest' is not null or undefined
2229
- assertParamExists('getOpenBookingPrice', 'getOpenBookingPriceRequest', getOpenBookingPriceRequest);
2227
+ getOpenBookingPrice: (openBookingPriceBody_1, ...args_1) => __awaiter(this, [openBookingPriceBody_1, ...args_1], void 0, function* (openBookingPriceBody, options = {}) {
2228
+ // verify required parameter 'openBookingPriceBody' is not null or undefined
2229
+ assertParamExists('getOpenBookingPrice', 'openBookingPriceBody', openBookingPriceBody);
2230
2230
  const localVarPath = `/api/bookings/open/booking-price`;
2231
2231
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2232
2232
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2244,7 +2244,7 @@ export const BookingsUserApiAxiosParamCreator = function (configuration) {
2244
2244
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2245
2245
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2246
2246
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2247
- localVarRequestOptions.data = serializeDataIfNeeded(getOpenBookingPriceRequest, localVarRequestOptions, configuration);
2247
+ localVarRequestOptions.data = serializeDataIfNeeded(openBookingPriceBody, localVarRequestOptions, configuration);
2248
2248
  return {
2249
2249
  url: toPathString(localVarUrlObj),
2250
2250
  options: localVarRequestOptions,
@@ -2342,14 +2342,14 @@ export const BookingsUserApiFp = function (configuration) {
2342
2342
  },
2343
2343
  /**
2344
2344
  * Calculer le prix d\'une réservation ouverte avec joueurs initiaux
2345
- * @param {GetOpenBookingPriceRequest} getOpenBookingPriceRequest
2345
+ * @param {OpenBookingPriceBody} openBookingPriceBody
2346
2346
  * @param {*} [options] Override http request option.
2347
2347
  * @throws {RequiredError}
2348
2348
  */
2349
- getOpenBookingPrice(getOpenBookingPriceRequest, options) {
2349
+ getOpenBookingPrice(openBookingPriceBody, options) {
2350
2350
  return __awaiter(this, void 0, void 0, function* () {
2351
2351
  var _a, _b, _c;
2352
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getOpenBookingPrice(getOpenBookingPriceRequest, options);
2352
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOpenBookingPrice(openBookingPriceBody, options);
2353
2353
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2354
2354
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsUserApi.getOpenBookingPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2355
2355
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2414,7 +2414,7 @@ export const BookingsUserApiFactory = function (configuration, basePath, axios)
2414
2414
  * @throws {RequiredError}
2415
2415
  */
2416
2416
  getOpenBookingPrice(requestParameters, options) {
2417
- return localVarFp.getOpenBookingPrice(requestParameters.getOpenBookingPriceRequest, options).then((request) => request(axios, basePath));
2417
+ return localVarFp.getOpenBookingPrice(requestParameters.openBookingPriceBody, options).then((request) => request(axios, basePath));
2418
2418
  },
2419
2419
  /**
2420
2420
  * Mettre à jour une réservation ouverte (description et niveau minimal)
@@ -2472,7 +2472,7 @@ export class BookingsUserApi extends BaseAPI {
2472
2472
  * @memberof BookingsUserApi
2473
2473
  */
2474
2474
  getOpenBookingPrice(requestParameters, options) {
2475
- return BookingsUserApiFp(this.configuration).getOpenBookingPrice(requestParameters.getOpenBookingPriceRequest, options).then((request) => request(this.axios, this.basePath));
2475
+ return BookingsUserApiFp(this.configuration).getOpenBookingPrice(requestParameters.openBookingPriceBody, options).then((request) => request(this.axios, this.basePath));
2476
2476
  }
2477
2477
  /**
2478
2478
  * Mettre à jour une réservation ouverte (description et niveau minimal)
@@ -14784,7 +14784,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
14784
14784
  searchPartner: (q_1, page_1, limit_1, excludeIds_1, ...args_1) => __awaiter(this, [q_1, page_1, limit_1, excludeIds_1, ...args_1], void 0, function* (q, page, limit, excludeIds, options = {}) {
14785
14785
  // verify required parameter 'q' is not null or undefined
14786
14786
  assertParamExists('searchPartner', 'q', q);
14787
- const localVarPath = `/api/users/serachPartner`;
14787
+ const localVarPath = `/api/users/searchPartner`;
14788
14788
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14789
14789
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14790
14790
  let baseOptions;
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.210
5
+ * The version of the OpenAPI document: 1.0.214
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.210
7
+ * The version of the OpenAPI document: 1.0.214
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.210
5
+ * The version of the OpenAPI document: 1.0.214
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.210
7
+ * The version of the OpenAPI document: 1.0.214
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.210
5
+ * The version of the OpenAPI document: 1.0.214
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.210
7
+ * The version of the OpenAPI document: 1.0.214
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.210
5
+ * The version of the OpenAPI document: 1.0.214
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.210
7
+ * The version of the OpenAPI document: 1.0.214
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.210
5
+ * The version of the OpenAPI document: 1.0.214
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.210
8
+ * The version of the OpenAPI document: 1.0.214
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -166,7 +166,7 @@ const { status, data } = await apiInstance.createOpenBooking(
166
166
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
167
167
 
168
168
  # **getOpenBookingPrice**
169
- > GetOpenBookingPrice200Response getOpenBookingPrice(getOpenBookingPriceRequest)
169
+ > BookingPriceResponse getOpenBookingPrice(openBookingPriceBody)
170
170
 
171
171
  Calculer le prix d\'une réservation ouverte avec joueurs initiaux
172
172
 
@@ -176,16 +176,16 @@ Calculer le prix d\'une réservation ouverte avec joueurs initiaux
176
176
  import {
177
177
  BookingsUserApi,
178
178
  Configuration,
179
- GetOpenBookingPriceRequest
179
+ OpenBookingPriceBody
180
180
  } from '@tennac-booking/sdk';
181
181
 
182
182
  const configuration = new Configuration();
183
183
  const apiInstance = new BookingsUserApi(configuration);
184
184
 
185
- let getOpenBookingPriceRequest: GetOpenBookingPriceRequest; //
185
+ let openBookingPriceBody: OpenBookingPriceBody; //
186
186
 
187
187
  const { status, data } = await apiInstance.getOpenBookingPrice(
188
- getOpenBookingPriceRequest
188
+ openBookingPriceBody
189
189
  );
190
190
  ```
191
191
 
@@ -193,12 +193,12 @@ const { status, data } = await apiInstance.getOpenBookingPrice(
193
193
 
194
194
  |Name | Type | Description | Notes|
195
195
  |------------- | ------------- | ------------- | -------------|
196
- | **getOpenBookingPriceRequest** | **GetOpenBookingPriceRequest**| | |
196
+ | **openBookingPriceBody** | **OpenBookingPriceBody**| | |
197
197
 
198
198
 
199
199
  ### Return type
200
200
 
201
- **GetOpenBookingPrice200Response**
201
+ **BookingPriceResponse**
202
202
 
203
203
  ### Authorization
204
204
 
@@ -0,0 +1,26 @@
1
+ # OpenBookingPriceBody
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **slotIds** | **Array&lt;string&gt;** | | [default to undefined]
9
+ **playerShares** | [**Array&lt;PlayerShare&gt;**](PlayerShare.md) | | [optional] [default to undefined]
10
+ **creditToUseInCents** | **number** | | [optional] [default to undefined]
11
+ **maxPlayersDesired** | **number** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { OpenBookingPriceBody } from '@tennac-booking/sdk';
17
+
18
+ const instance: OpenBookingPriceBody = {
19
+ slotIds,
20
+ playerShares,
21
+ creditToUseInCents,
22
+ maxPlayersDesired,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/UsersApi.md CHANGED
@@ -39,7 +39,7 @@ All URIs are relative to *http://localhost*
39
39
  |[**requestOrganizationCode**](#requestorganizationcode) | **POST** /api/users/me/request-organization-code | |
40
40
  |[**requestPasswordReset**](#requestpasswordreset) | **POST** /api/users/request-password-reset | |
41
41
  |[**resetPassword**](#resetpassword) | **POST** /api/users/reset-password | |
42
- |[**searchPartner**](#searchpartner) | **GET** /api/users/serachPartner | |
42
+ |[**searchPartner**](#searchpartner) | **GET** /api/users/searchPartner | |
43
43
  |[**signInOrSignUpWithGoogle**](#signinorsignupwithgoogle) | **POST** /api/users/googleSignin | |
44
44
  |[**updateCustomer**](#updatecustomer) | **PUT** /api/users/me/customer | |
45
45
  |[**updateLevelBySports**](#updatelevelbysports) | **PUT** /api/users/me/level-by-sports | |
package/index.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.210
7
+ * The version of the OpenAPI document: 1.0.214
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.212",
3
+ "version": "1.0.215",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,24 +0,0 @@
1
- # GetOpenBookingPrice200Response
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **totalBasePrice** | **number** | | [default to undefined]
9
- **playersPrices** | [**Array&lt;PlayerPrice&gt;**](PlayerPrice.md) | | [default to undefined]
10
- **basePricePerPlayer** | **number** | | [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { GetOpenBookingPrice200Response } from '@tennac-booking/sdk';
16
-
17
- const instance: GetOpenBookingPrice200Response = {
18
- totalBasePrice,
19
- playersPrices,
20
- basePricePerPlayer,
21
- };
22
- ```
23
-
24
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,26 +0,0 @@
1
- # GetOpenBookingPriceRequest
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **creditsByPlayer** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
9
- **initialPlayerIds** | **Array&lt;string&gt;** | | [optional] [default to undefined]
10
- **maxPlayers** | **number** | | [default to undefined]
11
- **slotIds** | **Array&lt;string&gt;** | | [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { GetOpenBookingPriceRequest } from '@tennac-booking/sdk';
17
-
18
- const instance: GetOpenBookingPriceRequest = {
19
- creditsByPlayer,
20
- initialPlayerIds,
21
- maxPlayers,
22
- slotIds,
23
- };
24
- ```
25
-
26
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)