@tennac-booking/sdk 1.0.232 → 1.0.234

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.
@@ -348,6 +348,8 @@ docs/RequestOrganizationEmailCodeResponse.md
348
348
  docs/RequestVerificationCodeBody.md
349
349
  docs/RequestVerificationCodeResponse.md
350
350
  docs/ResetPasswordRequest.md
351
+ docs/RespondToEventBookingInvitation200Response.md
352
+ docs/RespondToEventBookingInvitationRequest.md
351
353
  docs/RetentionRateResponse.md
352
354
  docs/RevenueBySportItem.md
353
355
  docs/SchoolAccessSettings.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.231
1
+ ## @tennac-booking/sdk@1.0.233
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.231 --save
39
+ npm install @tennac-booking/sdk@1.0.233 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -194,6 +194,7 @@ Class | Method | HTTP request | Description
194
194
  *EventsApi* | [**joinOpenEventBooking**](docs/EventsApi.md#joinopeneventbooking) | **POST** /api/events/{eventBookingId}/open/join |
195
195
  *EventsApi* | [**leaveEvent**](docs/EventsApi.md#leaveevent) | **DELETE** /api/events/{eventId}/leave |
196
196
  *EventsApi* | [**leaveOpenEventBooking**](docs/EventsApi.md#leaveopeneventbooking) | **DELETE** /api/events/{eventBookingId}/open/leave |
197
+ *EventsApi* | [**respondToEventBookingInvitation**](docs/EventsApi.md#respondtoeventbookinginvitation) | **POST** /api/events/{eventBookingId}/respond-invitation |
197
198
  *EventsManagerApi* | [**checkEventConflicts**](docs/EventsManagerApi.md#checkeventconflicts) | **POST** /api/events/manager/checkConflicts |
198
199
  *EventsManagerApi* | [**createEvent**](docs/EventsManagerApi.md#createevent) | **POST** /api/events/manager/createEvent |
199
200
  *EventsManagerApi* | [**deleteEvent**](docs/EventsManagerApi.md#deleteevent) | **DELETE** /api/events/manager/deleteEvent/{eventId} |
@@ -635,6 +636,8 @@ Class | Method | HTTP request | Description
635
636
  - [RequestVerificationCodeBody](docs/RequestVerificationCodeBody.md)
636
637
  - [RequestVerificationCodeResponse](docs/RequestVerificationCodeResponse.md)
637
638
  - [ResetPasswordRequest](docs/ResetPasswordRequest.md)
639
+ - [RespondToEventBookingInvitation200Response](docs/RespondToEventBookingInvitation200Response.md)
640
+ - [RespondToEventBookingInvitationRequest](docs/RespondToEventBookingInvitationRequest.md)
638
641
  - [RetentionRateResponse](docs/RetentionRateResponse.md)
639
642
  - [RevenueBySportItem](docs/RevenueBySportItem.md)
640
643
  - [SchoolAccessSettings](docs/SchoolAccessSettings.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.231
7
+ * The version of the OpenAPI document: 1.0.233
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10854,6 +10854,12 @@ export interface PublishEventResponse {
10854
10854
  * @memberof PublishEventResponse
10855
10855
  */
10856
10856
  'needsToSetupPaymentMethod'?: boolean;
10857
+ /**
10858
+ *
10859
+ * @type {string}
10860
+ * @memberof PublishEventResponse
10861
+ */
10862
+ 'myPaymentLink'?: string;
10857
10863
  }
10858
10864
  /**
10859
10865
  *
@@ -11616,6 +11622,44 @@ export interface ResetPasswordRequest {
11616
11622
  */
11617
11623
  'token'?: string;
11618
11624
  }
11625
+ /**
11626
+ *
11627
+ * @export
11628
+ * @interface RespondToEventBookingInvitation200Response
11629
+ */
11630
+ export interface RespondToEventBookingInvitation200Response {
11631
+ /**
11632
+ *
11633
+ * @type {boolean}
11634
+ * @memberof RespondToEventBookingInvitation200Response
11635
+ */
11636
+ 'allPlayersAccepted': boolean;
11637
+ /**
11638
+ *
11639
+ * @type {string}
11640
+ * @memberof RespondToEventBookingInvitation200Response
11641
+ */
11642
+ 'eventBookingStatus': string;
11643
+ /**
11644
+ *
11645
+ * @type {string}
11646
+ * @memberof RespondToEventBookingInvitation200Response
11647
+ */
11648
+ 'message': string;
11649
+ }
11650
+ /**
11651
+ *
11652
+ * @export
11653
+ * @interface RespondToEventBookingInvitationRequest
11654
+ */
11655
+ export interface RespondToEventBookingInvitationRequest {
11656
+ /**
11657
+ *
11658
+ * @type {boolean}
11659
+ * @memberof RespondToEventBookingInvitationRequest
11660
+ */
11661
+ 'accept': boolean;
11662
+ }
11619
11663
  /**
11620
11664
  *
11621
11665
  * @export
@@ -28297,6 +28341,49 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
28297
28341
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28298
28342
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28299
28343
 
28344
+ return {
28345
+ url: toPathString(localVarUrlObj),
28346
+ options: localVarRequestOptions,
28347
+ };
28348
+ },
28349
+ /**
28350
+ * Répondre à une invitation d\'EventBooking (accepter ou refuser)
28351
+ * @param {string} eventBookingId
28352
+ * @param {RespondToEventBookingInvitationRequest} respondToEventBookingInvitationRequest
28353
+ * @param {*} [options] Override http request option.
28354
+ * @throws {RequiredError}
28355
+ */
28356
+ respondToEventBookingInvitation: async (eventBookingId: string, respondToEventBookingInvitationRequest: RespondToEventBookingInvitationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28357
+ // verify required parameter 'eventBookingId' is not null or undefined
28358
+ assertParamExists('respondToEventBookingInvitation', 'eventBookingId', eventBookingId)
28359
+ // verify required parameter 'respondToEventBookingInvitationRequest' is not null or undefined
28360
+ assertParamExists('respondToEventBookingInvitation', 'respondToEventBookingInvitationRequest', respondToEventBookingInvitationRequest)
28361
+ const localVarPath = `/api/events/{eventBookingId}/respond-invitation`
28362
+ .replace(`{${"eventBookingId"}}`, encodeURIComponent(String(eventBookingId)));
28363
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28364
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28365
+ let baseOptions;
28366
+ if (configuration) {
28367
+ baseOptions = configuration.baseOptions;
28368
+ }
28369
+
28370
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
28371
+ const localVarHeaderParameter = {} as any;
28372
+ const localVarQueryParameter = {} as any;
28373
+
28374
+ // authentication bearerAuth required
28375
+ // http bearer authentication required
28376
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28377
+
28378
+
28379
+
28380
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28381
+
28382
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28383
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28384
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28385
+ localVarRequestOptions.data = serializeDataIfNeeded(respondToEventBookingInvitationRequest, localVarRequestOptions, configuration)
28386
+
28300
28387
  return {
28301
28388
  url: toPathString(localVarUrlObj),
28302
28389
  options: localVarRequestOptions,
@@ -28480,6 +28567,19 @@ export const EventsApiFp = function(configuration?: Configuration) {
28480
28567
  const localVarOperationServerBasePath = operationServerMap['EventsApi.leaveOpenEventBooking']?.[localVarOperationServerIndex]?.url;
28481
28568
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28482
28569
  },
28570
+ /**
28571
+ * Répondre à une invitation d\'EventBooking (accepter ou refuser)
28572
+ * @param {string} eventBookingId
28573
+ * @param {RespondToEventBookingInvitationRequest} respondToEventBookingInvitationRequest
28574
+ * @param {*} [options] Override http request option.
28575
+ * @throws {RequiredError}
28576
+ */
28577
+ async respondToEventBookingInvitation(eventBookingId: string, respondToEventBookingInvitationRequest: RespondToEventBookingInvitationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RespondToEventBookingInvitation200Response>> {
28578
+ const localVarAxiosArgs = await localVarAxiosParamCreator.respondToEventBookingInvitation(eventBookingId, respondToEventBookingInvitationRequest, options);
28579
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28580
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.respondToEventBookingInvitation']?.[localVarOperationServerIndex]?.url;
28581
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28582
+ },
28483
28583
  }
28484
28584
  };
28485
28585
 
@@ -28607,6 +28707,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
28607
28707
  leaveOpenEventBooking(requestParameters: EventsApiLeaveOpenEventBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response> {
28608
28708
  return localVarFp.leaveOpenEventBooking(requestParameters.eventBookingId, options).then((request) => request(axios, basePath));
28609
28709
  },
28710
+ /**
28711
+ * Répondre à une invitation d\'EventBooking (accepter ou refuser)
28712
+ * @param {EventsApiRespondToEventBookingInvitationRequest} requestParameters Request parameters.
28713
+ * @param {*} [options] Override http request option.
28714
+ * @throws {RequiredError}
28715
+ */
28716
+ respondToEventBookingInvitation(requestParameters: EventsApiRespondToEventBookingInvitationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RespondToEventBookingInvitation200Response> {
28717
+ return localVarFp.respondToEventBookingInvitation(requestParameters.eventBookingId, requestParameters.respondToEventBookingInvitationRequest, options).then((request) => request(axios, basePath));
28718
+ },
28610
28719
  };
28611
28720
  };
28612
28721
 
@@ -28876,6 +28985,27 @@ export interface EventsApiLeaveOpenEventBookingRequest {
28876
28985
  readonly eventBookingId: string
28877
28986
  }
28878
28987
 
28988
+ /**
28989
+ * Request parameters for respondToEventBookingInvitation operation in EventsApi.
28990
+ * @export
28991
+ * @interface EventsApiRespondToEventBookingInvitationRequest
28992
+ */
28993
+ export interface EventsApiRespondToEventBookingInvitationRequest {
28994
+ /**
28995
+ *
28996
+ * @type {string}
28997
+ * @memberof EventsApiRespondToEventBookingInvitation
28998
+ */
28999
+ readonly eventBookingId: string
29000
+
29001
+ /**
29002
+ *
29003
+ * @type {RespondToEventBookingInvitationRequest}
29004
+ * @memberof EventsApiRespondToEventBookingInvitation
29005
+ */
29006
+ readonly respondToEventBookingInvitationRequest: RespondToEventBookingInvitationRequest
29007
+ }
29008
+
28879
29009
  /**
28880
29010
  * EventsApi - object-oriented interface
28881
29011
  * @export
@@ -29025,6 +29155,17 @@ export class EventsApi extends BaseAPI {
29025
29155
  public leaveOpenEventBooking(requestParameters: EventsApiLeaveOpenEventBookingRequest, options?: RawAxiosRequestConfig) {
29026
29156
  return EventsApiFp(this.configuration).leaveOpenEventBooking(requestParameters.eventBookingId, options).then((request) => request(this.axios, this.basePath));
29027
29157
  }
29158
+
29159
+ /**
29160
+ * Répondre à une invitation d\'EventBooking (accepter ou refuser)
29161
+ * @param {EventsApiRespondToEventBookingInvitationRequest} requestParameters Request parameters.
29162
+ * @param {*} [options] Override http request option.
29163
+ * @throws {RequiredError}
29164
+ * @memberof EventsApi
29165
+ */
29166
+ public respondToEventBookingInvitation(requestParameters: EventsApiRespondToEventBookingInvitationRequest, options?: RawAxiosRequestConfig) {
29167
+ return EventsApiFp(this.configuration).respondToEventBookingInvitation(requestParameters.eventBookingId, requestParameters.respondToEventBookingInvitationRequest, options).then((request) => request(this.axios, this.basePath));
29168
+ }
29028
29169
  }
29029
29170
 
29030
29171
  /**
@@ -35388,10 +35529,11 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
35388
35529
  *
35389
35530
  * @param {number} [limit]
35390
35531
  * @param {number} [skip]
35532
+ * @param {GetUserBookingsTimeFilterEnum} [timeFilter]
35391
35533
  * @param {*} [options] Override http request option.
35392
35534
  * @throws {RequiredError}
35393
35535
  */
35394
- getUserBookings: async (limit?: number, skip?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35536
+ getUserBookings: async (limit?: number, skip?: number, timeFilter?: GetUserBookingsTimeFilterEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35395
35537
  const localVarPath = `/api/users/me/bookings`;
35396
35538
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
35397
35539
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -35416,6 +35558,10 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
35416
35558
  localVarQueryParameter['skip'] = skip;
35417
35559
  }
35418
35560
 
35561
+ if (timeFilter !== undefined) {
35562
+ localVarQueryParameter['timeFilter'] = timeFilter;
35563
+ }
35564
+
35419
35565
 
35420
35566
 
35421
35567
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -36731,11 +36877,12 @@ export const UsersApiFp = function(configuration?: Configuration) {
36731
36877
  *
36732
36878
  * @param {number} [limit]
36733
36879
  * @param {number} [skip]
36880
+ * @param {GetUserBookingsTimeFilterEnum} [timeFilter]
36734
36881
  * @param {*} [options] Override http request option.
36735
36882
  * @throws {RequiredError}
36736
36883
  */
36737
- async getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingsResponse>> {
36738
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUserBookings(limit, skip, options);
36884
+ async getUserBookings(limit?: number, skip?: number, timeFilter?: GetUserBookingsTimeFilterEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingsResponse>> {
36885
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserBookings(limit, skip, timeFilter, options);
36739
36886
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36740
36887
  const localVarOperationServerBasePath = operationServerMap['UsersApi.getUserBookings']?.[localVarOperationServerIndex]?.url;
36741
36888
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -37249,7 +37396,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
37249
37396
  * @throws {RequiredError}
37250
37397
  */
37251
37398
  getUserBookings(requestParameters: UsersApiGetUserBookingsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<UserBookingsResponse> {
37252
- return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(axios, basePath));
37399
+ return localVarFp.getUserBookings(requestParameters.limit, requestParameters.skip, requestParameters.timeFilter, options).then((request) => request(axios, basePath));
37253
37400
  },
37254
37401
  /**
37255
37402
  *
@@ -37711,6 +37858,13 @@ export interface UsersApiGetUserBookingsRequest {
37711
37858
  * @memberof UsersApiGetUserBookings
37712
37859
  */
37713
37860
  readonly skip?: number
37861
+
37862
+ /**
37863
+ *
37864
+ * @type {'upcoming' | 'past'}
37865
+ * @memberof UsersApiGetUserBookings
37866
+ */
37867
+ readonly timeFilter?: GetUserBookingsTimeFilterEnum
37714
37868
  }
37715
37869
 
37716
37870
  /**
@@ -38387,7 +38541,7 @@ export class UsersApi extends BaseAPI {
38387
38541
  * @memberof UsersApi
38388
38542
  */
38389
38543
  public getUserBookings(requestParameters: UsersApiGetUserBookingsRequest = {}, options?: RawAxiosRequestConfig) {
38390
- return UsersApiFp(this.configuration).getUserBookings(requestParameters.limit, requestParameters.skip, options).then((request) => request(this.axios, this.basePath));
38544
+ return UsersApiFp(this.configuration).getUserBookings(requestParameters.limit, requestParameters.skip, requestParameters.timeFilter, options).then((request) => request(this.axios, this.basePath));
38391
38545
  }
38392
38546
 
38393
38547
  /**
@@ -38687,6 +38841,14 @@ export class UsersApi extends BaseAPI {
38687
38841
  }
38688
38842
  }
38689
38843
 
38844
+ /**
38845
+ * @export
38846
+ */
38847
+ export const GetUserBookingsTimeFilterEnum = {
38848
+ Upcoming: 'upcoming',
38849
+ Past: 'past'
38850
+ } as const;
38851
+ export type GetUserBookingsTimeFilterEnum = typeof GetUserBookingsTimeFilterEnum[keyof typeof GetUserBookingsTimeFilterEnum];
38690
38852
 
38691
38853
 
38692
38854
  /**
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.231
7
+ * The version of the OpenAPI document: 1.0.233
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.231
7
+ * The version of the OpenAPI document: 1.0.233
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.231
7
+ * The version of the OpenAPI document: 1.0.233
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.231
5
+ * The version of the OpenAPI document: 1.0.233
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10669,6 +10669,12 @@ export interface PublishEventResponse {
10669
10669
  * @memberof PublishEventResponse
10670
10670
  */
10671
10671
  'needsToSetupPaymentMethod'?: boolean;
10672
+ /**
10673
+ *
10674
+ * @type {string}
10675
+ * @memberof PublishEventResponse
10676
+ */
10677
+ 'myPaymentLink'?: string;
10672
10678
  }
10673
10679
  /**
10674
10680
  *
@@ -11421,6 +11427,44 @@ export interface ResetPasswordRequest {
11421
11427
  */
11422
11428
  'token'?: string;
11423
11429
  }
11430
+ /**
11431
+ *
11432
+ * @export
11433
+ * @interface RespondToEventBookingInvitation200Response
11434
+ */
11435
+ export interface RespondToEventBookingInvitation200Response {
11436
+ /**
11437
+ *
11438
+ * @type {boolean}
11439
+ * @memberof RespondToEventBookingInvitation200Response
11440
+ */
11441
+ 'allPlayersAccepted': boolean;
11442
+ /**
11443
+ *
11444
+ * @type {string}
11445
+ * @memberof RespondToEventBookingInvitation200Response
11446
+ */
11447
+ 'eventBookingStatus': string;
11448
+ /**
11449
+ *
11450
+ * @type {string}
11451
+ * @memberof RespondToEventBookingInvitation200Response
11452
+ */
11453
+ 'message': string;
11454
+ }
11455
+ /**
11456
+ *
11457
+ * @export
11458
+ * @interface RespondToEventBookingInvitationRequest
11459
+ */
11460
+ export interface RespondToEventBookingInvitationRequest {
11461
+ /**
11462
+ *
11463
+ * @type {boolean}
11464
+ * @memberof RespondToEventBookingInvitationRequest
11465
+ */
11466
+ 'accept': boolean;
11467
+ }
11424
11468
  /**
11425
11469
  *
11426
11470
  * @export
@@ -21882,6 +21926,14 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
21882
21926
  * @throws {RequiredError}
21883
21927
  */
21884
21928
  leaveOpenEventBooking: (eventBookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21929
+ /**
21930
+ * Répondre à une invitation d\'EventBooking (accepter ou refuser)
21931
+ * @param {string} eventBookingId
21932
+ * @param {RespondToEventBookingInvitationRequest} respondToEventBookingInvitationRequest
21933
+ * @param {*} [options] Override http request option.
21934
+ * @throws {RequiredError}
21935
+ */
21936
+ respondToEventBookingInvitation: (eventBookingId: string, respondToEventBookingInvitationRequest: RespondToEventBookingInvitationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21885
21937
  };
21886
21938
  /**
21887
21939
  * EventsApi - functional programming interface
@@ -21991,6 +22043,14 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
21991
22043
  * @throws {RequiredError}
21992
22044
  */
21993
22045
  leaveOpenEventBooking(eventBookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveEventWaitList200Response>>;
22046
+ /**
22047
+ * Répondre à une invitation d\'EventBooking (accepter ou refuser)
22048
+ * @param {string} eventBookingId
22049
+ * @param {RespondToEventBookingInvitationRequest} respondToEventBookingInvitationRequest
22050
+ * @param {*} [options] Override http request option.
22051
+ * @throws {RequiredError}
22052
+ */
22053
+ respondToEventBookingInvitation(eventBookingId: string, respondToEventBookingInvitationRequest: RespondToEventBookingInvitationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RespondToEventBookingInvitation200Response>>;
21994
22054
  };
21995
22055
  /**
21996
22056
  * EventsApi - factory interface
@@ -22088,6 +22148,13 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
22088
22148
  * @throws {RequiredError}
22089
22149
  */
22090
22150
  leaveOpenEventBooking(requestParameters: EventsApiLeaveOpenEventBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<LeaveEventWaitList200Response>;
22151
+ /**
22152
+ * Répondre à une invitation d\'EventBooking (accepter ou refuser)
22153
+ * @param {EventsApiRespondToEventBookingInvitationRequest} requestParameters Request parameters.
22154
+ * @param {*} [options] Override http request option.
22155
+ * @throws {RequiredError}
22156
+ */
22157
+ respondToEventBookingInvitation(requestParameters: EventsApiRespondToEventBookingInvitationRequest, options?: RawAxiosRequestConfig): AxiosPromise<RespondToEventBookingInvitation200Response>;
22091
22158
  };
22092
22159
  /**
22093
22160
  * Request parameters for checkTeamNameAvailability operation in EventsApi.
@@ -22330,6 +22397,25 @@ export interface EventsApiLeaveOpenEventBookingRequest {
22330
22397
  */
22331
22398
  readonly eventBookingId: string;
22332
22399
  }
22400
+ /**
22401
+ * Request parameters for respondToEventBookingInvitation operation in EventsApi.
22402
+ * @export
22403
+ * @interface EventsApiRespondToEventBookingInvitationRequest
22404
+ */
22405
+ export interface EventsApiRespondToEventBookingInvitationRequest {
22406
+ /**
22407
+ *
22408
+ * @type {string}
22409
+ * @memberof EventsApiRespondToEventBookingInvitation
22410
+ */
22411
+ readonly eventBookingId: string;
22412
+ /**
22413
+ *
22414
+ * @type {RespondToEventBookingInvitationRequest}
22415
+ * @memberof EventsApiRespondToEventBookingInvitation
22416
+ */
22417
+ readonly respondToEventBookingInvitationRequest: RespondToEventBookingInvitationRequest;
22418
+ }
22333
22419
  /**
22334
22420
  * EventsApi - object-oriented interface
22335
22421
  * @export
@@ -22441,6 +22527,14 @@ export declare class EventsApi extends BaseAPI {
22441
22527
  * @memberof EventsApi
22442
22528
  */
22443
22529
  leaveOpenEventBooking(requestParameters: EventsApiLeaveOpenEventBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LeaveEventWaitList200Response, any, {}>>;
22530
+ /**
22531
+ * Répondre à une invitation d\'EventBooking (accepter ou refuser)
22532
+ * @param {EventsApiRespondToEventBookingInvitationRequest} requestParameters Request parameters.
22533
+ * @param {*} [options] Override http request option.
22534
+ * @throws {RequiredError}
22535
+ * @memberof EventsApi
22536
+ */
22537
+ respondToEventBookingInvitation(requestParameters: EventsApiRespondToEventBookingInvitationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RespondToEventBookingInvitation200Response, any, {}>>;
22444
22538
  }
22445
22539
  /**
22446
22540
  * @export
@@ -25555,10 +25649,11 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
25555
25649
  *
25556
25650
  * @param {number} [limit]
25557
25651
  * @param {number} [skip]
25652
+ * @param {GetUserBookingsTimeFilterEnum} [timeFilter]
25558
25653
  * @param {*} [options] Override http request option.
25559
25654
  * @throws {RequiredError}
25560
25655
  */
25561
- getUserBookings: (limit?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25656
+ getUserBookings: (limit?: number, skip?: number, timeFilter?: GetUserBookingsTimeFilterEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25562
25657
  /**
25563
25658
  *
25564
25659
  * @param {number} [limit]
@@ -25906,10 +26001,11 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
25906
26001
  *
25907
26002
  * @param {number} [limit]
25908
26003
  * @param {number} [skip]
26004
+ * @param {GetUserBookingsTimeFilterEnum} [timeFilter]
25909
26005
  * @param {*} [options] Override http request option.
25910
26006
  * @throws {RequiredError}
25911
26007
  */
25912
- getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingsResponse>>;
26008
+ getUserBookings(limit?: number, skip?: number, timeFilter?: GetUserBookingsTimeFilterEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserBookingsResponse>>;
25913
26009
  /**
25914
26010
  *
25915
26011
  * @param {number} [limit]
@@ -26637,6 +26733,12 @@ export interface UsersApiGetUserBookingsRequest {
26637
26733
  * @memberof UsersApiGetUserBookings
26638
26734
  */
26639
26735
  readonly skip?: number;
26736
+ /**
26737
+ *
26738
+ * @type {'upcoming' | 'past'}
26739
+ * @memberof UsersApiGetUserBookings
26740
+ */
26741
+ readonly timeFilter?: GetUserBookingsTimeFilterEnum;
26640
26742
  }
26641
26743
  /**
26642
26744
  * Request parameters for getUserEvents operation in UsersApi.
@@ -27441,6 +27543,14 @@ export declare class UsersApi extends BaseAPI {
27441
27543
  */
27442
27544
  verifyOrganizationCode(requestParameters: UsersApiVerifyOrganizationCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyOrganizationEmailCodeResponse, any, {}>>;
27443
27545
  }
27546
+ /**
27547
+ * @export
27548
+ */
27549
+ export declare const GetUserBookingsTimeFilterEnum: {
27550
+ readonly Upcoming: "upcoming";
27551
+ readonly Past: "past";
27552
+ };
27553
+ export type GetUserBookingsTimeFilterEnum = typeof GetUserBookingsTimeFilterEnum[keyof typeof GetUserBookingsTimeFilterEnum];
27444
27554
  /**
27445
27555
  * WaitListApi - axios parameter creator
27446
27556
  * @export