@gooday_corp/gooday-api-client 1.3.56 → 1.3.60
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 +7 -0
- package/api.ts +792 -31
- package/docs/BusinessApi.md +206 -0
- 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/ProductResponseDTO.md +22 -0
- 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 +104 -0
- package/docs/WhatsOnFilterDTO.md +40 -0
- package/package.json +1 -1
package/docs/WhatsOnApi.md
CHANGED
|
@@ -7,12 +7,14 @@ 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
|
+
|[**whatsOnControllerFilterWhatsOn**](#whatsoncontrollerfilterwhatson) | **POST** /v1/whats-on/filter/list | |
|
|
10
11
|
|[**whatsOnControllerFindCategoryBaseWhatsOn**](#whatsoncontrollerfindcategorybasewhatson) | **POST** /v1/whats-on/categories/list | |
|
|
11
12
|
|[**whatsOnControllerFindFavoriteWhatOnCount**](#whatsoncontrollerfindfavoritewhatoncount) | **GET** /v1/whats-on/favorite/count/{id} | |
|
|
12
13
|
|[**whatsOnControllerFindFavoriteWhatsOnList**](#whatsoncontrollerfindfavoritewhatsonlist) | **GET** /v1/whats-on/friends/favorite | |
|
|
13
14
|
|[**whatsOnControllerFindMyFavoriteWhatsOnList**](#whatsoncontrollerfindmyfavoritewhatsonlist) | **GET** /v1/whats-on/myfavorite | |
|
|
14
15
|
|[**whatsOnControllerFindWhatsOn**](#whatsoncontrollerfindwhatson) | **POST** /v1/whats-on/list | |
|
|
15
16
|
|[**whatsOnControllerFindWhatsOnById**](#whatsoncontrollerfindwhatsonbyid) | **GET** /v1/whats-on/favorite/{id} | |
|
|
17
|
+
|[**whatsOnControllerGetAllWhatsOn**](#whatsoncontrollergetallwhatson) | **POST** /v1/whats-on/public-list | |
|
|
16
18
|
|[**whatsOnControllerMarkFavoriteWhatsOn**](#whatsoncontrollermarkfavoritewhatson) | **POST** /v1/whats-on/favorite | |
|
|
17
19
|
|[**whatsOnControllerPromotions**](#whatsoncontrollerpromotions) | **GET** /v1/whats-on/promotion | |
|
|
18
20
|
|[**whatsOnControllerSponsored**](#whatsoncontrollersponsored) | **GET** /v1/whats-on/sponsored | |
|
|
@@ -166,6 +168,57 @@ const { status, data } = await apiInstance.whatsOnControllerDiscountCodeApply(
|
|
|
166
168
|
- **Accept**: application/json
|
|
167
169
|
|
|
168
170
|
|
|
171
|
+
### HTTP response details
|
|
172
|
+
| Status code | Description | Response headers |
|
|
173
|
+
|-------------|-------------|------------------|
|
|
174
|
+
|**200** | | - |
|
|
175
|
+
|
|
176
|
+
[[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)
|
|
177
|
+
|
|
178
|
+
# **whatsOnControllerFilterWhatsOn**
|
|
179
|
+
> WhatsOnResponseDTO whatsOnControllerFilterWhatsOn(whatsOnFilterDTO)
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
### Example
|
|
183
|
+
|
|
184
|
+
```typescript
|
|
185
|
+
import {
|
|
186
|
+
WhatsOnApi,
|
|
187
|
+
Configuration,
|
|
188
|
+
WhatsOnFilterDTO
|
|
189
|
+
} from './api';
|
|
190
|
+
|
|
191
|
+
const configuration = new Configuration();
|
|
192
|
+
const apiInstance = new WhatsOnApi(configuration);
|
|
193
|
+
|
|
194
|
+
let whatsOnFilterDTO: WhatsOnFilterDTO; //
|
|
195
|
+
|
|
196
|
+
const { status, data } = await apiInstance.whatsOnControllerFilterWhatsOn(
|
|
197
|
+
whatsOnFilterDTO
|
|
198
|
+
);
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Parameters
|
|
202
|
+
|
|
203
|
+
|Name | Type | Description | Notes|
|
|
204
|
+
|------------- | ------------- | ------------- | -------------|
|
|
205
|
+
| **whatsOnFilterDTO** | **WhatsOnFilterDTO**| | |
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
### Return type
|
|
209
|
+
|
|
210
|
+
**WhatsOnResponseDTO**
|
|
211
|
+
|
|
212
|
+
### Authorization
|
|
213
|
+
|
|
214
|
+
[bearer](../README.md#bearer)
|
|
215
|
+
|
|
216
|
+
### HTTP request headers
|
|
217
|
+
|
|
218
|
+
- **Content-Type**: application/json
|
|
219
|
+
- **Accept**: application/json
|
|
220
|
+
|
|
221
|
+
|
|
169
222
|
### HTTP response details
|
|
170
223
|
| Status code | Description | Response headers |
|
|
171
224
|
|-------------|-------------|------------------|
|
|
@@ -480,6 +533,57 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOnById(
|
|
|
480
533
|
- **Accept**: application/json
|
|
481
534
|
|
|
482
535
|
|
|
536
|
+
### HTTP response details
|
|
537
|
+
| Status code | Description | Response headers |
|
|
538
|
+
|-------------|-------------|------------------|
|
|
539
|
+
|**200** | | - |
|
|
540
|
+
|
|
541
|
+
[[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)
|
|
542
|
+
|
|
543
|
+
# **whatsOnControllerGetAllWhatsOn**
|
|
544
|
+
> WhatsOnResponseDTO whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO)
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
### Example
|
|
548
|
+
|
|
549
|
+
```typescript
|
|
550
|
+
import {
|
|
551
|
+
WhatsOnApi,
|
|
552
|
+
Configuration,
|
|
553
|
+
GetAllWhatsOnDTO
|
|
554
|
+
} from './api';
|
|
555
|
+
|
|
556
|
+
const configuration = new Configuration();
|
|
557
|
+
const apiInstance = new WhatsOnApi(configuration);
|
|
558
|
+
|
|
559
|
+
let getAllWhatsOnDTO: GetAllWhatsOnDTO; //
|
|
560
|
+
|
|
561
|
+
const { status, data } = await apiInstance.whatsOnControllerGetAllWhatsOn(
|
|
562
|
+
getAllWhatsOnDTO
|
|
563
|
+
);
|
|
564
|
+
```
|
|
565
|
+
|
|
566
|
+
### Parameters
|
|
567
|
+
|
|
568
|
+
|Name | Type | Description | Notes|
|
|
569
|
+
|------------- | ------------- | ------------- | -------------|
|
|
570
|
+
| **getAllWhatsOnDTO** | **GetAllWhatsOnDTO**| | |
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
### Return type
|
|
574
|
+
|
|
575
|
+
**WhatsOnResponseDTO**
|
|
576
|
+
|
|
577
|
+
### Authorization
|
|
578
|
+
|
|
579
|
+
No authorization required
|
|
580
|
+
|
|
581
|
+
### HTTP request headers
|
|
582
|
+
|
|
583
|
+
- **Content-Type**: application/json
|
|
584
|
+
- **Accept**: application/json
|
|
585
|
+
|
|
586
|
+
|
|
483
587
|
### HTTP response details
|
|
484
588
|
| Status code | Description | Response headers |
|
|
485
589
|
|-------------|-------------|------------------|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# WhatsOnFilterDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**page** | **number** | | [default to undefined]
|
|
9
|
+
**pageSize** | **number** | | [default to undefined]
|
|
10
|
+
**search** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**category** | **Array<string>** | | [optional] [default to undefined]
|
|
12
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**date** | **string** | Start date for the events | [default to undefined]
|
|
14
|
+
**from** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**to** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**distance** | **number** | | [optional] [default to undefined]
|
|
17
|
+
**minPrice** | **number** | Minimum price filter | [optional] [default to undefined]
|
|
18
|
+
**maxPrice** | **number** | Maximum price filter | [optional] [default to undefined]
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { WhatsOnFilterDTO } from './api';
|
|
24
|
+
|
|
25
|
+
const instance: WhatsOnFilterDTO = {
|
|
26
|
+
page,
|
|
27
|
+
pageSize,
|
|
28
|
+
search,
|
|
29
|
+
category,
|
|
30
|
+
type,
|
|
31
|
+
date,
|
|
32
|
+
from,
|
|
33
|
+
to,
|
|
34
|
+
distance,
|
|
35
|
+
minPrice,
|
|
36
|
+
maxPrice,
|
|
37
|
+
};
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|