@gooday_corp/gooday-api-client 1.5.1 → 1.5.4
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
|
|
@@ -6088,7 +6101,9 @@ export const NotificationEntityTypeEnum = {
|
|
|
6088
6101
|
BookingRescheduledBusiness: 'BOOKING_RESCHEDULED_BUSINESS',
|
|
6089
6102
|
EventRescheduled: 'EVENT_RESCHEDULED',
|
|
6090
6103
|
DailyBriefing: 'DAILY_BRIEFING',
|
|
6091
|
-
Reminders: 'REMINDERS'
|
|
6104
|
+
Reminders: 'REMINDERS',
|
|
6105
|
+
CollaboratorAddedCalendar: 'COLLABORATOR_ADDED_CALENDAR',
|
|
6106
|
+
CollaboratorAddedEvent: 'COLLABORATOR_ADDED_EVENT'
|
|
6092
6107
|
} as const;
|
|
6093
6108
|
|
|
6094
6109
|
export type NotificationEntityTypeEnum = typeof NotificationEntityTypeEnum[keyof typeof NotificationEntityTypeEnum];
|
|
@@ -13611,10 +13626,13 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13611
13626
|
},
|
|
13612
13627
|
/**
|
|
13613
13628
|
*
|
|
13629
|
+
* @param {BusinessVenuePayload} businessVenuePayload
|
|
13614
13630
|
* @param {*} [options] Override http request option.
|
|
13615
13631
|
* @throws {RequiredError}
|
|
13616
13632
|
*/
|
|
13617
|
-
businessTypeControllerGetVenues: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13633
|
+
businessTypeControllerGetVenues: async (businessVenuePayload: BusinessVenuePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13634
|
+
// verify required parameter 'businessVenuePayload' is not null or undefined
|
|
13635
|
+
assertParamExists('businessTypeControllerGetVenues', 'businessVenuePayload', businessVenuePayload)
|
|
13618
13636
|
const localVarPath = `/v1/business/venues/list`;
|
|
13619
13637
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13620
13638
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -13633,9 +13651,12 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13633
13651
|
|
|
13634
13652
|
|
|
13635
13653
|
|
|
13654
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13655
|
+
|
|
13636
13656
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13637
13657
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13638
13658
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13659
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessVenuePayload, localVarRequestOptions, configuration)
|
|
13639
13660
|
|
|
13640
13661
|
return {
|
|
13641
13662
|
url: toPathString(localVarUrlObj),
|
|
@@ -14240,11 +14261,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
14240
14261
|
},
|
|
14241
14262
|
/**
|
|
14242
14263
|
*
|
|
14264
|
+
* @param {BusinessVenuePayload} businessVenuePayload
|
|
14243
14265
|
* @param {*} [options] Override http request option.
|
|
14244
14266
|
* @throws {RequiredError}
|
|
14245
14267
|
*/
|
|
14246
|
-
async businessTypeControllerGetVenues(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
|
|
14247
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetVenues(options);
|
|
14268
|
+
async businessTypeControllerGetVenues(businessVenuePayload: BusinessVenuePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
|
|
14269
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetVenues(businessVenuePayload, options);
|
|
14248
14270
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14249
14271
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetVenues']?.[localVarOperationServerIndex]?.url;
|
|
14250
14272
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14548,11 +14570,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
14548
14570
|
},
|
|
14549
14571
|
/**
|
|
14550
14572
|
*
|
|
14573
|
+
* @param {BusinessVenuePayload} businessVenuePayload
|
|
14551
14574
|
* @param {*} [options] Override http request option.
|
|
14552
14575
|
* @throws {RequiredError}
|
|
14553
14576
|
*/
|
|
14554
|
-
businessTypeControllerGetVenues(options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
14555
|
-
return localVarFp.businessTypeControllerGetVenues(options).then((request) => request(axios, basePath));
|
|
14577
|
+
businessTypeControllerGetVenues(businessVenuePayload: BusinessVenuePayload, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
14578
|
+
return localVarFp.businessTypeControllerGetVenues(businessVenuePayload, options).then((request) => request(axios, basePath));
|
|
14556
14579
|
},
|
|
14557
14580
|
/**
|
|
14558
14581
|
*
|
|
@@ -14861,12 +14884,13 @@ export class BusinessApi extends BaseAPI {
|
|
|
14861
14884
|
|
|
14862
14885
|
/**
|
|
14863
14886
|
*
|
|
14887
|
+
* @param {BusinessVenuePayload} businessVenuePayload
|
|
14864
14888
|
* @param {*} [options] Override http request option.
|
|
14865
14889
|
* @throws {RequiredError}
|
|
14866
14890
|
* @memberof BusinessApi
|
|
14867
14891
|
*/
|
|
14868
|
-
public businessTypeControllerGetVenues(options?: RawAxiosRequestConfig) {
|
|
14869
|
-
return BusinessApiFp(this.configuration).businessTypeControllerGetVenues(options).then((request) => request(this.axios, this.basePath));
|
|
14892
|
+
public businessTypeControllerGetVenues(businessVenuePayload: BusinessVenuePayload, options?: RawAxiosRequestConfig) {
|
|
14893
|
+
return BusinessApiFp(this.configuration).businessTypeControllerGetVenues(businessVenuePayload, options).then((request) => request(this.axios, this.basePath));
|
|
14870
14894
|
}
|
|
14871
14895
|
|
|
14872
14896
|
/**
|
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-04T12:48:46Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-07-04T12:48:46Z]
|
|
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-04T12:48:46Z]
|
|
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-04T12:48:46Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-07-04T13:48:46Z]
|
|
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]
|