@gooday_corp/gooday-api-client 1.7.9 → 1.8.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 +3 -0
- package/api.ts +272 -0
- package/docs/AuthApi.md +53 -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/SignInWithAdminDTO.md +20 -0
- 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
|
|
@@ -276,6 +278,7 @@ docs/SendFriendshipRequestPayload.md
|
|
|
276
278
|
docs/SignInDto.md
|
|
277
279
|
docs/SignInResponse.md
|
|
278
280
|
docs/SignInResponseDto.md
|
|
281
|
+
docs/SignInWithAdminDTO.md
|
|
279
282
|
docs/SignedUrlResponseDTO.md
|
|
280
283
|
docs/SignupDto.md
|
|
281
284
|
docs/SignupResponse.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
|
|
@@ -7919,6 +7969,19 @@ export interface SignInResponseDto {
|
|
|
7919
7969
|
*/
|
|
7920
7970
|
'data': SignInResponse;
|
|
7921
7971
|
}
|
|
7972
|
+
/**
|
|
7973
|
+
*
|
|
7974
|
+
* @export
|
|
7975
|
+
* @interface SignInWithAdminDTO
|
|
7976
|
+
*/
|
|
7977
|
+
export interface SignInWithAdminDTO {
|
|
7978
|
+
/**
|
|
7979
|
+
* Email
|
|
7980
|
+
* @type {string}
|
|
7981
|
+
* @memberof SignInWithAdminDTO
|
|
7982
|
+
*/
|
|
7983
|
+
'email': string;
|
|
7984
|
+
}
|
|
7922
7985
|
/**
|
|
7923
7986
|
*
|
|
7924
7987
|
* @export
|
|
@@ -11216,6 +11279,41 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11216
11279
|
options: localVarRequestOptions,
|
|
11217
11280
|
};
|
|
11218
11281
|
},
|
|
11282
|
+
/**
|
|
11283
|
+
*
|
|
11284
|
+
* @param {SignInWithAdminDTO} signInWithAdminDTO
|
|
11285
|
+
* @param {*} [options] Override http request option.
|
|
11286
|
+
* @throws {RequiredError}
|
|
11287
|
+
*/
|
|
11288
|
+
authControllerSignInWithAdmin: async (signInWithAdminDTO: SignInWithAdminDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11289
|
+
// verify required parameter 'signInWithAdminDTO' is not null or undefined
|
|
11290
|
+
assertParamExists('authControllerSignInWithAdmin', 'signInWithAdminDTO', signInWithAdminDTO)
|
|
11291
|
+
const localVarPath = `/v1/auth/admin-login`;
|
|
11292
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11293
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11294
|
+
let baseOptions;
|
|
11295
|
+
if (configuration) {
|
|
11296
|
+
baseOptions = configuration.baseOptions;
|
|
11297
|
+
}
|
|
11298
|
+
|
|
11299
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11300
|
+
const localVarHeaderParameter = {} as any;
|
|
11301
|
+
const localVarQueryParameter = {} as any;
|
|
11302
|
+
|
|
11303
|
+
|
|
11304
|
+
|
|
11305
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11306
|
+
|
|
11307
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11308
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11309
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11310
|
+
localVarRequestOptions.data = serializeDataIfNeeded(signInWithAdminDTO, localVarRequestOptions, configuration)
|
|
11311
|
+
|
|
11312
|
+
return {
|
|
11313
|
+
url: toPathString(localVarUrlObj),
|
|
11314
|
+
options: localVarRequestOptions,
|
|
11315
|
+
};
|
|
11316
|
+
},
|
|
11219
11317
|
/**
|
|
11220
11318
|
*
|
|
11221
11319
|
* @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
|
|
@@ -11419,6 +11517,18 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
11419
11517
|
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignIn']?.[localVarOperationServerIndex]?.url;
|
|
11420
11518
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11421
11519
|
},
|
|
11520
|
+
/**
|
|
11521
|
+
*
|
|
11522
|
+
* @param {SignInWithAdminDTO} signInWithAdminDTO
|
|
11523
|
+
* @param {*} [options] Override http request option.
|
|
11524
|
+
* @throws {RequiredError}
|
|
11525
|
+
*/
|
|
11526
|
+
async authControllerSignInWithAdmin(signInWithAdminDTO: SignInWithAdminDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignInResponseDto>> {
|
|
11527
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerSignInWithAdmin(signInWithAdminDTO, options);
|
|
11528
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11529
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignInWithAdmin']?.[localVarOperationServerIndex]?.url;
|
|
11530
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11531
|
+
},
|
|
11422
11532
|
/**
|
|
11423
11533
|
*
|
|
11424
11534
|
* @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
|
|
@@ -11528,6 +11638,15 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
11528
11638
|
authControllerSignIn(signInDto: SignInDto, options?: RawAxiosRequestConfig): AxiosPromise<SignInResponseDto> {
|
|
11529
11639
|
return localVarFp.authControllerSignIn(signInDto, options).then((request) => request(axios, basePath));
|
|
11530
11640
|
},
|
|
11641
|
+
/**
|
|
11642
|
+
*
|
|
11643
|
+
* @param {SignInWithAdminDTO} signInWithAdminDTO
|
|
11644
|
+
* @param {*} [options] Override http request option.
|
|
11645
|
+
* @throws {RequiredError}
|
|
11646
|
+
*/
|
|
11647
|
+
authControllerSignInWithAdmin(signInWithAdminDTO: SignInWithAdminDTO, options?: RawAxiosRequestConfig): AxiosPromise<SignInResponseDto> {
|
|
11648
|
+
return localVarFp.authControllerSignInWithAdmin(signInWithAdminDTO, options).then((request) => request(axios, basePath));
|
|
11649
|
+
},
|
|
11531
11650
|
/**
|
|
11532
11651
|
*
|
|
11533
11652
|
* @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
|
|
@@ -11642,6 +11761,17 @@ export class AuthApi extends BaseAPI {
|
|
|
11642
11761
|
return AuthApiFp(this.configuration).authControllerSignIn(signInDto, options).then((request) => request(this.axios, this.basePath));
|
|
11643
11762
|
}
|
|
11644
11763
|
|
|
11764
|
+
/**
|
|
11765
|
+
*
|
|
11766
|
+
* @param {SignInWithAdminDTO} signInWithAdminDTO
|
|
11767
|
+
* @param {*} [options] Override http request option.
|
|
11768
|
+
* @throws {RequiredError}
|
|
11769
|
+
* @memberof AuthApi
|
|
11770
|
+
*/
|
|
11771
|
+
public authControllerSignInWithAdmin(signInWithAdminDTO: SignInWithAdminDTO, options?: RawAxiosRequestConfig) {
|
|
11772
|
+
return AuthApiFp(this.configuration).authControllerSignInWithAdmin(signInWithAdminDTO, options).then((request) => request(this.axios, this.basePath));
|
|
11773
|
+
}
|
|
11774
|
+
|
|
11645
11775
|
/**
|
|
11646
11776
|
*
|
|
11647
11777
|
* @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
|
|
@@ -13356,6 +13486,45 @@ export class BookingApi extends BaseAPI {
|
|
|
13356
13486
|
*/
|
|
13357
13487
|
export const BusinessApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
13358
13488
|
return {
|
|
13489
|
+
/**
|
|
13490
|
+
*
|
|
13491
|
+
* @param {BusinessBookingFeePayload} businessBookingFeePayload
|
|
13492
|
+
* @param {*} [options] Override http request option.
|
|
13493
|
+
* @throws {RequiredError}
|
|
13494
|
+
*/
|
|
13495
|
+
businessControllerBusinessBookingFeeUpdate: async (businessBookingFeePayload: BusinessBookingFeePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13496
|
+
// verify required parameter 'businessBookingFeePayload' is not null or undefined
|
|
13497
|
+
assertParamExists('businessControllerBusinessBookingFeeUpdate', 'businessBookingFeePayload', businessBookingFeePayload)
|
|
13498
|
+
const localVarPath = `/v1/business/booking/fee`;
|
|
13499
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13500
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13501
|
+
let baseOptions;
|
|
13502
|
+
if (configuration) {
|
|
13503
|
+
baseOptions = configuration.baseOptions;
|
|
13504
|
+
}
|
|
13505
|
+
|
|
13506
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
13507
|
+
const localVarHeaderParameter = {} as any;
|
|
13508
|
+
const localVarQueryParameter = {} as any;
|
|
13509
|
+
|
|
13510
|
+
// authentication bearer required
|
|
13511
|
+
// http bearer authentication required
|
|
13512
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13513
|
+
|
|
13514
|
+
|
|
13515
|
+
|
|
13516
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13517
|
+
|
|
13518
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13519
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13520
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13521
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessBookingFeePayload, localVarRequestOptions, configuration)
|
|
13522
|
+
|
|
13523
|
+
return {
|
|
13524
|
+
url: toPathString(localVarUrlObj),
|
|
13525
|
+
options: localVarRequestOptions,
|
|
13526
|
+
};
|
|
13527
|
+
},
|
|
13359
13528
|
/**
|
|
13360
13529
|
*
|
|
13361
13530
|
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
@@ -14498,6 +14667,18 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14498
14667
|
export const BusinessApiFp = function(configuration?: Configuration) {
|
|
14499
14668
|
const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
|
|
14500
14669
|
return {
|
|
14670
|
+
/**
|
|
14671
|
+
*
|
|
14672
|
+
* @param {BusinessBookingFeePayload} businessBookingFeePayload
|
|
14673
|
+
* @param {*} [options] Override http request option.
|
|
14674
|
+
* @throws {RequiredError}
|
|
14675
|
+
*/
|
|
14676
|
+
async businessControllerBusinessBookingFeeUpdate(businessBookingFeePayload: BusinessBookingFeePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
14677
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessBookingFeeUpdate(businessBookingFeePayload, options);
|
|
14678
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14679
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessBookingFeeUpdate']?.[localVarOperationServerIndex]?.url;
|
|
14680
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14681
|
+
},
|
|
14501
14682
|
/**
|
|
14502
14683
|
*
|
|
14503
14684
|
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
@@ -14876,6 +15057,15 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
14876
15057
|
export const BusinessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
14877
15058
|
const localVarFp = BusinessApiFp(configuration)
|
|
14878
15059
|
return {
|
|
15060
|
+
/**
|
|
15061
|
+
*
|
|
15062
|
+
* @param {BusinessBookingFeePayload} businessBookingFeePayload
|
|
15063
|
+
* @param {*} [options] Override http request option.
|
|
15064
|
+
* @throws {RequiredError}
|
|
15065
|
+
*/
|
|
15066
|
+
businessControllerBusinessBookingFeeUpdate(businessBookingFeePayload: BusinessBookingFeePayload, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
15067
|
+
return localVarFp.businessControllerBusinessBookingFeeUpdate(businessBookingFeePayload, options).then((request) => request(axios, basePath));
|
|
15068
|
+
},
|
|
14879
15069
|
/**
|
|
14880
15070
|
*
|
|
14881
15071
|
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
@@ -15161,6 +15351,17 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
15161
15351
|
* @extends {BaseAPI}
|
|
15162
15352
|
*/
|
|
15163
15353
|
export class BusinessApi extends BaseAPI {
|
|
15354
|
+
/**
|
|
15355
|
+
*
|
|
15356
|
+
* @param {BusinessBookingFeePayload} businessBookingFeePayload
|
|
15357
|
+
* @param {*} [options] Override http request option.
|
|
15358
|
+
* @throws {RequiredError}
|
|
15359
|
+
* @memberof BusinessApi
|
|
15360
|
+
*/
|
|
15361
|
+
public businessControllerBusinessBookingFeeUpdate(businessBookingFeePayload: BusinessBookingFeePayload, options?: RawAxiosRequestConfig) {
|
|
15362
|
+
return BusinessApiFp(this.configuration).businessControllerBusinessBookingFeeUpdate(businessBookingFeePayload, options).then((request) => request(this.axios, this.basePath));
|
|
15363
|
+
}
|
|
15364
|
+
|
|
15164
15365
|
/**
|
|
15165
15366
|
*
|
|
15166
15367
|
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
@@ -17227,6 +17428,45 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
17227
17428
|
options: localVarRequestOptions,
|
|
17228
17429
|
};
|
|
17229
17430
|
},
|
|
17431
|
+
/**
|
|
17432
|
+
*
|
|
17433
|
+
* @param {EventCalendarSharedPayload} eventCalendarSharedPayload
|
|
17434
|
+
* @param {*} [options] Override http request option.
|
|
17435
|
+
* @throws {RequiredError}
|
|
17436
|
+
*/
|
|
17437
|
+
eventControllerCalendarInvites: async (eventCalendarSharedPayload: EventCalendarSharedPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17438
|
+
// verify required parameter 'eventCalendarSharedPayload' is not null or undefined
|
|
17439
|
+
assertParamExists('eventControllerCalendarInvites', 'eventCalendarSharedPayload', eventCalendarSharedPayload)
|
|
17440
|
+
const localVarPath = `/v1/event/calendar-shared`;
|
|
17441
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17442
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17443
|
+
let baseOptions;
|
|
17444
|
+
if (configuration) {
|
|
17445
|
+
baseOptions = configuration.baseOptions;
|
|
17446
|
+
}
|
|
17447
|
+
|
|
17448
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
17449
|
+
const localVarHeaderParameter = {} as any;
|
|
17450
|
+
const localVarQueryParameter = {} as any;
|
|
17451
|
+
|
|
17452
|
+
// authentication bearer required
|
|
17453
|
+
// http bearer authentication required
|
|
17454
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17455
|
+
|
|
17456
|
+
|
|
17457
|
+
|
|
17458
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17459
|
+
|
|
17460
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17461
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17462
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17463
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventCalendarSharedPayload, localVarRequestOptions, configuration)
|
|
17464
|
+
|
|
17465
|
+
return {
|
|
17466
|
+
url: toPathString(localVarUrlObj),
|
|
17467
|
+
options: localVarRequestOptions,
|
|
17468
|
+
};
|
|
17469
|
+
},
|
|
17230
17470
|
/**
|
|
17231
17471
|
*
|
|
17232
17472
|
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
|
@@ -17442,6 +17682,18 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
17442
17682
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerAcceptEventInvite']?.[localVarOperationServerIndex]?.url;
|
|
17443
17683
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17444
17684
|
},
|
|
17685
|
+
/**
|
|
17686
|
+
*
|
|
17687
|
+
* @param {EventCalendarSharedPayload} eventCalendarSharedPayload
|
|
17688
|
+
* @param {*} [options] Override http request option.
|
|
17689
|
+
* @throws {RequiredError}
|
|
17690
|
+
*/
|
|
17691
|
+
async eventControllerCalendarInvites(eventCalendarSharedPayload: EventCalendarSharedPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventResponseDTO>> {
|
|
17692
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerCalendarInvites(eventCalendarSharedPayload, options);
|
|
17693
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17694
|
+
const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerCalendarInvites']?.[localVarOperationServerIndex]?.url;
|
|
17695
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17696
|
+
},
|
|
17445
17697
|
/**
|
|
17446
17698
|
*
|
|
17447
17699
|
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
|
@@ -17521,6 +17773,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
17521
17773
|
eventControllerAcceptEventInvite(acceptEventInvitePayload: AcceptEventInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
|
|
17522
17774
|
return localVarFp.eventControllerAcceptEventInvite(acceptEventInvitePayload, options).then((request) => request(axios, basePath));
|
|
17523
17775
|
},
|
|
17776
|
+
/**
|
|
17777
|
+
*
|
|
17778
|
+
* @param {EventCalendarSharedPayload} eventCalendarSharedPayload
|
|
17779
|
+
* @param {*} [options] Override http request option.
|
|
17780
|
+
* @throws {RequiredError}
|
|
17781
|
+
*/
|
|
17782
|
+
eventControllerCalendarInvites(eventCalendarSharedPayload: EventCalendarSharedPayload, options?: RawAxiosRequestConfig): AxiosPromise<EventResponseDTO> {
|
|
17783
|
+
return localVarFp.eventControllerCalendarInvites(eventCalendarSharedPayload, options).then((request) => request(axios, basePath));
|
|
17784
|
+
},
|
|
17524
17785
|
/**
|
|
17525
17786
|
*
|
|
17526
17787
|
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
|
@@ -17587,6 +17848,17 @@ export class EventsApi extends BaseAPI {
|
|
|
17587
17848
|
return EventsApiFp(this.configuration).eventControllerAcceptEventInvite(acceptEventInvitePayload, options).then((request) => request(this.axios, this.basePath));
|
|
17588
17849
|
}
|
|
17589
17850
|
|
|
17851
|
+
/**
|
|
17852
|
+
*
|
|
17853
|
+
* @param {EventCalendarSharedPayload} eventCalendarSharedPayload
|
|
17854
|
+
* @param {*} [options] Override http request option.
|
|
17855
|
+
* @throws {RequiredError}
|
|
17856
|
+
* @memberof EventsApi
|
|
17857
|
+
*/
|
|
17858
|
+
public eventControllerCalendarInvites(eventCalendarSharedPayload: EventCalendarSharedPayload, options?: RawAxiosRequestConfig) {
|
|
17859
|
+
return EventsApiFp(this.configuration).eventControllerCalendarInvites(eventCalendarSharedPayload, options).then((request) => request(this.axios, this.basePath));
|
|
17860
|
+
}
|
|
17861
|
+
|
|
17590
17862
|
/**
|
|
17591
17863
|
*
|
|
17592
17864
|
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
package/docs/AuthApi.md
CHANGED
|
@@ -11,6 +11,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
11
11
|
|[**authControllerResentOTP**](#authcontrollerresentotp) | **POST** /v1/auth/resend-otp | |
|
|
12
12
|
|[**authControllerResetPassword**](#authcontrollerresetpassword) | **POST** /v1/auth/reset-password | |
|
|
13
13
|
|[**authControllerSignIn**](#authcontrollersignin) | **POST** /v1/auth/user-login | |
|
|
14
|
+
|[**authControllerSignInWithAdmin**](#authcontrollersigninwithadmin) | **POST** /v1/auth/admin-login | |
|
|
14
15
|
|[**authControllerSignOut**](#authcontrollersignout) | **POST** /v1/auth/user-logout | |
|
|
15
16
|
|[**authControllerSignUp**](#authcontrollersignup) | **POST** /v1/auth/user-register | |
|
|
16
17
|
|[**authControllerVerifyOTP**](#authcontrollerverifyotp) | **POST** /v1/auth/verify-otp | |
|
|
@@ -352,6 +353,58 @@ const { status, data } = await apiInstance.authControllerSignIn(
|
|
|
352
353
|
| **signInDto** | **SignInDto**| | |
|
|
353
354
|
|
|
354
355
|
|
|
356
|
+
### Return type
|
|
357
|
+
|
|
358
|
+
**SignInResponseDto**
|
|
359
|
+
|
|
360
|
+
### Authorization
|
|
361
|
+
|
|
362
|
+
No authorization required
|
|
363
|
+
|
|
364
|
+
### HTTP request headers
|
|
365
|
+
|
|
366
|
+
- **Content-Type**: application/json
|
|
367
|
+
- **Accept**: application/json
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
### HTTP response details
|
|
371
|
+
| Status code | Description | Response headers |
|
|
372
|
+
|-------------|-------------|------------------|
|
|
373
|
+
|**200** | | - |
|
|
374
|
+
|**409** | User with this email does not exist | - |
|
|
375
|
+
|
|
376
|
+
[[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)
|
|
377
|
+
|
|
378
|
+
# **authControllerSignInWithAdmin**
|
|
379
|
+
> SignInResponseDto authControllerSignInWithAdmin(signInWithAdminDTO)
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
### Example
|
|
383
|
+
|
|
384
|
+
```typescript
|
|
385
|
+
import {
|
|
386
|
+
AuthApi,
|
|
387
|
+
Configuration,
|
|
388
|
+
SignInWithAdminDTO
|
|
389
|
+
} from './api';
|
|
390
|
+
|
|
391
|
+
const configuration = new Configuration();
|
|
392
|
+
const apiInstance = new AuthApi(configuration);
|
|
393
|
+
|
|
394
|
+
let signInWithAdminDTO: SignInWithAdminDTO; //
|
|
395
|
+
|
|
396
|
+
const { status, data } = await apiInstance.authControllerSignInWithAdmin(
|
|
397
|
+
signInWithAdminDTO
|
|
398
|
+
);
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
### Parameters
|
|
402
|
+
|
|
403
|
+
|Name | Type | Description | Notes|
|
|
404
|
+
|------------- | ------------- | ------------- | -------------|
|
|
405
|
+
| **signInWithAdminDTO** | **SignInWithAdminDTO**| | |
|
|
406
|
+
|
|
407
|
+
|
|
355
408
|
### Return type
|
|
356
409
|
|
|
357
410
|
**SignInResponseDto**
|
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-11T17:54:48+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-08-11T17:54:48+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-11T17:54:48+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]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# SignInWithAdminDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**email** | **string** | Email | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { SignInWithAdminDTO } from './api';
|
|
14
|
+
|
|
15
|
+
const instance: SignInWithAdminDTO = {
|
|
16
|
+
email,
|
|
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)
|
|
@@ -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-11T17:54:48+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-08-11T18:54:48+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]
|