@tennac-booking/sdk 1.0.23 → 1.0.24

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 (41) hide show
  1. package/.openapi-generator/FILES +6 -2
  2. package/README.md +13 -7
  3. package/api.ts +647 -519
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +336 -232
  8. package/dist/api.js +345 -321
  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 +336 -232
  16. package/dist/esm/api.js +343 -315
  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/AddPaymentMethodSetupRequestBody.md +20 -0
  28. package/docs/AddPaymentMethodSetupResponse.md +24 -0
  29. package/docs/BlockSlotResponse.md +1 -1
  30. package/docs/ClubSettings.md +14 -8
  31. package/docs/{DeleteClubSettings200Response.md → LevelBySportsItem.md} +7 -5
  32. package/docs/ProfilePictureResponse.md +20 -0
  33. package/docs/StaffClubsApi.md +56 -0
  34. package/docs/UpdateLevelBySportsRequestBody.md +20 -0
  35. package/docs/UpdateProfilePictureRequestBody.md +20 -0
  36. package/docs/UserApi.md +0 -56
  37. package/docs/UserPaymentApi.md +55 -0
  38. package/docs/UserProfileApi.md +158 -0
  39. package/index.ts +1 -1
  40. package/package.json +1 -1
  41. package/docs/ManagerClubSettingsApi.md +0 -172
@@ -1,172 +0,0 @@
1
- # ManagerClubSettingsApi
2
-
3
- All URIs are relative to *https://api.mon-domaine.com*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**createClubSettings**](#createclubsettings) | **POST** /api/club-settings | Créer les paramètres d\'un club|
8
- |[**deleteClubSettings**](#deleteclubsettings) | **DELETE** /api/club-settings | Supprimer les paramètres d\'un club|
9
- |[**updateClubSettings**](#updateclubsettings) | **PUT** /api/club-settings | Mettre à jour les paramètres d\'un club|
10
-
11
- # **createClubSettings**
12
- > ClubSettings createClubSettings(createClubSettingsRequest)
13
-
14
-
15
- ### Example
16
-
17
- ```typescript
18
- import {
19
- ManagerClubSettingsApi,
20
- Configuration,
21
- CreateClubSettingsRequest
22
- } from '@tennac-booking/sdk';
23
-
24
- const configuration = new Configuration();
25
- const apiInstance = new ManagerClubSettingsApi(configuration);
26
-
27
- let createClubSettingsRequest: CreateClubSettingsRequest; //
28
-
29
- const { status, data } = await apiInstance.createClubSettings(
30
- createClubSettingsRequest
31
- );
32
- ```
33
-
34
- ### Parameters
35
-
36
- |Name | Type | Description | Notes|
37
- |------------- | ------------- | ------------- | -------------|
38
- | **createClubSettingsRequest** | **CreateClubSettingsRequest**| | |
39
-
40
-
41
- ### Return type
42
-
43
- **ClubSettings**
44
-
45
- ### Authorization
46
-
47
- [bearerAuth](../README.md#bearerAuth)
48
-
49
- ### HTTP request headers
50
-
51
- - **Content-Type**: application/json
52
- - **Accept**: application/json
53
-
54
-
55
- ### HTTP response details
56
- | Status code | Description | Response headers |
57
- |-------------|-------------|------------------|
58
- |**201** | Paramètres créés avec succès | - |
59
- |**401** | Non autorisé | - |
60
- |**409** | Paramètres déjà existants | - |
61
- |**500** | Erreur serveur interne | - |
62
-
63
- [[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)
64
-
65
- # **deleteClubSettings**
66
- > DeleteClubSettings200Response deleteClubSettings(deleteClubSettingsRequest)
67
-
68
-
69
- ### Example
70
-
71
- ```typescript
72
- import {
73
- ManagerClubSettingsApi,
74
- Configuration,
75
- DeleteClubSettingsRequest
76
- } from '@tennac-booking/sdk';
77
-
78
- const configuration = new Configuration();
79
- const apiInstance = new ManagerClubSettingsApi(configuration);
80
-
81
- let deleteClubSettingsRequest: DeleteClubSettingsRequest; //
82
-
83
- const { status, data } = await apiInstance.deleteClubSettings(
84
- deleteClubSettingsRequest
85
- );
86
- ```
87
-
88
- ### Parameters
89
-
90
- |Name | Type | Description | Notes|
91
- |------------- | ------------- | ------------- | -------------|
92
- | **deleteClubSettingsRequest** | **DeleteClubSettingsRequest**| | |
93
-
94
-
95
- ### Return type
96
-
97
- **DeleteClubSettings200Response**
98
-
99
- ### Authorization
100
-
101
- [bearerAuth](../README.md#bearerAuth)
102
-
103
- ### HTTP request headers
104
-
105
- - **Content-Type**: application/json
106
- - **Accept**: application/json
107
-
108
-
109
- ### HTTP response details
110
- | Status code | Description | Response headers |
111
- |-------------|-------------|------------------|
112
- |**200** | Paramètres supprimés avec succès | - |
113
- |**401** | Non autorisé | - |
114
- |**404** | Ressource non trouvée | - |
115
- |**500** | Erreur serveur interne | - |
116
-
117
- [[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)
118
-
119
- # **updateClubSettings**
120
- > ClubSettings updateClubSettings(updateClubSettingsRequest)
121
-
122
-
123
- ### Example
124
-
125
- ```typescript
126
- import {
127
- ManagerClubSettingsApi,
128
- Configuration,
129
- UpdateClubSettingsRequest
130
- } from '@tennac-booking/sdk';
131
-
132
- const configuration = new Configuration();
133
- const apiInstance = new ManagerClubSettingsApi(configuration);
134
-
135
- let updateClubSettingsRequest: UpdateClubSettingsRequest; //
136
-
137
- const { status, data } = await apiInstance.updateClubSettings(
138
- updateClubSettingsRequest
139
- );
140
- ```
141
-
142
- ### Parameters
143
-
144
- |Name | Type | Description | Notes|
145
- |------------- | ------------- | ------------- | -------------|
146
- | **updateClubSettingsRequest** | **UpdateClubSettingsRequest**| | |
147
-
148
-
149
- ### Return type
150
-
151
- **ClubSettings**
152
-
153
- ### Authorization
154
-
155
- [bearerAuth](../README.md#bearerAuth)
156
-
157
- ### HTTP request headers
158
-
159
- - **Content-Type**: application/json
160
- - **Accept**: application/json
161
-
162
-
163
- ### HTTP response details
164
- | Status code | Description | Response headers |
165
- |-------------|-------------|------------------|
166
- |**200** | Paramètres mis à jour avec succès | - |
167
- |**401** | Non autorisé | - |
168
- |**404** | Ressource non trouvée | - |
169
- |**500** | Erreur serveur interne | - |
170
-
171
- [[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)
172
-