@tennac-booking/sdk 1.0.23 → 1.0.25
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/.openapi-generator/FILES +16 -2
- package/README.md +31 -7
- package/api.ts +1397 -512
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +806 -259
- package/dist/api.js +964 -420
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +806 -259
- package/dist/esm/api.js +962 -414
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AddFavoriteClubRequestBody.md +20 -0
- package/docs/AddPaymentMethodSetupRequestBody.md +20 -0
- package/docs/AddPaymentMethodSetupResponse.md +24 -0
- package/docs/BlockSlotResponse.md +1 -1
- package/docs/ClubSettings.md +14 -8
- package/docs/ConfirmPaymentMethodSetupRequestBody.md +0 -2
- package/docs/{DeleteClubSettings200Response.md → FavoriteClubResponse.md} +5 -3
- package/docs/FrequentlyPlayedWithItem.md +28 -0
- package/docs/FrequentlyVisitedClubItem.md +24 -0
- package/docs/LevelBySportsItem.md +22 -0
- package/docs/ProfilePictureResponse.md +20 -0
- package/docs/ProfileVisibilityResponse.md +20 -0
- package/docs/SetupPaymentMethodRequestBody.md +0 -2
- package/docs/StaffClubsApi.md +56 -0
- package/docs/UpdateLevelBySportsRequestBody.md +20 -0
- package/docs/UpdateProfilePictureRequestBody.md +20 -0
- package/docs/UpdateProfileVisibilityRequestBody.md +20 -0
- package/docs/UpdateUserCityRequestBody.md +20 -0
- package/docs/UpdateUserDescriptionRequestBody.md +20 -0
- package/docs/UserApi.md +0 -56
- package/docs/UserCityResponse.md +20 -0
- package/docs/UserDescriptionResponse.md +20 -0
- package/docs/UserPaymentApi.md +55 -0
- package/docs/UserProfileApi.md +556 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- 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
|
-
|