@gooday_corp/gooday-api-client 1.5.1 → 1.5.3
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
CHANGED
|
@@ -76,6 +76,7 @@ docs/BusinessVenueListResponseDTO.md
|
|
|
76
76
|
docs/BusinessVenueMapDTO.md
|
|
77
77
|
docs/BusinessVenueMapDetailsEntity.md
|
|
78
78
|
docs/BusinessVenueMapResponseDTO.md
|
|
79
|
+
docs/BusinessVenuePayload.md
|
|
79
80
|
docs/BusinessVenueResponseDTO.md
|
|
80
81
|
docs/BusinessVenueTimingPayload.md
|
|
81
82
|
docs/BusinessVerificationEntity.md
|
package/api.ts
CHANGED
|
@@ -2519,6 +2519,19 @@ export interface BusinessVenueMapResponseDTO {
|
|
|
2519
2519
|
*/
|
|
2520
2520
|
'data': Array<BusinessVenueMapDetailsEntity>;
|
|
2521
2521
|
}
|
|
2522
|
+
/**
|
|
2523
|
+
*
|
|
2524
|
+
* @export
|
|
2525
|
+
* @interface BusinessVenuePayload
|
|
2526
|
+
*/
|
|
2527
|
+
export interface BusinessVenuePayload {
|
|
2528
|
+
/**
|
|
2529
|
+
* Business name search
|
|
2530
|
+
* @type {string}
|
|
2531
|
+
* @memberof BusinessVenuePayload
|
|
2532
|
+
*/
|
|
2533
|
+
'business'?: string;
|
|
2534
|
+
}
|
|
2522
2535
|
/**
|
|
2523
2536
|
*
|
|
2524
2537
|
* @export
|
|
@@ -13611,10 +13624,13 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13611
13624
|
},
|
|
13612
13625
|
/**
|
|
13613
13626
|
*
|
|
13627
|
+
* @param {BusinessVenuePayload} businessVenuePayload
|
|
13614
13628
|
* @param {*} [options] Override http request option.
|
|
13615
13629
|
* @throws {RequiredError}
|
|
13616
13630
|
*/
|
|
13617
|
-
businessTypeControllerGetVenues: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13631
|
+
businessTypeControllerGetVenues: async (businessVenuePayload: BusinessVenuePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13632
|
+
// verify required parameter 'businessVenuePayload' is not null or undefined
|
|
13633
|
+
assertParamExists('businessTypeControllerGetVenues', 'businessVenuePayload', businessVenuePayload)
|
|
13618
13634
|
const localVarPath = `/v1/business/venues/list`;
|
|
13619
13635
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13620
13636
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -13633,9 +13649,12 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13633
13649
|
|
|
13634
13650
|
|
|
13635
13651
|
|
|
13652
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13653
|
+
|
|
13636
13654
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13637
13655
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13638
13656
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13657
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessVenuePayload, localVarRequestOptions, configuration)
|
|
13639
13658
|
|
|
13640
13659
|
return {
|
|
13641
13660
|
url: toPathString(localVarUrlObj),
|
|
@@ -14240,11 +14259,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
14240
14259
|
},
|
|
14241
14260
|
/**
|
|
14242
14261
|
*
|
|
14262
|
+
* @param {BusinessVenuePayload} businessVenuePayload
|
|
14243
14263
|
* @param {*} [options] Override http request option.
|
|
14244
14264
|
* @throws {RequiredError}
|
|
14245
14265
|
*/
|
|
14246
|
-
async businessTypeControllerGetVenues(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
|
|
14247
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetVenues(options);
|
|
14266
|
+
async businessTypeControllerGetVenues(businessVenuePayload: BusinessVenuePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
|
|
14267
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetVenues(businessVenuePayload, options);
|
|
14248
14268
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14249
14269
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetVenues']?.[localVarOperationServerIndex]?.url;
|
|
14250
14270
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14548,11 +14568,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
14548
14568
|
},
|
|
14549
14569
|
/**
|
|
14550
14570
|
*
|
|
14571
|
+
* @param {BusinessVenuePayload} businessVenuePayload
|
|
14551
14572
|
* @param {*} [options] Override http request option.
|
|
14552
14573
|
* @throws {RequiredError}
|
|
14553
14574
|
*/
|
|
14554
|
-
businessTypeControllerGetVenues(options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
14555
|
-
return localVarFp.businessTypeControllerGetVenues(options).then((request) => request(axios, basePath));
|
|
14575
|
+
businessTypeControllerGetVenues(businessVenuePayload: BusinessVenuePayload, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
14576
|
+
return localVarFp.businessTypeControllerGetVenues(businessVenuePayload, options).then((request) => request(axios, basePath));
|
|
14556
14577
|
},
|
|
14557
14578
|
/**
|
|
14558
14579
|
*
|
|
@@ -14861,12 +14882,13 @@ export class BusinessApi extends BaseAPI {
|
|
|
14861
14882
|
|
|
14862
14883
|
/**
|
|
14863
14884
|
*
|
|
14885
|
+
* @param {BusinessVenuePayload} businessVenuePayload
|
|
14864
14886
|
* @param {*} [options] Override http request option.
|
|
14865
14887
|
* @throws {RequiredError}
|
|
14866
14888
|
* @memberof BusinessApi
|
|
14867
14889
|
*/
|
|
14868
|
-
public businessTypeControllerGetVenues(options?: RawAxiosRequestConfig) {
|
|
14869
|
-
return BusinessApiFp(this.configuration).businessTypeControllerGetVenues(options).then((request) => request(this.axios, this.basePath));
|
|
14890
|
+
public businessTypeControllerGetVenues(businessVenuePayload: BusinessVenuePayload, options?: RawAxiosRequestConfig) {
|
|
14891
|
+
return BusinessApiFp(this.configuration).businessTypeControllerGetVenues(businessVenuePayload, options).then((request) => request(this.axios, this.basePath));
|
|
14870
14892
|
}
|
|
14871
14893
|
|
|
14872
14894
|
/**
|
package/docs/BusinessApi.md
CHANGED
|
@@ -988,7 +988,7 @@ No authorization required
|
|
|
988
988
|
[[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)
|
|
989
989
|
|
|
990
990
|
# **businessTypeControllerGetVenues**
|
|
991
|
-
> BusinessVenueResponseDTO businessTypeControllerGetVenues()
|
|
991
|
+
> BusinessVenueResponseDTO businessTypeControllerGetVenues(businessVenuePayload)
|
|
992
992
|
|
|
993
993
|
|
|
994
994
|
### Example
|
|
@@ -996,17 +996,25 @@ No authorization required
|
|
|
996
996
|
```typescript
|
|
997
997
|
import {
|
|
998
998
|
BusinessApi,
|
|
999
|
-
Configuration
|
|
999
|
+
Configuration,
|
|
1000
|
+
BusinessVenuePayload
|
|
1000
1001
|
} from './api';
|
|
1001
1002
|
|
|
1002
1003
|
const configuration = new Configuration();
|
|
1003
1004
|
const apiInstance = new BusinessApi(configuration);
|
|
1004
1005
|
|
|
1005
|
-
|
|
1006
|
+
let businessVenuePayload: BusinessVenuePayload; //
|
|
1007
|
+
|
|
1008
|
+
const { status, data } = await apiInstance.businessTypeControllerGetVenues(
|
|
1009
|
+
businessVenuePayload
|
|
1010
|
+
);
|
|
1006
1011
|
```
|
|
1007
1012
|
|
|
1008
1013
|
### Parameters
|
|
1009
|
-
|
|
1014
|
+
|
|
1015
|
+
|Name | Type | Description | Notes|
|
|
1016
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1017
|
+
| **businessVenuePayload** | **BusinessVenuePayload**| | |
|
|
1010
1018
|
|
|
1011
1019
|
|
|
1012
1020
|
### Return type
|
|
@@ -1019,7 +1027,7 @@ This endpoint does not have any parameters.
|
|
|
1019
1027
|
|
|
1020
1028
|
### HTTP request headers
|
|
1021
1029
|
|
|
1022
|
-
- **Content-Type**:
|
|
1030
|
+
- **Content-Type**: application/json
|
|
1023
1031
|
- **Accept**: application/json
|
|
1024
1032
|
|
|
1025
1033
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# BusinessVenuePayload
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**business** | **string** | Business name search | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { BusinessVenuePayload } from './api';
|
|
14
|
+
|
|
15
|
+
const instance: BusinessVenuePayload = {
|
|
16
|
+
business,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -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-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-07-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-07-03T12:00:31+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-07-03T12:00:31+05:30]
|
|
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]
|
|
@@ -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-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-07-03T12:00:31+05:30]
|
|
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-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-07-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-07-03T12:00:31+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-07-03T13:00:31+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]
|