@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.
@@ -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': number;
8720
+ 'page'?: number;
8641
8721
  /**
8642
8722
  *
8643
8723
  * @type {number}
8644
8724
  * @memberof WhatsOnFilterDTO
8645
8725
  */
8646
- 'pageSize': number;
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
- * Minimum price filter
8770
+ * Maximum price filter
8691
8771
  * @type {number}
8692
8772
  * @memberof WhatsOnFilterDTO
8693
8773
  */
8694
- 'minPrice'?: number;
8774
+ 'maxPrice'?: number;
8695
8775
  /**
8696
- * Maximum price filter
8776
+ *
8697
8777
  * @type {number}
8698
8778
  * @memberof WhatsOnFilterDTO
8699
8779
  */
8700
- 'maxPrice'?: number;
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<WhatsOnResponseDTO>> {
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<WhatsOnResponseDTO> {
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-13T20:20:06+05:30]
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&lt;string&gt;** | | [default to undefined]
11
+ **coverPhoto** | **Array&lt;string&gt;** | | [default to undefined]
12
+ **type** | **string** | | [default to undefined]
13
+ **startDate** | **string** | | [default to undefined]
14
+ **endDate** | **string** | | [default to undefined]
15
+ **tags** | [**Array&lt;TagsResponse&gt;**](TagsResponse.md) | | [default to undefined]
16
+ **keyword** | **Array&lt;string&gt;** | | [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&lt;FilterEntity&gt;**](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-13T20:20:06+05:30]
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-13T20:20:06+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-05-13T21:20:06+05:30]
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&lt;CreateWaitlistBookingCollaboratorPayload&gt;**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
@@ -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
- > WhatsOnResponseDTO whatsOnControllerFilterWhatsOn(whatsOnFilterDTO)
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
- **WhatsOnResponseDTO**
210
+ **FilterEntityResponseDTO**
211
211
 
212
212
  ### Authorization
213
213
 
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **page** | **number** | | [default to undefined]
9
- **pageSize** | **number** | | [default to undefined]
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&lt;string&gt;** | | [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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.3.60",
3
+ "version": "1.3.61",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},