@tennac-booking/sdk 1.0.153 → 1.0.155

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.
@@ -183,6 +183,8 @@ docs/GetClubType200Response.md
183
183
  docs/GetClubUsersById200Response.md
184
184
  docs/GetClubsWithVerificationDomains200ResponseInner.md
185
185
  docs/GetCourtsByClubAndSportById200Response.md
186
+ docs/GetGuestBookingPrice200Response.md
187
+ docs/GetGuestBookingPriceRequest.md
186
188
  docs/GetInfillPercentagePerPeriod200Response.md
187
189
  docs/GetOpenBookings200Response.md
188
190
  docs/GetOpenEventBookingJoinPrice200Response.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.150
1
+ ## @tennac-booking/sdk@1.0.154
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.154 --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 |
@@ -193,6 +194,7 @@ Class | Method | HTTP request | Description
193
194
  *EventsManagerApi* | [**updateRecurringDefinition**](docs/EventsManagerApi.md#updaterecurringdefinition) | **PUT** /api/events/manager/recurring/{definitionId} |
194
195
  *EventsStaffApi* | [**checkInEventParticipants**](docs/EventsStaffApi.md#checkineventparticipants) | **POST** /api/events/{eventBookingId}/check-in |
195
196
  *EventsStaffApi* | [**getDailyEvents**](docs/EventsStaffApi.md#getdailyevents) | **GET** /api/events/calendar/daily |
197
+ *EventsStaffApi* | [**getEventByIdStaff**](docs/EventsStaffApi.md#geteventbyidstaff) | **GET** /api/events/staff/{eventId} |
196
198
  *EventsStaffApi* | [**getEventsByClub**](docs/EventsStaffApi.md#geteventsbyclub) | **GET** /api/events/staff/getEvents |
197
199
  *EventsStaffApi* | [**getMonthlyEvents**](docs/EventsStaffApi.md#getmonthlyevents) | **GET** /api/events/calendar/monthly |
198
200
  *EventsStaffApi* | [**getWeeklyEvents**](docs/EventsStaffApi.md#getweeklyevents) | **GET** /api/events/calendar/weekly |
@@ -411,6 +413,8 @@ Class | Method | HTTP request | Description
411
413
  - [GetClubUsersById200Response](docs/GetClubUsersById200Response.md)
412
414
  - [GetClubsWithVerificationDomains200ResponseInner](docs/GetClubsWithVerificationDomains200ResponseInner.md)
413
415
  - [GetCourtsByClubAndSportById200Response](docs/GetCourtsByClubAndSportById200Response.md)
416
+ - [GetGuestBookingPrice200Response](docs/GetGuestBookingPrice200Response.md)
417
+ - [GetGuestBookingPriceRequest](docs/GetGuestBookingPriceRequest.md)
414
418
  - [GetInfillPercentagePerPeriod200Response](docs/GetInfillPercentagePerPeriod200Response.md)
415
419
  - [GetOpenBookings200Response](docs/GetOpenBookings200Response.md)
416
420
  - [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.154
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>}
@@ -8498,6 +8524,12 @@ export interface PublishEventResponse {
8498
8524
  * @memberof PublishEventResponse
8499
8525
  */
8500
8526
  'needsToSetupPaymentMethod'?: boolean;
8527
+ /**
8528
+ *
8529
+ * @type {Array<EventBookingResponse>}
8530
+ * @memberof PublishEventResponse
8531
+ */
8532
+ 'eventBookings'?: Array<EventBookingResponse>;
8501
8533
  }
8502
8534
  /**
8503
8535
  *
@@ -9907,7 +9939,7 @@ export interface StaffUserProfileResponse {
9907
9939
  * @type {boolean}
9908
9940
  * @memberof StaffUserProfileResponse
9909
9941
  */
9910
- 'isAccountVerified': boolean;
9942
+ 'isAccountVerified'?: boolean;
9911
9943
  /**
9912
9944
  *
9913
9945
  * @type {Array<ILevelBySports>}
@@ -9985,7 +10017,7 @@ export interface StaffUserProfileResponse {
9985
10017
  * @type {boolean}
9986
10018
  * @memberof StaffUserProfileResponse
9987
10019
  */
9988
- 'isAdmin': boolean;
10020
+ 'isAdmin'?: boolean;
9989
10021
  /**
9990
10022
  *
9991
10023
  * @type {boolean}
@@ -9997,13 +10029,13 @@ export interface StaffUserProfileResponse {
9997
10029
  * @type {string}
9998
10030
  * @memberof StaffUserProfileResponse
9999
10031
  */
10000
- 'createdAt': string;
10032
+ 'createdAt'?: string;
10001
10033
  /**
10002
10034
  *
10003
10035
  * @type {string}
10004
10036
  * @memberof StaffUserProfileResponse
10005
10037
  */
10006
- 'updatedAt': string;
10038
+ 'updatedAt'?: string;
10007
10039
  /**
10008
10040
  *
10009
10041
  * @type {boolean}
@@ -10027,7 +10059,7 @@ export interface StaffUserProfileResponse {
10027
10059
  * @type {boolean}
10028
10060
  * @memberof StaffUserProfileResponse
10029
10061
  */
10030
- 'isProfileVisible': boolean;
10062
+ 'isProfileVisible'?: boolean;
10031
10063
  /**
10032
10064
  *
10033
10065
  * @type {Array<string>}
@@ -11979,7 +12011,7 @@ export interface UserProfileResponse {
11979
12011
  * @type {boolean}
11980
12012
  * @memberof UserProfileResponse
11981
12013
  */
11982
- 'isAccountVerified': boolean;
12014
+ 'isAccountVerified'?: boolean;
11983
12015
  /**
11984
12016
  *
11985
12017
  * @type {Array<ILevelBySports>}
@@ -12057,7 +12089,7 @@ export interface UserProfileResponse {
12057
12089
  * @type {boolean}
12058
12090
  * @memberof UserProfileResponse
12059
12091
  */
12060
- 'isAdmin': boolean;
12092
+ 'isAdmin'?: boolean;
12061
12093
  /**
12062
12094
  *
12063
12095
  * @type {boolean}
@@ -12069,13 +12101,13 @@ export interface UserProfileResponse {
12069
12101
  * @type {string}
12070
12102
  * @memberof UserProfileResponse
12071
12103
  */
12072
- 'createdAt': string;
12104
+ 'createdAt'?: string;
12073
12105
  /**
12074
12106
  *
12075
12107
  * @type {string}
12076
12108
  * @memberof UserProfileResponse
12077
12109
  */
12078
- 'updatedAt': string;
12110
+ 'updatedAt'?: string;
12079
12111
  /**
12080
12112
  *
12081
12113
  * @type {boolean}
@@ -12099,7 +12131,7 @@ export interface UserProfileResponse {
12099
12131
  * @type {boolean}
12100
12132
  * @memberof UserProfileResponse
12101
12133
  */
12102
- 'isProfileVisible': boolean;
12134
+ 'isProfileVisible'?: boolean;
12103
12135
  /**
12104
12136
  *
12105
12137
  * @type {Array<string>}
@@ -12318,7 +12350,7 @@ export interface YearlyTurnoverResponse {
12318
12350
  export const BookingsApiAxiosParamCreator = function (configuration?: Configuration) {
12319
12351
  return {
12320
12352
  /**
12321
- * Créer une réservation en tant qu\'invité (guest)
12353
+ * Créer une réservation en tant qu\'invité (guest) Cette route permet à un utilisateur non authentifié de créer une réservation. Un compte guest sera automatiquement créé pour l\'utilisateur. Note: Si le club a activé le no-show (frais de non-présentation), la réponse contiendra un setupNoShowPaymentUrl pour configurer une méthode de paiement. Cette configuration est obligatoire pour les clubs avec no-show activé.
12322
12354
  * @param {CreateGuestBookingRequest} createGuestBookingRequest
12323
12355
  * @param {*} [options] Override http request option.
12324
12356
  * @throws {RequiredError}
@@ -12470,6 +12502,41 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
12470
12502
  options: localVarRequestOptions,
12471
12503
  };
12472
12504
  },
12505
+ /**
12506
+ * Calculer le prix d\'une réservation pour un invité (sans authentification)
12507
+ * @param {GetGuestBookingPriceRequest} getGuestBookingPriceRequest
12508
+ * @param {*} [options] Override http request option.
12509
+ * @throws {RequiredError}
12510
+ */
12511
+ getGuestBookingPrice: async (getGuestBookingPriceRequest: GetGuestBookingPriceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12512
+ // verify required parameter 'getGuestBookingPriceRequest' is not null or undefined
12513
+ assertParamExists('getGuestBookingPrice', 'getGuestBookingPriceRequest', getGuestBookingPriceRequest)
12514
+ const localVarPath = `/api/bookings/guest/booking-price`;
12515
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12516
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12517
+ let baseOptions;
12518
+ if (configuration) {
12519
+ baseOptions = configuration.baseOptions;
12520
+ }
12521
+
12522
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
12523
+ const localVarHeaderParameter = {} as any;
12524
+ const localVarQueryParameter = {} as any;
12525
+
12526
+
12527
+
12528
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12529
+
12530
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12531
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12532
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12533
+ localVarRequestOptions.data = serializeDataIfNeeded(getGuestBookingPriceRequest, localVarRequestOptions, configuration)
12534
+
12535
+ return {
12536
+ url: toPathString(localVarUrlObj),
12537
+ options: localVarRequestOptions,
12538
+ };
12539
+ },
12473
12540
  /**
12474
12541
  * Estimer simplement le prix à payer pour rejoindre une réservation ouverte
12475
12542
  * @param {string} bookingId
@@ -12720,7 +12787,7 @@ export const BookingsApiFp = function(configuration?: Configuration) {
12720
12787
  const localVarAxiosParamCreator = BookingsApiAxiosParamCreator(configuration)
12721
12788
  return {
12722
12789
  /**
12723
- * Créer une réservation en tant qu\'invité (guest)
12790
+ * Créer une réservation en tant qu\'invité (guest) Cette route permet à un utilisateur non authentifié de créer une réservation. Un compte guest sera automatiquement créé pour l\'utilisateur. Note: Si le club a activé le no-show (frais de non-présentation), la réponse contiendra un setupNoShowPaymentUrl pour configurer une méthode de paiement. Cette configuration est obligatoire pour les clubs avec no-show activé.
12724
12791
  * @param {CreateGuestBookingRequest} createGuestBookingRequest
12725
12792
  * @param {*} [options] Override http request option.
12726
12793
  * @throws {RequiredError}
@@ -12768,6 +12835,18 @@ export const BookingsApiFp = function(configuration?: Configuration) {
12768
12835
  const localVarOperationServerBasePath = operationServerMap['BookingsApi.getBookingPrice']?.[localVarOperationServerIndex]?.url;
12769
12836
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12770
12837
  },
12838
+ /**
12839
+ * Calculer le prix d\'une réservation pour un invité (sans authentification)
12840
+ * @param {GetGuestBookingPriceRequest} getGuestBookingPriceRequest
12841
+ * @param {*} [options] Override http request option.
12842
+ * @throws {RequiredError}
12843
+ */
12844
+ async getGuestBookingPrice(getGuestBookingPriceRequest: GetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGuestBookingPrice200Response>> {
12845
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGuestBookingPrice(getGuestBookingPriceRequest, options);
12846
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12847
+ const localVarOperationServerBasePath = operationServerMap['BookingsApi.getGuestBookingPrice']?.[localVarOperationServerIndex]?.url;
12848
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12849
+ },
12771
12850
  /**
12772
12851
  * Estimer simplement le prix à payer pour rejoindre une réservation ouverte
12773
12852
  * @param {string} bookingId
@@ -12850,7 +12929,7 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
12850
12929
  const localVarFp = BookingsApiFp(configuration)
12851
12930
  return {
12852
12931
  /**
12853
- * Créer une réservation en tant qu\'invité (guest)
12932
+ * Créer une réservation en tant qu\'invité (guest) Cette route permet à un utilisateur non authentifié de créer une réservation. Un compte guest sera automatiquement créé pour l\'utilisateur. Note: Si le club a activé le no-show (frais de non-présentation), la réponse contiendra un setupNoShowPaymentUrl pour configurer une méthode de paiement. Cette configuration est obligatoire pour les clubs avec no-show activé.
12854
12933
  * @param {BookingsApiCreateGuestBookingRequest} requestParameters Request parameters.
12855
12934
  * @param {*} [options] Override http request option.
12856
12935
  * @throws {RequiredError}
@@ -12885,6 +12964,15 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
12885
12964
  getBookingPrice(requestParameters: BookingsApiGetBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingPriceResponse> {
12886
12965
  return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
12887
12966
  },
12967
+ /**
12968
+ * Calculer le prix d\'une réservation pour un invité (sans authentification)
12969
+ * @param {BookingsApiGetGuestBookingPriceRequest} requestParameters Request parameters.
12970
+ * @param {*} [options] Override http request option.
12971
+ * @throws {RequiredError}
12972
+ */
12973
+ getGuestBookingPrice(requestParameters: BookingsApiGetGuestBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetGuestBookingPrice200Response> {
12974
+ return localVarFp.getGuestBookingPrice(requestParameters.getGuestBookingPriceRequest, options).then((request) => request(axios, basePath));
12975
+ },
12888
12976
  /**
12889
12977
  * Estimer simplement le prix à payer pour rejoindre une réservation ouverte
12890
12978
  * @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.
@@ -12996,6 +13084,20 @@ export interface BookingsApiGetBookingPriceRequest {
12996
13084
  readonly bookingPriceBody: BookingPriceBody
12997
13085
  }
12998
13086
 
13087
+ /**
13088
+ * Request parameters for getGuestBookingPrice operation in BookingsApi.
13089
+ * @export
13090
+ * @interface BookingsApiGetGuestBookingPriceRequest
13091
+ */
13092
+ export interface BookingsApiGetGuestBookingPriceRequest {
13093
+ /**
13094
+ *
13095
+ * @type {GetGuestBookingPriceRequest}
13096
+ * @memberof BookingsApiGetGuestBookingPrice
13097
+ */
13098
+ readonly getGuestBookingPriceRequest: GetGuestBookingPriceRequest
13099
+ }
13100
+
12999
13101
  /**
13000
13102
  * Request parameters for getOpenBookingJoinPrice operation in BookingsApi.
13001
13103
  * @export
@@ -13151,7 +13253,7 @@ export interface BookingsApiLeaveOpenBookingRequest {
13151
13253
  */
13152
13254
  export class BookingsApi extends BaseAPI {
13153
13255
  /**
13154
- * Créer une réservation en tant qu\'invité (guest)
13256
+ * Créer une réservation en tant qu\'invité (guest) Cette route permet à un utilisateur non authentifié de créer une réservation. Un compte guest sera automatiquement créé pour l\'utilisateur. Note: Si le club a activé le no-show (frais de non-présentation), la réponse contiendra un setupNoShowPaymentUrl pour configurer une méthode de paiement. Cette configuration est obligatoire pour les clubs avec no-show activé.
13155
13257
  * @param {BookingsApiCreateGuestBookingRequest} requestParameters Request parameters.
13156
13258
  * @param {*} [options] Override http request option.
13157
13259
  * @throws {RequiredError}
@@ -13194,6 +13296,17 @@ export class BookingsApi extends BaseAPI {
13194
13296
  return BookingsApiFp(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
13195
13297
  }
13196
13298
 
13299
+ /**
13300
+ * Calculer le prix d\'une réservation pour un invité (sans authentification)
13301
+ * @param {BookingsApiGetGuestBookingPriceRequest} requestParameters Request parameters.
13302
+ * @param {*} [options] Override http request option.
13303
+ * @throws {RequiredError}
13304
+ * @memberof BookingsApi
13305
+ */
13306
+ public getGuestBookingPrice(requestParameters: BookingsApiGetGuestBookingPriceRequest, options?: RawAxiosRequestConfig) {
13307
+ return BookingsApiFp(this.configuration).getGuestBookingPrice(requestParameters.getGuestBookingPriceRequest, options).then((request) => request(this.axios, this.basePath));
13308
+ }
13309
+
13197
13310
  /**
13198
13311
  * Estimer simplement le prix à payer pour rejoindre une réservation ouverte
13199
13312
  * @param {BookingsApiGetOpenBookingJoinPriceRequest} requestParameters Request parameters.
@@ -24952,6 +25065,43 @@ export const EventsStaffApiAxiosParamCreator = function (configuration?: Configu
24952
25065
 
24953
25066
 
24954
25067
 
25068
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25069
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25070
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25071
+
25072
+ return {
25073
+ url: toPathString(localVarUrlObj),
25074
+ options: localVarRequestOptions,
25075
+ };
25076
+ },
25077
+ /**
25078
+ *
25079
+ * @param {string} eventId
25080
+ * @param {*} [options] Override http request option.
25081
+ * @throws {RequiredError}
25082
+ */
25083
+ getEventByIdStaff: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25084
+ // verify required parameter 'eventId' is not null or undefined
25085
+ assertParamExists('getEventByIdStaff', 'eventId', eventId)
25086
+ const localVarPath = `/api/events/staff/{eventId}`
25087
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
25088
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25089
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25090
+ let baseOptions;
25091
+ if (configuration) {
25092
+ baseOptions = configuration.baseOptions;
25093
+ }
25094
+
25095
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
25096
+ const localVarHeaderParameter = {} as any;
25097
+ const localVarQueryParameter = {} as any;
25098
+
25099
+ // authentication bearerAuth required
25100
+ // http bearer authentication required
25101
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
25102
+
25103
+
25104
+
24955
25105
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24956
25106
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24957
25107
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -25149,6 +25299,18 @@ export const EventsStaffApiFp = function(configuration?: Configuration) {
25149
25299
  const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.getDailyEvents']?.[localVarOperationServerIndex]?.url;
25150
25300
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25151
25301
  },
25302
+ /**
25303
+ *
25304
+ * @param {string} eventId
25305
+ * @param {*} [options] Override http request option.
25306
+ * @throws {RequiredError}
25307
+ */
25308
+ async getEventByIdStaff(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublishEventResponse>> {
25309
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventByIdStaff(eventId, options);
25310
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25311
+ const localVarOperationServerBasePath = operationServerMap['EventsStaffApi.getEventByIdStaff']?.[localVarOperationServerIndex]?.url;
25312
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25313
+ },
25152
25314
  /**
25153
25315
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
25154
25316
  * @param {*} [options] Override http request option.
@@ -25220,6 +25382,15 @@ export const EventsStaffApiFactory = function (configuration?: Configuration, ba
25220
25382
  getDailyEvents(requestParameters: EventsStaffApiGetDailyEventsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse> {
25221
25383
  return localVarFp.getDailyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
25222
25384
  },
25385
+ /**
25386
+ *
25387
+ * @param {EventsStaffApiGetEventByIdStaffRequest} requestParameters Request parameters.
25388
+ * @param {*} [options] Override http request option.
25389
+ * @throws {RequiredError}
25390
+ */
25391
+ getEventByIdStaff(requestParameters: EventsStaffApiGetEventByIdStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublishEventResponse> {
25392
+ return localVarFp.getEventByIdStaff(requestParameters.eventId, options).then((request) => request(axios, basePath));
25393
+ },
25223
25394
  /**
25224
25395
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
25225
25396
  * @param {*} [options] Override http request option.
@@ -25312,6 +25483,20 @@ export interface EventsStaffApiGetDailyEventsRequest {
25312
25483
  readonly sportId?: string
25313
25484
  }
25314
25485
 
25486
+ /**
25487
+ * Request parameters for getEventByIdStaff operation in EventsStaffApi.
25488
+ * @export
25489
+ * @interface EventsStaffApiGetEventByIdStaffRequest
25490
+ */
25491
+ export interface EventsStaffApiGetEventByIdStaffRequest {
25492
+ /**
25493
+ *
25494
+ * @type {string}
25495
+ * @memberof EventsStaffApiGetEventByIdStaff
25496
+ */
25497
+ readonly eventId: string
25498
+ }
25499
+
25315
25500
  /**
25316
25501
  * Request parameters for getMonthlyEvents operation in EventsStaffApi.
25317
25502
  * @export
@@ -25425,6 +25610,17 @@ export class EventsStaffApi extends BaseAPI {
25425
25610
  return EventsStaffApiFp(this.configuration).getDailyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
25426
25611
  }
25427
25612
 
25613
+ /**
25614
+ *
25615
+ * @param {EventsStaffApiGetEventByIdStaffRequest} requestParameters Request parameters.
25616
+ * @param {*} [options] Override http request option.
25617
+ * @throws {RequiredError}
25618
+ * @memberof EventsStaffApi
25619
+ */
25620
+ public getEventByIdStaff(requestParameters: EventsStaffApiGetEventByIdStaffRequest, options?: RawAxiosRequestConfig) {
25621
+ return EventsStaffApiFp(this.configuration).getEventByIdStaff(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
25622
+ }
25623
+
25428
25624
  /**
25429
25625
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
25430
25626
  * @param {*} [options] Override http request option.
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.154
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.154
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.154
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).