@tennac-booking/sdk 1.0.148 → 1.0.149

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.132
1
+ ## @tennac-booking/sdk@1.0.149
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.132 --save
39
+ npm install @tennac-booking/sdk@1.0.149 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -51,6 +51,7 @@ All URIs are relative to *http://localhost*
51
51
 
52
52
  Class | Method | HTTP request | Description
53
53
  ------------ | ------------- | ------------- | -------------
54
+ *BookingsApi* | [**estimateOpenBookingJoinPrice**](docs/BookingsApi.md#estimateopenbookingjoinprice) | **GET** /api/bookings/{bookingId}/open/estimate |
54
55
  *BookingsApi* | [**getBookingHistory**](docs/BookingsApi.md#getbookinghistory) | **GET** /api/bookings/history/{bookingId} |
55
56
  *BookingsApi* | [**getBookingPrice**](docs/BookingsApi.md#getbookingprice) | **POST** /api/bookings/booking-price |
56
57
  *BookingsApi* | [**getOpenBookings**](docs/BookingsApi.md#getopenbookings) | **GET** /api/bookings/open |
@@ -170,6 +171,7 @@ Class | Method | HTTP request | Description
170
171
  *DefaultApi* | [**createClub**](docs/DefaultApi.md#createclub) | **POST** /api/clubs |
171
172
  *EventsApi* | [**checkTeamNameAvailability**](docs/EventsApi.md#checkteamnameavailability) | **GET** /api/events/{eventId}/team-name-availability |
172
173
  *EventsApi* | [**estimateEventPrice**](docs/EventsApi.md#estimateeventprice) | **POST** /api/events/{eventId}/estimate-price |
174
+ *EventsApi* | [**estimateOpenEventBookingJoinPrice**](docs/EventsApi.md#estimateopeneventbookingjoinprice) | **GET** /api/events/{eventBookingId}/open/estimate |
173
175
  *EventsApi* | [**getEventById**](docs/EventsApi.md#geteventbyid) | **GET** /api/events/{eventId} |
174
176
  *EventsApi* | [**getOpenEventBookings**](docs/EventsApi.md#getopeneventbookings) | **GET** /api/events/open |
175
177
  *EventsApi* | [**getPublishedEventsByClubId**](docs/EventsApi.md#getpublishedeventsbyclubid) | **GET** /api/events |
@@ -373,6 +375,8 @@ Class | Method | HTTP request | Description
373
375
  - [EstimateEventPrice200Response](docs/EstimateEventPrice200Response.md)
374
376
  - [EstimateEventPriceRequest](docs/EstimateEventPriceRequest.md)
375
377
  - [EstimateEventPriceRequestSharesInner](docs/EstimateEventPriceRequestSharesInner.md)
378
+ - [EstimateOpenEventBookingJoinPrice200Response](docs/EstimateOpenEventBookingJoinPrice200Response.md)
379
+ - [EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo](docs/EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo.md)
376
380
  - [EventBookingDetailSummary](docs/EventBookingDetailSummary.md)
377
381
  - [EventBookingDetailSummaryPaymentPerPlayersInner](docs/EventBookingDetailSummaryPaymentPerPlayersInner.md)
378
382
  - [EventBookingResponse](docs/EventBookingResponse.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.132
7
+ * The version of the OpenAPI document: 1.0.149
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4780,6 +4780,68 @@ export interface EstimateEventPriceRequestSharesInner {
4780
4780
  */
4781
4781
  'playerId': string;
4782
4782
  }
4783
+ /**
4784
+ *
4785
+ * @export
4786
+ * @interface EstimateOpenEventBookingJoinPrice200Response
4787
+ */
4788
+ export interface EstimateOpenEventBookingJoinPrice200Response {
4789
+ /**
4790
+ *
4791
+ * @type {EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo}
4792
+ * @memberof EstimateOpenEventBookingJoinPrice200Response
4793
+ */
4794
+ 'subscriptionInfo'?: EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo;
4795
+ /**
4796
+ *
4797
+ * @type {number}
4798
+ * @memberof EstimateOpenEventBookingJoinPrice200Response
4799
+ */
4800
+ 'finalPrice': number;
4801
+ /**
4802
+ *
4803
+ * @type {number}
4804
+ * @memberof EstimateOpenEventBookingJoinPrice200Response
4805
+ */
4806
+ 'creditApplied': number;
4807
+ /**
4808
+ *
4809
+ * @type {number}
4810
+ * @memberof EstimateOpenEventBookingJoinPrice200Response
4811
+ */
4812
+ 'discountedPrice': number;
4813
+ /**
4814
+ *
4815
+ * @type {number}
4816
+ * @memberof EstimateOpenEventBookingJoinPrice200Response
4817
+ */
4818
+ 'basePrice': number;
4819
+ }
4820
+ /**
4821
+ *
4822
+ * @export
4823
+ * @interface EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo
4824
+ */
4825
+ export interface EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo {
4826
+ /**
4827
+ *
4828
+ * @type {string}
4829
+ * @memberof EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo
4830
+ */
4831
+ 'subscriptionName'?: string;
4832
+ /**
4833
+ *
4834
+ * @type {number}
4835
+ * @memberof EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo
4836
+ */
4837
+ 'discountPercentage'?: number;
4838
+ /**
4839
+ *
4840
+ * @type {boolean}
4841
+ * @memberof EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo
4842
+ */
4843
+ 'hasSubscription': boolean;
4844
+ }
4783
4845
  /**
4784
4846
  *
4785
4847
  * @export
@@ -5526,6 +5588,8 @@ export interface FavoritePlayersResponse {
5526
5588
  export const Gender = {
5527
5589
  Male: 'male',
5528
5590
  Female: 'female',
5591
+ NonBinary: 'non_binary',
5592
+ Transgender: 'transgender',
5529
5593
  Other: 'other'
5530
5594
  } as const;
5531
5595
 
@@ -6094,6 +6158,12 @@ export interface IUserAttributes {
6094
6158
  * @memberof IUserAttributes
6095
6159
  */
6096
6160
  'phone'?: string;
6161
+ /**
6162
+ *
6163
+ * @type {string}
6164
+ * @memberof IUserAttributes
6165
+ */
6166
+ 'birthDate'?: string;
6097
6167
  /**
6098
6168
  *
6099
6169
  * @type {string}
@@ -8774,6 +8844,18 @@ export interface RegisterRequestBody {
8774
8844
  * @memberof RegisterRequestBody
8775
8845
  */
8776
8846
  'phone'?: string;
8847
+ /**
8848
+ *
8849
+ * @type {Gender}
8850
+ * @memberof RegisterRequestBody
8851
+ */
8852
+ 'gender'?: Gender;
8853
+ /**
8854
+ *
8855
+ * @type {string}
8856
+ * @memberof RegisterRequestBody
8857
+ */
8858
+ 'birthDate'?: string;
8777
8859
  /**
8778
8860
  *
8779
8861
  * @type {string}
@@ -8799,6 +8881,8 @@ export interface RegisterRequestBody {
8799
8881
  */
8800
8882
  'organizationEmail'?: string;
8801
8883
  }
8884
+
8885
+
8802
8886
  /**
8803
8887
  *
8804
8888
  * @export
@@ -9766,6 +9850,12 @@ export interface StaffUserProfileResponse {
9766
9850
  * @memberof StaffUserProfileResponse
9767
9851
  */
9768
9852
  'phone'?: string;
9853
+ /**
9854
+ *
9855
+ * @type {string}
9856
+ * @memberof StaffUserProfileResponse
9857
+ */
9858
+ 'birthDate'?: string;
9769
9859
  /**
9770
9860
  *
9771
9861
  * @type {string}
@@ -11812,6 +11902,12 @@ export interface UserProfileResponse {
11812
11902
  * @memberof UserProfileResponse
11813
11903
  */
11814
11904
  'phone'?: string;
11905
+ /**
11906
+ *
11907
+ * @type {string}
11908
+ * @memberof UserProfileResponse
11909
+ */
11910
+ 'birthDate'?: string;
11815
11911
  /**
11816
11912
  *
11817
11913
  * @type {string}
@@ -12119,6 +12215,48 @@ export interface YearlyTurnoverResponse {
12119
12215
  */
12120
12216
  export const BookingsApiAxiosParamCreator = function (configuration?: Configuration) {
12121
12217
  return {
12218
+ /**
12219
+ * Estimer le prix pour rejoindre une réservation ouverte
12220
+ * @param {string} bookingId
12221
+ * @param {number} [creditToUseInCents]
12222
+ * @param {*} [options] Override http request option.
12223
+ * @throws {RequiredError}
12224
+ */
12225
+ estimateOpenBookingJoinPrice: async (bookingId: string, creditToUseInCents?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12226
+ // verify required parameter 'bookingId' is not null or undefined
12227
+ assertParamExists('estimateOpenBookingJoinPrice', 'bookingId', bookingId)
12228
+ const localVarPath = `/api/bookings/{bookingId}/open/estimate`
12229
+ .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
12230
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12231
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12232
+ let baseOptions;
12233
+ if (configuration) {
12234
+ baseOptions = configuration.baseOptions;
12235
+ }
12236
+
12237
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
12238
+ const localVarHeaderParameter = {} as any;
12239
+ const localVarQueryParameter = {} as any;
12240
+
12241
+ // authentication bearerAuth required
12242
+ // http bearer authentication required
12243
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12244
+
12245
+ if (creditToUseInCents !== undefined) {
12246
+ localVarQueryParameter['creditToUseInCents'] = creditToUseInCents;
12247
+ }
12248
+
12249
+
12250
+
12251
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12252
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12253
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12254
+
12255
+ return {
12256
+ url: toPathString(localVarUrlObj),
12257
+ options: localVarRequestOptions,
12258
+ };
12259
+ },
12122
12260
  /**
12123
12261
  * Obtenir l\'historique d\'une réservation par ID
12124
12262
  * @param {string} bookingId
@@ -12407,6 +12545,19 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
12407
12545
  export const BookingsApiFp = function(configuration?: Configuration) {
12408
12546
  const localVarAxiosParamCreator = BookingsApiAxiosParamCreator(configuration)
12409
12547
  return {
12548
+ /**
12549
+ * Estimer le prix pour rejoindre une réservation ouverte
12550
+ * @param {string} bookingId
12551
+ * @param {number} [creditToUseInCents]
12552
+ * @param {*} [options] Override http request option.
12553
+ * @throws {RequiredError}
12554
+ */
12555
+ async estimateOpenBookingJoinPrice(bookingId: string, creditToUseInCents?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateOpenEventBookingJoinPrice200Response>> {
12556
+ const localVarAxiosArgs = await localVarAxiosParamCreator.estimateOpenBookingJoinPrice(bookingId, creditToUseInCents, options);
12557
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12558
+ const localVarOperationServerBasePath = operationServerMap['BookingsApi.estimateOpenBookingJoinPrice']?.[localVarOperationServerIndex]?.url;
12559
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12560
+ },
12410
12561
  /**
12411
12562
  * Obtenir l\'historique d\'une réservation par ID
12412
12563
  * @param {string} bookingId
@@ -12500,6 +12651,15 @@ export const BookingsApiFp = function(configuration?: Configuration) {
12500
12651
  export const BookingsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
12501
12652
  const localVarFp = BookingsApiFp(configuration)
12502
12653
  return {
12654
+ /**
12655
+ * Estimer le prix pour rejoindre une réservation ouverte
12656
+ * @param {BookingsApiEstimateOpenBookingJoinPriceRequest} requestParameters Request parameters.
12657
+ * @param {*} [options] Override http request option.
12658
+ * @throws {RequiredError}
12659
+ */
12660
+ estimateOpenBookingJoinPrice(requestParameters: BookingsApiEstimateOpenBookingJoinPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateOpenEventBookingJoinPrice200Response> {
12661
+ return localVarFp.estimateOpenBookingJoinPrice(requestParameters.bookingId, requestParameters.creditToUseInCents, options).then((request) => request(axios, basePath));
12662
+ },
12503
12663
  /**
12504
12664
  * Obtenir l\'historique d\'une réservation par ID
12505
12665
  * @param {BookingsApiGetBookingHistoryRequest} requestParameters Request parameters.
@@ -12557,6 +12717,27 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
12557
12717
  };
12558
12718
  };
12559
12719
 
12720
+ /**
12721
+ * Request parameters for estimateOpenBookingJoinPrice operation in BookingsApi.
12722
+ * @export
12723
+ * @interface BookingsApiEstimateOpenBookingJoinPriceRequest
12724
+ */
12725
+ export interface BookingsApiEstimateOpenBookingJoinPriceRequest {
12726
+ /**
12727
+ *
12728
+ * @type {string}
12729
+ * @memberof BookingsApiEstimateOpenBookingJoinPrice
12730
+ */
12731
+ readonly bookingId: string
12732
+
12733
+ /**
12734
+ *
12735
+ * @type {number}
12736
+ * @memberof BookingsApiEstimateOpenBookingJoinPrice
12737
+ */
12738
+ readonly creditToUseInCents?: number
12739
+ }
12740
+
12560
12741
  /**
12561
12742
  * Request parameters for getBookingHistory operation in BookingsApi.
12562
12743
  * @export
@@ -12725,6 +12906,17 @@ export interface BookingsApiLeaveOpenBookingRequest {
12725
12906
  * @extends {BaseAPI}
12726
12907
  */
12727
12908
  export class BookingsApi extends BaseAPI {
12909
+ /**
12910
+ * Estimer le prix pour rejoindre une réservation ouverte
12911
+ * @param {BookingsApiEstimateOpenBookingJoinPriceRequest} requestParameters Request parameters.
12912
+ * @param {*} [options] Override http request option.
12913
+ * @throws {RequiredError}
12914
+ * @memberof BookingsApi
12915
+ */
12916
+ public estimateOpenBookingJoinPrice(requestParameters: BookingsApiEstimateOpenBookingJoinPriceRequest, options?: RawAxiosRequestConfig) {
12917
+ return BookingsApiFp(this.configuration).estimateOpenBookingJoinPrice(requestParameters.bookingId, requestParameters.creditToUseInCents, options).then((request) => request(this.axios, this.basePath));
12918
+ }
12919
+
12728
12920
  /**
12729
12921
  * Obtenir l\'historique d\'une réservation par ID
12730
12922
  * @param {BookingsApiGetBookingHistoryRequest} requestParameters Request parameters.
@@ -22562,6 +22754,48 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
22562
22754
  options: localVarRequestOptions,
22563
22755
  };
22564
22756
  },
22757
+ /**
22758
+ * Estimer le prix pour rejoindre un événement ouvert
22759
+ * @param {string} eventBookingId
22760
+ * @param {number} [creditToUseInCents]
22761
+ * @param {*} [options] Override http request option.
22762
+ * @throws {RequiredError}
22763
+ */
22764
+ estimateOpenEventBookingJoinPrice: async (eventBookingId: string, creditToUseInCents?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22765
+ // verify required parameter 'eventBookingId' is not null or undefined
22766
+ assertParamExists('estimateOpenEventBookingJoinPrice', 'eventBookingId', eventBookingId)
22767
+ const localVarPath = `/api/events/{eventBookingId}/open/estimate`
22768
+ .replace(`{${"eventBookingId"}}`, encodeURIComponent(String(eventBookingId)));
22769
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22770
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22771
+ let baseOptions;
22772
+ if (configuration) {
22773
+ baseOptions = configuration.baseOptions;
22774
+ }
22775
+
22776
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
22777
+ const localVarHeaderParameter = {} as any;
22778
+ const localVarQueryParameter = {} as any;
22779
+
22780
+ // authentication bearerAuth required
22781
+ // http bearer authentication required
22782
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
22783
+
22784
+ if (creditToUseInCents !== undefined) {
22785
+ localVarQueryParameter['creditToUseInCents'] = creditToUseInCents;
22786
+ }
22787
+
22788
+
22789
+
22790
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22791
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22792
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
22793
+
22794
+ return {
22795
+ url: toPathString(localVarUrlObj),
22796
+ options: localVarRequestOptions,
22797
+ };
22798
+ },
22565
22799
  /**
22566
22800
  * Get a specific event by ID
22567
22801
  * @param {string} eventId
@@ -22884,6 +23118,19 @@ export const EventsApiFp = function(configuration?: Configuration) {
22884
23118
  const localVarOperationServerBasePath = operationServerMap['EventsApi.estimateEventPrice']?.[localVarOperationServerIndex]?.url;
22885
23119
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22886
23120
  },
23121
+ /**
23122
+ * Estimer le prix pour rejoindre un événement ouvert
23123
+ * @param {string} eventBookingId
23124
+ * @param {number} [creditToUseInCents]
23125
+ * @param {*} [options] Override http request option.
23126
+ * @throws {RequiredError}
23127
+ */
23128
+ async estimateOpenEventBookingJoinPrice(eventBookingId: string, creditToUseInCents?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateOpenEventBookingJoinPrice200Response>> {
23129
+ const localVarAxiosArgs = await localVarAxiosParamCreator.estimateOpenEventBookingJoinPrice(eventBookingId, creditToUseInCents, options);
23130
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23131
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.estimateOpenEventBookingJoinPrice']?.[localVarOperationServerIndex]?.url;
23132
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23133
+ },
22887
23134
  /**
22888
23135
  * Get a specific event by ID
22889
23136
  * @param {string} eventId
@@ -23003,6 +23250,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
23003
23250
  estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateEventPrice200Response> {
23004
23251
  return localVarFp.estimateEventPrice(requestParameters.eventId, requestParameters.estimateEventPriceRequest, options).then((request) => request(axios, basePath));
23005
23252
  },
23253
+ /**
23254
+ * Estimer le prix pour rejoindre un événement ouvert
23255
+ * @param {EventsApiEstimateOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
23256
+ * @param {*} [options] Override http request option.
23257
+ * @throws {RequiredError}
23258
+ */
23259
+ estimateOpenEventBookingJoinPrice(requestParameters: EventsApiEstimateOpenEventBookingJoinPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateOpenEventBookingJoinPrice200Response> {
23260
+ return localVarFp.estimateOpenEventBookingJoinPrice(requestParameters.eventBookingId, requestParameters.creditToUseInCents, options).then((request) => request(axios, basePath));
23261
+ },
23006
23262
  /**
23007
23263
  * Get a specific event by ID
23008
23264
  * @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
@@ -23111,6 +23367,27 @@ export interface EventsApiEstimateEventPriceRequest {
23111
23367
  readonly estimateEventPriceRequest: EstimateEventPriceRequest
23112
23368
  }
23113
23369
 
23370
+ /**
23371
+ * Request parameters for estimateOpenEventBookingJoinPrice operation in EventsApi.
23372
+ * @export
23373
+ * @interface EventsApiEstimateOpenEventBookingJoinPriceRequest
23374
+ */
23375
+ export interface EventsApiEstimateOpenEventBookingJoinPriceRequest {
23376
+ /**
23377
+ *
23378
+ * @type {string}
23379
+ * @memberof EventsApiEstimateOpenEventBookingJoinPrice
23380
+ */
23381
+ readonly eventBookingId: string
23382
+
23383
+ /**
23384
+ *
23385
+ * @type {number}
23386
+ * @memberof EventsApiEstimateOpenEventBookingJoinPrice
23387
+ */
23388
+ readonly creditToUseInCents?: number
23389
+ }
23390
+
23114
23391
  /**
23115
23392
  * Request parameters for getEventById operation in EventsApi.
23116
23393
  * @export
@@ -23287,6 +23564,17 @@ export class EventsApi extends BaseAPI {
23287
23564
  return EventsApiFp(this.configuration).estimateEventPrice(requestParameters.eventId, requestParameters.estimateEventPriceRequest, options).then((request) => request(this.axios, this.basePath));
23288
23565
  }
23289
23566
 
23567
+ /**
23568
+ * Estimer le prix pour rejoindre un événement ouvert
23569
+ * @param {EventsApiEstimateOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
23570
+ * @param {*} [options] Override http request option.
23571
+ * @throws {RequiredError}
23572
+ * @memberof EventsApi
23573
+ */
23574
+ public estimateOpenEventBookingJoinPrice(requestParameters: EventsApiEstimateOpenEventBookingJoinPriceRequest, options?: RawAxiosRequestConfig) {
23575
+ return EventsApiFp(this.configuration).estimateOpenEventBookingJoinPrice(requestParameters.eventBookingId, requestParameters.creditToUseInCents, options).then((request) => request(this.axios, this.basePath));
23576
+ }
23577
+
23290
23578
  /**
23291
23579
  * Get a specific event by ID
23292
23580
  * @param {EventsApiGetEventByIdRequest} 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.132
7
+ * The version of the OpenAPI document: 1.0.149
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.132
7
+ * The version of the OpenAPI document: 1.0.149
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.132
7
+ * The version of the OpenAPI document: 1.0.149
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).