@gooday_corp/gooday-api-client 1.3.51 → 1.3.52
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/api.ts +7 -43
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnApi.md +0 -12
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -22354,19 +22354,11 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22354
22354
|
},
|
|
22355
22355
|
/**
|
|
22356
22356
|
*
|
|
22357
|
-
* @param {number} page
|
|
22358
|
-
* @param {number} pageSize
|
|
22359
|
-
* @param {string} [search]
|
|
22360
|
-
* @param {string} [venue]
|
|
22361
22357
|
* @param {string} [businessType]
|
|
22362
22358
|
* @param {*} [options] Override http request option.
|
|
22363
22359
|
* @throws {RequiredError}
|
|
22364
22360
|
*/
|
|
22365
|
-
whatsOnControllerSponsored: async (
|
|
22366
|
-
// verify required parameter 'page' is not null or undefined
|
|
22367
|
-
assertParamExists('whatsOnControllerSponsored', 'page', page)
|
|
22368
|
-
// verify required parameter 'pageSize' is not null or undefined
|
|
22369
|
-
assertParamExists('whatsOnControllerSponsored', 'pageSize', pageSize)
|
|
22361
|
+
whatsOnControllerSponsored: async (businessType?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22370
22362
|
const localVarPath = `/v1/whats-on/sponsored`;
|
|
22371
22363
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22372
22364
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -22383,22 +22375,6 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22383
22375
|
// http bearer authentication required
|
|
22384
22376
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22385
22377
|
|
|
22386
|
-
if (page !== undefined) {
|
|
22387
|
-
localVarQueryParameter['page'] = page;
|
|
22388
|
-
}
|
|
22389
|
-
|
|
22390
|
-
if (pageSize !== undefined) {
|
|
22391
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
22392
|
-
}
|
|
22393
|
-
|
|
22394
|
-
if (search !== undefined) {
|
|
22395
|
-
localVarQueryParameter['search'] = search;
|
|
22396
|
-
}
|
|
22397
|
-
|
|
22398
|
-
if (venue !== undefined) {
|
|
22399
|
-
localVarQueryParameter['venue'] = venue;
|
|
22400
|
-
}
|
|
22401
|
-
|
|
22402
22378
|
if (businessType !== undefined) {
|
|
22403
22379
|
localVarQueryParameter['businessType'] = businessType;
|
|
22404
22380
|
}
|
|
@@ -22719,16 +22695,12 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
22719
22695
|
},
|
|
22720
22696
|
/**
|
|
22721
22697
|
*
|
|
22722
|
-
* @param {number} page
|
|
22723
|
-
* @param {number} pageSize
|
|
22724
|
-
* @param {string} [search]
|
|
22725
|
-
* @param {string} [venue]
|
|
22726
22698
|
* @param {string} [businessType]
|
|
22727
22699
|
* @param {*} [options] Override http request option.
|
|
22728
22700
|
* @throws {RequiredError}
|
|
22729
22701
|
*/
|
|
22730
|
-
async whatsOnControllerSponsored(
|
|
22731
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerSponsored(
|
|
22702
|
+
async whatsOnControllerSponsored(businessType?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
22703
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerSponsored(businessType, options);
|
|
22732
22704
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22733
22705
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerSponsored']?.[localVarOperationServerIndex]?.url;
|
|
22734
22706
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -22896,16 +22868,12 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
22896
22868
|
},
|
|
22897
22869
|
/**
|
|
22898
22870
|
*
|
|
22899
|
-
* @param {number} page
|
|
22900
|
-
* @param {number} pageSize
|
|
22901
|
-
* @param {string} [search]
|
|
22902
|
-
* @param {string} [venue]
|
|
22903
22871
|
* @param {string} [businessType]
|
|
22904
22872
|
* @param {*} [options] Override http request option.
|
|
22905
22873
|
* @throws {RequiredError}
|
|
22906
22874
|
*/
|
|
22907
|
-
whatsOnControllerSponsored(
|
|
22908
|
-
return localVarFp.whatsOnControllerSponsored(
|
|
22875
|
+
whatsOnControllerSponsored(businessType?: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
22876
|
+
return localVarFp.whatsOnControllerSponsored(businessType, options).then((request) => request(axios, basePath));
|
|
22909
22877
|
},
|
|
22910
22878
|
/**
|
|
22911
22879
|
*
|
|
@@ -23080,17 +23048,13 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
23080
23048
|
|
|
23081
23049
|
/**
|
|
23082
23050
|
*
|
|
23083
|
-
* @param {number} page
|
|
23084
|
-
* @param {number} pageSize
|
|
23085
|
-
* @param {string} [search]
|
|
23086
|
-
* @param {string} [venue]
|
|
23087
23051
|
* @param {string} [businessType]
|
|
23088
23052
|
* @param {*} [options] Override http request option.
|
|
23089
23053
|
* @throws {RequiredError}
|
|
23090
23054
|
* @memberof WhatsOnApi
|
|
23091
23055
|
*/
|
|
23092
|
-
public whatsOnControllerSponsored(
|
|
23093
|
-
return WhatsOnApiFp(this.configuration).whatsOnControllerSponsored(
|
|
23056
|
+
public whatsOnControllerSponsored(businessType?: string, options?: RawAxiosRequestConfig) {
|
|
23057
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerSponsored(businessType, options).then((request) => request(this.axios, this.basePath));
|
|
23094
23058
|
}
|
|
23095
23059
|
|
|
23096
23060
|
/**
|
|
@@ -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-07T19:02:41+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-05-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-05-07T19:02:41+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-07T19:02:41+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-07T20:02:41+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
|
@@ -597,17 +597,9 @@ import {
|
|
|
597
597
|
const configuration = new Configuration();
|
|
598
598
|
const apiInstance = new WhatsOnApi(configuration);
|
|
599
599
|
|
|
600
|
-
let page: number; // (default to undefined)
|
|
601
|
-
let pageSize: number; // (default to undefined)
|
|
602
|
-
let search: string; // (optional) (default to undefined)
|
|
603
|
-
let venue: string; // (optional) (default to undefined)
|
|
604
600
|
let businessType: string; // (optional) (default to undefined)
|
|
605
601
|
|
|
606
602
|
const { status, data } = await apiInstance.whatsOnControllerSponsored(
|
|
607
|
-
page,
|
|
608
|
-
pageSize,
|
|
609
|
-
search,
|
|
610
|
-
venue,
|
|
611
603
|
businessType
|
|
612
604
|
);
|
|
613
605
|
```
|
|
@@ -616,10 +608,6 @@ const { status, data } = await apiInstance.whatsOnControllerSponsored(
|
|
|
616
608
|
|
|
617
609
|
|Name | Type | Description | Notes|
|
|
618
610
|
|------------- | ------------- | ------------- | -------------|
|
|
619
|
-
| **page** | [**number**] | | defaults to undefined|
|
|
620
|
-
| **pageSize** | [**number**] | | defaults to undefined|
|
|
621
|
-
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
622
|
-
| **venue** | [**string**] | | (optional) defaults to undefined|
|
|
623
611
|
| **businessType** | [**string**] | | (optional) defaults to undefined|
|
|
624
612
|
|
|
625
613
|
|