@tennac-booking/sdk 1.0.54 → 1.0.55

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.
@@ -0,0 +1,40 @@
1
+ # PlayerSummary
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **username** | **string** | | [optional] [default to undefined]
10
+ **firstName** | **string** | | [default to undefined]
11
+ **lastName** | **string** | | [default to undefined]
12
+ **profilePicture** | **string** | | [optional] [default to undefined]
13
+ **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
14
+ **levelBySports** | [**Array<LevelBySportEntry>**](LevelBySportEntry.md) | | [optional] [default to undefined]
15
+ **location** | [**UserLocationSummary**](UserLocationSummary.md) | | [default to undefined]
16
+ **sharedClubs** | **boolean** | | [default to undefined]
17
+ **lastPlayedAt** | **string** | | [optional] [default to undefined]
18
+ **playCount** | **number** | | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { PlayerSummary } from '@tennac-booking/sdk';
24
+
25
+ const instance: PlayerSummary = {
26
+ id,
27
+ username,
28
+ firstName,
29
+ lastName,
30
+ profilePicture,
31
+ gender,
32
+ levelBySports,
33
+ location,
34
+ sharedClubs,
35
+ lastPlayedAt,
36
+ playCount,
37
+ };
38
+ ```
39
+
40
+ [[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,44 @@
1
+ # PublicUserProfileResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **username** | **string** | | [optional] [default to undefined]
10
+ **firstName** | **string** | | [default to undefined]
11
+ **lastName** | **string** | | [default to undefined]
12
+ **email** | **string** | | [default to undefined]
13
+ **isAccountVerified** | **boolean** | | [default to undefined]
14
+ **location** | [**UserLocationSummary**](UserLocationSummary.md) | | [default to undefined]
15
+ **createdAt** | **string** | | [default to undefined]
16
+ **profilePicture** | **string** | | [optional] [default to undefined]
17
+ **levelBySports** | [**Array<LevelBySportEntry>**](LevelBySportEntry.md) | | [optional] [default to undefined]
18
+ **description** | **string** | | [optional] [default to undefined]
19
+ **frequentlyVisitedClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [default to undefined]
20
+ **recentlyPlayedWith** | [**Array<PlayerSummary>**](PlayerSummary.md) | | [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { PublicUserProfileResponse } from '@tennac-booking/sdk';
26
+
27
+ const instance: PublicUserProfileResponse = {
28
+ id,
29
+ username,
30
+ firstName,
31
+ lastName,
32
+ email,
33
+ isAccountVerified,
34
+ location,
35
+ createdAt,
36
+ profilePicture,
37
+ levelBySports,
38
+ description,
39
+ frequentlyVisitedClubs,
40
+ recentlyPlayedWith,
41
+ };
42
+ ```
43
+
44
+ [[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,44 @@
1
+ # UserLocationSummary
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | **string** | | [default to undefined]
9
+ **coordinates** | **Array<number>** | | [default to undefined]
10
+ **mapboxId** | **string** | | [optional] [default to undefined]
11
+ **mapboxPlaceType** | **Array<string>** | | [optional] [default to undefined]
12
+ **mapboxPlaceName** | **string** | | [optional] [default to undefined]
13
+ **mapboxAddress** | **string** | | [optional] [default to undefined]
14
+ **mapboxContext** | **Array<{ [key: string]: any; }>** | | [optional] [default to undefined]
15
+ **mapboxRaw** | **{ [key: string]: object; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
16
+ **city** | **string** | | [optional] [default to undefined]
17
+ **country** | **string** | | [optional] [default to undefined]
18
+ **postalCode** | **string** | | [optional] [default to undefined]
19
+ **state** | **string** | | [optional] [default to undefined]
20
+ **address** | **string** | | [optional] [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { UserLocationSummary } from '@tennac-booking/sdk';
26
+
27
+ const instance: UserLocationSummary = {
28
+ type,
29
+ coordinates,
30
+ mapboxId,
31
+ mapboxPlaceType,
32
+ mapboxPlaceName,
33
+ mapboxAddress,
34
+ mapboxContext,
35
+ mapboxRaw,
36
+ city,
37
+ country,
38
+ postalCode,
39
+ state,
40
+ address,
41
+ };
42
+ ```
43
+
44
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -34,8 +34,8 @@ Name | Type | Description | Notes
34
34
  **sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
35
35
  **upcomingBookingsCount** | **number** | | [optional] [default to undefined]
36
36
  **subscriptionsCount** | **number** | | [optional] [default to undefined]
37
- **frequentlyVisitedClubs** | [**Array<FrequentClub>**](FrequentClub.md) | | [optional] [default to undefined]
38
- **frequentlyPlayedWith** | [**Array<FrequentPlayer>**](FrequentPlayer.md) | | [optional] [default to undefined]
37
+ **frequentlyVisitedClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined]
38
+ **frequentlyPlayedWith** | [**Array<PlayerSummary>**](PlayerSummary.md) | | [optional] [default to undefined]
39
39
  **stripeLinks** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
40
40
 
41
41
  ## Example
package/docs/UsersApi.md CHANGED
@@ -530,7 +530,7 @@ No authorization required
530
530
  [[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)
531
531
 
532
532
  # **getFrequentlyPlayedWith**
533
- > Array<FrequentPlayer> getFrequentlyPlayedWith()
533
+ > Array<PlayerSummary> getFrequentlyPlayedWith()
534
534
 
535
535
 
536
536
  ### Example
@@ -553,7 +553,7 @@ This endpoint does not have any parameters.
553
553
 
554
554
  ### Return type
555
555
 
556
- **Array<FrequentPlayer>**
556
+ **Array<PlayerSummary>**
557
557
 
558
558
  ### Authorization
559
559
 
@@ -573,7 +573,7 @@ No authorization required
573
573
  [[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)
574
574
 
575
575
  # **getFrequentlyVisitedClub**
576
- > Array<FrequentClub> getFrequentlyVisitedClub()
576
+ > Array<ClubSummary> getFrequentlyVisitedClub()
577
577
 
578
578
 
579
579
  ### Example
@@ -596,7 +596,7 @@ This endpoint does not have any parameters.
596
596
 
597
597
  ### Return type
598
598
 
599
- **Array<FrequentClub>**
599
+ **Array<ClubSummary>**
600
600
 
601
601
  ### Authorization
602
602
 
@@ -936,7 +936,7 @@ No authorization required
936
936
  [[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)
937
937
 
938
938
  # **getUserProfileById**
939
- > IUserAttributes getUserProfileById()
939
+ > PublicUserProfileResponse getUserProfileById()
940
940
 
941
941
 
942
942
  ### Example
@@ -966,7 +966,7 @@ const { status, data } = await apiInstance.getUserProfileById(
966
966
 
967
967
  ### Return type
968
968
 
969
- **IUserAttributes**
969
+ **PublicUserProfileResponse**
970
970
 
971
971
  ### Authorization
972
972
 
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * booking_api
5
5
  * API for managing pickle ball games and players
6
6
  *
7
- * The version of the OpenAPI document: 1.0.53
7
+ * The version of the OpenAPI document: 1.0.54
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.54",
3
+ "version": "1.0.55",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,24 +0,0 @@
1
- # FrequentClub
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **clubId** | **string** | | [default to undefined]
9
- **name** | **string** | | [default to undefined]
10
- **visitCount** | **number** | | [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { FrequentClub } from '@tennac-booking/sdk';
16
-
17
- const instance: FrequentClub = {
18
- clubId,
19
- name,
20
- visitCount,
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)
@@ -1,28 +0,0 @@
1
- # FrequentPlayer
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **userId** | **string** | | [default to undefined]
9
- **firstName** | **string** | | [default to undefined]
10
- **lastName** | **string** | | [default to undefined]
11
- **profilePicture** | **string** | | [optional] [default to undefined]
12
- **playCount** | **number** | | [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { FrequentPlayer } from '@tennac-booking/sdk';
18
-
19
- const instance: FrequentPlayer = {
20
- userId,
21
- firstName,
22
- lastName,
23
- profilePicture,
24
- playCount,
25
- };
26
- ```
27
-
28
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)