@gooday_corp/gooday-api-client 1.5.0 → 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);
|
|
@@ -13627,11 +13643,18 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13627
13643
|
const localVarHeaderParameter = {} as any;
|
|
13628
13644
|
const localVarQueryParameter = {} as any;
|
|
13629
13645
|
|
|
13646
|
+
// authentication bearer required
|
|
13647
|
+
// http bearer authentication required
|
|
13648
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13649
|
+
|
|
13630
13650
|
|
|
13631
13651
|
|
|
13652
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13653
|
+
|
|
13632
13654
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13633
13655
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13634
13656
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13657
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessVenuePayload, localVarRequestOptions, configuration)
|
|
13635
13658
|
|
|
13636
13659
|
return {
|
|
13637
13660
|
url: toPathString(localVarUrlObj),
|
|
@@ -14236,11 +14259,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
14236
14259
|
},
|
|
14237
14260
|
/**
|
|
14238
14261
|
*
|
|
14262
|
+
* @param {BusinessVenuePayload} businessVenuePayload
|
|
14239
14263
|
* @param {*} [options] Override http request option.
|
|
14240
14264
|
* @throws {RequiredError}
|
|
14241
14265
|
*/
|
|
14242
|
-
async businessTypeControllerGetVenues(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
|
|
14243
|
-
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);
|
|
14244
14268
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14245
14269
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetVenues']?.[localVarOperationServerIndex]?.url;
|
|
14246
14270
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14544,11 +14568,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
14544
14568
|
},
|
|
14545
14569
|
/**
|
|
14546
14570
|
*
|
|
14571
|
+
* @param {BusinessVenuePayload} businessVenuePayload
|
|
14547
14572
|
* @param {*} [options] Override http request option.
|
|
14548
14573
|
* @throws {RequiredError}
|
|
14549
14574
|
*/
|
|
14550
|
-
businessTypeControllerGetVenues(options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
14551
|
-
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));
|
|
14552
14577
|
},
|
|
14553
14578
|
/**
|
|
14554
14579
|
*
|
|
@@ -14857,12 +14882,13 @@ export class BusinessApi extends BaseAPI {
|
|
|
14857
14882
|
|
|
14858
14883
|
/**
|
|
14859
14884
|
*
|
|
14885
|
+
* @param {BusinessVenuePayload} businessVenuePayload
|
|
14860
14886
|
* @param {*} [options] Override http request option.
|
|
14861
14887
|
* @throws {RequiredError}
|
|
14862
14888
|
* @memberof BusinessApi
|
|
14863
14889
|
*/
|
|
14864
|
-
public businessTypeControllerGetVenues(options?: RawAxiosRequestConfig) {
|
|
14865
|
-
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));
|
|
14866
14892
|
}
|
|
14867
14893
|
|
|
14868
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
|
|
@@ -1015,11 +1023,11 @@ This endpoint does not have any parameters.
|
|
|
1015
1023
|
|
|
1016
1024
|
### Authorization
|
|
1017
1025
|
|
|
1018
|
-
|
|
1026
|
+
[bearer](../README.md#bearer)
|
|
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]
|