@gooday_corp/gooday-api-client 1.3.84 → 1.3.86
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 +1 -0
- package/api.ts +54 -16
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnApi.md +8 -7
- package/docs/WhatsOnFilterDTO.md +4 -0
- package/docs/WhatsOnFindDTO.md +2 -0
- package/docs/WhatsOnSponsoredFindDTO.md +22 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/api.ts
CHANGED
|
@@ -9375,12 +9375,24 @@ export interface WhatsOnFilterDTO {
|
|
|
9375
9375
|
* @memberof WhatsOnFilterDTO
|
|
9376
9376
|
*/
|
|
9377
9377
|
'maxPrice'?: number;
|
|
9378
|
+
/**
|
|
9379
|
+
* Maximum price filter
|
|
9380
|
+
* @type {number}
|
|
9381
|
+
* @memberof WhatsOnFilterDTO
|
|
9382
|
+
*/
|
|
9383
|
+
'minPrice'?: number;
|
|
9378
9384
|
/**
|
|
9379
9385
|
*
|
|
9380
9386
|
* @type {number}
|
|
9381
9387
|
* @memberof WhatsOnFilterDTO
|
|
9382
9388
|
*/
|
|
9383
9389
|
'number'?: number;
|
|
9390
|
+
/**
|
|
9391
|
+
*
|
|
9392
|
+
* @type {Array<string>}
|
|
9393
|
+
* @memberof WhatsOnFilterDTO
|
|
9394
|
+
*/
|
|
9395
|
+
'cuisines'?: Array<string>;
|
|
9384
9396
|
}
|
|
9385
9397
|
/**
|
|
9386
9398
|
*
|
|
@@ -9418,6 +9430,12 @@ export interface WhatsOnFindDTO {
|
|
|
9418
9430
|
* @memberof WhatsOnFindDTO
|
|
9419
9431
|
*/
|
|
9420
9432
|
'businessType'?: string;
|
|
9433
|
+
/**
|
|
9434
|
+
*
|
|
9435
|
+
* @type {string}
|
|
9436
|
+
* @memberof WhatsOnFindDTO
|
|
9437
|
+
*/
|
|
9438
|
+
'category'?: string;
|
|
9421
9439
|
}
|
|
9422
9440
|
/**
|
|
9423
9441
|
*
|
|
@@ -9694,6 +9712,25 @@ export interface WhatsOnSlotsPayload {
|
|
|
9694
9712
|
*/
|
|
9695
9713
|
'id': string;
|
|
9696
9714
|
}
|
|
9715
|
+
/**
|
|
9716
|
+
*
|
|
9717
|
+
* @export
|
|
9718
|
+
* @interface WhatsOnSponsoredFindDTO
|
|
9719
|
+
*/
|
|
9720
|
+
export interface WhatsOnSponsoredFindDTO {
|
|
9721
|
+
/**
|
|
9722
|
+
*
|
|
9723
|
+
* @type {string}
|
|
9724
|
+
* @memberof WhatsOnSponsoredFindDTO
|
|
9725
|
+
*/
|
|
9726
|
+
'businessType'?: string;
|
|
9727
|
+
/**
|
|
9728
|
+
*
|
|
9729
|
+
* @type {string}
|
|
9730
|
+
* @memberof WhatsOnSponsoredFindDTO
|
|
9731
|
+
*/
|
|
9732
|
+
'category'?: string;
|
|
9733
|
+
}
|
|
9697
9734
|
/**
|
|
9698
9735
|
*
|
|
9699
9736
|
* @export
|
|
@@ -24391,11 +24428,13 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
24391
24428
|
},
|
|
24392
24429
|
/**
|
|
24393
24430
|
*
|
|
24394
|
-
* @param {
|
|
24431
|
+
* @param {WhatsOnSponsoredFindDTO} whatsOnSponsoredFindDTO
|
|
24395
24432
|
* @param {*} [options] Override http request option.
|
|
24396
24433
|
* @throws {RequiredError}
|
|
24397
24434
|
*/
|
|
24398
|
-
whatsOnControllerSponsored: async (
|
|
24435
|
+
whatsOnControllerSponsored: async (whatsOnSponsoredFindDTO: WhatsOnSponsoredFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24436
|
+
// verify required parameter 'whatsOnSponsoredFindDTO' is not null or undefined
|
|
24437
|
+
assertParamExists('whatsOnControllerSponsored', 'whatsOnSponsoredFindDTO', whatsOnSponsoredFindDTO)
|
|
24399
24438
|
const localVarPath = `/v1/whats-on/sponsored`;
|
|
24400
24439
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24401
24440
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -24404,7 +24443,7 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
24404
24443
|
baseOptions = configuration.baseOptions;
|
|
24405
24444
|
}
|
|
24406
24445
|
|
|
24407
|
-
const localVarRequestOptions = { method: '
|
|
24446
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
24408
24447
|
const localVarHeaderParameter = {} as any;
|
|
24409
24448
|
const localVarQueryParameter = {} as any;
|
|
24410
24449
|
|
|
@@ -24412,15 +24451,14 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
24412
24451
|
// http bearer authentication required
|
|
24413
24452
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
24414
24453
|
|
|
24415
|
-
if (businessType !== undefined) {
|
|
24416
|
-
localVarQueryParameter['businessType'] = businessType;
|
|
24417
|
-
}
|
|
24418
|
-
|
|
24419
24454
|
|
|
24420
24455
|
|
|
24456
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24457
|
+
|
|
24421
24458
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24422
24459
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24423
24460
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24461
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnSponsoredFindDTO, localVarRequestOptions, configuration)
|
|
24424
24462
|
|
|
24425
24463
|
return {
|
|
24426
24464
|
url: toPathString(localVarUrlObj),
|
|
@@ -24768,12 +24806,12 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
24768
24806
|
},
|
|
24769
24807
|
/**
|
|
24770
24808
|
*
|
|
24771
|
-
* @param {
|
|
24809
|
+
* @param {WhatsOnSponsoredFindDTO} whatsOnSponsoredFindDTO
|
|
24772
24810
|
* @param {*} [options] Override http request option.
|
|
24773
24811
|
* @throws {RequiredError}
|
|
24774
24812
|
*/
|
|
24775
|
-
async whatsOnControllerSponsored(
|
|
24776
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerSponsored(
|
|
24813
|
+
async whatsOnControllerSponsored(whatsOnSponsoredFindDTO: WhatsOnSponsoredFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
24814
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerSponsored(whatsOnSponsoredFindDTO, options);
|
|
24777
24815
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24778
24816
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerSponsored']?.[localVarOperationServerIndex]?.url;
|
|
24779
24817
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -24968,12 +25006,12 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
24968
25006
|
},
|
|
24969
25007
|
/**
|
|
24970
25008
|
*
|
|
24971
|
-
* @param {
|
|
25009
|
+
* @param {WhatsOnSponsoredFindDTO} whatsOnSponsoredFindDTO
|
|
24972
25010
|
* @param {*} [options] Override http request option.
|
|
24973
25011
|
* @throws {RequiredError}
|
|
24974
25012
|
*/
|
|
24975
|
-
whatsOnControllerSponsored(
|
|
24976
|
-
return localVarFp.whatsOnControllerSponsored(
|
|
25013
|
+
whatsOnControllerSponsored(whatsOnSponsoredFindDTO: WhatsOnSponsoredFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
25014
|
+
return localVarFp.whatsOnControllerSponsored(whatsOnSponsoredFindDTO, options).then((request) => request(axios, basePath));
|
|
24977
25015
|
},
|
|
24978
25016
|
/**
|
|
24979
25017
|
*
|
|
@@ -25181,13 +25219,13 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
25181
25219
|
|
|
25182
25220
|
/**
|
|
25183
25221
|
*
|
|
25184
|
-
* @param {
|
|
25222
|
+
* @param {WhatsOnSponsoredFindDTO} whatsOnSponsoredFindDTO
|
|
25185
25223
|
* @param {*} [options] Override http request option.
|
|
25186
25224
|
* @throws {RequiredError}
|
|
25187
25225
|
* @memberof WhatsOnApi
|
|
25188
25226
|
*/
|
|
25189
|
-
public whatsOnControllerSponsored(
|
|
25190
|
-
return WhatsOnApiFp(this.configuration).whatsOnControllerSponsored(
|
|
25227
|
+
public whatsOnControllerSponsored(whatsOnSponsoredFindDTO: WhatsOnSponsoredFindDTO, options?: RawAxiosRequestConfig) {
|
|
25228
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerSponsored(whatsOnSponsoredFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
25191
25229
|
}
|
|
25192
25230
|
|
|
25193
25231
|
/**
|
|
@@ -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-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-06-02T16:23:45+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,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-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-06-02T16:23:45+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-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-06-02T16:23:45+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-06-02T17:23:45+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
|
@@ -18,7 +18,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
18
18
|
|[**whatsOnControllerGetAllWhatsOn**](#whatsoncontrollergetallwhatson) | **POST** /v1/whats-on/public-list | |
|
|
19
19
|
|[**whatsOnControllerMarkFavoriteWhatsOn**](#whatsoncontrollermarkfavoritewhatson) | **POST** /v1/whats-on/favorite | |
|
|
20
20
|
|[**whatsOnControllerPromotions**](#whatsoncontrollerpromotions) | **GET** /v1/whats-on/promotion | |
|
|
21
|
-
|[**whatsOnControllerSponsored**](#whatsoncontrollersponsored) | **
|
|
21
|
+
|[**whatsOnControllerSponsored**](#whatsoncontrollersponsored) | **POST** /v1/whats-on/sponsored | |
|
|
22
22
|
|[**whatsOnControllerUnfavoriteWhatsOn**](#whatsoncontrollerunfavoritewhatson) | **POST** /v1/whats-on/unfavorite | |
|
|
23
23
|
|[**whatsOnControllerUpdateById**](#whatsoncontrollerupdatebyid) | **PUT** /v1/whats-on/{id} | |
|
|
24
24
|
|[**whatsOnControllerWhatsOnAvailability**](#whatsoncontrollerwhatsonavailability) | **POST** /v1/whats-on/availability | |
|
|
@@ -738,7 +738,7 @@ This endpoint does not have any parameters.
|
|
|
738
738
|
[[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)
|
|
739
739
|
|
|
740
740
|
# **whatsOnControllerSponsored**
|
|
741
|
-
> WhatsOnResponseDTO whatsOnControllerSponsored()
|
|
741
|
+
> WhatsOnResponseDTO whatsOnControllerSponsored(whatsOnSponsoredFindDTO)
|
|
742
742
|
|
|
743
743
|
|
|
744
744
|
### Example
|
|
@@ -746,16 +746,17 @@ This endpoint does not have any parameters.
|
|
|
746
746
|
```typescript
|
|
747
747
|
import {
|
|
748
748
|
WhatsOnApi,
|
|
749
|
-
Configuration
|
|
749
|
+
Configuration,
|
|
750
|
+
WhatsOnSponsoredFindDTO
|
|
750
751
|
} from './api';
|
|
751
752
|
|
|
752
753
|
const configuration = new Configuration();
|
|
753
754
|
const apiInstance = new WhatsOnApi(configuration);
|
|
754
755
|
|
|
755
|
-
let
|
|
756
|
+
let whatsOnSponsoredFindDTO: WhatsOnSponsoredFindDTO; //
|
|
756
757
|
|
|
757
758
|
const { status, data } = await apiInstance.whatsOnControllerSponsored(
|
|
758
|
-
|
|
759
|
+
whatsOnSponsoredFindDTO
|
|
759
760
|
);
|
|
760
761
|
```
|
|
761
762
|
|
|
@@ -763,7 +764,7 @@ const { status, data } = await apiInstance.whatsOnControllerSponsored(
|
|
|
763
764
|
|
|
764
765
|
|Name | Type | Description | Notes|
|
|
765
766
|
|------------- | ------------- | ------------- | -------------|
|
|
766
|
-
| **
|
|
767
|
+
| **whatsOnSponsoredFindDTO** | **WhatsOnSponsoredFindDTO**| | |
|
|
767
768
|
|
|
768
769
|
|
|
769
770
|
### Return type
|
|
@@ -776,7 +777,7 @@ const { status, data } = await apiInstance.whatsOnControllerSponsored(
|
|
|
776
777
|
|
|
777
778
|
### HTTP request headers
|
|
778
779
|
|
|
779
|
-
- **Content-Type**:
|
|
780
|
+
- **Content-Type**: application/json
|
|
780
781
|
- **Accept**: application/json
|
|
781
782
|
|
|
782
783
|
|
package/docs/WhatsOnFilterDTO.md
CHANGED
|
@@ -15,7 +15,9 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**to** | **string** | | [optional] [default to undefined]
|
|
16
16
|
**distance** | **number** | | [optional] [default to undefined]
|
|
17
17
|
**maxPrice** | **number** | Maximum price filter | [optional] [default to undefined]
|
|
18
|
+
**minPrice** | **number** | Maximum price filter | [optional] [default to undefined]
|
|
18
19
|
**number** | **number** | | [optional] [default to undefined]
|
|
20
|
+
**cuisines** | **Array<string>** | | [optional] [default to undefined]
|
|
19
21
|
|
|
20
22
|
## Example
|
|
21
23
|
|
|
@@ -33,7 +35,9 @@ const instance: WhatsOnFilterDTO = {
|
|
|
33
35
|
to,
|
|
34
36
|
distance,
|
|
35
37
|
maxPrice,
|
|
38
|
+
minPrice,
|
|
36
39
|
number,
|
|
40
|
+
cuisines,
|
|
37
41
|
};
|
|
38
42
|
```
|
|
39
43
|
|
package/docs/WhatsOnFindDTO.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**search** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**venue** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**businessType** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**category** | **string** | | [optional] [default to undefined]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -22,6 +23,7 @@ const instance: WhatsOnFindDTO = {
|
|
|
22
23
|
search,
|
|
23
24
|
venue,
|
|
24
25
|
businessType,
|
|
26
|
+
category,
|
|
25
27
|
};
|
|
26
28
|
```
|
|
27
29
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# WhatsOnSponsoredFindDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**businessType** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**category** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { WhatsOnSponsoredFindDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: WhatsOnSponsoredFindDTO = {
|
|
17
|
+
businessType,
|
|
18
|
+
category,
|
|
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)
|