@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.
@@ -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).
@@ -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).
@@ -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).
@@ -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).
@@ -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).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.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/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.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).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.231
8
+ * The version of the OpenAPI document: 1.0.233
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/EventsApi.md CHANGED
@@ -17,6 +17,7 @@ All URIs are relative to *http://localhost*
17
17
  |[**joinOpenEventBooking**](#joinopeneventbooking) | **POST** /api/events/{eventBookingId}/open/join | |
18
18
  |[**leaveEvent**](#leaveevent) | **DELETE** /api/events/{eventId}/leave | |
19
19
  |[**leaveOpenEventBooking**](#leaveopeneventbooking) | **DELETE** /api/events/{eventBookingId}/open/leave | |
20
+ |[**respondToEventBookingInvitation**](#respondtoeventbookinginvitation) | **POST** /api/events/{eventBookingId}/respond-invitation | |
20
21
 
21
22
  # **checkTeamNameAvailability**
22
23
  > CheckTeamNameAvailability200Response checkTeamNameAvailability()
@@ -742,3 +743,61 @@ const { status, data } = await apiInstance.leaveOpenEventBooking(
742
743
 
743
744
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
744
745
 
746
+ # **respondToEventBookingInvitation**
747
+ > RespondToEventBookingInvitation200Response respondToEventBookingInvitation(respondToEventBookingInvitationRequest)
748
+
749
+ Répondre à une invitation d\'EventBooking (accepter ou refuser)
750
+
751
+ ### Example
752
+
753
+ ```typescript
754
+ import {
755
+ EventsApi,
756
+ Configuration,
757
+ RespondToEventBookingInvitationRequest
758
+ } from '@tennac-booking/sdk';
759
+
760
+ const configuration = new Configuration();
761
+ const apiInstance = new EventsApi(configuration);
762
+
763
+ let eventBookingId: string; // (default to undefined)
764
+ let respondToEventBookingInvitationRequest: RespondToEventBookingInvitationRequest; //
765
+
766
+ const { status, data } = await apiInstance.respondToEventBookingInvitation(
767
+ eventBookingId,
768
+ respondToEventBookingInvitationRequest
769
+ );
770
+ ```
771
+
772
+ ### Parameters
773
+
774
+ |Name | Type | Description | Notes|
775
+ |------------- | ------------- | ------------- | -------------|
776
+ | **respondToEventBookingInvitationRequest** | **RespondToEventBookingInvitationRequest**| | |
777
+ | **eventBookingId** | [**string**] | | defaults to undefined|
778
+
779
+
780
+ ### Return type
781
+
782
+ **RespondToEventBookingInvitation200Response**
783
+
784
+ ### Authorization
785
+
786
+ [bearerAuth](../README.md#bearerAuth)
787
+
788
+ ### HTTP request headers
789
+
790
+ - **Content-Type**: application/json
791
+ - **Accept**: application/json
792
+
793
+
794
+ ### HTTP response details
795
+ | Status code | Description | Response headers |
796
+ |-------------|-------------|------------------|
797
+ |**200** | Successfully responded to event booking invitation | - |
798
+ |**400** | Bad Request | - |
799
+ |**404** | Not Found | - |
800
+ |**500** | Server Error | - |
801
+
802
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
803
+
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **refundedBookingIds** | **Array<string>** | | [optional] [default to undefined]
10
10
  **userBooking** | [**EventBookingResponse**](EventBookingResponse.md) | | [optional] [default to undefined]
11
11
  **needsToSetupPaymentMethod** | **boolean** | | [optional] [default to undefined]
12
+ **myPaymentLink** | **string** | | [optional] [default to undefined]
12
13
 
13
14
  ## Example
14
15
 
@@ -20,6 +21,7 @@ const instance: PublishEventResponse = {
20
21
  refundedBookingIds,
21
22
  userBooking,
22
23
  needsToSetupPaymentMethod,
24
+ myPaymentLink,
23
25
  };
24
26
  ```
25
27
 
@@ -0,0 +1,24 @@
1
+ # RespondToEventBookingInvitation200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **allPlayersAccepted** | **boolean** | | [default to undefined]
9
+ **eventBookingStatus** | **string** | | [default to undefined]
10
+ **message** | **string** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { RespondToEventBookingInvitation200Response } from '@tennac-booking/sdk';
16
+
17
+ const instance: RespondToEventBookingInvitation200Response = {
18
+ allPlayersAccepted,
19
+ eventBookingStatus,
20
+ message,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # RespondToEventBookingInvitationRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **accept** | **boolean** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { RespondToEventBookingInvitationRequest } from '@tennac-booking/sdk';
14
+
15
+ const instance: RespondToEventBookingInvitationRequest = {
16
+ accept,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/UsersApi.md CHANGED
@@ -943,10 +943,12 @@ const apiInstance = new UsersApi(configuration);
943
943
 
944
944
  let limit: number; // (optional) (default to undefined)
945
945
  let skip: number; // (optional) (default to undefined)
946
+ let timeFilter: 'upcoming' | 'past'; // (optional) (default to undefined)
946
947
 
947
948
  const { status, data } = await apiInstance.getUserBookings(
948
949
  limit,
949
- skip
950
+ skip,
951
+ timeFilter
950
952
  );
951
953
  ```
952
954
 
@@ -956,6 +958,7 @@ const { status, data } = await apiInstance.getUserBookings(
956
958
  |------------- | ------------- | ------------- | -------------|
957
959
  | **limit** | [**number**] | | (optional) defaults to undefined|
958
960
  | **skip** | [**number**] | | (optional) defaults to undefined|
961
+ | **timeFilter** | [**&#39;upcoming&#39; | &#39;past&#39;**]**Array<&#39;upcoming&#39; &#124; &#39;past&#39;>** | | (optional) defaults to undefined|
959
962
 
960
963
 
961
964
  ### Return type
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.232",
3
+ "version": "1.0.234",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {