@gooday_corp/gooday-api-client 1.3.60 → 1.3.61
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 +2 -0
- package/api.ts +88 -8
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/FilterEntity.md +36 -0
- package/docs/FilterEntityResponseDTO.md +22 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnApi.md +2 -2
- package/docs/WhatsOnFilterDTO.md +4 -4
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -127,6 +127,8 @@ docs/EventsApi.md
|
|
|
127
127
|
docs/FavoriteResponseDTO.md
|
|
128
128
|
docs/FeedbackPayloadDTO.md
|
|
129
129
|
docs/FileNameUploadDTO.md
|
|
130
|
+
docs/FilterEntity.md
|
|
131
|
+
docs/FilterEntityResponseDTO.md
|
|
130
132
|
docs/FindBookingPayload.md
|
|
131
133
|
docs/FindBookingResponseDTO.md
|
|
132
134
|
docs/FindBusinessStaff.md
|
package/api.ts
CHANGED
|
@@ -3937,6 +3937,86 @@ export interface FileNameUploadDTO {
|
|
|
3937
3937
|
*/
|
|
3938
3938
|
'bucketName': string;
|
|
3939
3939
|
}
|
|
3940
|
+
/**
|
|
3941
|
+
*
|
|
3942
|
+
* @export
|
|
3943
|
+
* @interface FilterEntity
|
|
3944
|
+
*/
|
|
3945
|
+
export interface FilterEntity {
|
|
3946
|
+
/**
|
|
3947
|
+
* Event id
|
|
3948
|
+
* @type {string}
|
|
3949
|
+
* @memberof FilterEntity
|
|
3950
|
+
*/
|
|
3951
|
+
'_id': string;
|
|
3952
|
+
/**
|
|
3953
|
+
* Event name
|
|
3954
|
+
* @type {string}
|
|
3955
|
+
* @memberof FilterEntity
|
|
3956
|
+
*/
|
|
3957
|
+
'title': string;
|
|
3958
|
+
/**
|
|
3959
|
+
*
|
|
3960
|
+
* @type {Array<string>}
|
|
3961
|
+
* @memberof FilterEntity
|
|
3962
|
+
*/
|
|
3963
|
+
'photos': Array<string>;
|
|
3964
|
+
/**
|
|
3965
|
+
*
|
|
3966
|
+
* @type {Array<string>}
|
|
3967
|
+
* @memberof FilterEntity
|
|
3968
|
+
*/
|
|
3969
|
+
'coverPhoto': Array<string>;
|
|
3970
|
+
/**
|
|
3971
|
+
*
|
|
3972
|
+
* @type {string}
|
|
3973
|
+
* @memberof FilterEntity
|
|
3974
|
+
*/
|
|
3975
|
+
'type': string;
|
|
3976
|
+
/**
|
|
3977
|
+
*
|
|
3978
|
+
* @type {string}
|
|
3979
|
+
* @memberof FilterEntity
|
|
3980
|
+
*/
|
|
3981
|
+
'startDate': string;
|
|
3982
|
+
/**
|
|
3983
|
+
*
|
|
3984
|
+
* @type {string}
|
|
3985
|
+
* @memberof FilterEntity
|
|
3986
|
+
*/
|
|
3987
|
+
'endDate': string;
|
|
3988
|
+
/**
|
|
3989
|
+
*
|
|
3990
|
+
* @type {Array<TagsResponse>}
|
|
3991
|
+
* @memberof FilterEntity
|
|
3992
|
+
*/
|
|
3993
|
+
'tags': Array<TagsResponse>;
|
|
3994
|
+
/**
|
|
3995
|
+
*
|
|
3996
|
+
* @type {Array<string>}
|
|
3997
|
+
* @memberof FilterEntity
|
|
3998
|
+
*/
|
|
3999
|
+
'keyword': Array<string>;
|
|
4000
|
+
}
|
|
4001
|
+
/**
|
|
4002
|
+
*
|
|
4003
|
+
* @export
|
|
4004
|
+
* @interface FilterEntityResponseDTO
|
|
4005
|
+
*/
|
|
4006
|
+
export interface FilterEntityResponseDTO {
|
|
4007
|
+
/**
|
|
4008
|
+
*
|
|
4009
|
+
* @type {Array<FilterEntity>}
|
|
4010
|
+
* @memberof FilterEntityResponseDTO
|
|
4011
|
+
*/
|
|
4012
|
+
'data': Array<FilterEntity>;
|
|
4013
|
+
/**
|
|
4014
|
+
* statusCode
|
|
4015
|
+
* @type {number}
|
|
4016
|
+
* @memberof FilterEntityResponseDTO
|
|
4017
|
+
*/
|
|
4018
|
+
'statusCode': number;
|
|
4019
|
+
}
|
|
3940
4020
|
/**
|
|
3941
4021
|
*
|
|
3942
4022
|
* @export
|
|
@@ -8637,13 +8717,13 @@ export interface WhatsOnFilterDTO {
|
|
|
8637
8717
|
* @type {number}
|
|
8638
8718
|
* @memberof WhatsOnFilterDTO
|
|
8639
8719
|
*/
|
|
8640
|
-
'page'
|
|
8720
|
+
'page'?: number;
|
|
8641
8721
|
/**
|
|
8642
8722
|
*
|
|
8643
8723
|
* @type {number}
|
|
8644
8724
|
* @memberof WhatsOnFilterDTO
|
|
8645
8725
|
*/
|
|
8646
|
-
'pageSize'
|
|
8726
|
+
'pageSize'?: number;
|
|
8647
8727
|
/**
|
|
8648
8728
|
*
|
|
8649
8729
|
* @type {string}
|
|
@@ -8687,17 +8767,17 @@ export interface WhatsOnFilterDTO {
|
|
|
8687
8767
|
*/
|
|
8688
8768
|
'distance'?: number;
|
|
8689
8769
|
/**
|
|
8690
|
-
*
|
|
8770
|
+
* Maximum price filter
|
|
8691
8771
|
* @type {number}
|
|
8692
8772
|
* @memberof WhatsOnFilterDTO
|
|
8693
8773
|
*/
|
|
8694
|
-
'
|
|
8774
|
+
'maxPrice'?: number;
|
|
8695
8775
|
/**
|
|
8696
|
-
*
|
|
8776
|
+
*
|
|
8697
8777
|
* @type {number}
|
|
8698
8778
|
* @memberof WhatsOnFilterDTO
|
|
8699
8779
|
*/
|
|
8700
|
-
'
|
|
8780
|
+
'number'?: number;
|
|
8701
8781
|
}
|
|
8702
8782
|
/**
|
|
8703
8783
|
*
|
|
@@ -23297,7 +23377,7 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
23297
23377
|
* @param {*} [options] Override http request option.
|
|
23298
23378
|
* @throws {RequiredError}
|
|
23299
23379
|
*/
|
|
23300
|
-
async whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
23380
|
+
async whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilterEntityResponseDTO>> {
|
|
23301
23381
|
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFilterWhatsOn(whatsOnFilterDTO, options);
|
|
23302
23382
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23303
23383
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFilterWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
@@ -23518,7 +23598,7 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
23518
23598
|
* @param {*} [options] Override http request option.
|
|
23519
23599
|
* @throws {RequiredError}
|
|
23520
23600
|
*/
|
|
23521
|
-
whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
23601
|
+
whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): AxiosPromise<FilterEntityResponseDTO> {
|
|
23522
23602
|
return localVarFp.whatsOnControllerFilterWhatsOn(whatsOnFilterDTO, options).then((request) => request(axios, basePath));
|
|
23523
23603
|
},
|
|
23524
23604
|
/**
|
|
@@ -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-14T15:01:35+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]
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# FilterEntity
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**_id** | **string** | Event id | [default to undefined]
|
|
9
|
+
**title** | **string** | Event name | [default to undefined]
|
|
10
|
+
**photos** | **Array<string>** | | [default to undefined]
|
|
11
|
+
**coverPhoto** | **Array<string>** | | [default to undefined]
|
|
12
|
+
**type** | **string** | | [default to undefined]
|
|
13
|
+
**startDate** | **string** | | [default to undefined]
|
|
14
|
+
**endDate** | **string** | | [default to undefined]
|
|
15
|
+
**tags** | [**Array<TagsResponse>**](TagsResponse.md) | | [default to undefined]
|
|
16
|
+
**keyword** | **Array<string>** | | [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { FilterEntity } from './api';
|
|
22
|
+
|
|
23
|
+
const instance: FilterEntity = {
|
|
24
|
+
_id,
|
|
25
|
+
title,
|
|
26
|
+
photos,
|
|
27
|
+
coverPhoto,
|
|
28
|
+
type,
|
|
29
|
+
startDate,
|
|
30
|
+
endDate,
|
|
31
|
+
tags,
|
|
32
|
+
keyword,
|
|
33
|
+
};
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[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
|
+
# FilterEntityResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**Array<FilterEntity>**](FilterEntity.md) | | [default to undefined]
|
|
9
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { FilterEntityResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: FilterEntityResponseDTO = {
|
|
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-14T15:01:35+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
|
|
@@ -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-14T15:01:35+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-14T16:01:35+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
|
@@ -176,7 +176,7 @@ const { status, data } = await apiInstance.whatsOnControllerDiscountCodeApply(
|
|
|
176
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
177
|
|
|
178
178
|
# **whatsOnControllerFilterWhatsOn**
|
|
179
|
-
>
|
|
179
|
+
> FilterEntityResponseDTO whatsOnControllerFilterWhatsOn(whatsOnFilterDTO)
|
|
180
180
|
|
|
181
181
|
|
|
182
182
|
### Example
|
|
@@ -207,7 +207,7 @@ const { status, data } = await apiInstance.whatsOnControllerFilterWhatsOn(
|
|
|
207
207
|
|
|
208
208
|
### Return type
|
|
209
209
|
|
|
210
|
-
**
|
|
210
|
+
**FilterEntityResponseDTO**
|
|
211
211
|
|
|
212
212
|
### Authorization
|
|
213
213
|
|
package/docs/WhatsOnFilterDTO.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**page** | **number** | | [default to
|
|
9
|
-
**pageSize** | **number** | | [default to
|
|
8
|
+
**page** | **number** | | [optional] [default to 1]
|
|
9
|
+
**pageSize** | **number** | | [optional] [default to 10]
|
|
10
10
|
**search** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**category** | **Array<string>** | | [optional] [default to undefined]
|
|
12
12
|
**type** | **string** | | [optional] [default to undefined]
|
|
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**from** | **string** | | [optional] [default to undefined]
|
|
15
15
|
**to** | **string** | | [optional] [default to undefined]
|
|
16
16
|
**distance** | **number** | | [optional] [default to undefined]
|
|
17
|
-
**minPrice** | **number** | Minimum price filter | [optional] [default to undefined]
|
|
18
17
|
**maxPrice** | **number** | Maximum price filter | [optional] [default to undefined]
|
|
18
|
+
**number** | **number** | | [optional] [default to undefined]
|
|
19
19
|
|
|
20
20
|
## Example
|
|
21
21
|
|
|
@@ -32,8 +32,8 @@ const instance: WhatsOnFilterDTO = {
|
|
|
32
32
|
from,
|
|
33
33
|
to,
|
|
34
34
|
distance,
|
|
35
|
-
minPrice,
|
|
36
35
|
maxPrice,
|
|
36
|
+
number,
|
|
37
37
|
};
|
|
38
38
|
```
|
|
39
39
|
|