@tennac-booking/sdk 1.0.150 → 1.0.151

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.
@@ -1,6 +1,5 @@
1
1
  .gitignore
2
2
  .npmignore
3
- .openapi-generator-ignore
4
3
  README.md
5
4
  api.ts
6
5
  base.ts
@@ -183,6 +182,8 @@ docs/GetClubType200Response.md
183
182
  docs/GetClubUsersById200Response.md
184
183
  docs/GetClubsWithVerificationDomains200ResponseInner.md
185
184
  docs/GetCourtsByClubAndSportById200Response.md
185
+ docs/GetGuestBookingPrice200Response.md
186
+ docs/GetGuestBookingPriceRequest.md
186
187
  docs/GetInfillPercentagePerPeriod200Response.md
187
188
  docs/GetOpenBookings200Response.md
188
189
  docs/GetOpenEventBookingJoinPrice200Response.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.150
1
+ ## @tennac-booking/sdk@1.0.151
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.150 --save
39
+ npm install @tennac-booking/sdk@1.0.151 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -55,6 +55,7 @@ Class | Method | HTTP request | Description
55
55
  *BookingsApi* | [**estimateOpenBookingJoinPrice**](docs/BookingsApi.md#estimateopenbookingjoinprice) | **GET** /api/bookings/{bookingId}/open/estimate |
56
56
  *BookingsApi* | [**getBookingHistory**](docs/BookingsApi.md#getbookinghistory) | **GET** /api/bookings/history/{bookingId} |
57
57
  *BookingsApi* | [**getBookingPrice**](docs/BookingsApi.md#getbookingprice) | **POST** /api/bookings/booking-price |
58
+ *BookingsApi* | [**getGuestBookingPrice**](docs/BookingsApi.md#getguestbookingprice) | **POST** /api/bookings/guest/booking-price |
58
59
  *BookingsApi* | [**getOpenBookingJoinPrice**](docs/BookingsApi.md#getopenbookingjoinprice) | **GET** /api/bookings/{bookingId}/open/join-price |
59
60
  *BookingsApi* | [**getOpenBookings**](docs/BookingsApi.md#getopenbookings) | **GET** /api/bookings/open |
60
61
  *BookingsApi* | [**getQuickReservationSlots**](docs/BookingsApi.md#getquickreservationslots) | **GET** /api/bookings/quick-reservations |
@@ -411,6 +412,8 @@ Class | Method | HTTP request | Description
411
412
  - [GetClubUsersById200Response](docs/GetClubUsersById200Response.md)
412
413
  - [GetClubsWithVerificationDomains200ResponseInner](docs/GetClubsWithVerificationDomains200ResponseInner.md)
413
414
  - [GetCourtsByClubAndSportById200Response](docs/GetCourtsByClubAndSportById200Response.md)
415
+ - [GetGuestBookingPrice200Response](docs/GetGuestBookingPrice200Response.md)
416
+ - [GetGuestBookingPriceRequest](docs/GetGuestBookingPriceRequest.md)
414
417
  - [GetInfillPercentagePerPeriod200Response](docs/GetInfillPercentagePerPeriod200Response.md)
415
418
  - [GetOpenBookings200Response](docs/GetOpenBookings200Response.md)
416
419
  - [GetOpenEventBookingJoinPrice200Response](docs/GetOpenEventBookingJoinPrice200Response.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.150
7
+ * The version of the OpenAPI document: 1.0.151
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5824,6 +5824,32 @@ export interface GetCourtsByClubAndSportById200Response {
5824
5824
  */
5825
5825
  'courts': Array<ICourtData>;
5826
5826
  }
5827
+ /**
5828
+ *
5829
+ * @export
5830
+ * @interface GetGuestBookingPrice200Response
5831
+ */
5832
+ export interface GetGuestBookingPrice200Response {
5833
+ /**
5834
+ *
5835
+ * @type {number}
5836
+ * @memberof GetGuestBookingPrice200Response
5837
+ */
5838
+ 'totalPrice': number;
5839
+ }
5840
+ /**
5841
+ *
5842
+ * @export
5843
+ * @interface GetGuestBookingPriceRequest
5844
+ */
5845
+ export interface GetGuestBookingPriceRequest {
5846
+ /**
5847
+ *
5848
+ * @type {Array<string>}
5849
+ * @memberof GetGuestBookingPriceRequest
5850
+ */
5851
+ 'slotIds': Array<string>;
5852
+ }
5827
5853
  /**
5828
5854
  *
5829
5855
  * @export
@@ -6209,7 +6235,7 @@ export interface IUserAttributes {
6209
6235
  * @type {boolean}
6210
6236
  * @memberof IUserAttributes
6211
6237
  */
6212
- 'isAccountVerified': boolean;
6238
+ 'isAccountVerified'?: boolean;
6213
6239
  /**
6214
6240
  *
6215
6241
  * @type {Array<ILevelBySports>}
@@ -6287,7 +6313,7 @@ export interface IUserAttributes {
6287
6313
  * @type {boolean}
6288
6314
  * @memberof IUserAttributes
6289
6315
  */
6290
- 'isAdmin': boolean;
6316
+ 'isAdmin'?: boolean;
6291
6317
  /**
6292
6318
  *
6293
6319
  * @type {boolean}
@@ -6299,13 +6325,13 @@ export interface IUserAttributes {
6299
6325
  * @type {string}
6300
6326
  * @memberof IUserAttributes
6301
6327
  */
6302
- 'createdAt': string;
6328
+ 'createdAt'?: string;
6303
6329
  /**
6304
6330
  *
6305
6331
  * @type {string}
6306
6332
  * @memberof IUserAttributes
6307
6333
  */
6308
- 'updatedAt': string;
6334
+ 'updatedAt'?: string;
6309
6335
  /**
6310
6336
  *
6311
6337
  * @type {boolean}
@@ -6329,7 +6355,7 @@ export interface IUserAttributes {
6329
6355
  * @type {boolean}
6330
6356
  * @memberof IUserAttributes
6331
6357
  */
6332
- 'isProfileVisible': boolean;
6358
+ 'isProfileVisible'?: boolean;
6333
6359
  /**
6334
6360
  *
6335
6361
  * @type {Array<string>}
@@ -9907,7 +9933,7 @@ export interface StaffUserProfileResponse {
9907
9933
  * @type {boolean}
9908
9934
  * @memberof StaffUserProfileResponse
9909
9935
  */
9910
- 'isAccountVerified': boolean;
9936
+ 'isAccountVerified'?: boolean;
9911
9937
  /**
9912
9938
  *
9913
9939
  * @type {Array<ILevelBySports>}
@@ -9985,7 +10011,7 @@ export interface StaffUserProfileResponse {
9985
10011
  * @type {boolean}
9986
10012
  * @memberof StaffUserProfileResponse
9987
10013
  */
9988
- 'isAdmin': boolean;
10014
+ 'isAdmin'?: boolean;
9989
10015
  /**
9990
10016
  *
9991
10017
  * @type {boolean}
@@ -9997,13 +10023,13 @@ export interface StaffUserProfileResponse {
9997
10023
  * @type {string}
9998
10024
  * @memberof StaffUserProfileResponse
9999
10025
  */
10000
- 'createdAt': string;
10026
+ 'createdAt'?: string;
10001
10027
  /**
10002
10028
  *
10003
10029
  * @type {string}
10004
10030
  * @memberof StaffUserProfileResponse
10005
10031
  */
10006
- 'updatedAt': string;
10032
+ 'updatedAt'?: string;
10007
10033
  /**
10008
10034
  *
10009
10035
  * @type {boolean}
@@ -10027,7 +10053,7 @@ export interface StaffUserProfileResponse {
10027
10053
  * @type {boolean}
10028
10054
  * @memberof StaffUserProfileResponse
10029
10055
  */
10030
- 'isProfileVisible': boolean;
10056
+ 'isProfileVisible'?: boolean;
10031
10057
  /**
10032
10058
  *
10033
10059
  * @type {Array<string>}
@@ -11979,7 +12005,7 @@ export interface UserProfileResponse {
11979
12005
  * @type {boolean}
11980
12006
  * @memberof UserProfileResponse
11981
12007
  */
11982
- 'isAccountVerified': boolean;
12008
+ 'isAccountVerified'?: boolean;
11983
12009
  /**
11984
12010
  *
11985
12011
  * @type {Array<ILevelBySports>}
@@ -12057,7 +12083,7 @@ export interface UserProfileResponse {
12057
12083
  * @type {boolean}
12058
12084
  * @memberof UserProfileResponse
12059
12085
  */
12060
- 'isAdmin': boolean;
12086
+ 'isAdmin'?: boolean;
12061
12087
  /**
12062
12088
  *
12063
12089
  * @type {boolean}
@@ -12069,13 +12095,13 @@ export interface UserProfileResponse {
12069
12095
  * @type {string}
12070
12096
  * @memberof UserProfileResponse
12071
12097
  */
12072
- 'createdAt': string;
12098
+ 'createdAt'?: string;
12073
12099
  /**
12074
12100
  *
12075
12101
  * @type {string}
12076
12102
  * @memberof UserProfileResponse
12077
12103
  */
12078
- 'updatedAt': string;
12104
+ 'updatedAt'?: string;
12079
12105
  /**
12080
12106
  *
12081
12107
  * @type {boolean}
@@ -12099,7 +12125,7 @@ export interface UserProfileResponse {
12099
12125
  * @type {boolean}
12100
12126
  * @memberof UserProfileResponse
12101
12127
  */
12102
- 'isProfileVisible': boolean;
12128
+ 'isProfileVisible'?: boolean;
12103
12129
  /**
12104
12130
  *
12105
12131
  * @type {Array<string>}
@@ -12470,6 +12496,41 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
12470
12496
  options: localVarRequestOptions,
12471
12497
  };
12472
12498
  },
12499
+ /**
12500
+ * Calculer le prix d\'une réservation pour un invité (sans authentification)
12501
+ * @param {GetGuestBookingPriceRequest} getGuestBookingPriceRequest
12502
+ * @param {*} [options] Override http request option.
12503
+ * @throws {RequiredError}
12504
+ */
12505
+ getGuestBookingPrice: async (getGuestBookingPriceRequest: GetGuestBookingPriceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12506
+ // verify required parameter 'getGuestBookingPriceRequest' is not null or undefined
12507
+ assertParamExists('getGuestBookingPrice', 'getGuestBookingPriceRequest', getGuestBookingPriceRequest)
12508
+ const localVarPath = `/api/bookings/guest/booking-price`;
12509
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12510
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12511
+ let baseOptions;
12512
+ if (configuration) {
12513
+ baseOptions = configuration.baseOptions;
12514
+ }
12515
+
12516
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
12517
+ const localVarHeaderParameter = {} as any;
12518
+ const localVarQueryParameter = {} as any;
12519
+
12520
+
12521
+
12522
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12523
+
12524
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12525
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12526
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12527
+ localVarRequestOptions.data = serializeDataIfNeeded(getGuestBookingPriceRequest, localVarRequestOptions, configuration)
12528
+
12529
+ return {
12530
+ url: toPathString(localVarUrlObj),
12531
+ options: localVarRequestOptions,
12532
+ };
12533
+ },
12473
12534
  /**
12474
12535
  * Estimer simplement le prix à payer pour rejoindre une réservation ouverte
12475
12536
  * @param {string} bookingId
@@ -12768,6 +12829,18 @@ export const BookingsApiFp = function(configuration?: Configuration) {
12768
12829
  const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingPrice']?.[localVarOperationServerIndex]?.url;
12769
12830
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12770
12831
  },
12832
+ /**
12833
+ * Calculer le prix d\'une réservation pour un invité (sans authentification)
12834
+ * @param {GetGuestBookingPriceRequest} getGuestBookingPriceRequest
12835
+ * @param {*} [options] Override http request option.
12836
+ * @throws {RequiredError}
12837
+ */
12838
+ async getGuestBookingPrice(getGuestBookingPriceRequest: GetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGuestBookingPrice200Response>> {
12839
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGuestBookingPrice(getGuestBookingPriceRequest, options);
12840
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12841
+ const localVarOperationServerBasePath = operationServerMap['BookingsApi.getGuestBookingPrice']?.[localVarOperationServerIndex]?.url;
12842
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12843
+ },
12771
12844
  /**
12772
12845
  * Estimer simplement le prix à payer pour rejoindre une réservation ouverte
12773
12846
  * @param {string} bookingId
@@ -12885,6 +12958,15 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
12885
12958
  getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingPriceResponse> {
12886
12959
  return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
12887
12960
  },
12961
+ /**
12962
+ * Calculer le prix d\'une réservation pour un invité (sans authentification)
12963
+ * @param {BookingsApiGetGuestBookingPriceRequest} requestParameters Request parameters.
12964
+ * @param {*} [options] Override http request option.
12965
+ * @throws {RequiredError}
12966
+ */
12967
+ getGuestBookingPrice(requestParameters: BookingsApiGetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetGuestBookingPrice200Response> {
12968
+ return localVarFp.getGuestBookingPrice(requestParameters.getGuestBookingPriceRequest, options).then((request) => request(axios, basePath));
12969
+ },
12888
12970
  /**
12889
12971
  * Estimer simplement le prix à payer pour rejoindre une réservation ouverte
12890
12972
  * @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.
@@ -12996,6 +13078,20 @@ export interface BookingsApiGetBookingPriceRequest {
12996
13078
  readonly bookingPriceBody: BookingPriceBody
12997
13079
  }
12998
13080
 
13081
+ /**
13082
+ * Request parameters for getGuestBookingPrice operation in BookingsApi.
13083
+ * @export
13084
+ * @interface BookingsApiGetGuestBookingPriceRequest
13085
+ */
13086
+ export interface BookingsApiGetGuestBookingPriceRequest {
13087
+ /**
13088
+ *
13089
+ * @type {GetGuestBookingPriceRequest}
13090
+ * @memberof BookingsApiGetGuestBookingPrice
13091
+ */
13092
+ readonly getGuestBookingPriceRequest: GetGuestBookingPriceRequest
13093
+ }
13094
+
12999
13095
  /**
13000
13096
  * Request parameters for getOpenBookingJoinPrice operation in BookingsApi.
13001
13097
  * @export
@@ -13194,6 +13290,17 @@ export class BookingsApi extends BaseAPI {
13194
13290
  return BookingsApiFp(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
13195
13291
  }
13196
13292
 
13293
+ /**
13294
+ * Calculer le prix d\'une réservation pour un invité (sans authentification)
13295
+ * @param {BookingsApiGetGuestBookingPriceRequest} requestParameters Request parameters.
13296
+ * @param {*} [options] Override http request option.
13297
+ * @throws {RequiredError}
13298
+ * @memberof BookingsApi
13299
+ */
13300
+ public getGuestBookingPrice(requestParameters: BookingsApiGetGuestBookingPriceRequest, options?: RawAxiosRequestConfig) {
13301
+ return BookingsApiFp(this.configuration).getGuestBookingPrice(requestParameters.getGuestBookingPriceRequest, options).then((request) => request(this.axios, this.basePath));
13302
+ }
13303
+
13197
13304
  /**
13198
13305
  * Estimer simplement le prix à payer pour rejoindre une réservation ouverte
13199
13306
  * @param {BookingsApiGetOpenBookingJoinPriceRequest} 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.150
7
+ * The version of the OpenAPI document: 1.0.151
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.150
7
+ * The version of the OpenAPI document: 1.0.151
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.150
7
+ * The version of the OpenAPI document: 1.0.151
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.150
5
+ * The version of the OpenAPI document: 1.0.151
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5720,6 +5720,32 @@ export interface GetCourtsByClubAndSportById200Response {
5720
5720
  */
5721
5721
  'courts': Array<ICourtData>;
5722
5722
  }
5723
+ /**
5724
+ *
5725
+ * @export
5726
+ * @interface GetGuestBookingPrice200Response
5727
+ */
5728
+ export interface GetGuestBookingPrice200Response {
5729
+ /**
5730
+ *
5731
+ * @type {number}
5732
+ * @memberof GetGuestBookingPrice200Response
5733
+ */
5734
+ 'totalPrice': number;
5735
+ }
5736
+ /**
5737
+ *
5738
+ * @export
5739
+ * @interface GetGuestBookingPriceRequest
5740
+ */
5741
+ export interface GetGuestBookingPriceRequest {
5742
+ /**
5743
+ *
5744
+ * @type {Array<string>}
5745
+ * @memberof GetGuestBookingPriceRequest
5746
+ */
5747
+ 'slotIds': Array<string>;
5748
+ }
5723
5749
  /**
5724
5750
  *
5725
5751
  * @export
@@ -6103,7 +6129,7 @@ export interface IUserAttributes {
6103
6129
  * @type {boolean}
6104
6130
  * @memberof IUserAttributes
6105
6131
  */
6106
- 'isAccountVerified': boolean;
6132
+ 'isAccountVerified'?: boolean;
6107
6133
  /**
6108
6134
  *
6109
6135
  * @type {Array<ILevelBySports>}
@@ -6181,7 +6207,7 @@ export interface IUserAttributes {
6181
6207
  * @type {boolean}
6182
6208
  * @memberof IUserAttributes
6183
6209
  */
6184
- 'isAdmin': boolean;
6210
+ 'isAdmin'?: boolean;
6185
6211
  /**
6186
6212
  *
6187
6213
  * @type {boolean}
@@ -6193,13 +6219,13 @@ export interface IUserAttributes {
6193
6219
  * @type {string}
6194
6220
  * @memberof IUserAttributes
6195
6221
  */
6196
- 'createdAt': string;
6222
+ 'createdAt'?: string;
6197
6223
  /**
6198
6224
  *
6199
6225
  * @type {string}
6200
6226
  * @memberof IUserAttributes
6201
6227
  */
6202
- 'updatedAt': string;
6228
+ 'updatedAt'?: string;
6203
6229
  /**
6204
6230
  *
6205
6231
  * @type {boolean}
@@ -6223,7 +6249,7 @@ export interface IUserAttributes {
6223
6249
  * @type {boolean}
6224
6250
  * @memberof IUserAttributes
6225
6251
  */
6226
- 'isProfileVisible': boolean;
6252
+ 'isProfileVisible'?: boolean;
6227
6253
  /**
6228
6254
  *
6229
6255
  * @type {Array<string>}
@@ -9728,7 +9754,7 @@ export interface StaffUserProfileResponse {
9728
9754
  * @type {boolean}
9729
9755
  * @memberof StaffUserProfileResponse
9730
9756
  */
9731
- 'isAccountVerified': boolean;
9757
+ 'isAccountVerified'?: boolean;
9732
9758
  /**
9733
9759
  *
9734
9760
  * @type {Array<ILevelBySports>}
@@ -9806,7 +9832,7 @@ export interface StaffUserProfileResponse {
9806
9832
  * @type {boolean}
9807
9833
  * @memberof StaffUserProfileResponse
9808
9834
  */
9809
- 'isAdmin': boolean;
9835
+ 'isAdmin'?: boolean;
9810
9836
  /**
9811
9837
  *
9812
9838
  * @type {boolean}
@@ -9818,13 +9844,13 @@ export interface StaffUserProfileResponse {
9818
9844
  * @type {string}
9819
9845
  * @memberof StaffUserProfileResponse
9820
9846
  */
9821
- 'createdAt': string;
9847
+ 'createdAt'?: string;
9822
9848
  /**
9823
9849
  *
9824
9850
  * @type {string}
9825
9851
  * @memberof StaffUserProfileResponse
9826
9852
  */
9827
- 'updatedAt': string;
9853
+ 'updatedAt'?: string;
9828
9854
  /**
9829
9855
  *
9830
9856
  * @type {boolean}
@@ -9848,7 +9874,7 @@ export interface StaffUserProfileResponse {
9848
9874
  * @type {boolean}
9849
9875
  * @memberof StaffUserProfileResponse
9850
9876
  */
9851
- 'isProfileVisible': boolean;
9877
+ 'isProfileVisible'?: boolean;
9852
9878
  /**
9853
9879
  *
9854
9880
  * @type {Array<string>}
@@ -11763,7 +11789,7 @@ export interface UserProfileResponse {
11763
11789
  * @type {boolean}
11764
11790
  * @memberof UserProfileResponse
11765
11791
  */
11766
- 'isAccountVerified': boolean;
11792
+ 'isAccountVerified'?: boolean;
11767
11793
  /**
11768
11794
  *
11769
11795
  * @type {Array<ILevelBySports>}
@@ -11841,7 +11867,7 @@ export interface UserProfileResponse {
11841
11867
  * @type {boolean}
11842
11868
  * @memberof UserProfileResponse
11843
11869
  */
11844
- 'isAdmin': boolean;
11870
+ 'isAdmin'?: boolean;
11845
11871
  /**
11846
11872
  *
11847
11873
  * @type {boolean}
@@ -11853,13 +11879,13 @@ export interface UserProfileResponse {
11853
11879
  * @type {string}
11854
11880
  * @memberof UserProfileResponse
11855
11881
  */
11856
- 'createdAt': string;
11882
+ 'createdAt'?: string;
11857
11883
  /**
11858
11884
  *
11859
11885
  * @type {string}
11860
11886
  * @memberof UserProfileResponse
11861
11887
  */
11862
- 'updatedAt': string;
11888
+ 'updatedAt'?: string;
11863
11889
  /**
11864
11890
  *
11865
11891
  * @type {boolean}
@@ -11883,7 +11909,7 @@ export interface UserProfileResponse {
11883
11909
  * @type {boolean}
11884
11910
  * @memberof UserProfileResponse
11885
11911
  */
11886
- 'isProfileVisible': boolean;
11912
+ 'isProfileVisible'?: boolean;
11887
11913
  /**
11888
11914
  *
11889
11915
  * @type {Array<string>}
@@ -12124,6 +12150,13 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
12124
12150
  * @throws {RequiredError}
12125
12151
  */
12126
12152
  getBookingPrice: (bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12153
+ /**
12154
+ * Calculer le prix d\'une réservation pour un invité (sans authentification)
12155
+ * @param {GetGuestBookingPriceRequest} getGuestBookingPriceRequest
12156
+ * @param {*} [options] Override http request option.
12157
+ * @throws {RequiredError}
12158
+ */
12159
+ getGuestBookingPrice: (getGuestBookingPriceRequest: GetGuestBookingPriceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12127
12160
  /**
12128
12161
  * Estimer simplement le prix à payer pour rejoindre une réservation ouverte
12129
12162
  * @param {string} bookingId
@@ -12205,6 +12238,13 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
12205
12238
  * @throws {RequiredError}
12206
12239
  */
12207
12240
  getBookingPrice(bookingPriceBody: BookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPriceResponse>>;
12241
+ /**
12242
+ * Calculer le prix d\'une réservation pour un invité (sans authentification)
12243
+ * @param {GetGuestBookingPriceRequest} getGuestBookingPriceRequest
12244
+ * @param {*} [options] Override http request option.
12245
+ * @throws {RequiredError}
12246
+ */
12247
+ getGuestBookingPrice(getGuestBookingPriceRequest: GetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGuestBookingPrice200Response>>;
12208
12248
  /**
12209
12249
  * Estimer simplement le prix à payer pour rejoindre une réservation ouverte
12210
12250
  * @param {string} bookingId
@@ -12285,6 +12325,13 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
12285
12325
  * @throws {RequiredError}
12286
12326
  */
12287
12327
  getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingPriceResponse>;
12328
+ /**
12329
+ * Calculer le prix d\'une réservation pour un invité (sans authentification)
12330
+ * @param {BookingsApiGetGuestBookingPriceRequest} requestParameters Request parameters.
12331
+ * @param {*} [options] Override http request option.
12332
+ * @throws {RequiredError}
12333
+ */
12334
+ getGuestBookingPrice(requestParameters: BookingsApiGetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetGuestBookingPrice200Response>;
12288
12335
  /**
12289
12336
  * Estimer simplement le prix à payer pour rejoindre une réservation ouverte
12290
12337
  * @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.
@@ -12379,6 +12426,19 @@ export interface BookingsApiGetBookingPriceRequest {
12379
12426
  */
12380
12427
  readonly bookingPriceBody: BookingPriceBody;
12381
12428
  }
12429
+ /**
12430
+ * Request parameters for getGuestBookingPrice operation in BookingsApi.
12431
+ * @export
12432
+ * @interface BookingsApiGetGuestBookingPriceRequest
12433
+ */
12434
+ export interface BookingsApiGetGuestBookingPriceRequest {
12435
+ /**
12436
+ *
12437
+ * @type {GetGuestBookingPriceRequest}
12438
+ * @memberof BookingsApiGetGuestBookingPrice
12439
+ */
12440
+ readonly getGuestBookingPriceRequest: GetGuestBookingPriceRequest;
12441
+ }
12382
12442
  /**
12383
12443
  * Request parameters for getOpenBookingJoinPrice operation in BookingsApi.
12384
12444
  * @export
@@ -12549,6 +12609,14 @@ export declare class BookingsApi extends BaseAPI {
12549
12609
  * @memberof BookingsApi
12550
12610
  */
12551
12611
  getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPriceResponse, any, {}>>;
12612
+ /**
12613
+ * Calculer le prix d\'une réservation pour un invité (sans authentification)
12614
+ * @param {BookingsApiGetGuestBookingPriceRequest} requestParameters Request parameters.
12615
+ * @param {*} [options] Override http request option.
12616
+ * @throws {RequiredError}
12617
+ * @memberof BookingsApi
12618
+ */
12619
+ getGuestBookingPrice(requestParameters: BookingsApiGetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetGuestBookingPrice200Response, any, {}>>;
12552
12620
  /**
12553
12621
  * Estimer simplement le prix à payer pour rejoindre une réservation ouverte
12554
12622
  * @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.