@tennac-booking/sdk 1.0.239 → 1.0.241

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.
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.233
5
+ * The version of the OpenAPI document: 1.0.240
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js 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.233
7
+ * The version of the OpenAPI document: 1.0.240
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.233
5
+ * The version of the OpenAPI document: 1.0.240
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.233
7
+ * The version of the OpenAPI document: 1.0.240
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.233
5
+ * The version of the OpenAPI document: 1.0.240
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.233
7
+ * The version of the OpenAPI document: 1.0.240
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.233
5
+ * The version of the OpenAPI document: 1.0.240
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js 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.233
7
+ * The version of the OpenAPI document: 1.0.240
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.233
5
+ * The version of the OpenAPI document: 1.0.240
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.233
8
+ * The version of the OpenAPI document: 1.0.240
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/ClubsApi.md CHANGED
@@ -6,9 +6,9 @@ All URIs are relative to *http://localhost*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getActiveClubs**](#getactiveclubs) | **GET** /api/clubs/active | |
8
8
  |[**getAllClubs**](#getallclubs) | **GET** /api/clubs | |
9
- |[**getAvailableSlotsByClubById**](#getavailableslotsbyclubbyid) | **GET** /api/clubs/{clubID}/availableSlots | |
10
9
  |[**getAvailableSlotsBySports**](#getavailableslotsbysports) | **GET** /api/clubs/{id}/sports/{sportId}/slots | |
11
10
  |[**getAvailableSlotsBySportsAndDay**](#getavailableslotsbysportsandday) | **GET** /api/clubs/{id}/sports/{sportId}/slots/{day} | |
11
+ |[**getAvailableSlotsDaysByClubById**](#getavailableslotsdaysbyclubbyid) | **GET** /api/clubs/{clubID}/availableSlotsDays | |
12
12
  |[**getClubInfo**](#getclubinfo) | **GET** /api/clubs/info | |
13
13
  |[**getClubMetadata**](#getclubmetadata) | **GET** /api/clubs/{clubId}/metadata | |
14
14
  |[**getClubPageInfo**](#getclubpageinfo) | **GET** /api/clubs/club-page/{clubId} | |
@@ -111,10 +111,9 @@ No authorization required
111
111
 
112
112
  [[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)
113
113
 
114
- # **getAvailableSlotsByClubById**
115
- > GetSlotsByClubById200Response getAvailableSlotsByClubById()
114
+ # **getAvailableSlotsBySports**
115
+ > GetAvailableSlotsBySports200Response getAvailableSlotsBySports()
116
116
 
117
- reference to artillery tests
118
117
 
119
118
  ### Example
120
119
 
@@ -127,10 +126,12 @@ import {
127
126
  const configuration = new Configuration();
128
127
  const apiInstance = new ClubsApi(configuration);
129
128
 
130
- let clubID: string; // (default to undefined)
129
+ let id: string; // (default to undefined)
130
+ let sportId: string; // (default to undefined)
131
131
 
132
- const { status, data } = await apiInstance.getAvailableSlotsByClubById(
133
- clubID
132
+ const { status, data } = await apiInstance.getAvailableSlotsBySports(
133
+ id,
134
+ sportId
134
135
  );
135
136
  ```
136
137
 
@@ -138,12 +139,13 @@ const { status, data } = await apiInstance.getAvailableSlotsByClubById(
138
139
 
139
140
  |Name | Type | Description | Notes|
140
141
  |------------- | ------------- | ------------- | -------------|
141
- | **clubID** | [**string**] | | defaults to undefined|
142
+ | **id** | [**string**] | | defaults to undefined|
143
+ | **sportId** | [**string**] | | defaults to undefined|
142
144
 
143
145
 
144
146
  ### Return type
145
147
 
146
- **GetSlotsByClubById200Response**
148
+ **GetAvailableSlotsBySports200Response**
147
149
 
148
150
  ### Authorization
149
151
 
@@ -158,12 +160,12 @@ No authorization required
158
160
  ### HTTP response details
159
161
  | Status code | Description | Response headers |
160
162
  |-------------|-------------|------------------|
161
- |**200** | Available slots | - |
163
+ |**200** | Available slots by sport | - |
162
164
 
163
165
  [[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)
164
166
 
165
- # **getAvailableSlotsBySports**
166
- > GetAvailableSlotsBySports200Response getAvailableSlotsBySports()
167
+ # **getAvailableSlotsBySportsAndDay**
168
+ > GetAvailableSlotsBySports200Response getAvailableSlotsBySportsAndDay()
167
169
 
168
170
 
169
171
  ### Example
@@ -179,10 +181,12 @@ const apiInstance = new ClubsApi(configuration);
179
181
 
180
182
  let id: string; // (default to undefined)
181
183
  let sportId: string; // (default to undefined)
184
+ let day: string; // (default to undefined)
182
185
 
183
- const { status, data } = await apiInstance.getAvailableSlotsBySports(
186
+ const { status, data } = await apiInstance.getAvailableSlotsBySportsAndDay(
184
187
  id,
185
- sportId
188
+ sportId,
189
+ day
186
190
  );
187
191
  ```
188
192
 
@@ -192,6 +196,7 @@ const { status, data } = await apiInstance.getAvailableSlotsBySports(
192
196
  |------------- | ------------- | ------------- | -------------|
193
197
  | **id** | [**string**] | | defaults to undefined|
194
198
  | **sportId** | [**string**] | | defaults to undefined|
199
+ | **day** | [**string**] | | defaults to undefined|
195
200
 
196
201
 
197
202
  ### Return type
@@ -211,13 +216,14 @@ No authorization required
211
216
  ### HTTP response details
212
217
  | Status code | Description | Response headers |
213
218
  |-------------|-------------|------------------|
214
- |**200** | Available slots by sport | - |
219
+ |**200** | Available slots by sport and day | - |
215
220
 
216
221
  [[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)
217
222
 
218
- # **getAvailableSlotsBySportsAndDay**
219
- > GetAvailableSlotsBySports200Response getAvailableSlotsBySportsAndDay()
223
+ # **getAvailableSlotsDaysByClubById**
224
+ > GetAvailableSlotsDaysByClubById200Response getAvailableSlotsDaysByClubById()
220
225
 
226
+ reference to artillery tests
221
227
 
222
228
  ### Example
223
229
 
@@ -230,14 +236,10 @@ import {
230
236
  const configuration = new Configuration();
231
237
  const apiInstance = new ClubsApi(configuration);
232
238
 
233
- let id: string; // (default to undefined)
234
- let sportId: string; // (default to undefined)
235
- let day: string; // (default to undefined)
239
+ let clubID: string; // (default to undefined)
236
240
 
237
- const { status, data } = await apiInstance.getAvailableSlotsBySportsAndDay(
238
- id,
239
- sportId,
240
- day
241
+ const { status, data } = await apiInstance.getAvailableSlotsDaysByClubById(
242
+ clubID
241
243
  );
242
244
  ```
243
245
 
@@ -245,14 +247,12 @@ const { status, data } = await apiInstance.getAvailableSlotsBySportsAndDay(
245
247
 
246
248
  |Name | Type | Description | Notes|
247
249
  |------------- | ------------- | ------------- | -------------|
248
- | **id** | [**string**] | | defaults to undefined|
249
- | **sportId** | [**string**] | | defaults to undefined|
250
- | **day** | [**string**] | | defaults to undefined|
250
+ | **clubID** | [**string**] | | defaults to undefined|
251
251
 
252
252
 
253
253
  ### Return type
254
254
 
255
- **GetAvailableSlotsBySports200Response**
255
+ **GetAvailableSlotsDaysByClubById200Response**
256
256
 
257
257
  ### Authorization
258
258
 
@@ -267,7 +267,7 @@ No authorization required
267
267
  ### HTTP response details
268
268
  | Status code | Description | Response headers |
269
269
  |-------------|-------------|------------------|
270
- |**200** | Available slots by sport and day | - |
270
+ |**200** | Available slots days | - |
271
271
 
272
272
  [[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)
273
273
 
@@ -0,0 +1,22 @@
1
+ # GetAvailableSlotsDaysByClubById200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **lastSlotDate** | **string** | | [default to undefined]
9
+ **availableDays** | **Array<string>** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { GetAvailableSlotsDaysByClubById200Response } from '@tennac-booking/sdk';
15
+
16
+ const instance: GetAvailableSlotsDaysByClubById200Response = {
17
+ lastSlotDate,
18
+ availableDays,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
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.233
7
+ * The version of the OpenAPI document: 1.0.240
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.239",
3
+ "version": "1.0.241",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {