@gooday_corp/gooday-api-client 1.7.7 → 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.
@@ -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
@@ -223,6 +225,9 @@ docs/NotificationReadsDTO.md
223
225
  docs/OAuthApi.md
224
226
  docs/OnBoardingDTO.md
225
227
  docs/OnBoardingResponseDTO.md
228
+ docs/PaymentDetails.md
229
+ docs/PaymentDetailsPayload.md
230
+ docs/PaymentDetailsResponseDTO.md
226
231
  docs/Places.md
227
232
  docs/PlanEntity.md
228
233
  docs/PlanFeature.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
@@ -6439,6 +6489,87 @@ export interface OnBoardingResponseDTO {
6439
6489
  */
6440
6490
  'data': UserEntity;
6441
6491
  }
6492
+ /**
6493
+ *
6494
+ * @export
6495
+ * @interface PaymentDetails
6496
+ */
6497
+ export interface PaymentDetails {
6498
+ /**
6499
+ * Event ID
6500
+ * @type {number}
6501
+ * @memberof PaymentDetails
6502
+ */
6503
+ 'price': number;
6504
+ /**
6505
+ * Discount ID
6506
+ * @type {string}
6507
+ * @memberof PaymentDetails
6508
+ */
6509
+ 'message': string;
6510
+ }
6511
+ /**
6512
+ *
6513
+ * @export
6514
+ * @interface PaymentDetailsPayload
6515
+ */
6516
+ export interface PaymentDetailsPayload {
6517
+ /**
6518
+ * Event ID
6519
+ * @type {string}
6520
+ * @memberof PaymentDetailsPayload
6521
+ */
6522
+ 'whatsOnId'?: string;
6523
+ /**
6524
+ * Event ID
6525
+ * @type {string}
6526
+ * @memberof PaymentDetailsPayload
6527
+ */
6528
+ 'serviceId'?: string;
6529
+ /**
6530
+ * Discount ID
6531
+ * @type {string}
6532
+ * @memberof PaymentDetailsPayload
6533
+ */
6534
+ 'discountId'?: string;
6535
+ /**
6536
+ * Staff ID
6537
+ * @type {string}
6538
+ * @memberof PaymentDetailsPayload
6539
+ */
6540
+ 'selectedStaff'?: string;
6541
+ /**
6542
+ *
6543
+ * @type {number}
6544
+ * @memberof PaymentDetailsPayload
6545
+ */
6546
+ 'quantity'?: number;
6547
+ /**
6548
+ * The list of collaborators associated with the booking
6549
+ * @type {Array<CreateBookingCollaboratorPayload>}
6550
+ * @memberof PaymentDetailsPayload
6551
+ */
6552
+ 'collaborators': Array<CreateBookingCollaboratorPayload>;
6553
+ }
6554
+ /**
6555
+ *
6556
+ * @export
6557
+ * @interface PaymentDetailsResponseDTO
6558
+ */
6559
+ export interface PaymentDetailsResponseDTO {
6560
+ /**
6561
+ * statusCode
6562
+ * @type {number}
6563
+ * @memberof PaymentDetailsResponseDTO
6564
+ */
6565
+ 'statusCode': number;
6566
+ /**
6567
+ *
6568
+ * @type {PaymentDetails}
6569
+ * @memberof PaymentDetailsResponseDTO
6570
+ */
6571
+ 'data': PaymentDetails;
6572
+ }
6442
6573
  /**
6443
6574
  *
6444
6575
  * @export
@@ -13275,6 +13406,45 @@ export class BookingApi extends BaseAPI {
13275
13406
  */
13276
13407
  export const BusinessApiAxiosParamCreator = function (configuration?: Configuration) {
13277
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
+ },
13278
13448
  /**
13279
13449
  *
13280
13450
  * @param {BusinessOnBoardingDTO} businessOnBoardingDTO
@@ -14417,6 +14587,18 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
14417
14587
  export const BusinessApiFp = function(configuration?: Configuration) {
14418
14588
  const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
14419
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
+ },
14420
14602
  /**
14421
14603
  *
14422
14604
  * @param {BusinessOnBoardingDTO} businessOnBoardingDTO
@@ -14795,6 +14977,15 @@ export const BusinessApiFp = function(configuration?: Configuration) {
14795
14977
  export const BusinessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
14796
14978
  const localVarFp = BusinessApiFp(configuration)
14797
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
+ },
14798
14989
  /**
14799
14990
  *
14800
14991
  * @param {BusinessOnBoardingDTO} businessOnBoardingDTO
@@ -15080,6 +15271,17 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
15080
15271
  * @extends {BaseAPI}
15081
15272
  */
15082
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
+
15083
15285
  /**
15084
15286
  *
15085
15287
  * @param {BusinessOnBoardingDTO} businessOnBoardingDTO
@@ -17146,6 +17348,45 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
17146
17348
  options: localVarRequestOptions,
17147
17349
  };
17148
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
+ },
17149
17390
  /**
17150
17391
  *
17151
17392
  * @param {CreateEventPayloadDTO} createEventPayloadDTO
@@ -17361,6 +17602,18 @@ export const EventsApiFp = function(configuration?: Configuration) {
17361
17602
  const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerAcceptEventInvite']?.[localVarOperationServerIndex]?.url;
17362
17603
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17363
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
+ },
17364
17617
  /**
17365
17618
  *
17366
17619
  * @param {CreateEventPayloadDTO} createEventPayloadDTO
@@ -17440,6 +17693,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
17440
17693
  eventControllerAcceptEventInvite(acceptEventInvitePayload: AcceptEventInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
17441
17694
  return localVarFp.eventControllerAcceptEventInvite(acceptEventInvitePayload, options).then((request) => request(axios, basePath));
17442
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
+ },
17443
17705
  /**
17444
17706
  *
17445
17707
  * @param {CreateEventPayloadDTO} createEventPayloadDTO
@@ -17506,6 +17768,17 @@ export class EventsApi extends BaseAPI {
17506
17768
  return EventsApiFp(this.configuration).eventControllerAcceptEventInvite(acceptEventInvitePayload, options).then((request) => request(this.axios, this.basePath));
17507
17769
  }
17508
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
+
17509
17782
  /**
17510
17783
  *
17511
17784
  * @param {CreateEventPayloadDTO} createEventPayloadDTO
@@ -20628,6 +20901,45 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
20628
20901
  options: localVarRequestOptions,
20629
20902
  };
20630
20903
  },
20904
+ /**
20905
+ *
20906
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
20907
+ * @param {*} [options] Override http request option.
20908
+ * @throws {RequiredError}
20909
+ */
20910
+ paymentControllerPaymentDetails: async (paymentDetailsPayload: PaymentDetailsPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20911
+ // verify required parameter 'paymentDetailsPayload' is not null or undefined
20912
+ assertParamExists('paymentControllerPaymentDetails', 'paymentDetailsPayload', paymentDetailsPayload)
20913
+ const localVarPath = `/v1/payment/booking/details`;
20914
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20915
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20916
+ let baseOptions;
20917
+ if (configuration) {
20918
+ baseOptions = configuration.baseOptions;
20919
+ }
20920
+
20921
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
20922
+ const localVarHeaderParameter = {} as any;
20923
+ const localVarQueryParameter = {} as any;
20924
+
20925
+ // authentication bearer required
20926
+ // http bearer authentication required
20927
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
20928
+
20929
+
20930
+
20931
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20932
+
20933
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20934
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20935
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20936
+ localVarRequestOptions.data = serializeDataIfNeeded(paymentDetailsPayload, localVarRequestOptions, configuration)
20937
+
20938
+ return {
20939
+ url: toPathString(localVarUrlObj),
20940
+ options: localVarRequestOptions,
20941
+ };
20942
+ },
20631
20943
  /**
20632
20944
  *
20633
20945
  * @param {*} [options] Override http request option.
@@ -20902,6 +21214,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
20902
21214
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
20903
21215
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20904
21216
  },
21217
+ /**
21218
+ *
21219
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
21220
+ * @param {*} [options] Override http request option.
21221
+ * @throws {RequiredError}
21222
+ */
21223
+ async paymentControllerPaymentDetails(paymentDetailsPayload: PaymentDetailsPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentDetailsResponseDTO>> {
21224
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerPaymentDetails(paymentDetailsPayload, options);
21225
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21226
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPaymentDetails']?.[localVarOperationServerIndex]?.url;
21227
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21228
+ },
20905
21229
  /**
20906
21230
  *
20907
21231
  * @param {*} [options] Override http request option.
@@ -21023,6 +21347,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
21023
21347
  paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
21024
21348
  return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
21025
21349
  },
21350
+ /**
21351
+ *
21352
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
21353
+ * @param {*} [options] Override http request option.
21354
+ * @throws {RequiredError}
21355
+ */
21356
+ paymentControllerPaymentDetails(paymentDetailsPayload: PaymentDetailsPayload, options?: RawAxiosRequestConfig): AxiosPromise<PaymentDetailsResponseDTO> {
21357
+ return localVarFp.paymentControllerPaymentDetails(paymentDetailsPayload, options).then((request) => request(axios, basePath));
21358
+ },
21026
21359
  /**
21027
21360
  *
21028
21361
  * @param {*} [options] Override http request option.
@@ -21136,6 +21469,17 @@ export class PlansApi extends BaseAPI {
21136
21469
  return PlansApiFp(this.configuration).paymentControllerGetPlans(options).then((request) => request(this.axios, this.basePath));
21137
21470
  }
21138
21471
 
21472
+ /**
21473
+ *
21474
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
21475
+ * @param {*} [options] Override http request option.
21476
+ * @throws {RequiredError}
21477
+ * @memberof PlansApi
21478
+ */
21479
+ public paymentControllerPaymentDetails(paymentDetailsPayload: PaymentDetailsPayload, options?: RawAxiosRequestConfig) {
21480
+ return PlansApiFp(this.configuration).paymentControllerPaymentDetails(paymentDetailsPayload, options).then((request) => request(this.axios, this.basePath));
21481
+ }
21482
+
21139
21483
  /**
21140
21484
  *
21141
21485
  * @param {*} [options] Override http request option.
@@ -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
 
@@ -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-05T18:33:14+05:30]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-08-05T18:33:14+05:30]
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&lt;string&gt;** | 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
 
@@ -0,0 +1,22 @@
1
+ # PaymentDetails
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **price** | **number** | Event ID | [default to undefined]
9
+ **message** | **string** | Discount ID | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PaymentDetails } from './api';
15
+
16
+ const instance: PaymentDetails = {
17
+ price,
18
+ message,
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)
@@ -0,0 +1,30 @@
1
+ # PaymentDetailsPayload
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **whatsOnId** | **string** | Event ID | [optional] [default to undefined]
9
+ **serviceId** | **string** | Event ID | [optional] [default to undefined]
10
+ **discountId** | **string** | Discount ID | [optional] [default to undefined]
11
+ **selectedStaff** | **string** | Staff ID | [optional] [default to undefined]
12
+ **quantity** | **number** | | [optional] [default to 0]
13
+ **collaborators** | [**Array&lt;CreateBookingCollaboratorPayload&gt;**](CreateBookingCollaboratorPayload.md) | The list of collaborators associated with the booking | [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { PaymentDetailsPayload } from './api';
19
+
20
+ const instance: PaymentDetailsPayload = {
21
+ whatsOnId,
22
+ serviceId,
23
+ discountId,
24
+ selectedStaff,
25
+ quantity,
26
+ collaborators,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # PaymentDetailsResponseDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **statusCode** | **number** | statusCode | [default to undefined]
9
+ **data** | [**PaymentDetails**](PaymentDetails.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PaymentDetailsResponseDTO } from './api';
15
+
16
+ const instance: PaymentDetailsResponseDTO = {
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)
package/docs/PlansApi.md CHANGED
@@ -9,6 +9,7 @@ All URIs are relative to *http://localhost:8080*
9
9
  |[**paymentControllerCreatePaymentLink**](#paymentcontrollercreatepaymentlink) | **POST** /v1/payment/payment-link | |
10
10
  |[**paymentControllerCreateSetupIntent**](#paymentcontrollercreatesetupintent) | **GET** /v1/payment/create-setup-intent | |
11
11
  |[**paymentControllerGetPlans**](#paymentcontrollergetplans) | **GET** /v1/payment/plans | |
12
+ |[**paymentControllerPaymentDetails**](#paymentcontrollerpaymentdetails) | **POST** /v1/payment/booking/details | |
12
13
  |[**paymentControllerRetrieveConnectedAccount**](#paymentcontrollerretrieveconnectedaccount) | **GET** /v1/payment/connected-account | |
13
14
  |[**paymentControllerRetrieveCouponCode**](#paymentcontrollerretrievecouponcode) | **POST** /v1/payment/promo-code | |
14
15
  |[**paymentControllerRevenueCatWebhook**](#paymentcontrollerrevenuecatwebhook) | **POST** /v1/payment/revenuecat-webhook | |
@@ -239,6 +240,57 @@ No authorization required
239
240
 
240
241
  [[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)
241
242
 
243
+ # **paymentControllerPaymentDetails**
244
+ > PaymentDetailsResponseDTO paymentControllerPaymentDetails(paymentDetailsPayload)
245
+
246
+
247
+ ### Example
248
+
249
+ ```typescript
250
+ import {
251
+ PlansApi,
252
+ Configuration,
253
+ PaymentDetailsPayload
254
+ } from './api';
255
+
256
+ const configuration = new Configuration();
257
+ const apiInstance = new PlansApi(configuration);
258
+
259
+ let paymentDetailsPayload: PaymentDetailsPayload; //
260
+
261
+ const { status, data } = await apiInstance.paymentControllerPaymentDetails(
262
+ paymentDetailsPayload
263
+ );
264
+ ```
265
+
266
+ ### Parameters
267
+
268
+ |Name | Type | Description | Notes|
269
+ |------------- | ------------- | ------------- | -------------|
270
+ | **paymentDetailsPayload** | **PaymentDetailsPayload**| | |
271
+
272
+
273
+ ### Return type
274
+
275
+ **PaymentDetailsResponseDTO**
276
+
277
+ ### Authorization
278
+
279
+ [bearer](../README.md#bearer)
280
+
281
+ ### HTTP request headers
282
+
283
+ - **Content-Type**: application/json
284
+ - **Accept**: application/json
285
+
286
+
287
+ ### HTTP response details
288
+ | Status code | Description | Response headers |
289
+ |-------------|-------------|------------------|
290
+ |**200** | | - |
291
+
292
+ [[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)
293
+
242
294
  # **paymentControllerRetrieveConnectedAccount**
243
295
  > BusinessConnectedAccount paymentControllerRetrieveConnectedAccount()
244
296
 
@@ -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-05T18:33:14+05:30]
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-05T18:33:14+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-08-05T19:33:14+05:30]
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&lt;CreateWaitlistBookingCollaboratorPayload&gt;**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.7.7",
3
+ "version": "1.8.1",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},