@gooday_corp/gooday-api-client 1.5.21 → 1.5.23
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
|
@@ -58,6 +58,7 @@ docs/BusinessFavoriteResponse.md
|
|
|
58
58
|
docs/BusinessFavoriteResponseDTO.md
|
|
59
59
|
docs/BusinessOnBoardingDTO.md
|
|
60
60
|
docs/BusinessOnBoardingResponseDTO.md
|
|
61
|
+
docs/BusinessResponseDTO.md
|
|
61
62
|
docs/BusinessStaffDTO.md
|
|
62
63
|
docs/BusinessStaffDeleteResponseDTO.md
|
|
63
64
|
docs/BusinessStaffEntity.md
|
package/api.ts
CHANGED
|
@@ -1703,6 +1703,25 @@ export interface BusinessOnBoardingResponseDTO {
|
|
|
1703
1703
|
*/
|
|
1704
1704
|
'data': BusinessEntity;
|
|
1705
1705
|
}
|
|
1706
|
+
/**
|
|
1707
|
+
*
|
|
1708
|
+
* @export
|
|
1709
|
+
* @interface BusinessResponseDTO
|
|
1710
|
+
*/
|
|
1711
|
+
export interface BusinessResponseDTO {
|
|
1712
|
+
/**
|
|
1713
|
+
* statusCode
|
|
1714
|
+
* @type {number}
|
|
1715
|
+
* @memberof BusinessResponseDTO
|
|
1716
|
+
*/
|
|
1717
|
+
'statusCode': number;
|
|
1718
|
+
/**
|
|
1719
|
+
*
|
|
1720
|
+
* @type {boolean}
|
|
1721
|
+
* @memberof BusinessResponseDTO
|
|
1722
|
+
*/
|
|
1723
|
+
'data': boolean;
|
|
1724
|
+
}
|
|
1706
1725
|
/**
|
|
1707
1726
|
*
|
|
1708
1727
|
* @export
|
|
@@ -13354,6 +13373,39 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13354
13373
|
options: localVarRequestOptions,
|
|
13355
13374
|
};
|
|
13356
13375
|
},
|
|
13376
|
+
/**
|
|
13377
|
+
*
|
|
13378
|
+
* @param {string} id
|
|
13379
|
+
* @param {*} [options] Override http request option.
|
|
13380
|
+
* @throws {RequiredError}
|
|
13381
|
+
*/
|
|
13382
|
+
businessTypeControllerBusinessStatusUpdate: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13383
|
+
// verify required parameter 'id' is not null or undefined
|
|
13384
|
+
assertParamExists('businessTypeControllerBusinessStatusUpdate', 'id', id)
|
|
13385
|
+
const localVarPath = `/v1/business/business/status/{id}`
|
|
13386
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
13387
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13388
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13389
|
+
let baseOptions;
|
|
13390
|
+
if (configuration) {
|
|
13391
|
+
baseOptions = configuration.baseOptions;
|
|
13392
|
+
}
|
|
13393
|
+
|
|
13394
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
13395
|
+
const localVarHeaderParameter = {} as any;
|
|
13396
|
+
const localVarQueryParameter = {} as any;
|
|
13397
|
+
|
|
13398
|
+
|
|
13399
|
+
|
|
13400
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13401
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13402
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13403
|
+
|
|
13404
|
+
return {
|
|
13405
|
+
url: toPathString(localVarUrlObj),
|
|
13406
|
+
options: localVarRequestOptions,
|
|
13407
|
+
};
|
|
13408
|
+
},
|
|
13357
13409
|
/**
|
|
13358
13410
|
*
|
|
13359
13411
|
* @param {BusinessVenueMapDTO} businessVenueMapDTO
|
|
@@ -14185,6 +14237,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
14185
14237
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerUpdateStaff']?.[localVarOperationServerIndex]?.url;
|
|
14186
14238
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14187
14239
|
},
|
|
14240
|
+
/**
|
|
14241
|
+
*
|
|
14242
|
+
* @param {string} id
|
|
14243
|
+
* @param {*} [options] Override http request option.
|
|
14244
|
+
* @throws {RequiredError}
|
|
14245
|
+
*/
|
|
14246
|
+
async businessTypeControllerBusinessStatusUpdate(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessResponseDTO>> {
|
|
14247
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerBusinessStatusUpdate(id, options);
|
|
14248
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14249
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerBusinessStatusUpdate']?.[localVarOperationServerIndex]?.url;
|
|
14250
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14251
|
+
},
|
|
14188
14252
|
/**
|
|
14189
14253
|
*
|
|
14190
14254
|
* @param {BusinessVenueMapDTO} businessVenueMapDTO
|
|
@@ -14518,6 +14582,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
14518
14582
|
businessStaffControllerUpdateStaff(id: string, businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
|
|
14519
14583
|
return localVarFp.businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(axios, basePath));
|
|
14520
14584
|
},
|
|
14585
|
+
/**
|
|
14586
|
+
*
|
|
14587
|
+
* @param {string} id
|
|
14588
|
+
* @param {*} [options] Override http request option.
|
|
14589
|
+
* @throws {RequiredError}
|
|
14590
|
+
*/
|
|
14591
|
+
businessTypeControllerBusinessStatusUpdate(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessResponseDTO> {
|
|
14592
|
+
return localVarFp.businessTypeControllerBusinessStatusUpdate(id, options).then((request) => request(axios, basePath));
|
|
14593
|
+
},
|
|
14521
14594
|
/**
|
|
14522
14595
|
*
|
|
14523
14596
|
* @param {BusinessVenueMapDTO} businessVenueMapDTO
|
|
@@ -14816,6 +14889,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
14816
14889
|
return BusinessApiFp(this.configuration).businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(this.axios, this.basePath));
|
|
14817
14890
|
}
|
|
14818
14891
|
|
|
14892
|
+
/**
|
|
14893
|
+
*
|
|
14894
|
+
* @param {string} id
|
|
14895
|
+
* @param {*} [options] Override http request option.
|
|
14896
|
+
* @throws {RequiredError}
|
|
14897
|
+
* @memberof BusinessApi
|
|
14898
|
+
*/
|
|
14899
|
+
public businessTypeControllerBusinessStatusUpdate(id: string, options?: RawAxiosRequestConfig) {
|
|
14900
|
+
return BusinessApiFp(this.configuration).businessTypeControllerBusinessStatusUpdate(id, options).then((request) => request(this.axios, this.basePath));
|
|
14901
|
+
}
|
|
14902
|
+
|
|
14819
14903
|
/**
|
|
14820
14904
|
*
|
|
14821
14905
|
* @param {BusinessVenueMapDTO} businessVenueMapDTO
|
package/docs/BusinessApi.md
CHANGED
|
@@ -15,6 +15,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
15
15
|
|[**businessStaffControllerFindVenueStaffs**](#businessstaffcontrollerfindvenuestaffs) | **POST** /v1/business-staff/public-list | |
|
|
16
16
|
|[**businessStaffControllerSaveBusinessStaff**](#businessstaffcontrollersavebusinessstaff) | **POST** /v1/business-staff | |
|
|
17
17
|
|[**businessStaffControllerUpdateStaff**](#businessstaffcontrollerupdatestaff) | **PUT** /v1/business-staff/{id} | |
|
|
18
|
+
|[**businessTypeControllerBusinessStatusUpdate**](#businesstypecontrollerbusinessstatusupdate) | **PUT** /v1/business/business/status/{id} | |
|
|
18
19
|
|[**businessTypeControllerBusinessVenueMap**](#businesstypecontrollerbusinessvenuemap) | **POST** /v1/business/map/venue | |
|
|
19
20
|
|[**businessTypeControllerFindFavoriteBusinessVenue**](#businesstypecontrollerfindfavoritebusinessvenue) | **GET** /v1/business/favorite/{id} | |
|
|
20
21
|
|[**businessTypeControllerFindFavoriteBusinessVenueCount**](#businesstypecontrollerfindfavoritebusinessvenuecount) | **GET** /v1/business/favorite/count/{id} | |
|
|
@@ -576,6 +577,56 @@ const { status, data } = await apiInstance.businessStaffControllerUpdateStaff(
|
|
|
576
577
|
- **Accept**: application/json
|
|
577
578
|
|
|
578
579
|
|
|
580
|
+
### HTTP response details
|
|
581
|
+
| Status code | Description | Response headers |
|
|
582
|
+
|-------------|-------------|------------------|
|
|
583
|
+
|**200** | | - |
|
|
584
|
+
|
|
585
|
+
[[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)
|
|
586
|
+
|
|
587
|
+
# **businessTypeControllerBusinessStatusUpdate**
|
|
588
|
+
> BusinessResponseDTO businessTypeControllerBusinessStatusUpdate()
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
### Example
|
|
592
|
+
|
|
593
|
+
```typescript
|
|
594
|
+
import {
|
|
595
|
+
BusinessApi,
|
|
596
|
+
Configuration
|
|
597
|
+
} from './api';
|
|
598
|
+
|
|
599
|
+
const configuration = new Configuration();
|
|
600
|
+
const apiInstance = new BusinessApi(configuration);
|
|
601
|
+
|
|
602
|
+
let id: string; // (default to undefined)
|
|
603
|
+
|
|
604
|
+
const { status, data } = await apiInstance.businessTypeControllerBusinessStatusUpdate(
|
|
605
|
+
id
|
|
606
|
+
);
|
|
607
|
+
```
|
|
608
|
+
|
|
609
|
+
### Parameters
|
|
610
|
+
|
|
611
|
+
|Name | Type | Description | Notes|
|
|
612
|
+
|------------- | ------------- | ------------- | -------------|
|
|
613
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
### Return type
|
|
617
|
+
|
|
618
|
+
**BusinessResponseDTO**
|
|
619
|
+
|
|
620
|
+
### Authorization
|
|
621
|
+
|
|
622
|
+
No authorization required
|
|
623
|
+
|
|
624
|
+
### HTTP request headers
|
|
625
|
+
|
|
626
|
+
- **Content-Type**: Not defined
|
|
627
|
+
- **Accept**: application/json
|
|
628
|
+
|
|
629
|
+
|
|
579
630
|
### HTTP response details
|
|
580
631
|
| Status code | Description | Response headers |
|
|
581
632
|
|-------------|-------------|------------------|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# BusinessResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | **boolean** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { BusinessResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: BusinessResponseDTO = {
|
|
17
|
+
statusCode,
|
|
18
|
+
data,
|
|
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)
|
|
@@ -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-11T14:45:11Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-07-11T14:45:11Z]
|
|
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-11T14:45:11Z]
|
|
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-11T14:45:11Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-07-11T15:45:11Z]
|
|
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]
|