@tennac-booking/sdk 1.0.69 → 1.0.71

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.
Files changed (62) hide show
  1. package/.openapi-generator/FILES +236 -227
  2. package/README.md +20 -7
  3. package/api.ts +1488 -247
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1334 -339
  8. package/dist/api.js +461 -62
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +1334 -339
  16. package/dist/esm/api.js +458 -59
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/BookingDetailResponse.md +1 -1
  28. package/docs/{BookingHistory.md → BookingHistoryPopulated.md} +4 -4
  29. package/docs/BookingPopulated.md +27 -7
  30. package/docs/BookingStatus.md +3 -1
  31. package/docs/BookingSummary.md +1 -1
  32. package/docs/BookingsApi.md +81 -2
  33. package/docs/BookingsStaffApi.md +3 -3
  34. package/docs/CheckInPlayersResponse.md +2 -10
  35. package/docs/ClubsApi.md +2 -2
  36. package/docs/CreateEventRequest.md +26 -0
  37. package/docs/CreateSportForClubRequest.md +6 -0
  38. package/docs/CreateSportRequest.md +8 -2
  39. package/docs/EventResponse.md +26 -0
  40. package/docs/EventsApi.md +131 -12
  41. package/docs/EventsManagerApi.md +59 -0
  42. package/docs/JoinEventRequest.md +22 -0
  43. package/docs/JoinEventResponse.md +22 -0
  44. package/docs/QuickReservationClubSummary.md +28 -0
  45. package/docs/QuickReservationClubSummaryLocation.md +31 -0
  46. package/docs/QuickReservationResponse.md +22 -0
  47. package/docs/QuickReservationSlotSummary.md +42 -0
  48. package/docs/SportKey.md +14 -0
  49. package/docs/SportLevel.md +22 -0
  50. package/docs/SportResponse.md +10 -5
  51. package/docs/SportWithLevels.md +30 -0
  52. package/docs/SportsManagerApi.md +6 -3
  53. package/docs/SportsStaffApi.md +3 -3
  54. package/docs/{GetSportsByClubById200Response.md → SubscriberPrice.md} +7 -5
  55. package/docs/{BookingSummaryBookingHistory.md → Team.md} +7 -3
  56. package/docs/UpdateEventRequest.md +54 -0
  57. package/docs/UpdateSportRequest.md +9 -1
  58. package/docs/UserInfo.md +4 -0
  59. package/docs/UsersApi.md +0 -3
  60. package/index.ts +1 -1
  61. package/package.json +1 -1
  62. package/docs/SportWithAnalytics.md +0 -36
@@ -0,0 +1,54 @@
1
+ # UpdateEventRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | **string** | | [optional] [default to undefined]
9
+ **title** | **string** | | [optional] [default to undefined]
10
+ **description** | **string** | | [optional] [default to undefined]
11
+ **photoUrl** | **string** | | [optional] [default to undefined]
12
+ **startDate** | **string** | | [optional] [default to undefined]
13
+ **endDate** | **string** | | [optional] [default to undefined]
14
+ **courts** | [**Array<EventResponseCourtsInner>**](EventResponseCourtsInner.md) | | [optional] [default to undefined]
15
+ **sports** | **Array<string>** | | [optional] [default to undefined]
16
+ **recurringType** | **string** | | [optional] [default to undefined]
17
+ **recurrenceEndDate** | **string** | | [optional] [default to undefined]
18
+ **participationType** | **string** | | [optional] [default to undefined]
19
+ **participants** | **Array<string>** | | [optional] [default to undefined]
20
+ **teams** | [**Array<Team>**](Team.md) | | [optional] [default to undefined]
21
+ **playerLimit** | **number** | | [optional] [default to undefined]
22
+ **teamLimit** | **number** | | [optional] [default to undefined]
23
+ **price** | **number** | | [optional] [default to undefined]
24
+ **subscriberPrices** | [**Array<SubscriberPrice>**](SubscriberPrice.md) | | [optional] [default to undefined]
25
+ **visibilityType** | **string** | | [optional] [default to undefined]
26
+
27
+ ## Example
28
+
29
+ ```typescript
30
+ import { UpdateEventRequest } from '@tennac-booking/sdk';
31
+
32
+ const instance: UpdateEventRequest = {
33
+ type,
34
+ title,
35
+ description,
36
+ photoUrl,
37
+ startDate,
38
+ endDate,
39
+ courts,
40
+ sports,
41
+ recurringType,
42
+ recurrenceEndDate,
43
+ participationType,
44
+ participants,
45
+ teams,
46
+ playerLimit,
47
+ teamLimit,
48
+ price,
49
+ subscriberPrices,
50
+ visibilityType,
51
+ };
52
+ ```
53
+
54
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,7 +5,11 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **key** | **string** | Clé/nom du sport | [optional] [default to undefined]
8
+ **key** | [**SportKey**](SportKey.md) | | [optional] [default to undefined]
9
+ **name** | **string** | Nom affiché du sport | [optional] [default to undefined]
10
+ **description** | **string** | Description du sport | [optional] [default to undefined]
11
+ **levels** | [**Array<SportLevel>**](SportLevel.md) | Niveaux associés | [optional] [default to undefined]
12
+ **logos** | **Array<string>** | URLs de logos/images | [optional] [default to undefined]
9
13
 
10
14
  ## Example
11
15
 
@@ -14,6 +18,10 @@ import { UpdateSportRequest } from '@tennac-booking/sdk';
14
18
 
15
19
  const instance: UpdateSportRequest = {
16
20
  key,
21
+ name,
22
+ description,
23
+ levels,
24
+ logos,
17
25
  };
18
26
  ```
19
27
 
package/docs/UserInfo.md CHANGED
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
8
8
  **id** | **string** | ID de l\'utilisateur | [default to undefined]
9
9
  **firstName** | **string** | Prénom | [default to undefined]
10
10
  **lastName** | **string** | Nom | [default to undefined]
11
+ **email** | **string** | | [default to undefined]
12
+ **profilePictureUrl** | **string** | | [optional] [default to undefined]
11
13
 
12
14
  ## Example
13
15
 
@@ -18,6 +20,8 @@ const instance: UserInfo = {
18
20
  id,
19
21
  firstName,
20
22
  lastName,
23
+ email,
24
+ profilePictureUrl,
21
25
  };
22
26
  ```
23
27
 
package/docs/UsersApi.md CHANGED
@@ -1049,7 +1049,6 @@ let sharedClub: boolean; // (optional) (default to undefined)
1049
1049
  let sportLevels: string; // (optional) (default to undefined)
1050
1050
  let limit: number; // (optional) (default to undefined)
1051
1051
  let offset: number; // (optional) (default to undefined)
1052
- let useLocation: boolean; // (optional) (default to undefined)
1053
1052
  let latitude: number; // (optional) (default to undefined)
1054
1053
  let longitude: number; // (optional) (default to undefined)
1055
1054
  let radiusInKm: number; // (optional) (default to undefined)
@@ -1062,7 +1061,6 @@ const { status, data } = await apiInstance.listPlayers(
1062
1061
  sportLevels,
1063
1062
  limit,
1064
1063
  offset,
1065
- useLocation,
1066
1064
  latitude,
1067
1065
  longitude,
1068
1066
  radiusInKm
@@ -1080,7 +1078,6 @@ const { status, data } = await apiInstance.listPlayers(
1080
1078
  | **sportLevels** | [**string**] | | (optional) defaults to undefined|
1081
1079
  | **limit** | [**number**] | | (optional) defaults to undefined|
1082
1080
  | **offset** | [**number**] | | (optional) defaults to undefined|
1083
- | **useLocation** | [**boolean**] | | (optional) defaults to undefined|
1084
1081
  | **latitude** | [**number**] | | (optional) defaults to undefined|
1085
1082
  | **longitude** | [**number**] | | (optional) defaults to undefined|
1086
1083
  | **radiusInKm** | [**number**] | | (optional) defaults to undefined|
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.68
7
+ * The version of the OpenAPI document: 1.0.71
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.69",
3
+ "version": "1.0.71",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,36 +0,0 @@
1
- # SportWithAnalytics
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | ID unique du sport | [default to undefined]
9
- **key** | **string** | Clé/nom du sport | [default to undefined]
10
- **name** | **string** | Nom du sport | [optional] [default to undefined]
11
- **description** | **string** | Description du sport | [optional] [default to undefined]
12
- **clubId** | **string** | ID du club auquel appartient le sport | [default to undefined]
13
- **createdAt** | **string** | Date de création | [default to undefined]
14
- **updatedAt** | **string** | Date de dernière mise à jour | [default to undefined]
15
- **courtsCount** | **number** | Nombre de terrains pour ce sport | [default to undefined]
16
- **bookingsCount** | **number** | Nombre de réservations actives/en attente pour ce sport | [default to undefined]
17
-
18
- ## Example
19
-
20
- ```typescript
21
- import { SportWithAnalytics } from '@tennac-booking/sdk';
22
-
23
- const instance: SportWithAnalytics = {
24
- id,
25
- key,
26
- name,
27
- description,
28
- clubId,
29
- createdAt,
30
- updatedAt,
31
- courtsCount,
32
- bookingsCount,
33
- };
34
- ```
35
-
36
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)