@tennac-booking/sdk 1.0.41 → 1.0.42

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 (58) hide show
  1. package/.openapi-generator/FILES +176 -0
  2. package/README.md +259 -1
  3. package/api.ts +16066 -889
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +11088 -826
  8. package/dist/api.js +8540 -31
  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 +11088 -826
  16. package/dist/esm/api.js +8422 -27
  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/BookingsApi.md +1 -1
  28. package/docs/ClubAnalyticsApi.md +1 -1
  29. package/docs/ClubsApi.md +1 -1
  30. package/docs/DiagnosticsApi.md +45 -0
  31. package/docs/EventsApi.md +1 -1
  32. package/docs/ManagerBookingsApi.md +1 -1
  33. package/docs/ManagerClubCourtsApi.md +1 -1
  34. package/docs/ManagerClubRolesApi.md +1 -1
  35. package/docs/ManagerClubSlotsApi.md +1 -1
  36. package/docs/ManagerClubSubscriptionsApi.md +1 -1
  37. package/docs/ManagerClubsApi.md +1 -1
  38. package/docs/ManagerEventsApi.md +1 -1
  39. package/docs/ManagerSportsApi.md +1 -1
  40. package/docs/StaffBookingsApi.md +1 -1
  41. package/docs/StaffClubAnalyticsApi.md +1 -1
  42. package/docs/StaffClubBookingsApi.md +1 -1
  43. package/docs/StaffClubsApi.md +1 -1
  44. package/docs/StaffEventsApi.md +1 -1
  45. package/docs/StaffProfileApi.md +1 -1
  46. package/docs/UserApi.md +1 -1
  47. package/docs/UserAuthenticationApi.md +1 -1
  48. package/docs/UserBookingsApi.md +1 -1
  49. package/docs/UserClubCourtsApi.md +1 -1
  50. package/docs/UserClubSlotsApi.md +1 -1
  51. package/docs/UserClubSportsApi.md +1 -1
  52. package/docs/UserClubsApi.md +1 -1
  53. package/docs/UserPaymentApi.md +1 -1
  54. package/docs/UserProfileApi.md +1 -1
  55. package/docs/UserSubscriptionsApi.md +1 -1
  56. package/docs/UsersApi.md +236 -0
  57. package/index.ts +1 -1
  58. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * booking_api
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * API for managing pickle ball games and players
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.38
6
6
  *
package/dist/esm/base.js CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * booking_api
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * API for managing pickle ball games and players
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.38
8
8
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * booking_api
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * API for managing pickle ball games and players
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.38
6
6
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * booking_api
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * API for managing pickle ball games and players
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.38
8
8
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * booking_api
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * API for managing pickle ball games and players
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.38
6
6
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * booking_api
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * API for managing pickle ball games and players
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.38
8
8
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * booking_api
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * API for managing pickle ball games and players
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.38
6
6
  *
package/dist/esm/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * booking_api
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * API for managing pickle ball games and players
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.38
8
8
  *
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * booking_api
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * API for managing pickle ball games and players
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0.38
6
6
  *
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * booking_api
6
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ * API for managing pickle ball games and players
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0.38
9
9
  *
@@ -1,6 +1,6 @@
1
1
  # BookingsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ClubAnalyticsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
package/docs/ClubsApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ClubsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -4,8 +4,53 @@ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
+ |[**getSdkDiagnostics**](#getsdkdiagnostics) | **GET** /api/test/sdk-check | Vérifie que la documentation OpenAPI et le SDK sont synchronisés avec la version de l’API|
7
8
  |[**ping**](#ping) | **GET** /tsoa-test/ping | |
8
9
 
10
+ # **getSdkDiagnostics**
11
+ > SdkDiagnosticsResponse getSdkDiagnostics()
12
+
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ DiagnosticsApi,
19
+ Configuration
20
+ } from '@tennac-booking/sdk';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new DiagnosticsApi(configuration);
24
+
25
+ const { status, data } = await apiInstance.getSdkDiagnostics();
26
+ ```
27
+
28
+ ### Parameters
29
+ This endpoint does not have any parameters.
30
+
31
+
32
+ ### Return type
33
+
34
+ **SdkDiagnosticsResponse**
35
+
36
+ ### Authorization
37
+
38
+ [bearerAuth](../README.md#bearerAuth)
39
+
40
+ ### HTTP request headers
41
+
42
+ - **Content-Type**: Not defined
43
+ - **Accept**: application/json
44
+
45
+
46
+ ### HTTP response details
47
+ | Status code | Description | Response headers |
48
+ |-------------|-------------|------------------|
49
+ |**200** | Résultat de la vérification | - |
50
+ |**500** | Erreur lors de la vérification | - |
51
+
52
+ [[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)
53
+
9
54
  # **ping**
10
55
  > DiagnosticsResponse ping()
11
56
 
package/docs/EventsApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # EventsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerBookingsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerClubCourtsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerClubRolesApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerClubSlotsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerClubSubscriptionsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerClubsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerEventsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerSportsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # StaffBookingsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # StaffClubAnalyticsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # StaffClubBookingsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # StaffClubsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # StaffEventsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # StaffProfileApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
package/docs/UserApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # UserApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserAuthenticationApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserBookingsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserClubCourtsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserClubSlotsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserClubSportsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserClubsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserPaymentApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserProfileApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserSubscriptionsApi
2
2
 
3
- All URIs are relative to *https://api.mon-domaine.com*
3
+ All URIs are relative to */api*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
package/docs/UsersApi.md CHANGED
@@ -7,6 +7,10 @@ All URIs are relative to */api*
7
7
  |[**addFavoriteClub**](#addfavoriteclub) | **POST** /users/me/favorite-clubs | |
8
8
  |[**addFavoritePlayer**](#addfavoriteplayer) | **POST** /users/me/favoritesPlayers | |
9
9
  |[**addPaymentMethodSetup**](#addpaymentmethodsetup) | **POST** /users/addPaymentMethodSetup | |
10
+ |[**apiUsersMeNearestClubsGet**](#apiusersmenearestclubsget) | **GET** /api/users/me/nearest-clubs/ | Récupère les clubs proches de l’utilisateur connecté|
11
+ |[**apiUsersMeNearestPlayersGet**](#apiusersmenearestplayersget) | **GET** /api/users/me/nearest-players/ | Récupère les utilisateurs proches de l’utilisateur connecté|
12
+ |[**apiUsersNearestClubsCoordinatesGet**](#apiusersnearestclubscoordinatesget) | **GET** /api/users/nearest-clubs/coordinates | Récupère les clubs proches d’une position donnée|
13
+ |[**apiUsersNearestPlayersCoordinatesGet**](#apiusersnearestplayerscoordinatesget) | **GET** /api/users/nearest-players/coordinates | Récupère les utilisateurs proches d’une position donnée|
10
14
  |[**cancelSubscription**](#cancelsubscription) | **DELETE** /users/me/subscriptions/{clubId}/{subscriptionId} | |
11
15
  |[**changePassword**](#changepassword) | **PUT** /users/me/password | |
12
16
  |[**confirmPaymentMethodSetup**](#confirmpaymentmethodsetup) | **POST** /users/confirmPaymentMethodSetup | |
@@ -195,6 +199,238 @@ No authorization required
195
199
 
196
200
  [[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)
197
201
 
202
+ # **apiUsersMeNearestClubsGet**
203
+ > Array<Club> apiUsersMeNearestClubsGet()
204
+
205
+
206
+ ### Example
207
+
208
+ ```typescript
209
+ import {
210
+ UsersApi,
211
+ Configuration
212
+ } from '@tennac-booking/sdk';
213
+
214
+ const configuration = new Configuration();
215
+ const apiInstance = new UsersApi(configuration);
216
+
217
+ let radiusInKm: number; //Rayon de recherche en kilomètres (optional) (default to undefined)
218
+ let limit: number; //Nombre maximum de résultats (optional) (default to undefined)
219
+
220
+ const { status, data } = await apiInstance.apiUsersMeNearestClubsGet(
221
+ radiusInKm,
222
+ limit
223
+ );
224
+ ```
225
+
226
+ ### Parameters
227
+
228
+ |Name | Type | Description | Notes|
229
+ |------------- | ------------- | ------------- | -------------|
230
+ | **radiusInKm** | [**number**] | Rayon de recherche en kilomètres | (optional) defaults to undefined|
231
+ | **limit** | [**number**] | Nombre maximum de résultats | (optional) defaults to undefined|
232
+
233
+
234
+ ### Return type
235
+
236
+ **Array<Club>**
237
+
238
+ ### Authorization
239
+
240
+ [bearerAuth](../README.md#bearerAuth)
241
+
242
+ ### HTTP request headers
243
+
244
+ - **Content-Type**: Not defined
245
+ - **Accept**: application/json
246
+
247
+
248
+ ### HTTP response details
249
+ | Status code | Description | Response headers |
250
+ |-------------|-------------|------------------|
251
+ |**200** | Liste des clubs à proximité | - |
252
+ |**401** | Non autorisé | - |
253
+ |**500** | Erreur serveur interne | - |
254
+
255
+ [[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)
256
+
257
+ # **apiUsersMeNearestPlayersGet**
258
+ > Array<UserResponse> apiUsersMeNearestPlayersGet()
259
+
260
+
261
+ ### Example
262
+
263
+ ```typescript
264
+ import {
265
+ UsersApi,
266
+ Configuration
267
+ } from '@tennac-booking/sdk';
268
+
269
+ const configuration = new Configuration();
270
+ const apiInstance = new UsersApi(configuration);
271
+
272
+ let radiusInKm: number; //Rayon de recherche en kilomètres (optional) (default to undefined)
273
+ let limit: number; //Nombre maximum de résultats (optional) (default to undefined)
274
+
275
+ const { status, data } = await apiInstance.apiUsersMeNearestPlayersGet(
276
+ radiusInKm,
277
+ limit
278
+ );
279
+ ```
280
+
281
+ ### Parameters
282
+
283
+ |Name | Type | Description | Notes|
284
+ |------------- | ------------- | ------------- | -------------|
285
+ | **radiusInKm** | [**number**] | Rayon de recherche en kilomètres | (optional) defaults to undefined|
286
+ | **limit** | [**number**] | Nombre maximum de résultats | (optional) defaults to undefined|
287
+
288
+
289
+ ### Return type
290
+
291
+ **Array<UserResponse>**
292
+
293
+ ### Authorization
294
+
295
+ [bearerAuth](../README.md#bearerAuth)
296
+
297
+ ### HTTP request headers
298
+
299
+ - **Content-Type**: Not defined
300
+ - **Accept**: application/json
301
+
302
+
303
+ ### HTTP response details
304
+ | Status code | Description | Response headers |
305
+ |-------------|-------------|------------------|
306
+ |**200** | Liste des utilisateurs à proximité | - |
307
+ |**401** | Non autorisé | - |
308
+ |**500** | Erreur serveur interne | - |
309
+
310
+ [[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)
311
+
312
+ # **apiUsersNearestClubsCoordinatesGet**
313
+ > Array<Club> apiUsersNearestClubsCoordinatesGet()
314
+
315
+
316
+ ### Example
317
+
318
+ ```typescript
319
+ import {
320
+ UsersApi,
321
+ Configuration
322
+ } from '@tennac-booking/sdk';
323
+
324
+ const configuration = new Configuration();
325
+ const apiInstance = new UsersApi(configuration);
326
+
327
+ let latitude: number; //Latitude de la position (default to undefined)
328
+ let longitude: number; //Longitude de la position (default to undefined)
329
+ let radiusInKm: number; //Rayon de recherche en kilomètres (optional) (default to undefined)
330
+ let limit: number; //Nombre maximum de résultats (optional) (default to undefined)
331
+
332
+ const { status, data } = await apiInstance.apiUsersNearestClubsCoordinatesGet(
333
+ latitude,
334
+ longitude,
335
+ radiusInKm,
336
+ limit
337
+ );
338
+ ```
339
+
340
+ ### Parameters
341
+
342
+ |Name | Type | Description | Notes|
343
+ |------------- | ------------- | ------------- | -------------|
344
+ | **latitude** | [**number**] | Latitude de la position | defaults to undefined|
345
+ | **longitude** | [**number**] | Longitude de la position | defaults to undefined|
346
+ | **radiusInKm** | [**number**] | Rayon de recherche en kilomètres | (optional) defaults to undefined|
347
+ | **limit** | [**number**] | Nombre maximum de résultats | (optional) defaults to undefined|
348
+
349
+
350
+ ### Return type
351
+
352
+ **Array<Club>**
353
+
354
+ ### Authorization
355
+
356
+ [bearerAuth](../README.md#bearerAuth)
357
+
358
+ ### HTTP request headers
359
+
360
+ - **Content-Type**: Not defined
361
+ - **Accept**: application/json
362
+
363
+
364
+ ### HTTP response details
365
+ | Status code | Description | Response headers |
366
+ |-------------|-------------|------------------|
367
+ |**200** | Liste des clubs à proximité | - |
368
+ |**400** | Requête invalide | - |
369
+ |**500** | Erreur serveur interne | - |
370
+
371
+ [[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)
372
+
373
+ # **apiUsersNearestPlayersCoordinatesGet**
374
+ > Array<UserResponse> apiUsersNearestPlayersCoordinatesGet()
375
+
376
+
377
+ ### Example
378
+
379
+ ```typescript
380
+ import {
381
+ UsersApi,
382
+ Configuration
383
+ } from '@tennac-booking/sdk';
384
+
385
+ const configuration = new Configuration();
386
+ const apiInstance = new UsersApi(configuration);
387
+
388
+ let latitude: number; //Latitude de la position (default to undefined)
389
+ let longitude: number; //Longitude de la position (default to undefined)
390
+ let radiusInKm: number; //Rayon de recherche en kilomètres (optional) (default to undefined)
391
+ let limit: number; //Nombre maximum de résultats (optional) (default to undefined)
392
+
393
+ const { status, data } = await apiInstance.apiUsersNearestPlayersCoordinatesGet(
394
+ latitude,
395
+ longitude,
396
+ radiusInKm,
397
+ limit
398
+ );
399
+ ```
400
+
401
+ ### Parameters
402
+
403
+ |Name | Type | Description | Notes|
404
+ |------------- | ------------- | ------------- | -------------|
405
+ | **latitude** | [**number**] | Latitude de la position | defaults to undefined|
406
+ | **longitude** | [**number**] | Longitude de la position | defaults to undefined|
407
+ | **radiusInKm** | [**number**] | Rayon de recherche en kilomètres | (optional) defaults to undefined|
408
+ | **limit** | [**number**] | Nombre maximum de résultats | (optional) defaults to undefined|
409
+
410
+
411
+ ### Return type
412
+
413
+ **Array<UserResponse>**
414
+
415
+ ### Authorization
416
+
417
+ [bearerAuth](../README.md#bearerAuth)
418
+
419
+ ### HTTP request headers
420
+
421
+ - **Content-Type**: Not defined
422
+ - **Accept**: application/json
423
+
424
+
425
+ ### HTTP response details
426
+ | Status code | Description | Response headers |
427
+ |-------------|-------------|------------------|
428
+ |**200** | Liste des utilisateurs à proximité | - |
429
+ |**400** | Requête invalide | - |
430
+ |**500** | Erreur serveur interne | - |
431
+
432
+ [[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)
433
+
198
434
  # **cancelSubscription**
199
435
  > SubscriptionMutationResponse cancelSubscription()
200
436