@gooday_corp/gooday-api-client 1.3.49 → 1.3.51

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.
@@ -7,11 +7,12 @@ 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 | |
10
11
  |[**whatsOnControllerFindFavoriteWhatOnCount**](#whatsoncontrollerfindfavoritewhatoncount) | **GET** /v1/whats-on/favorite/count/{id} | |
11
12
  |[**whatsOnControllerFindFavoriteWhatsOnList**](#whatsoncontrollerfindfavoritewhatsonlist) | **GET** /v1/whats-on/friends/favorite | |
13
+ |[**whatsOnControllerFindMyFavoriteWhatsOnList**](#whatsoncontrollerfindmyfavoritewhatsonlist) | **GET** /v1/whats-on/myfavorite | |
12
14
  |[**whatsOnControllerFindWhatsOn**](#whatsoncontrollerfindwhatson) | **POST** /v1/whats-on/list | |
13
15
  |[**whatsOnControllerFindWhatsOnById**](#whatsoncontrollerfindwhatsonbyid) | **GET** /v1/whats-on/favorite/{id} | |
14
- |[**whatsOnControllerGetAllWhatsOn**](#whatsoncontrollergetallwhatson) | **POST** /v1/whats-on/public-list | |
15
16
  |[**whatsOnControllerMarkFavoriteWhatsOn**](#whatsoncontrollermarkfavoritewhatson) | **POST** /v1/whats-on/favorite | |
16
17
  |[**whatsOnControllerPromotions**](#whatsoncontrollerpromotions) | **GET** /v1/whats-on/promotion | |
17
18
  |[**whatsOnControllerSponsored**](#whatsoncontrollersponsored) | **GET** /v1/whats-on/sponsored | |
@@ -165,6 +166,57 @@ const { status, data } = await apiInstance.whatsOnControllerDiscountCodeApply(
165
166
  - **Accept**: application/json
166
167
 
167
168
 
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
+
168
220
  ### HTTP response details
169
221
  | Status code | Description | Response headers |
170
222
  |-------------|-------------|------------------|
@@ -239,10 +291,12 @@ const apiInstance = new WhatsOnApi(configuration);
239
291
 
240
292
  let page: number; // (default to undefined)
241
293
  let limit: number; // (default to undefined)
294
+ let category: string; // (optional) (default to undefined)
242
295
 
243
296
  const { status, data } = await apiInstance.whatsOnControllerFindFavoriteWhatsOnList(
244
297
  page,
245
- limit
298
+ limit,
299
+ category
246
300
  );
247
301
  ```
248
302
 
@@ -252,6 +306,7 @@ const { status, data } = await apiInstance.whatsOnControllerFindFavoriteWhatsOnL
252
306
  |------------- | ------------- | ------------- | -------------|
253
307
  | **page** | [**number**] | | defaults to undefined|
254
308
  | **limit** | [**number**] | | defaults to undefined|
309
+ | **category** | [**string**] | | (optional) defaults to undefined|
255
310
 
256
311
 
257
312
  ### Return type
@@ -275,8 +330,8 @@ const { status, data } = await apiInstance.whatsOnControllerFindFavoriteWhatsOnL
275
330
 
276
331
  [[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)
277
332
 
278
- # **whatsOnControllerFindWhatsOn**
279
- > WhatsOnResponseDTO whatsOnControllerFindWhatsOn(whatsOnFindDTO)
333
+ # **whatsOnControllerFindMyFavoriteWhatsOnList**
334
+ > WhatsOnFavoriteListResponseDTO whatsOnControllerFindMyFavoriteWhatsOnList()
280
335
 
281
336
 
282
337
  ### Example
@@ -284,17 +339,20 @@ const { status, data } = await apiInstance.whatsOnControllerFindFavoriteWhatsOnL
284
339
  ```typescript
285
340
  import {
286
341
  WhatsOnApi,
287
- Configuration,
288
- WhatsOnFindDTO
342
+ Configuration
289
343
  } from './api';
290
344
 
291
345
  const configuration = new Configuration();
292
346
  const apiInstance = new WhatsOnApi(configuration);
293
347
 
294
- let whatsOnFindDTO: WhatsOnFindDTO; //
348
+ let page: number; // (default to undefined)
349
+ let limit: number; // (default to undefined)
350
+ let category: string; // (optional) (default to undefined)
295
351
 
296
- const { status, data } = await apiInstance.whatsOnControllerFindWhatsOn(
297
- whatsOnFindDTO
352
+ const { status, data } = await apiInstance.whatsOnControllerFindMyFavoriteWhatsOnList(
353
+ page,
354
+ limit,
355
+ category
298
356
  );
299
357
  ```
300
358
 
@@ -302,12 +360,14 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOn(
302
360
 
303
361
  |Name | Type | Description | Notes|
304
362
  |------------- | ------------- | ------------- | -------------|
305
- | **whatsOnFindDTO** | **WhatsOnFindDTO**| | |
363
+ | **page** | [**number**] | | defaults to undefined|
364
+ | **limit** | [**number**] | | defaults to undefined|
365
+ | **category** | [**string**] | | (optional) defaults to undefined|
306
366
 
307
367
 
308
368
  ### Return type
309
369
 
310
- **WhatsOnResponseDTO**
370
+ **WhatsOnFavoriteListResponseDTO**
311
371
 
312
372
  ### Authorization
313
373
 
@@ -315,7 +375,7 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOn(
315
375
 
316
376
  ### HTTP request headers
317
377
 
318
- - **Content-Type**: application/json
378
+ - **Content-Type**: Not defined
319
379
  - **Accept**: application/json
320
380
 
321
381
 
@@ -326,8 +386,8 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOn(
326
386
 
327
387
  [[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)
328
388
 
329
- # **whatsOnControllerFindWhatsOnById**
330
- > WhatsOnFavoriteResponseDTO whatsOnControllerFindWhatsOnById()
389
+ # **whatsOnControllerFindWhatsOn**
390
+ > WhatsOnResponseDTO whatsOnControllerFindWhatsOn(whatsOnFindDTO)
331
391
 
332
392
 
333
393
  ### Example
@@ -335,16 +395,17 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOn(
335
395
  ```typescript
336
396
  import {
337
397
  WhatsOnApi,
338
- Configuration
398
+ Configuration,
399
+ WhatsOnFindDTO
339
400
  } from './api';
340
401
 
341
402
  const configuration = new Configuration();
342
403
  const apiInstance = new WhatsOnApi(configuration);
343
404
 
344
- let id: string; // (default to undefined)
405
+ let whatsOnFindDTO: WhatsOnFindDTO; //
345
406
 
346
- const { status, data } = await apiInstance.whatsOnControllerFindWhatsOnById(
347
- id
407
+ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOn(
408
+ whatsOnFindDTO
348
409
  );
349
410
  ```
350
411
 
@@ -352,12 +413,12 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOnById(
352
413
 
353
414
  |Name | Type | Description | Notes|
354
415
  |------------- | ------------- | ------------- | -------------|
355
- | **id** | [**string**] | | defaults to undefined|
416
+ | **whatsOnFindDTO** | **WhatsOnFindDTO**| | |
356
417
 
357
418
 
358
419
  ### Return type
359
420
 
360
- **WhatsOnFavoriteResponseDTO**
421
+ **WhatsOnResponseDTO**
361
422
 
362
423
  ### Authorization
363
424
 
@@ -365,7 +426,7 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOnById(
365
426
 
366
427
  ### HTTP request headers
367
428
 
368
- - **Content-Type**: Not defined
429
+ - **Content-Type**: application/json
369
430
  - **Accept**: application/json
370
431
 
371
432
 
@@ -376,8 +437,8 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOnById(
376
437
 
377
438
  [[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)
378
439
 
379
- # **whatsOnControllerGetAllWhatsOn**
380
- > WhatsOnResponseDTO whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO)
440
+ # **whatsOnControllerFindWhatsOnById**
441
+ > WhatsOnFavoriteResponseDTO whatsOnControllerFindWhatsOnById()
381
442
 
382
443
 
383
444
  ### Example
@@ -385,17 +446,16 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOnById(
385
446
  ```typescript
386
447
  import {
387
448
  WhatsOnApi,
388
- Configuration,
389
- GetAllWhatsOnDTO
449
+ Configuration
390
450
  } from './api';
391
451
 
392
452
  const configuration = new Configuration();
393
453
  const apiInstance = new WhatsOnApi(configuration);
394
454
 
395
- let getAllWhatsOnDTO: GetAllWhatsOnDTO; //
455
+ let id: string; // (default to undefined)
396
456
 
397
- const { status, data } = await apiInstance.whatsOnControllerGetAllWhatsOn(
398
- getAllWhatsOnDTO
457
+ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOnById(
458
+ id
399
459
  );
400
460
  ```
401
461
 
@@ -403,20 +463,20 @@ const { status, data } = await apiInstance.whatsOnControllerGetAllWhatsOn(
403
463
 
404
464
  |Name | Type | Description | Notes|
405
465
  |------------- | ------------- | ------------- | -------------|
406
- | **getAllWhatsOnDTO** | **GetAllWhatsOnDTO**| | |
466
+ | **id** | [**string**] | | defaults to undefined|
407
467
 
408
468
 
409
469
  ### Return type
410
470
 
411
- **WhatsOnResponseDTO**
471
+ **WhatsOnFavoriteResponseDTO**
412
472
 
413
473
  ### Authorization
414
474
 
415
- No authorization required
475
+ [bearer](../README.md#bearer)
416
476
 
417
477
  ### HTTP request headers
418
478
 
419
- - **Content-Type**: application/json
479
+ - **Content-Type**: Not defined
420
480
  - **Accept**: application/json
421
481
 
422
482
 
@@ -537,11 +597,30 @@ import {
537
597
  const configuration = new Configuration();
538
598
  const apiInstance = new WhatsOnApi(configuration);
539
599
 
540
- const { status, data } = await apiInstance.whatsOnControllerSponsored();
600
+ let page: number; // (default to undefined)
601
+ let pageSize: number; // (default to undefined)
602
+ let search: string; // (optional) (default to undefined)
603
+ let venue: string; // (optional) (default to undefined)
604
+ let businessType: string; // (optional) (default to undefined)
605
+
606
+ const { status, data } = await apiInstance.whatsOnControllerSponsored(
607
+ page,
608
+ pageSize,
609
+ search,
610
+ venue,
611
+ businessType
612
+ );
541
613
  ```
542
614
 
543
615
  ### Parameters
544
- This endpoint does not have any parameters.
616
+
617
+ |Name | Type | Description | Notes|
618
+ |------------- | ------------- | ------------- | -------------|
619
+ | **page** | [**number**] | | defaults to undefined|
620
+ | **pageSize** | [**number**] | | defaults to undefined|
621
+ | **search** | [**string**] | | (optional) defaults to undefined|
622
+ | **venue** | [**string**] | | (optional) defaults to undefined|
623
+ | **businessType** | [**string**] | | (optional) defaults to undefined|
545
624
 
546
625
 
547
626
  ### Return type
@@ -9,6 +9,7 @@ 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]
12
13
 
13
14
  ## Example
14
15
 
@@ -20,6 +21,7 @@ const instance: WhatsOnFindDTO = {
20
21
  pageSize,
21
22
  search,
22
23
  venue,
24
+ businessType,
23
25
  };
24
26
  ```
25
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.3.49",
3
+ "version": "1.3.51",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},
@@ -1,28 +0,0 @@
1
- # GetAllVenueDto
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **search** | **string** | Business name search | [optional] [default to undefined]
9
- **page** | **number** | Page number for pagination | [optional] [default to undefined]
10
- **limit** | **number** | Number of items per page for pagination | [optional] [default to undefined]
11
- **people** | **number** | | [optional] [default to undefined]
12
- **coordinates** | **Array<number>** | | [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { GetAllVenueDto } from './api';
18
-
19
- const instance: GetAllVenueDto = {
20
- search,
21
- page,
22
- limit,
23
- people,
24
- coordinates,
25
- };
26
- ```
27
-
28
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,34 +0,0 @@
1
- # GetAllWhatsOnDTO
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
- **date** | **string** | | [optional] [default to undefined]
12
- **toTime** | **string** | | [optional] [default to undefined]
13
- **coordinates** | **Array<number>** | | [optional] [default to undefined]
14
- **capacity** | **number** | | [optional] [default to undefined]
15
- **venue** | **string** | | [optional] [default to undefined]
16
-
17
- ## Example
18
-
19
- ```typescript
20
- import { GetAllWhatsOnDTO } from './api';
21
-
22
- const instance: GetAllWhatsOnDTO = {
23
- page,
24
- pageSize,
25
- search,
26
- date,
27
- toTime,
28
- coordinates,
29
- capacity,
30
- venue,
31
- };
32
- ```
33
-
34
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,22 +0,0 @@
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)