@gooday_corp/gooday-api-client 1.3.47 → 1.3.49
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 +4 -0
- package/api.ts +540 -26
- package/docs/BusinessApi.md +155 -0
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/CreatePaymentLinkDTO.md +2 -10
- 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/VenueResponseDTO.md +22 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnApi.md +52 -0
- package/package.json +1 -1
package/docs/BusinessApi.md
CHANGED
|
@@ -12,12 +12,15 @@ All URIs are relative to *http://localhost:8080*
|
|
|
12
12
|
|[**businessStaffControllerDeleteStaff**](#businessstaffcontrollerdeletestaff) | **DELETE** /v1/business-staff/{id} | |
|
|
13
13
|
|[**businessStaffControllerFindBusinessStaffs**](#businessstaffcontrollerfindbusinessstaffs) | **POST** /v1/business-staff/list | |
|
|
14
14
|
|[**businessStaffControllerFindByIdBusinessStaff**](#businessstaffcontrollerfindbyidbusinessstaff) | **GET** /v1/business-staff/{id} | |
|
|
15
|
+
|[**businessStaffControllerFindVenueStaffs**](#businessstaffcontrollerfindvenuestaffs) | **POST** /v1/business-staff/public-list | |
|
|
15
16
|
|[**businessStaffControllerSaveBusinessStaff**](#businessstaffcontrollersavebusinessstaff) | **POST** /v1/business-staff | |
|
|
16
17
|
|[**businessStaffControllerUpdateStaff**](#businessstaffcontrollerupdatestaff) | **PUT** /v1/business-staff/{id} | |
|
|
17
18
|
|[**businessTypeControllerFindFavoriteBusinessVenue**](#businesstypecontrollerfindfavoritebusinessvenue) | **GET** /v1/business/favorite/{id} | |
|
|
18
19
|
|[**businessTypeControllerFindFavoriteBusinessVenueCount**](#businesstypecontrollerfindfavoritebusinessvenuecount) | **GET** /v1/business/favorite/count/{id} | |
|
|
19
20
|
|[**businessTypeControllerFindFriendsFavoriteBusinessVenueList**](#businesstypecontrollerfindfriendsfavoritebusinessvenuelist) | **POST** /v1/business/friends/favorite | |
|
|
21
|
+
|[**businessTypeControllerGetAllVenue**](#businesstypecontrollergetallvenue) | **POST** /v1/business/venues | |
|
|
20
22
|
|[**businessTypeControllerGetBusinessVenue**](#businesstypecontrollergetbusinessvenue) | **POST** /v1/business/business-venue | |
|
|
23
|
+
|[**businessTypeControllerGetVenueById**](#businesstypecontrollergetvenuebyid) | **POST** /v1/business/venue/{id} | |
|
|
21
24
|
|[**businessTypeControllerHighlyRecommended**](#businesstypecontrollerhighlyrecommended) | **GET** /v1/business/highlyRecommended | |
|
|
22
25
|
|[**businessTypeControllerListAllCategories**](#businesstypecontrollerlistallcategories) | **GET** /v1/business/categories | |
|
|
23
26
|
|[**businessTypeControllerListBookingDurations**](#businesstypecontrollerlistbookingdurations) | **GET** /v1/business/booking-durations | |
|
|
@@ -414,6 +417,57 @@ const { status, data } = await apiInstance.businessStaffControllerFindByIdBusine
|
|
|
414
417
|
- **Accept**: application/json
|
|
415
418
|
|
|
416
419
|
|
|
420
|
+
### HTTP response details
|
|
421
|
+
| Status code | Description | Response headers |
|
|
422
|
+
|-------------|-------------|------------------|
|
|
423
|
+
|**200** | | - |
|
|
424
|
+
|
|
425
|
+
[[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)
|
|
426
|
+
|
|
427
|
+
# **businessStaffControllerFindVenueStaffs**
|
|
428
|
+
> BusinessStaffsResponseDTO businessStaffControllerFindVenueStaffs(findBusinessStaff)
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
### Example
|
|
432
|
+
|
|
433
|
+
```typescript
|
|
434
|
+
import {
|
|
435
|
+
BusinessApi,
|
|
436
|
+
Configuration,
|
|
437
|
+
FindBusinessStaff
|
|
438
|
+
} from './api';
|
|
439
|
+
|
|
440
|
+
const configuration = new Configuration();
|
|
441
|
+
const apiInstance = new BusinessApi(configuration);
|
|
442
|
+
|
|
443
|
+
let findBusinessStaff: FindBusinessStaff; //
|
|
444
|
+
|
|
445
|
+
const { status, data } = await apiInstance.businessStaffControllerFindVenueStaffs(
|
|
446
|
+
findBusinessStaff
|
|
447
|
+
);
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
### Parameters
|
|
451
|
+
|
|
452
|
+
|Name | Type | Description | Notes|
|
|
453
|
+
|------------- | ------------- | ------------- | -------------|
|
|
454
|
+
| **findBusinessStaff** | **FindBusinessStaff**| | |
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
### Return type
|
|
458
|
+
|
|
459
|
+
**BusinessStaffsResponseDTO**
|
|
460
|
+
|
|
461
|
+
### Authorization
|
|
462
|
+
|
|
463
|
+
No authorization required
|
|
464
|
+
|
|
465
|
+
### HTTP request headers
|
|
466
|
+
|
|
467
|
+
- **Content-Type**: application/json
|
|
468
|
+
- **Accept**: application/json
|
|
469
|
+
|
|
470
|
+
|
|
417
471
|
### HTTP response details
|
|
418
472
|
| Status code | Description | Response headers |
|
|
419
473
|
|-------------|-------------|------------------|
|
|
@@ -670,6 +724,57 @@ const { status, data } = await apiInstance.businessTypeControllerFindFriendsFavo
|
|
|
670
724
|
- **Accept**: application/json
|
|
671
725
|
|
|
672
726
|
|
|
727
|
+
### HTTP response details
|
|
728
|
+
| Status code | Description | Response headers |
|
|
729
|
+
|-------------|-------------|------------------|
|
|
730
|
+
|**200** | | - |
|
|
731
|
+
|
|
732
|
+
[[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)
|
|
733
|
+
|
|
734
|
+
# **businessTypeControllerGetAllVenue**
|
|
735
|
+
> BusinessVenueResponseDTO businessTypeControllerGetAllVenue(getAllVenueDto)
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
### Example
|
|
739
|
+
|
|
740
|
+
```typescript
|
|
741
|
+
import {
|
|
742
|
+
BusinessApi,
|
|
743
|
+
Configuration,
|
|
744
|
+
GetAllVenueDto
|
|
745
|
+
} from './api';
|
|
746
|
+
|
|
747
|
+
const configuration = new Configuration();
|
|
748
|
+
const apiInstance = new BusinessApi(configuration);
|
|
749
|
+
|
|
750
|
+
let getAllVenueDto: GetAllVenueDto; //
|
|
751
|
+
|
|
752
|
+
const { status, data } = await apiInstance.businessTypeControllerGetAllVenue(
|
|
753
|
+
getAllVenueDto
|
|
754
|
+
);
|
|
755
|
+
```
|
|
756
|
+
|
|
757
|
+
### Parameters
|
|
758
|
+
|
|
759
|
+
|Name | Type | Description | Notes|
|
|
760
|
+
|------------- | ------------- | ------------- | -------------|
|
|
761
|
+
| **getAllVenueDto** | **GetAllVenueDto**| | |
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
### Return type
|
|
765
|
+
|
|
766
|
+
**BusinessVenueResponseDTO**
|
|
767
|
+
|
|
768
|
+
### Authorization
|
|
769
|
+
|
|
770
|
+
No authorization required
|
|
771
|
+
|
|
772
|
+
### HTTP request headers
|
|
773
|
+
|
|
774
|
+
- **Content-Type**: application/json
|
|
775
|
+
- **Accept**: application/json
|
|
776
|
+
|
|
777
|
+
|
|
673
778
|
### HTTP response details
|
|
674
779
|
| Status code | Description | Response headers |
|
|
675
780
|
|-------------|-------------|------------------|
|
|
@@ -721,6 +826,56 @@ const { status, data } = await apiInstance.businessTypeControllerGetBusinessVenu
|
|
|
721
826
|
- **Accept**: application/json
|
|
722
827
|
|
|
723
828
|
|
|
829
|
+
### HTTP response details
|
|
830
|
+
| Status code | Description | Response headers |
|
|
831
|
+
|-------------|-------------|------------------|
|
|
832
|
+
|**200** | | - |
|
|
833
|
+
|
|
834
|
+
[[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)
|
|
835
|
+
|
|
836
|
+
# **businessTypeControllerGetVenueById**
|
|
837
|
+
> VenueResponseDTO businessTypeControllerGetVenueById()
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
### Example
|
|
841
|
+
|
|
842
|
+
```typescript
|
|
843
|
+
import {
|
|
844
|
+
BusinessApi,
|
|
845
|
+
Configuration
|
|
846
|
+
} from './api';
|
|
847
|
+
|
|
848
|
+
const configuration = new Configuration();
|
|
849
|
+
const apiInstance = new BusinessApi(configuration);
|
|
850
|
+
|
|
851
|
+
let id: string; // (default to undefined)
|
|
852
|
+
|
|
853
|
+
const { status, data } = await apiInstance.businessTypeControllerGetVenueById(
|
|
854
|
+
id
|
|
855
|
+
);
|
|
856
|
+
```
|
|
857
|
+
|
|
858
|
+
### Parameters
|
|
859
|
+
|
|
860
|
+
|Name | Type | Description | Notes|
|
|
861
|
+
|------------- | ------------- | ------------- | -------------|
|
|
862
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
### Return type
|
|
866
|
+
|
|
867
|
+
**VenueResponseDTO**
|
|
868
|
+
|
|
869
|
+
### Authorization
|
|
870
|
+
|
|
871
|
+
No authorization required
|
|
872
|
+
|
|
873
|
+
### HTTP request headers
|
|
874
|
+
|
|
875
|
+
- **Content-Type**: Not defined
|
|
876
|
+
- **Accept**: application/json
|
|
877
|
+
|
|
878
|
+
|
|
724
879
|
### HTTP response details
|
|
725
880
|
| Status code | Description | Response headers |
|
|
726
881
|
|-------------|-------------|------------------|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**title** | **string** | The title of the booking | [default to 'Default Booking Title']
|
|
9
|
-
**date** | **string** | The start date of the booking | [default to 2025-05-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-05-07T15:23:06+05:30]
|
|
10
10
|
**from** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**to** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**venue** | **string** | The venue of the booking | [default to undefined]
|
|
@@ -5,11 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**interval** | **string** | Recurring interval for the payment | [default to undefined]
|
|
10
|
-
**amount** | **number** | Amount to be charged in the smallest currency unit (e.g., cents for USD) | [default to undefined]
|
|
11
|
-
**name** | **string** | Name of the product or service for which payment is being made | [default to undefined]
|
|
12
|
-
**user** | **string** | User Id | [default to undefined]
|
|
8
|
+
**productID** | **string** | Product ID | [default to undefined]
|
|
13
9
|
|
|
14
10
|
## Example
|
|
15
11
|
|
|
@@ -17,11 +13,7 @@ Name | Type | Description | Notes
|
|
|
17
13
|
import { CreatePaymentLinkDTO } from './api';
|
|
18
14
|
|
|
19
15
|
const instance: CreatePaymentLinkDTO = {
|
|
20
|
-
|
|
21
|
-
interval,
|
|
22
|
-
amount,
|
|
23
|
-
name,
|
|
24
|
-
user,
|
|
16
|
+
productID,
|
|
25
17
|
};
|
|
26
18
|
```
|
|
27
19
|
|
|
@@ -0,0 +1,28 @@
|
|
|
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)
|
|
@@ -0,0 +1,34 @@
|
|
|
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)
|
package/docs/PlansApi.md
CHANGED
|
@@ -11,6 +11,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
11
11
|
|[**paymentControllerGetPlans**](#paymentcontrollergetplans) | **GET** /v1/payment/plans | |
|
|
12
12
|
|[**paymentControllerRetrieveConnectedAccount**](#paymentcontrollerretrieveconnectedaccount) | **GET** /v1/payment/connected-account | |
|
|
13
13
|
|[**paymentControllerRevenueCatWebhook**](#paymentcontrollerrevenuecatwebhook) | **POST** /v1/payment/revenuecat-webhook | |
|
|
14
|
+
|[**paymentControllerServiceById**](#paymentcontrollerservicebyid) | **GET** /v1/payment/stripe-plan/{id} | |
|
|
14
15
|
|[**paymentControllerSetupBookingPayment**](#paymentcontrollersetupbookingpayment) | **POST** /v1/payment/booking | |
|
|
15
16
|
|[**paymentControllerStripeWebhook**](#paymentcontrollerstripewebhook) | **POST** /v1/payment/stripe-webhook | |
|
|
16
17
|
|
|
@@ -136,7 +137,7 @@ void (empty response body)
|
|
|
136
137
|
|
|
137
138
|
### Authorization
|
|
138
139
|
|
|
139
|
-
|
|
140
|
+
[bearer](../README.md#bearer)
|
|
140
141
|
|
|
141
142
|
### HTTP request headers
|
|
142
143
|
|
|
@@ -323,6 +324,56 @@ No authorization required
|
|
|
323
324
|
|
|
324
325
|
[[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)
|
|
325
326
|
|
|
327
|
+
# **paymentControllerServiceById**
|
|
328
|
+
> ProductResponseDTO paymentControllerServiceById()
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
### Example
|
|
332
|
+
|
|
333
|
+
```typescript
|
|
334
|
+
import {
|
|
335
|
+
PlansApi,
|
|
336
|
+
Configuration
|
|
337
|
+
} from './api';
|
|
338
|
+
|
|
339
|
+
const configuration = new Configuration();
|
|
340
|
+
const apiInstance = new PlansApi(configuration);
|
|
341
|
+
|
|
342
|
+
let id: string; // (default to undefined)
|
|
343
|
+
|
|
344
|
+
const { status, data } = await apiInstance.paymentControllerServiceById(
|
|
345
|
+
id
|
|
346
|
+
);
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
### Parameters
|
|
350
|
+
|
|
351
|
+
|Name | Type | Description | Notes|
|
|
352
|
+
|------------- | ------------- | ------------- | -------------|
|
|
353
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
### Return type
|
|
357
|
+
|
|
358
|
+
**ProductResponseDTO**
|
|
359
|
+
|
|
360
|
+
### Authorization
|
|
361
|
+
|
|
362
|
+
No authorization required
|
|
363
|
+
|
|
364
|
+
### HTTP request headers
|
|
365
|
+
|
|
366
|
+
- **Content-Type**: Not defined
|
|
367
|
+
- **Accept**: application/json
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
### HTTP response details
|
|
371
|
+
| Status code | Description | Response headers |
|
|
372
|
+
|-------------|-------------|------------------|
|
|
373
|
+
|**200** | | - |
|
|
374
|
+
|
|
375
|
+
[[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)
|
|
376
|
+
|
|
326
377
|
# **paymentControllerSetupBookingPayment**
|
|
327
378
|
> BookingPaymentCreateResponseDTO paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO)
|
|
328
379
|
|
|
@@ -9,6 +9,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
9
9
|
|[**prepaidServiceControllerDeleteService**](#prepaidservicecontrollerdeleteservice) | **PUT** /v1/prepaid-service/delete/{id} | |
|
|
10
10
|
|[**prepaidServiceControllerDiscountCodeApply**](#prepaidservicecontrollerdiscountcodeapply) | **POST** /v1/prepaid-service/discount | |
|
|
11
11
|
|[**prepaidServiceControllerFindService**](#prepaidservicecontrollerfindservice) | **POST** /v1/prepaid-service/list | |
|
|
12
|
+
|[**prepaidServiceControllerFindServiceByVenue**](#prepaidservicecontrollerfindservicebyvenue) | **POST** /v1/prepaid-service/public-list | |
|
|
12
13
|
|[**prepaidServiceControllerPrepaidServiceAvailability**](#prepaidservicecontrollerprepaidserviceavailability) | **POST** /v1/prepaid-service/availability | |
|
|
13
14
|
|[**prepaidServiceControllerServiceById**](#prepaidservicecontrollerservicebyid) | **GET** /v1/prepaid-service/{id} | |
|
|
14
15
|
|[**prepaidServiceControllerUpdateTagById**](#prepaidservicecontrollerupdatetagbyid) | **PUT** /v1/prepaid-service/{id} | |
|
|
@@ -252,6 +253,57 @@ const { status, data } = await apiInstance.prepaidServiceControllerFindService(
|
|
|
252
253
|
- **Accept**: application/json
|
|
253
254
|
|
|
254
255
|
|
|
256
|
+
### HTTP response details
|
|
257
|
+
| Status code | Description | Response headers |
|
|
258
|
+
|-------------|-------------|------------------|
|
|
259
|
+
|**200** | | - |
|
|
260
|
+
|
|
261
|
+
[[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)
|
|
262
|
+
|
|
263
|
+
# **prepaidServiceControllerFindServiceByVenue**
|
|
264
|
+
> PrepaidServiceResponseDTO prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO)
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
### Example
|
|
268
|
+
|
|
269
|
+
```typescript
|
|
270
|
+
import {
|
|
271
|
+
PrepaidServiceApi,
|
|
272
|
+
Configuration,
|
|
273
|
+
PrepaidServiceFindDTO
|
|
274
|
+
} from './api';
|
|
275
|
+
|
|
276
|
+
const configuration = new Configuration();
|
|
277
|
+
const apiInstance = new PrepaidServiceApi(configuration);
|
|
278
|
+
|
|
279
|
+
let prepaidServiceFindDTO: PrepaidServiceFindDTO; //
|
|
280
|
+
|
|
281
|
+
const { status, data } = await apiInstance.prepaidServiceControllerFindServiceByVenue(
|
|
282
|
+
prepaidServiceFindDTO
|
|
283
|
+
);
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
### Parameters
|
|
287
|
+
|
|
288
|
+
|Name | Type | Description | Notes|
|
|
289
|
+
|------------- | ------------- | ------------- | -------------|
|
|
290
|
+
| **prepaidServiceFindDTO** | **PrepaidServiceFindDTO**| | |
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
### Return type
|
|
294
|
+
|
|
295
|
+
**PrepaidServiceResponseDTO**
|
|
296
|
+
|
|
297
|
+
### Authorization
|
|
298
|
+
|
|
299
|
+
No authorization required
|
|
300
|
+
|
|
301
|
+
### HTTP request headers
|
|
302
|
+
|
|
303
|
+
- **Content-Type**: application/json
|
|
304
|
+
- **Accept**: application/json
|
|
305
|
+
|
|
306
|
+
|
|
255
307
|
### HTTP response details
|
|
256
308
|
| Status code | Description | Response headers |
|
|
257
309
|
|-------------|-------------|------------------|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ProductResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | **object** | | [default to undefined]
|
|
9
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ProductResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: ProductResponseDTO = {
|
|
17
|
+
data,
|
|
18
|
+
statusCode,
|
|
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,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-07T15:23:06+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
|
+
# 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-07T15:23:06+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-07T16:23:06+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
|
@@ -11,6 +11,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
11
11
|
|[**whatsOnControllerFindFavoriteWhatsOnList**](#whatsoncontrollerfindfavoritewhatsonlist) | **GET** /v1/whats-on/friends/favorite | |
|
|
12
12
|
|[**whatsOnControllerFindWhatsOn**](#whatsoncontrollerfindwhatson) | **POST** /v1/whats-on/list | |
|
|
13
13
|
|[**whatsOnControllerFindWhatsOnById**](#whatsoncontrollerfindwhatsonbyid) | **GET** /v1/whats-on/favorite/{id} | |
|
|
14
|
+
|[**whatsOnControllerGetAllWhatsOn**](#whatsoncontrollergetallwhatson) | **POST** /v1/whats-on/public-list | |
|
|
14
15
|
|[**whatsOnControllerMarkFavoriteWhatsOn**](#whatsoncontrollermarkfavoritewhatson) | **POST** /v1/whats-on/favorite | |
|
|
15
16
|
|[**whatsOnControllerPromotions**](#whatsoncontrollerpromotions) | **GET** /v1/whats-on/promotion | |
|
|
16
17
|
|[**whatsOnControllerSponsored**](#whatsoncontrollersponsored) | **GET** /v1/whats-on/sponsored | |
|
|
@@ -368,6 +369,57 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOnById(
|
|
|
368
369
|
- **Accept**: application/json
|
|
369
370
|
|
|
370
371
|
|
|
372
|
+
### HTTP response details
|
|
373
|
+
| Status code | Description | Response headers |
|
|
374
|
+
|-------------|-------------|------------------|
|
|
375
|
+
|**200** | | - |
|
|
376
|
+
|
|
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)
|
|
378
|
+
|
|
379
|
+
# **whatsOnControllerGetAllWhatsOn**
|
|
380
|
+
> WhatsOnResponseDTO whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO)
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
### Example
|
|
384
|
+
|
|
385
|
+
```typescript
|
|
386
|
+
import {
|
|
387
|
+
WhatsOnApi,
|
|
388
|
+
Configuration,
|
|
389
|
+
GetAllWhatsOnDTO
|
|
390
|
+
} from './api';
|
|
391
|
+
|
|
392
|
+
const configuration = new Configuration();
|
|
393
|
+
const apiInstance = new WhatsOnApi(configuration);
|
|
394
|
+
|
|
395
|
+
let getAllWhatsOnDTO: GetAllWhatsOnDTO; //
|
|
396
|
+
|
|
397
|
+
const { status, data } = await apiInstance.whatsOnControllerGetAllWhatsOn(
|
|
398
|
+
getAllWhatsOnDTO
|
|
399
|
+
);
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
### Parameters
|
|
403
|
+
|
|
404
|
+
|Name | Type | Description | Notes|
|
|
405
|
+
|------------- | ------------- | ------------- | -------------|
|
|
406
|
+
| **getAllWhatsOnDTO** | **GetAllWhatsOnDTO**| | |
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
### Return type
|
|
410
|
+
|
|
411
|
+
**WhatsOnResponseDTO**
|
|
412
|
+
|
|
413
|
+
### Authorization
|
|
414
|
+
|
|
415
|
+
No authorization required
|
|
416
|
+
|
|
417
|
+
### HTTP request headers
|
|
418
|
+
|
|
419
|
+
- **Content-Type**: application/json
|
|
420
|
+
- **Accept**: application/json
|
|
421
|
+
|
|
422
|
+
|
|
371
423
|
### HTTP response details
|
|
372
424
|
| Status code | Description | Response headers |
|
|
373
425
|
|-------------|-------------|------------------|
|