@gooday_corp/gooday-api-client 1.3.52 → 1.3.53
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 +6 -1
- package/api.ts +687 -369
- package/docs/AIApi.md +4 -61
- package/docs/BookingApi.md +5 -13
- package/docs/BusinessApi.md +208 -9
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/CreatePaymentLinkDTO.md +2 -10
- package/docs/FavoriteResponseDTO.md +22 -0
- package/docs/GetAllVenueDto.md +28 -0
- package/docs/GetAllWhatsOnDTO.md +34 -0
- package/docs/PlansApi.md +52 -1
- package/docs/PrepaidServiceApi.md +52 -0
- package/docs/{TrendingFilterDTO.md → ProductResponseDTO.md} +7 -5
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/UserEntity.md +2 -0
- package/docs/VenueFavoriteCount.md +22 -0
- package/docs/VenueResponseDTO.md +22 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnApi.md +34 -101
- package/docs/WhatsOnFindDTO.md +0 -2
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**date** | **string** | The start date of the booking | [default to 2025-05-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-05-08T16:02:16+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
|
package/docs/UserEntity.md
CHANGED
|
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
|
|
|
21
21
|
**mobileNumber** | **string** | Phone No | [optional] [default to undefined]
|
|
22
22
|
**gender** | **string** | User gender | [optional] [default to undefined]
|
|
23
23
|
**isEmailVerified** | **boolean** | Indicates whether the user\'s email has been verified | [default to undefined]
|
|
24
|
+
**subscription** | **string** | Indicates whether the business owner subscription status | [default to undefined]
|
|
24
25
|
**calendar** | **string** | Primary user calendar | [default to undefined]
|
|
25
26
|
**role** | **string** | Role of the user in the system | [default to undefined]
|
|
26
27
|
**goals** | **Array<string>** | Goals why user is using the product | [default to undefined]
|
|
@@ -53,6 +54,7 @@ const instance: UserEntity = {
|
|
|
53
54
|
mobileNumber,
|
|
54
55
|
gender,
|
|
55
56
|
isEmailVerified,
|
|
57
|
+
subscription,
|
|
56
58
|
calendar,
|
|
57
59
|
role,
|
|
58
60
|
goals,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# VenueFavoriteCount
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**venueFavorite** | **number** | | [default to undefined]
|
|
9
|
+
**user** | **Array<string>** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { VenueFavoriteCount } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: VenueFavoriteCount = {
|
|
17
|
+
venueFavorite,
|
|
18
|
+
user,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# VenueResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**BusinessVenueDetailsEntity**](BusinessVenueDetailsEntity.md) | Venue | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { VenueResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: VenueResponseDTO = {
|
|
17
|
+
statusCode,
|
|
18
|
+
data,
|
|
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)
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**startDate** | **string** | The start date of the waitlist | [default to 2025-05-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-05-08T16:02:16+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-08T17:02:16+05:30]
|
|
10
10
|
**venue** | **string** | The venue of the waitlist | [default to undefined]
|
|
11
11
|
**business** | **string** | The business associated with the waitlist | [default to undefined]
|
|
12
12
|
**collaborators** | [**Array<CreateWaitlistBookingCollaboratorPayload>**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
|
package/docs/WhatsOnApi.md
CHANGED
|
@@ -7,12 +7,11 @@ All URIs are relative to *http://localhost:8080*
|
|
|
7
7
|
|[**whatsOnControllerCreateWhatsOn**](#whatsoncontrollercreatewhatson) | **POST** /v1/whats-on | |
|
|
8
8
|
|[**whatsOnControllerDeleteWhatsOn**](#whatsoncontrollerdeletewhatson) | **PUT** /v1/whats-on/delete/{id} | |
|
|
9
9
|
|[**whatsOnControllerDiscountCodeApply**](#whatsoncontrollerdiscountcodeapply) | **POST** /v1/whats-on/discount | |
|
|
10
|
-
|[**whatsOnControllerFindCategoryBaseWhatsOn**](#whatsoncontrollerfindcategorybasewhatson) | **POST** /v1/whats-on/categories/list | |
|
|
11
10
|
|[**whatsOnControllerFindFavoriteWhatOnCount**](#whatsoncontrollerfindfavoritewhatoncount) | **GET** /v1/whats-on/favorite/count/{id} | |
|
|
12
11
|
|[**whatsOnControllerFindFavoriteWhatsOnList**](#whatsoncontrollerfindfavoritewhatsonlist) | **GET** /v1/whats-on/friends/favorite | |
|
|
13
|
-
|[**whatsOnControllerFindMyFavoriteWhatsOnList**](#whatsoncontrollerfindmyfavoritewhatsonlist) | **GET** /v1/whats-on/myfavorite | |
|
|
14
12
|
|[**whatsOnControllerFindWhatsOn**](#whatsoncontrollerfindwhatson) | **POST** /v1/whats-on/list | |
|
|
15
13
|
|[**whatsOnControllerFindWhatsOnById**](#whatsoncontrollerfindwhatsonbyid) | **GET** /v1/whats-on/favorite/{id} | |
|
|
14
|
+
|[**whatsOnControllerGetAllWhatsOn**](#whatsoncontrollergetallwhatson) | **POST** /v1/whats-on/public-list | |
|
|
16
15
|
|[**whatsOnControllerMarkFavoriteWhatsOn**](#whatsoncontrollermarkfavoritewhatson) | **POST** /v1/whats-on/favorite | |
|
|
17
16
|
|[**whatsOnControllerPromotions**](#whatsoncontrollerpromotions) | **GET** /v1/whats-on/promotion | |
|
|
18
17
|
|[**whatsOnControllerSponsored**](#whatsoncontrollersponsored) | **GET** /v1/whats-on/sponsored | |
|
|
@@ -166,57 +165,6 @@ const { status, data } = await apiInstance.whatsOnControllerDiscountCodeApply(
|
|
|
166
165
|
- **Accept**: application/json
|
|
167
166
|
|
|
168
167
|
|
|
169
|
-
### HTTP response details
|
|
170
|
-
| Status code | Description | Response headers |
|
|
171
|
-
|-------------|-------------|------------------|
|
|
172
|
-
|**200** | | - |
|
|
173
|
-
|
|
174
|
-
[[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)
|
|
175
|
-
|
|
176
|
-
# **whatsOnControllerFindCategoryBaseWhatsOn**
|
|
177
|
-
> WhatsOnResponseDTO whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO)
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
### Example
|
|
181
|
-
|
|
182
|
-
```typescript
|
|
183
|
-
import {
|
|
184
|
-
WhatsOnApi,
|
|
185
|
-
Configuration,
|
|
186
|
-
WhatsOnFindDTO
|
|
187
|
-
} from './api';
|
|
188
|
-
|
|
189
|
-
const configuration = new Configuration();
|
|
190
|
-
const apiInstance = new WhatsOnApi(configuration);
|
|
191
|
-
|
|
192
|
-
let whatsOnFindDTO: WhatsOnFindDTO; //
|
|
193
|
-
|
|
194
|
-
const { status, data } = await apiInstance.whatsOnControllerFindCategoryBaseWhatsOn(
|
|
195
|
-
whatsOnFindDTO
|
|
196
|
-
);
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
### Parameters
|
|
200
|
-
|
|
201
|
-
|Name | Type | Description | Notes|
|
|
202
|
-
|------------- | ------------- | ------------- | -------------|
|
|
203
|
-
| **whatsOnFindDTO** | **WhatsOnFindDTO**| | |
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
### Return type
|
|
207
|
-
|
|
208
|
-
**WhatsOnResponseDTO**
|
|
209
|
-
|
|
210
|
-
### Authorization
|
|
211
|
-
|
|
212
|
-
[bearer](../README.md#bearer)
|
|
213
|
-
|
|
214
|
-
### HTTP request headers
|
|
215
|
-
|
|
216
|
-
- **Content-Type**: application/json
|
|
217
|
-
- **Accept**: application/json
|
|
218
|
-
|
|
219
|
-
|
|
220
168
|
### HTTP response details
|
|
221
169
|
| Status code | Description | Response headers |
|
|
222
170
|
|-------------|-------------|------------------|
|
|
@@ -291,12 +239,10 @@ const apiInstance = new WhatsOnApi(configuration);
|
|
|
291
239
|
|
|
292
240
|
let page: number; // (default to undefined)
|
|
293
241
|
let limit: number; // (default to undefined)
|
|
294
|
-
let category: string; // (optional) (default to undefined)
|
|
295
242
|
|
|
296
243
|
const { status, data } = await apiInstance.whatsOnControllerFindFavoriteWhatsOnList(
|
|
297
244
|
page,
|
|
298
|
-
limit
|
|
299
|
-
category
|
|
245
|
+
limit
|
|
300
246
|
);
|
|
301
247
|
```
|
|
302
248
|
|
|
@@ -306,7 +252,6 @@ const { status, data } = await apiInstance.whatsOnControllerFindFavoriteWhatsOnL
|
|
|
306
252
|
|------------- | ------------- | ------------- | -------------|
|
|
307
253
|
| **page** | [**number**] | | defaults to undefined|
|
|
308
254
|
| **limit** | [**number**] | | defaults to undefined|
|
|
309
|
-
| **category** | [**string**] | | (optional) defaults to undefined|
|
|
310
255
|
|
|
311
256
|
|
|
312
257
|
### Return type
|
|
@@ -330,8 +275,8 @@ const { status, data } = await apiInstance.whatsOnControllerFindFavoriteWhatsOnL
|
|
|
330
275
|
|
|
331
276
|
[[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)
|
|
332
277
|
|
|
333
|
-
# **
|
|
334
|
-
>
|
|
278
|
+
# **whatsOnControllerFindWhatsOn**
|
|
279
|
+
> WhatsOnResponseDTO whatsOnControllerFindWhatsOn(whatsOnFindDTO)
|
|
335
280
|
|
|
336
281
|
|
|
337
282
|
### Example
|
|
@@ -339,20 +284,17 @@ const { status, data } = await apiInstance.whatsOnControllerFindFavoriteWhatsOnL
|
|
|
339
284
|
```typescript
|
|
340
285
|
import {
|
|
341
286
|
WhatsOnApi,
|
|
342
|
-
Configuration
|
|
287
|
+
Configuration,
|
|
288
|
+
WhatsOnFindDTO
|
|
343
289
|
} from './api';
|
|
344
290
|
|
|
345
291
|
const configuration = new Configuration();
|
|
346
292
|
const apiInstance = new WhatsOnApi(configuration);
|
|
347
293
|
|
|
348
|
-
let
|
|
349
|
-
let limit: number; // (default to undefined)
|
|
350
|
-
let category: string; // (optional) (default to undefined)
|
|
294
|
+
let whatsOnFindDTO: WhatsOnFindDTO; //
|
|
351
295
|
|
|
352
|
-
const { status, data } = await apiInstance.
|
|
353
|
-
|
|
354
|
-
limit,
|
|
355
|
-
category
|
|
296
|
+
const { status, data } = await apiInstance.whatsOnControllerFindWhatsOn(
|
|
297
|
+
whatsOnFindDTO
|
|
356
298
|
);
|
|
357
299
|
```
|
|
358
300
|
|
|
@@ -360,14 +302,12 @@ const { status, data } = await apiInstance.whatsOnControllerFindMyFavoriteWhatsO
|
|
|
360
302
|
|
|
361
303
|
|Name | Type | Description | Notes|
|
|
362
304
|
|------------- | ------------- | ------------- | -------------|
|
|
363
|
-
| **
|
|
364
|
-
| **limit** | [**number**] | | defaults to undefined|
|
|
365
|
-
| **category** | [**string**] | | (optional) defaults to undefined|
|
|
305
|
+
| **whatsOnFindDTO** | **WhatsOnFindDTO**| | |
|
|
366
306
|
|
|
367
307
|
|
|
368
308
|
### Return type
|
|
369
309
|
|
|
370
|
-
**
|
|
310
|
+
**WhatsOnResponseDTO**
|
|
371
311
|
|
|
372
312
|
### Authorization
|
|
373
313
|
|
|
@@ -375,7 +315,7 @@ const { status, data } = await apiInstance.whatsOnControllerFindMyFavoriteWhatsO
|
|
|
375
315
|
|
|
376
316
|
### HTTP request headers
|
|
377
317
|
|
|
378
|
-
- **Content-Type**:
|
|
318
|
+
- **Content-Type**: application/json
|
|
379
319
|
- **Accept**: application/json
|
|
380
320
|
|
|
381
321
|
|
|
@@ -386,8 +326,8 @@ const { status, data } = await apiInstance.whatsOnControllerFindMyFavoriteWhatsO
|
|
|
386
326
|
|
|
387
327
|
[[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)
|
|
388
328
|
|
|
389
|
-
# **
|
|
390
|
-
>
|
|
329
|
+
# **whatsOnControllerFindWhatsOnById**
|
|
330
|
+
> WhatsOnFavoriteResponseDTO whatsOnControllerFindWhatsOnById()
|
|
391
331
|
|
|
392
332
|
|
|
393
333
|
### Example
|
|
@@ -395,17 +335,16 @@ const { status, data } = await apiInstance.whatsOnControllerFindMyFavoriteWhatsO
|
|
|
395
335
|
```typescript
|
|
396
336
|
import {
|
|
397
337
|
WhatsOnApi,
|
|
398
|
-
Configuration
|
|
399
|
-
WhatsOnFindDTO
|
|
338
|
+
Configuration
|
|
400
339
|
} from './api';
|
|
401
340
|
|
|
402
341
|
const configuration = new Configuration();
|
|
403
342
|
const apiInstance = new WhatsOnApi(configuration);
|
|
404
343
|
|
|
405
|
-
let
|
|
344
|
+
let id: string; // (default to undefined)
|
|
406
345
|
|
|
407
|
-
const { status, data } = await apiInstance.
|
|
408
|
-
|
|
346
|
+
const { status, data } = await apiInstance.whatsOnControllerFindWhatsOnById(
|
|
347
|
+
id
|
|
409
348
|
);
|
|
410
349
|
```
|
|
411
350
|
|
|
@@ -413,12 +352,12 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOn(
|
|
|
413
352
|
|
|
414
353
|
|Name | Type | Description | Notes|
|
|
415
354
|
|------------- | ------------- | ------------- | -------------|
|
|
416
|
-
| **
|
|
355
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
417
356
|
|
|
418
357
|
|
|
419
358
|
### Return type
|
|
420
359
|
|
|
421
|
-
**
|
|
360
|
+
**WhatsOnFavoriteResponseDTO**
|
|
422
361
|
|
|
423
362
|
### Authorization
|
|
424
363
|
|
|
@@ -426,7 +365,7 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOn(
|
|
|
426
365
|
|
|
427
366
|
### HTTP request headers
|
|
428
367
|
|
|
429
|
-
- **Content-Type**:
|
|
368
|
+
- **Content-Type**: Not defined
|
|
430
369
|
- **Accept**: application/json
|
|
431
370
|
|
|
432
371
|
|
|
@@ -437,8 +376,8 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOn(
|
|
|
437
376
|
|
|
438
377
|
[[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)
|
|
439
378
|
|
|
440
|
-
# **
|
|
441
|
-
>
|
|
379
|
+
# **whatsOnControllerGetAllWhatsOn**
|
|
380
|
+
> WhatsOnResponseDTO whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO)
|
|
442
381
|
|
|
443
382
|
|
|
444
383
|
### Example
|
|
@@ -446,16 +385,17 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOn(
|
|
|
446
385
|
```typescript
|
|
447
386
|
import {
|
|
448
387
|
WhatsOnApi,
|
|
449
|
-
Configuration
|
|
388
|
+
Configuration,
|
|
389
|
+
GetAllWhatsOnDTO
|
|
450
390
|
} from './api';
|
|
451
391
|
|
|
452
392
|
const configuration = new Configuration();
|
|
453
393
|
const apiInstance = new WhatsOnApi(configuration);
|
|
454
394
|
|
|
455
|
-
let
|
|
395
|
+
let getAllWhatsOnDTO: GetAllWhatsOnDTO; //
|
|
456
396
|
|
|
457
|
-
const { status, data } = await apiInstance.
|
|
458
|
-
|
|
397
|
+
const { status, data } = await apiInstance.whatsOnControllerGetAllWhatsOn(
|
|
398
|
+
getAllWhatsOnDTO
|
|
459
399
|
);
|
|
460
400
|
```
|
|
461
401
|
|
|
@@ -463,20 +403,20 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOnById(
|
|
|
463
403
|
|
|
464
404
|
|Name | Type | Description | Notes|
|
|
465
405
|
|------------- | ------------- | ------------- | -------------|
|
|
466
|
-
| **
|
|
406
|
+
| **getAllWhatsOnDTO** | **GetAllWhatsOnDTO**| | |
|
|
467
407
|
|
|
468
408
|
|
|
469
409
|
### Return type
|
|
470
410
|
|
|
471
|
-
**
|
|
411
|
+
**WhatsOnResponseDTO**
|
|
472
412
|
|
|
473
413
|
### Authorization
|
|
474
414
|
|
|
475
|
-
|
|
415
|
+
No authorization required
|
|
476
416
|
|
|
477
417
|
### HTTP request headers
|
|
478
418
|
|
|
479
|
-
- **Content-Type**:
|
|
419
|
+
- **Content-Type**: application/json
|
|
480
420
|
- **Accept**: application/json
|
|
481
421
|
|
|
482
422
|
|
|
@@ -597,18 +537,11 @@ import {
|
|
|
597
537
|
const configuration = new Configuration();
|
|
598
538
|
const apiInstance = new WhatsOnApi(configuration);
|
|
599
539
|
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
const { status, data } = await apiInstance.whatsOnControllerSponsored(
|
|
603
|
-
businessType
|
|
604
|
-
);
|
|
540
|
+
const { status, data } = await apiInstance.whatsOnControllerSponsored();
|
|
605
541
|
```
|
|
606
542
|
|
|
607
543
|
### Parameters
|
|
608
|
-
|
|
609
|
-
|Name | Type | Description | Notes|
|
|
610
|
-
|------------- | ------------- | ------------- | -------------|
|
|
611
|
-
| **businessType** | [**string**] | | (optional) defaults to undefined|
|
|
544
|
+
This endpoint does not have any parameters.
|
|
612
545
|
|
|
613
546
|
|
|
614
547
|
### Return type
|
package/docs/WhatsOnFindDTO.md
CHANGED
|
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**pageSize** | **number** | | [default to undefined]
|
|
10
10
|
**search** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**venue** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**businessType** | **string** | | [optional] [default to undefined]
|
|
13
12
|
|
|
14
13
|
## Example
|
|
15
14
|
|
|
@@ -21,7 +20,6 @@ const instance: WhatsOnFindDTO = {
|
|
|
21
20
|
pageSize,
|
|
22
21
|
search,
|
|
23
22
|
venue,
|
|
24
|
-
businessType,
|
|
25
23
|
};
|
|
26
24
|
```
|
|
27
25
|
|