@gooday_corp/gooday-api-client 1.5.31 → 1.5.32

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.
@@ -139,6 +139,8 @@ docs/FavoriteResponseDTO.md
139
139
  docs/FeedbackPayloadDTO.md
140
140
  docs/FileNameUploadDTO.md
141
141
  docs/FilterEntity.md
142
+ docs/FilterEntityCount.md
143
+ docs/FilterEntityCountsDTO.md
142
144
  docs/FilterEntityResponseDTO.md
143
145
  docs/FindBookingPayload.md
144
146
  docs/FindBookingResponseDTO.md
package/api.ts CHANGED
@@ -4377,6 +4377,44 @@ export interface FilterEntity {
4377
4377
  */
4378
4378
  'keyword': Array<string>;
4379
4379
  }
4380
+ /**
4381
+ *
4382
+ * @export
4383
+ * @interface FilterEntityCount
4384
+ */
4385
+ export interface FilterEntityCount {
4386
+ /**
4387
+ *
4388
+ * @type {Array<FilterEntity>}
4389
+ * @memberof FilterEntityCount
4390
+ */
4391
+ 'data': Array<FilterEntity>;
4392
+ /**
4393
+ *
4394
+ * @type {number}
4395
+ * @memberof FilterEntityCount
4396
+ */
4397
+ 'count': number;
4398
+ }
4399
+ /**
4400
+ *
4401
+ * @export
4402
+ * @interface FilterEntityCountsDTO
4403
+ */
4404
+ export interface FilterEntityCountsDTO {
4405
+ /**
4406
+ *
4407
+ * @type {FilterEntityCount}
4408
+ * @memberof FilterEntityCountsDTO
4409
+ */
4410
+ 'data': FilterEntityCount;
4411
+ /**
4412
+ * statusCode
4413
+ * @type {number}
4414
+ * @memberof FilterEntityCountsDTO
4415
+ */
4416
+ 'statusCode': number;
4417
+ }
4380
4418
  /**
4381
4419
  *
4382
4420
  * @export
@@ -24817,6 +24855,45 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
24817
24855
 
24818
24856
 
24819
24857
 
24858
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24859
+
24860
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24861
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24862
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24863
+ localVarRequestOptions.data = serializeDataIfNeeded(whatsOnFilterDTO, localVarRequestOptions, configuration)
24864
+
24865
+ return {
24866
+ url: toPathString(localVarUrlObj),
24867
+ options: localVarRequestOptions,
24868
+ };
24869
+ },
24870
+ /**
24871
+ *
24872
+ * @param {WhatsOnFilterDTO} whatsOnFilterDTO
24873
+ * @param {*} [options] Override http request option.
24874
+ * @throws {RequiredError}
24875
+ */
24876
+ whatsOnControllerFilterWhatsOnCount: async (whatsOnFilterDTO: WhatsOnFilterDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
24877
+ // verify required parameter 'whatsOnFilterDTO' is not null or undefined
24878
+ assertParamExists('whatsOnControllerFilterWhatsOnCount', 'whatsOnFilterDTO', whatsOnFilterDTO)
24879
+ const localVarPath = `/v1/whats-on/filter/list/count`;
24880
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24881
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24882
+ let baseOptions;
24883
+ if (configuration) {
24884
+ baseOptions = configuration.baseOptions;
24885
+ }
24886
+
24887
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
24888
+ const localVarHeaderParameter = {} as any;
24889
+ const localVarQueryParameter = {} as any;
24890
+
24891
+ // authentication bearer required
24892
+ // http bearer authentication required
24893
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
24894
+
24895
+
24896
+
24820
24897
  localVarHeaderParameter['Content-Type'] = 'application/json';
24821
24898
 
24822
24899
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -25484,6 +25561,18 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
25484
25561
  const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFilterWhatsOn']?.[localVarOperationServerIndex]?.url;
25485
25562
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25486
25563
  },
25564
+ /**
25565
+ *
25566
+ * @param {WhatsOnFilterDTO} whatsOnFilterDTO
25567
+ * @param {*} [options] Override http request option.
25568
+ * @throws {RequiredError}
25569
+ */
25570
+ async whatsOnControllerFilterWhatsOnCount(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilterEntityCountsDTO>> {
25571
+ const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFilterWhatsOnCount(whatsOnFilterDTO, options);
25572
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25573
+ const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFilterWhatsOnCount']?.[localVarOperationServerIndex]?.url;
25574
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25575
+ },
25487
25576
  /**
25488
25577
  *
25489
25578
  * @param {WhatsOnFindDTO} whatsOnFindDTO
@@ -25714,6 +25803,15 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
25714
25803
  whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): AxiosPromise<FilterEntityResponseDTO> {
25715
25804
  return localVarFp.whatsOnControllerFilterWhatsOn(whatsOnFilterDTO, options).then((request) => request(axios, basePath));
25716
25805
  },
25806
+ /**
25807
+ *
25808
+ * @param {WhatsOnFilterDTO} whatsOnFilterDTO
25809
+ * @param {*} [options] Override http request option.
25810
+ * @throws {RequiredError}
25811
+ */
25812
+ whatsOnControllerFilterWhatsOnCount(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): AxiosPromise<FilterEntityCountsDTO> {
25813
+ return localVarFp.whatsOnControllerFilterWhatsOnCount(whatsOnFilterDTO, options).then((request) => request(axios, basePath));
25814
+ },
25717
25815
  /**
25718
25816
  *
25719
25817
  * @param {WhatsOnFindDTO} whatsOnFindDTO
@@ -25907,6 +26005,17 @@ export class WhatsOnApi extends BaseAPI {
25907
26005
  return WhatsOnApiFp(this.configuration).whatsOnControllerFilterWhatsOn(whatsOnFilterDTO, options).then((request) => request(this.axios, this.basePath));
25908
26006
  }
25909
26007
 
26008
+ /**
26009
+ *
26010
+ * @param {WhatsOnFilterDTO} whatsOnFilterDTO
26011
+ * @param {*} [options] Override http request option.
26012
+ * @throws {RequiredError}
26013
+ * @memberof WhatsOnApi
26014
+ */
26015
+ public whatsOnControllerFilterWhatsOnCount(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig) {
26016
+ return WhatsOnApiFp(this.configuration).whatsOnControllerFilterWhatsOnCount(whatsOnFilterDTO, options).then((request) => request(this.axios, this.basePath));
26017
+ }
26018
+
25910
26019
  /**
25911
26020
  *
25912
26021
  * @param {WhatsOnFindDTO} whatsOnFindDTO
@@ -6,8 +6,8 @@
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-07-22T14:01:16+05:30]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-07-22T14:01:16+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-07-24T11:45:55Z]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-07-24T11:45:55Z]
11
11
  **from** | **string** | | [optional] [default to undefined]
12
12
  **to** | **string** | | [optional] [default to undefined]
13
13
  **venue** | **string** | The venue of the booking | [default to undefined]
@@ -0,0 +1,22 @@
1
+ # FilterEntityCount
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array&lt;FilterEntity&gt;**](FilterEntity.md) | | [default to undefined]
9
+ **count** | **number** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { FilterEntityCount } from './api';
15
+
16
+ const instance: FilterEntityCount = {
17
+ data,
18
+ count,
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)
@@ -0,0 +1,22 @@
1
+ # FilterEntityCountsDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**FilterEntityCount**](FilterEntityCount.md) | | [default to undefined]
9
+ **statusCode** | **number** | statusCode | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { FilterEntityCountsDTO } from './api';
15
+
16
+ const instance: FilterEntityCountsDTO = {
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-07-22T14:01:16+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-07-24T11:45:55Z]
9
9
  **from** | **string** | | [optional] [default to undefined]
10
10
  **to** | **string** | | [optional] [default to undefined]
11
11
  **notes** | **string** | | [optional] [default to undefined]
@@ -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-07-22T14:01:16+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-07-22T15:01:16+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-07-24T11:45:55Z]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-07-24T12:45:55Z]
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]
@@ -8,6 +8,7 @@ All URIs are relative to *http://localhost:8080*
8
8
  |[**whatsOnControllerDeleteWhatsOn**](#whatsoncontrollerdeletewhatson) | **PUT** /v1/whats-on/delete/{id} | |
9
9
  |[**whatsOnControllerDiscountCodeApply**](#whatsoncontrollerdiscountcodeapply) | **POST** /v1/whats-on/discount | |
10
10
  |[**whatsOnControllerFilterWhatsOn**](#whatsoncontrollerfilterwhatson) | **POST** /v1/whats-on/filter/list | |
11
+ |[**whatsOnControllerFilterWhatsOnCount**](#whatsoncontrollerfilterwhatsoncount) | **POST** /v1/whats-on/filter/list/count | |
11
12
  |[**whatsOnControllerFindCategoryBaseWhatsOn**](#whatsoncontrollerfindcategorybasewhatson) | **POST** /v1/whats-on/categories/list | |
12
13
  |[**whatsOnControllerFindFavoriteWhatOnCount**](#whatsoncontrollerfindfavoritewhatoncount) | **GET** /v1/whats-on/favorite/count/{id} | |
13
14
  |[**whatsOnControllerFindFavoriteWhatOnCountAndList**](#whatsoncontrollerfindfavoritewhatoncountandlist) | **GET** /v1/whats-on/favorite/count-and-list/{id} | |
@@ -220,6 +221,57 @@ const { status, data } = await apiInstance.whatsOnControllerFilterWhatsOn(
220
221
  - **Accept**: application/json
221
222
 
222
223
 
224
+ ### HTTP response details
225
+ | Status code | Description | Response headers |
226
+ |-------------|-------------|------------------|
227
+ |**200** | | - |
228
+
229
+ [[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)
230
+
231
+ # **whatsOnControllerFilterWhatsOnCount**
232
+ > FilterEntityCountsDTO whatsOnControllerFilterWhatsOnCount(whatsOnFilterDTO)
233
+
234
+
235
+ ### Example
236
+
237
+ ```typescript
238
+ import {
239
+ WhatsOnApi,
240
+ Configuration,
241
+ WhatsOnFilterDTO
242
+ } from './api';
243
+
244
+ const configuration = new Configuration();
245
+ const apiInstance = new WhatsOnApi(configuration);
246
+
247
+ let whatsOnFilterDTO: WhatsOnFilterDTO; //
248
+
249
+ const { status, data } = await apiInstance.whatsOnControllerFilterWhatsOnCount(
250
+ whatsOnFilterDTO
251
+ );
252
+ ```
253
+
254
+ ### Parameters
255
+
256
+ |Name | Type | Description | Notes|
257
+ |------------- | ------------- | ------------- | -------------|
258
+ | **whatsOnFilterDTO** | **WhatsOnFilterDTO**| | |
259
+
260
+
261
+ ### Return type
262
+
263
+ **FilterEntityCountsDTO**
264
+
265
+ ### Authorization
266
+
267
+ [bearer](../README.md#bearer)
268
+
269
+ ### HTTP request headers
270
+
271
+ - **Content-Type**: application/json
272
+ - **Accept**: application/json
273
+
274
+
223
275
  ### HTTP response details
224
276
  | Status code | Description | Response headers |
225
277
  |-------------|-------------|------------------|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.5.31",
3
+ "version": "1.5.32",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},