@gooday_corp/gooday-api-client 1.3.85 → 1.3.87
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 +44 -18
- package/docs/BusinessApi.md +2 -2
- 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/WhatsOnFindDTO.md +2 -0
- package/docs/WhatsOnSponsoredFindDTO.md +22 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/api.ts
CHANGED
|
@@ -9430,6 +9430,12 @@ export interface WhatsOnFindDTO {
|
|
|
9430
9430
|
* @memberof WhatsOnFindDTO
|
|
9431
9431
|
*/
|
|
9432
9432
|
'businessType'?: string;
|
|
9433
|
+
/**
|
|
9434
|
+
*
|
|
9435
|
+
* @type {string}
|
|
9436
|
+
* @memberof WhatsOnFindDTO
|
|
9437
|
+
*/
|
|
9438
|
+
'category'?: string;
|
|
9433
9439
|
}
|
|
9434
9440
|
/**
|
|
9435
9441
|
*
|
|
@@ -9706,6 +9712,25 @@ export interface WhatsOnSlotsPayload {
|
|
|
9706
9712
|
*/
|
|
9707
9713
|
'id': string;
|
|
9708
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
|
+
}
|
|
9709
9734
|
/**
|
|
9710
9735
|
*
|
|
9711
9736
|
* @export
|
|
@@ -13934,7 +13959,7 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
13934
13959
|
* @param {*} [options] Override http request option.
|
|
13935
13960
|
* @throws {RequiredError}
|
|
13936
13961
|
*/
|
|
13937
|
-
async businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
13962
|
+
async businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
|
|
13938
13963
|
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerHighlyRecommended(options);
|
|
13939
13964
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13940
13965
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerHighlyRecommended']?.[localVarOperationServerIndex]?.url;
|
|
@@ -14231,7 +14256,7 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
14231
14256
|
* @param {*} [options] Override http request option.
|
|
14232
14257
|
* @throws {RequiredError}
|
|
14233
14258
|
*/
|
|
14234
|
-
businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
14259
|
+
businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
14235
14260
|
return localVarFp.businessTypeControllerHighlyRecommended(options).then((request) => request(axios, basePath));
|
|
14236
14261
|
},
|
|
14237
14262
|
/**
|
|
@@ -24403,11 +24428,13 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
24403
24428
|
},
|
|
24404
24429
|
/**
|
|
24405
24430
|
*
|
|
24406
|
-
* @param {
|
|
24431
|
+
* @param {WhatsOnSponsoredFindDTO} whatsOnSponsoredFindDTO
|
|
24407
24432
|
* @param {*} [options] Override http request option.
|
|
24408
24433
|
* @throws {RequiredError}
|
|
24409
24434
|
*/
|
|
24410
|
-
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)
|
|
24411
24438
|
const localVarPath = `/v1/whats-on/sponsored`;
|
|
24412
24439
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24413
24440
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -24416,7 +24443,7 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
24416
24443
|
baseOptions = configuration.baseOptions;
|
|
24417
24444
|
}
|
|
24418
24445
|
|
|
24419
|
-
const localVarRequestOptions = { method: '
|
|
24446
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
24420
24447
|
const localVarHeaderParameter = {} as any;
|
|
24421
24448
|
const localVarQueryParameter = {} as any;
|
|
24422
24449
|
|
|
@@ -24424,15 +24451,14 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
24424
24451
|
// http bearer authentication required
|
|
24425
24452
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
24426
24453
|
|
|
24427
|
-
if (businessType !== undefined) {
|
|
24428
|
-
localVarQueryParameter['businessType'] = businessType;
|
|
24429
|
-
}
|
|
24430
|
-
|
|
24431
24454
|
|
|
24432
24455
|
|
|
24456
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24457
|
+
|
|
24433
24458
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24434
24459
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24435
24460
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24461
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnSponsoredFindDTO, localVarRequestOptions, configuration)
|
|
24436
24462
|
|
|
24437
24463
|
return {
|
|
24438
24464
|
url: toPathString(localVarUrlObj),
|
|
@@ -24780,12 +24806,12 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
24780
24806
|
},
|
|
24781
24807
|
/**
|
|
24782
24808
|
*
|
|
24783
|
-
* @param {
|
|
24809
|
+
* @param {WhatsOnSponsoredFindDTO} whatsOnSponsoredFindDTO
|
|
24784
24810
|
* @param {*} [options] Override http request option.
|
|
24785
24811
|
* @throws {RequiredError}
|
|
24786
24812
|
*/
|
|
24787
|
-
async whatsOnControllerSponsored(
|
|
24788
|
-
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);
|
|
24789
24815
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24790
24816
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerSponsored']?.[localVarOperationServerIndex]?.url;
|
|
24791
24817
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -24980,12 +25006,12 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
24980
25006
|
},
|
|
24981
25007
|
/**
|
|
24982
25008
|
*
|
|
24983
|
-
* @param {
|
|
25009
|
+
* @param {WhatsOnSponsoredFindDTO} whatsOnSponsoredFindDTO
|
|
24984
25010
|
* @param {*} [options] Override http request option.
|
|
24985
25011
|
* @throws {RequiredError}
|
|
24986
25012
|
*/
|
|
24987
|
-
whatsOnControllerSponsored(
|
|
24988
|
-
return localVarFp.whatsOnControllerSponsored(
|
|
25013
|
+
whatsOnControllerSponsored(whatsOnSponsoredFindDTO: WhatsOnSponsoredFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
25014
|
+
return localVarFp.whatsOnControllerSponsored(whatsOnSponsoredFindDTO, options).then((request) => request(axios, basePath));
|
|
24989
25015
|
},
|
|
24990
25016
|
/**
|
|
24991
25017
|
*
|
|
@@ -25193,13 +25219,13 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
25193
25219
|
|
|
25194
25220
|
/**
|
|
25195
25221
|
*
|
|
25196
|
-
* @param {
|
|
25222
|
+
* @param {WhatsOnSponsoredFindDTO} whatsOnSponsoredFindDTO
|
|
25197
25223
|
* @param {*} [options] Override http request option.
|
|
25198
25224
|
* @throws {RequiredError}
|
|
25199
25225
|
* @memberof WhatsOnApi
|
|
25200
25226
|
*/
|
|
25201
|
-
public whatsOnControllerSponsored(
|
|
25202
|
-
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));
|
|
25203
25229
|
}
|
|
25204
25230
|
|
|
25205
25231
|
/**
|
package/docs/BusinessApi.md
CHANGED
|
@@ -987,7 +987,7 @@ No authorization required
|
|
|
987
987
|
[[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)
|
|
988
988
|
|
|
989
989
|
# **businessTypeControllerHighlyRecommended**
|
|
990
|
-
>
|
|
990
|
+
> BusinessVenueResponseDTO businessTypeControllerHighlyRecommended()
|
|
991
991
|
|
|
992
992
|
|
|
993
993
|
### Example
|
|
@@ -1010,7 +1010,7 @@ This endpoint does not have any parameters.
|
|
|
1010
1010
|
|
|
1011
1011
|
### Return type
|
|
1012
1012
|
|
|
1013
|
-
**
|
|
1013
|
+
**BusinessVenueResponseDTO**
|
|
1014
1014
|
|
|
1015
1015
|
### Authorization
|
|
1016
1016
|
|
|
@@ -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-03T06:31:28Z]
|
|
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-03T06:31:28Z]
|
|
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-03T06:31:28Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-06-03T07:31:28Z]
|
|
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/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)
|