@gooday_corp/gooday-api-client 1.7.9 → 1.8.1
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 +2 -0
- package/api.ts +192 -0
- package/docs/BusinessApi.md +52 -0
- package/docs/BusinessBookingFeePayload.md +22 -0
- package/docs/BusinessDetailsPayloadDTO.md +2 -0
- package/docs/BusinessEntity.md +2 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/EventCalendarSharedPayload.md +22 -0
- package/docs/EventsApi.md +52 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -47,6 +47,7 @@ docs/BookingResponseDTO.md
|
|
|
47
47
|
docs/BookingRulesEntity.md
|
|
48
48
|
docs/BookingRulesPayloadDTO.md
|
|
49
49
|
docs/BusinessApi.md
|
|
50
|
+
docs/BusinessBookingFeePayload.md
|
|
50
51
|
docs/BusinessConnectedAccount.md
|
|
51
52
|
docs/BusinessDetailsPayloadDTO.md
|
|
52
53
|
docs/BusinessEntity.md
|
|
@@ -131,6 +132,7 @@ docs/DeviceEntity.md
|
|
|
131
132
|
docs/Discount.md
|
|
132
133
|
docs/EmployeesSizeEntity.md
|
|
133
134
|
docs/EmployeesSizeListResponse.md
|
|
135
|
+
docs/EventCalendarSharedPayload.md
|
|
134
136
|
docs/EventDTO.md
|
|
135
137
|
docs/EventDeletePayload.md
|
|
136
138
|
docs/EventDeleteResponseDTO.md
|
package/api.ts
CHANGED
|
@@ -1307,6 +1307,25 @@ export interface BookingRulesPayloadDTO {
|
|
|
1307
1307
|
*/
|
|
1308
1308
|
'finalBookingTimeAbsolute': string;
|
|
1309
1309
|
}
|
|
1310
|
+
/**
|
|
1311
|
+
*
|
|
1312
|
+
* @export
|
|
1313
|
+
* @interface BusinessBookingFeePayload
|
|
1314
|
+
*/
|
|
1315
|
+
export interface BusinessBookingFeePayload {
|
|
1316
|
+
/**
|
|
1317
|
+
* Business id
|
|
1318
|
+
* @type {string}
|
|
1319
|
+
* @memberof BusinessBookingFeePayload
|
|
1320
|
+
*/
|
|
1321
|
+
'businessId'?: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* Business booking fee
|
|
1324
|
+
* @type {string}
|
|
1325
|
+
* @memberof BusinessBookingFeePayload
|
|
1326
|
+
*/
|
|
1327
|
+
'bookingFee'?: string;
|
|
1328
|
+
}
|
|
1310
1329
|
/**
|
|
1311
1330
|
*
|
|
1312
1331
|
* @export
|
|
@@ -1413,6 +1432,12 @@ export interface BusinessDetailsPayloadDTO {
|
|
|
1413
1432
|
* @memberof BusinessDetailsPayloadDTO
|
|
1414
1433
|
*/
|
|
1415
1434
|
'venue'?: string;
|
|
1435
|
+
/**
|
|
1436
|
+
* Business booking fee
|
|
1437
|
+
* @type {number}
|
|
1438
|
+
* @memberof BusinessDetailsPayloadDTO
|
|
1439
|
+
*/
|
|
1440
|
+
'bookingFee'?: number;
|
|
1416
1441
|
}
|
|
1417
1442
|
/**
|
|
1418
1443
|
*
|
|
@@ -1498,6 +1523,12 @@ export interface BusinessEntity {
|
|
|
1498
1523
|
* @memberof BusinessEntity
|
|
1499
1524
|
*/
|
|
1500
1525
|
'status': BusinessEntityStatusEnum;
|
|
1526
|
+
/**
|
|
1527
|
+
* Business booking fee
|
|
1528
|
+
* @type {number}
|
|
1529
|
+
* @memberof BusinessEntity
|
|
1530
|
+
*/
|
|
1531
|
+
'bookingFee': number;
|
|
1501
1532
|
}
|
|
1502
1533
|
|
|
1503
1534
|
export const BusinessEntityStatusEnum = {
|
|
@@ -4076,6 +4107,25 @@ export interface EmployeesSizeListResponse {
|
|
|
4076
4107
|
*/
|
|
4077
4108
|
'data': Array<EmployeesSizeEntity>;
|
|
4078
4109
|
}
|
|
4110
|
+
/**
|
|
4111
|
+
*
|
|
4112
|
+
* @export
|
|
4113
|
+
* @interface EventCalendarSharedPayload
|
|
4114
|
+
*/
|
|
4115
|
+
export interface EventCalendarSharedPayload {
|
|
4116
|
+
/**
|
|
4117
|
+
* ID of the event
|
|
4118
|
+
* @type {string}
|
|
4119
|
+
* @memberof EventCalendarSharedPayload
|
|
4120
|
+
*/
|
|
4121
|
+
'eventId'?: string;
|
|
4122
|
+
/**
|
|
4123
|
+
* Calendar associated with the event
|
|
4124
|
+
* @type {Array<string>}
|
|
4125
|
+
* @memberof EventCalendarSharedPayload
|
|
4126
|
+
*/
|
|
4127
|
+
'calendars'?: Array<string>;
|
|
4128
|
+
}
|
|
4079
4129
|
/**
|
|
4080
4130
|
*
|
|
4081
4131
|
* @export
|
|
@@ -13356,6 +13406,45 @@ export class BookingApi extends BaseAPI {
|
|
|
13356
13406
|
*/
|
|
13357
13407
|
export const BusinessApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
13358
13408
|
return {
|
|
13409
|
+
/**
|
|
13410
|
+
*
|
|
13411
|
+
* @param {BusinessBookingFeePayload} businessBookingFeePayload
|
|
13412
|
+
* @param {*} [options] Override http request option.
|
|
13413
|
+
* @throws {RequiredError}
|
|
13414
|
+
*/
|
|
13415
|
+
businessControllerBusinessBookingFeeUpdate: async (businessBookingFeePayload: BusinessBookingFeePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13416
|
+
// verify required parameter 'businessBookingFeePayload' is not null or undefined
|
|
13417
|
+
assertParamExists('businessControllerBusinessBookingFeeUpdate', 'businessBookingFeePayload', businessBookingFeePayload)
|
|
13418
|
+
const localVarPath = `/v1/business/booking/fee`;
|
|
13419
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13420
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13421
|
+
let baseOptions;
|
|
13422
|
+
if (configuration) {
|
|
13423
|
+
baseOptions = configuration.baseOptions;
|
|
13424
|
+
}
|
|
13425
|
+
|
|
13426
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
13427
|
+
const localVarHeaderParameter = {} as any;
|
|
13428
|
+
const localVarQueryParameter = {} as any;
|
|
13429
|
+
|
|
13430
|
+
// authentication bearer required
|
|
13431
|
+
// http bearer authentication required
|
|
13432
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13433
|
+
|
|
13434
|
+
|
|
13435
|
+
|
|
13436
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13437
|
+
|
|
13438
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13439
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13440
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13441
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessBookingFeePayload, localVarRequestOptions, configuration)
|
|
13442
|
+
|
|
13443
|
+
return {
|
|
13444
|
+
url: toPathString(localVarUrlObj),
|
|
13445
|
+
options: localVarRequestOptions,
|
|
13446
|
+
};
|
|
13447
|
+
},
|
|
13359
13448
|
/**
|
|
13360
13449
|
*
|
|
13361
13450
|
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
@@ -14498,6 +14587,18 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14498
14587
|
export const BusinessApiFp = function(configuration?: Configuration) {
|
|
14499
14588
|
const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
|
|
14500
14589
|
return {
|
|
14590
|
+
/**
|
|
14591
|
+
*
|
|
14592
|
+
* @param {BusinessBookingFeePayload} businessBookingFeePayload
|
|
14593
|
+
* @param {*} [options] Override http request option.
|
|
14594
|
+
* @throws {RequiredError}
|
|
14595
|
+
*/
|
|
14596
|
+
async businessControllerBusinessBookingFeeUpdate(businessBookingFeePayload: BusinessBookingFeePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
14597
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessBookingFeeUpdate(businessBookingFeePayload, options);
|
|
14598
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14599
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessBookingFeeUpdate']?.[localVarOperationServerIndex]?.url;
|
|
14600
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14601
|
+
},
|
|
14501
14602
|
/**
|
|
14502
14603
|
*
|
|
14503
14604
|
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
@@ -14876,6 +14977,15 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
14876
14977
|
export const BusinessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
14877
14978
|
const localVarFp = BusinessApiFp(configuration)
|
|
14878
14979
|
return {
|
|
14980
|
+
/**
|
|
14981
|
+
*
|
|
14982
|
+
* @param {BusinessBookingFeePayload} businessBookingFeePayload
|
|
14983
|
+
* @param {*} [options] Override http request option.
|
|
14984
|
+
* @throws {RequiredError}
|
|
14985
|
+
*/
|
|
14986
|
+
businessControllerBusinessBookingFeeUpdate(businessBookingFeePayload: BusinessBookingFeePayload, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
14987
|
+
return localVarFp.businessControllerBusinessBookingFeeUpdate(businessBookingFeePayload, options).then((request) => request(axios, basePath));
|
|
14988
|
+
},
|
|
14879
14989
|
/**
|
|
14880
14990
|
*
|
|
14881
14991
|
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
@@ -15161,6 +15271,17 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
15161
15271
|
* @extends {BaseAPI}
|
|
15162
15272
|
*/
|
|
15163
15273
|
export class BusinessApi extends BaseAPI {
|
|
15274
|
+
/**
|
|
15275
|
+
*
|
|
15276
|
+
* @param {BusinessBookingFeePayload} businessBookingFeePayload
|
|
15277
|
+
* @param {*} [options] Override http request option.
|
|
15278
|
+
* @throws {RequiredError}
|
|
15279
|
+
* @memberof BusinessApi
|
|
15280
|
+
*/
|
|
15281
|
+
public businessControllerBusinessBookingFeeUpdate(businessBookingFeePayload: BusinessBookingFeePayload, options?: RawAxiosRequestConfig) {
|
|
15282
|
+
return BusinessApiFp(this.configuration).businessControllerBusinessBookingFeeUpdate(businessBookingFeePayload, options).then((request) => request(this.axios, this.basePath));
|
|
15283
|
+
}
|
|
15284
|
+
|
|
15164
15285
|
/**
|
|
15165
15286
|
*
|
|
15166
15287
|
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
@@ -17227,6 +17348,45 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
17227
17348
|
options: localVarRequestOptions,
|
|
17228
17349
|
};
|
|
17229
17350
|
},
|
|
17351
|
+
/**
|
|
17352
|
+
*
|
|
17353
|
+
* @param {EventCalendarSharedPayload} eventCalendarSharedPayload
|
|
17354
|
+
* @param {*} [options] Override http request option.
|
|
17355
|
+
* @throws {RequiredError}
|
|
17356
|
+
*/
|
|
17357
|
+
eventControllerCalendarInvites: async (eventCalendarSharedPayload: EventCalendarSharedPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17358
|
+
// verify required parameter 'eventCalendarSharedPayload' is not null or undefined
|
|
17359
|
+
assertParamExists('eventControllerCalendarInvites', 'eventCalendarSharedPayload', eventCalendarSharedPayload)
|
|
17360
|
+
const localVarPath = `/v1/event/calendar-shared`;
|
|
17361
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17362
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17363
|
+
let baseOptions;
|
|
17364
|
+
if (configuration) {
|
|
17365
|
+
baseOptions = configuration.baseOptions;
|
|
17366
|
+
}
|
|
17367
|
+
|
|
17368
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
17369
|
+
const localVarHeaderParameter = {} as any;
|
|
17370
|
+
const localVarQueryParameter = {} as any;
|
|
17371
|
+
|
|
17372
|
+
// authentication bearer required
|
|
17373
|
+
// http bearer authentication required
|
|
17374
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17375
|
+
|
|
17376
|
+
|
|
17377
|
+
|
|
17378
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17379
|
+
|
|
17380
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17381
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17382
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17383
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventCalendarSharedPayload, localVarRequestOptions, configuration)
|
|
17384
|
+
|
|
17385
|
+
return {
|
|
17386
|
+
url: toPathString(localVarUrlObj),
|
|
17387
|
+
options: localVarRequestOptions,
|
|
17388
|
+
};
|
|
17389
|
+
},
|
|
17230
17390
|
/**
|
|
17231
17391
|
*
|
|
17232
17392
|
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
|
@@ -17442,6 +17602,18 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
17442
17602
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerAcceptEventInvite']?.[localVarOperationServerIndex]?.url;
|
|
17443
17603
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17444
17604
|
},
|
|
17605
|
+
/**
|
|
17606
|
+
*
|
|
17607
|
+
* @param {EventCalendarSharedPayload} eventCalendarSharedPayload
|
|
17608
|
+
* @param {*} [options] Override http request option.
|
|
17609
|
+
* @throws {RequiredError}
|
|
17610
|
+
*/
|
|
17611
|
+
async eventControllerCalendarInvites(eventCalendarSharedPayload: EventCalendarSharedPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventResponseDTO>> {
|
|
17612
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerCalendarInvites(eventCalendarSharedPayload, options);
|
|
17613
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17614
|
+
const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerCalendarInvites']?.[localVarOperationServerIndex]?.url;
|
|
17615
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17616
|
+
},
|
|
17445
17617
|
/**
|
|
17446
17618
|
*
|
|
17447
17619
|
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
|
@@ -17521,6 +17693,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
17521
17693
|
eventControllerAcceptEventInvite(acceptEventInvitePayload: AcceptEventInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
|
|
17522
17694
|
return localVarFp.eventControllerAcceptEventInvite(acceptEventInvitePayload, options).then((request) => request(axios, basePath));
|
|
17523
17695
|
},
|
|
17696
|
+
/**
|
|
17697
|
+
*
|
|
17698
|
+
* @param {EventCalendarSharedPayload} eventCalendarSharedPayload
|
|
17699
|
+
* @param {*} [options] Override http request option.
|
|
17700
|
+
* @throws {RequiredError}
|
|
17701
|
+
*/
|
|
17702
|
+
eventControllerCalendarInvites(eventCalendarSharedPayload: EventCalendarSharedPayload, options?: RawAxiosRequestConfig): AxiosPromise<EventResponseDTO> {
|
|
17703
|
+
return localVarFp.eventControllerCalendarInvites(eventCalendarSharedPayload, options).then((request) => request(axios, basePath));
|
|
17704
|
+
},
|
|
17524
17705
|
/**
|
|
17525
17706
|
*
|
|
17526
17707
|
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
|
@@ -17587,6 +17768,17 @@ export class EventsApi extends BaseAPI {
|
|
|
17587
17768
|
return EventsApiFp(this.configuration).eventControllerAcceptEventInvite(acceptEventInvitePayload, options).then((request) => request(this.axios, this.basePath));
|
|
17588
17769
|
}
|
|
17589
17770
|
|
|
17771
|
+
/**
|
|
17772
|
+
*
|
|
17773
|
+
* @param {EventCalendarSharedPayload} eventCalendarSharedPayload
|
|
17774
|
+
* @param {*} [options] Override http request option.
|
|
17775
|
+
* @throws {RequiredError}
|
|
17776
|
+
* @memberof EventsApi
|
|
17777
|
+
*/
|
|
17778
|
+
public eventControllerCalendarInvites(eventCalendarSharedPayload: EventCalendarSharedPayload, options?: RawAxiosRequestConfig) {
|
|
17779
|
+
return EventsApiFp(this.configuration).eventControllerCalendarInvites(eventCalendarSharedPayload, options).then((request) => request(this.axios, this.basePath));
|
|
17780
|
+
}
|
|
17781
|
+
|
|
17590
17782
|
/**
|
|
17591
17783
|
*
|
|
17592
17784
|
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
package/docs/BusinessApi.md
CHANGED
|
@@ -4,6 +4,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
|[**businessControllerBusinessBookingFeeUpdate**](#businesscontrollerbusinessbookingfeeupdate) | **PUT** /v1/business/booking/fee | |
|
|
7
8
|
|[**businessControllerBusinessOnboarding**](#businesscontrollerbusinessonboarding) | **POST** /v1/business/onboarding | |
|
|
8
9
|
|[**businessControllerGetMe**](#businesscontrollergetme) | **GET** /v1/business/me | |
|
|
9
10
|
|[**businessControllerListBusinesses**](#businesscontrollerlistbusinesses) | **GET** /v1/business | |
|
|
@@ -36,6 +37,57 @@ All URIs are relative to *http://localhost:8080*
|
|
|
36
37
|
|[**businessTypeControllerUnFavoriteBusiness**](#businesstypecontrollerunfavoritebusiness) | **POST** /v1/business/unfavorite | |
|
|
37
38
|
|[**businessVerificationControllerABNVerification**](#businessverificationcontrollerabnverification) | **GET** /v1/business/verify/{type}/{businessNumber} | |
|
|
38
39
|
|
|
40
|
+
# **businessControllerBusinessBookingFeeUpdate**
|
|
41
|
+
> BusinessOnBoardingResponseDTO businessControllerBusinessBookingFeeUpdate(businessBookingFeePayload)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Example
|
|
45
|
+
|
|
46
|
+
```typescript
|
|
47
|
+
import {
|
|
48
|
+
BusinessApi,
|
|
49
|
+
Configuration,
|
|
50
|
+
BusinessBookingFeePayload
|
|
51
|
+
} from './api';
|
|
52
|
+
|
|
53
|
+
const configuration = new Configuration();
|
|
54
|
+
const apiInstance = new BusinessApi(configuration);
|
|
55
|
+
|
|
56
|
+
let businessBookingFeePayload: BusinessBookingFeePayload; //
|
|
57
|
+
|
|
58
|
+
const { status, data } = await apiInstance.businessControllerBusinessBookingFeeUpdate(
|
|
59
|
+
businessBookingFeePayload
|
|
60
|
+
);
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Parameters
|
|
64
|
+
|
|
65
|
+
|Name | Type | Description | Notes|
|
|
66
|
+
|------------- | ------------- | ------------- | -------------|
|
|
67
|
+
| **businessBookingFeePayload** | **BusinessBookingFeePayload**| | |
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Return type
|
|
71
|
+
|
|
72
|
+
**BusinessOnBoardingResponseDTO**
|
|
73
|
+
|
|
74
|
+
### Authorization
|
|
75
|
+
|
|
76
|
+
[bearer](../README.md#bearer)
|
|
77
|
+
|
|
78
|
+
### HTTP request headers
|
|
79
|
+
|
|
80
|
+
- **Content-Type**: application/json
|
|
81
|
+
- **Accept**: application/json
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
### HTTP response details
|
|
85
|
+
| Status code | Description | Response headers |
|
|
86
|
+
|-------------|-------------|------------------|
|
|
87
|
+
|**200** | | - |
|
|
88
|
+
|
|
89
|
+
[[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)
|
|
90
|
+
|
|
39
91
|
# **businessControllerBusinessOnboarding**
|
|
40
92
|
> BusinessOnBoardingResponseDTO businessControllerBusinessOnboarding(businessOnBoardingDTO)
|
|
41
93
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# BusinessBookingFeePayload
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**businessId** | **string** | Business id | [optional] [default to undefined]
|
|
9
|
+
**bookingFee** | **string** | Business booking fee | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { BusinessBookingFeePayload } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: BusinessBookingFeePayload = {
|
|
17
|
+
businessId,
|
|
18
|
+
bookingFee,
|
|
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)
|
|
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**cancellationDuration** | **string** | | [optional] [default to undefined]
|
|
18
18
|
**business** | **string** | Business | [optional] [default to undefined]
|
|
19
19
|
**venue** | **string** | Business venue | [optional] [default to undefined]
|
|
20
|
+
**bookingFee** | **number** | Business booking fee | [optional] [default to undefined]
|
|
20
21
|
|
|
21
22
|
## Example
|
|
22
23
|
|
|
@@ -36,6 +37,7 @@ const instance: BusinessDetailsPayloadDTO = {
|
|
|
36
37
|
cancellationDuration,
|
|
37
38
|
business,
|
|
38
39
|
venue,
|
|
40
|
+
bookingFee,
|
|
39
41
|
};
|
|
40
42
|
```
|
|
41
43
|
|
package/docs/BusinessEntity.md
CHANGED
|
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**businessCategory** | **string** | Business Category | [optional] [default to undefined]
|
|
19
19
|
**accountId** | **string** | Connected business account ID | [optional] [default to undefined]
|
|
20
20
|
**status** | **string** | Business verification status | [default to undefined]
|
|
21
|
+
**bookingFee** | **number** | Business booking fee | [default to undefined]
|
|
21
22
|
|
|
22
23
|
## Example
|
|
23
24
|
|
|
@@ -38,6 +39,7 @@ const instance: BusinessEntity = {
|
|
|
38
39
|
businessCategory,
|
|
39
40
|
accountId,
|
|
40
41
|
status,
|
|
42
|
+
bookingFee,
|
|
41
43
|
};
|
|
42
44
|
```
|
|
43
45
|
|
|
@@ -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-08-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-08-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-08-08T17:15:24+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-08-08T17:15:24+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]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# EventCalendarSharedPayload
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**eventId** | **string** | ID of the event | [optional] [default to undefined]
|
|
9
|
+
**calendars** | **Array<string>** | Calendar associated with the event | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { EventCalendarSharedPayload } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: EventCalendarSharedPayload = {
|
|
17
|
+
eventId,
|
|
18
|
+
calendars,
|
|
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)
|
package/docs/EventsApi.md
CHANGED
|
@@ -5,6 +5,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**eventControllerAcceptEventInvite**](#eventcontrolleraccepteventinvite) | **POST** /v1/event/accept | |
|
|
8
|
+
|[**eventControllerCalendarInvites**](#eventcontrollercalendarinvites) | **POST** /v1/event/calendar-shared | |
|
|
8
9
|
|[**eventControllerCreateEvents**](#eventcontrollercreateevents) | **POST** /v1/event | |
|
|
9
10
|
|[**eventControllerDeleteEvents**](#eventcontrollerdeleteevents) | **DELETE** /v1/event | |
|
|
10
11
|
|[**eventControllerEventDetail**](#eventcontrollereventdetail) | **GET** /v1/event/{id} | |
|
|
@@ -62,6 +63,57 @@ const { status, data } = await apiInstance.eventControllerAcceptEventInvite(
|
|
|
62
63
|
|
|
63
64
|
[[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)
|
|
64
65
|
|
|
66
|
+
# **eventControllerCalendarInvites**
|
|
67
|
+
> EventResponseDTO eventControllerCalendarInvites(eventCalendarSharedPayload)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Example
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
import {
|
|
74
|
+
EventsApi,
|
|
75
|
+
Configuration,
|
|
76
|
+
EventCalendarSharedPayload
|
|
77
|
+
} from './api';
|
|
78
|
+
|
|
79
|
+
const configuration = new Configuration();
|
|
80
|
+
const apiInstance = new EventsApi(configuration);
|
|
81
|
+
|
|
82
|
+
let eventCalendarSharedPayload: EventCalendarSharedPayload; //
|
|
83
|
+
|
|
84
|
+
const { status, data } = await apiInstance.eventControllerCalendarInvites(
|
|
85
|
+
eventCalendarSharedPayload
|
|
86
|
+
);
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Parameters
|
|
90
|
+
|
|
91
|
+
|Name | Type | Description | Notes|
|
|
92
|
+
|------------- | ------------- | ------------- | -------------|
|
|
93
|
+
| **eventCalendarSharedPayload** | **EventCalendarSharedPayload**| | |
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Return type
|
|
97
|
+
|
|
98
|
+
**EventResponseDTO**
|
|
99
|
+
|
|
100
|
+
### Authorization
|
|
101
|
+
|
|
102
|
+
[bearer](../README.md#bearer)
|
|
103
|
+
|
|
104
|
+
### HTTP request headers
|
|
105
|
+
|
|
106
|
+
- **Content-Type**: application/json
|
|
107
|
+
- **Accept**: application/json
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
### HTTP response details
|
|
111
|
+
| Status code | Description | Response headers |
|
|
112
|
+
|-------------|-------------|------------------|
|
|
113
|
+
|**200** | | - |
|
|
114
|
+
|
|
115
|
+
[[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)
|
|
116
|
+
|
|
65
117
|
# **eventControllerCreateEvents**
|
|
66
118
|
> EventResponseDTO eventControllerCreateEvents(createEventPayloadDTO)
|
|
67
119
|
|
|
@@ -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-08-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-08-08T17:15:24+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-08-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-08-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-08-08T17:15:24+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-08-08T18:15:24+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]
|