@tennac-booking/sdk 1.0.68 → 1.0.69

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.
package/docs/UsersApi.md CHANGED
@@ -21,8 +21,10 @@ All URIs are relative to *http://localhost*
21
21
  |[**getNearestClubsFromCoordinates**](#getnearestclubsfromcoordinates) | **GET** /api/users/nearest-clubs/coordinates | |
22
22
  |[**getNearestUsers**](#getnearestusers) | **GET** /api/users/me/nearest-players | |
23
23
  |[**getNearestUsersFromCoordinates**](#getnearestusersfromcoordinates) | **GET** /api/users/nearest-players/coordinates | |
24
+ |[**getPlayerCategories**](#getplayercategories) | **GET** /api/users/players/categories | |
24
25
  |[**getUserBookings**](#getuserbookings) | **GET** /api/users/me/bookings | |
25
26
  |[**getUserProfileById**](#getuserprofilebyid) | **GET** /api/users/profile/{id} | |
27
+ |[**listPlayers**](#listplayers) | **GET** /api/users/players | |
26
28
  |[**login**](#login) | **POST** /api/users/login | |
27
29
  |[**refreshToken**](#refreshtoken) | **POST** /api/users/refresh-token | |
28
30
  |[**register**](#register) | **POST** /api/users | |
@@ -872,6 +874,49 @@ No authorization required
872
874
  - **Accept**: application/json
873
875
 
874
876
 
877
+ ### HTTP response details
878
+ | Status code | Description | Response headers |
879
+ |-------------|-------------|------------------|
880
+ |**200** | Ok | - |
881
+
882
+ [[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)
883
+
884
+ # **getPlayerCategories**
885
+ > PlayerCategoriesResponse getPlayerCategories()
886
+
887
+
888
+ ### Example
889
+
890
+ ```typescript
891
+ import {
892
+ UsersApi,
893
+ Configuration
894
+ } from '@tennac-booking/sdk';
895
+
896
+ const configuration = new Configuration();
897
+ const apiInstance = new UsersApi(configuration);
898
+
899
+ const { status, data } = await apiInstance.getPlayerCategories();
900
+ ```
901
+
902
+ ### Parameters
903
+ This endpoint does not have any parameters.
904
+
905
+
906
+ ### Return type
907
+
908
+ **PlayerCategoriesResponse**
909
+
910
+ ### Authorization
911
+
912
+ [bearerAuth](../README.md#bearerAuth)
913
+
914
+ ### HTTP request headers
915
+
916
+ - **Content-Type**: Not defined
917
+ - **Accept**: application/json
918
+
919
+
875
920
  ### HTTP response details
876
921
  | Status code | Description | Response headers |
877
922
  |-------------|-------------|------------------|
@@ -975,6 +1020,86 @@ const { status, data } = await apiInstance.getUserProfileById(
975
1020
  - **Accept**: application/json
976
1021
 
977
1022
 
1023
+ ### HTTP response details
1024
+ | Status code | Description | Response headers |
1025
+ |-------------|-------------|------------------|
1026
+ |**200** | Ok | - |
1027
+
1028
+ [[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)
1029
+
1030
+ # **listPlayers**
1031
+ > PlayerListResponse listPlayers()
1032
+
1033
+
1034
+ ### Example
1035
+
1036
+ ```typescript
1037
+ import {
1038
+ UsersApi,
1039
+ Configuration
1040
+ } from '@tennac-booking/sdk';
1041
+
1042
+ const configuration = new Configuration();
1043
+ const apiInstance = new UsersApi(configuration);
1044
+
1045
+ let category: PlayerCategoryId; // (optional) (default to undefined)
1046
+ let search: string; // (optional) (default to undefined)
1047
+ let gender: string; // (optional) (default to undefined)
1048
+ let sharedClub: boolean; // (optional) (default to undefined)
1049
+ let sportLevels: string; // (optional) (default to undefined)
1050
+ let limit: number; // (optional) (default to undefined)
1051
+ let offset: number; // (optional) (default to undefined)
1052
+ let useLocation: boolean; // (optional) (default to undefined)
1053
+ let latitude: number; // (optional) (default to undefined)
1054
+ let longitude: number; // (optional) (default to undefined)
1055
+ let radiusInKm: number; // (optional) (default to undefined)
1056
+
1057
+ const { status, data } = await apiInstance.listPlayers(
1058
+ category,
1059
+ search,
1060
+ gender,
1061
+ sharedClub,
1062
+ sportLevels,
1063
+ limit,
1064
+ offset,
1065
+ useLocation,
1066
+ latitude,
1067
+ longitude,
1068
+ radiusInKm
1069
+ );
1070
+ ```
1071
+
1072
+ ### Parameters
1073
+
1074
+ |Name | Type | Description | Notes|
1075
+ |------------- | ------------- | ------------- | -------------|
1076
+ | **category** | **PlayerCategoryId** | | (optional) defaults to undefined|
1077
+ | **search** | [**string**] | | (optional) defaults to undefined|
1078
+ | **gender** | [**string**] | | (optional) defaults to undefined|
1079
+ | **sharedClub** | [**boolean**] | | (optional) defaults to undefined|
1080
+ | **sportLevels** | [**string**] | | (optional) defaults to undefined|
1081
+ | **limit** | [**number**] | | (optional) defaults to undefined|
1082
+ | **offset** | [**number**] | | (optional) defaults to undefined|
1083
+ | **useLocation** | [**boolean**] | | (optional) defaults to undefined|
1084
+ | **latitude** | [**number**] | | (optional) defaults to undefined|
1085
+ | **longitude** | [**number**] | | (optional) defaults to undefined|
1086
+ | **radiusInKm** | [**number**] | | (optional) defaults to undefined|
1087
+
1088
+
1089
+ ### Return type
1090
+
1091
+ **PlayerListResponse**
1092
+
1093
+ ### Authorization
1094
+
1095
+ [bearerAuth](../README.md#bearerAuth)
1096
+
1097
+ ### HTTP request headers
1098
+
1099
+ - **Content-Type**: Not defined
1100
+ - **Accept**: application/json
1101
+
1102
+
978
1103
  ### HTTP response details
979
1104
  | Status code | Description | Response headers |
980
1105
  |-------------|-------------|------------------|
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.67
7
+ * The version of the OpenAPI document: 1.0.68
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.68",
3
+ "version": "1.0.69",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {