@gooday_corp/gooday-api-client 1.3.12 → 1.3.13

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.
Files changed (2) hide show
  1. package/api.ts +67 -189
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -3976,52 +3976,6 @@ export interface FindWaitlistResponseDTO {
3976
3976
  */
3977
3977
  'data': Array<WaitlistEntity>;
3978
3978
  }
3979
- /**
3980
- *
3981
- * @export
3982
- * @interface FindWhatsOnAndPrepaidService
3983
- */
3984
- export interface FindWhatsOnAndPrepaidService {
3985
- /**
3986
- * Start date for the events
3987
- * @type {string}
3988
- * @memberof FindWhatsOnAndPrepaidService
3989
- */
3990
- 'startDate': string;
3991
- /**
3992
- * End date for the events
3993
- * @type {string}
3994
- * @memberof FindWhatsOnAndPrepaidService
3995
- */
3996
- 'endDate': string;
3997
- /**
3998
- * View
3999
- * @type {string}
4000
- * @memberof FindWhatsOnAndPrepaidService
4001
- */
4002
- 'view': FindWhatsOnAndPrepaidServiceViewEnum;
4003
- /**
4004
- *
4005
- * @type {number}
4006
- * @memberof FindWhatsOnAndPrepaidService
4007
- */
4008
- 'page': number;
4009
- /**
4010
- *
4011
- * @type {number}
4012
- * @memberof FindWhatsOnAndPrepaidService
4013
- */
4014
- 'pageSize': number;
4015
- }
4016
-
4017
- export const FindWhatsOnAndPrepaidServiceViewEnum = {
4018
- Daily: 'daily',
4019
- Weekly: 'weekly',
4020
- Monthly: 'monthly'
4021
- } as const;
4022
-
4023
- export type FindWhatsOnAndPrepaidServiceViewEnum = typeof FindWhatsOnAndPrepaidServiceViewEnum[keyof typeof FindWhatsOnAndPrepaidServiceViewEnum];
4024
-
4025
3979
  /**
4026
3980
  *
4027
3981
  * @export
@@ -5012,7 +4966,6 @@ export const NotificationEntityTypeEnum = {
5012
4966
  CalendarDetailsUpdate: 'CALENDAR_DETAILS_UPDATE',
5013
4967
  CalendarRemove: 'CALENDAR_REMOVE',
5014
4968
  BookingRescheduled: 'BOOKING_RESCHEDULED',
5015
- BookingRescheduledBusiness: 'BOOKING_RESCHEDULED_BUSINESS',
5016
4969
  EventRescheduled: 'EVENT_RESCHEDULED',
5017
4970
  DailyBriefing: 'DAILY_BRIEFING',
5018
4971
  Reminders: 'REMINDERS'
@@ -8592,6 +8545,41 @@ export class AppApi extends BaseAPI {
8592
8545
  */
8593
8546
  export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
8594
8547
  return {
8548
+ /**
8549
+ *
8550
+ * @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
8551
+ * @param {*} [options] Override http request option.
8552
+ * @throws {RequiredError}
8553
+ */
8554
+ authControllerBusinessForgotPassword: async (forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8555
+ // verify required parameter 'forgotPasswordPayloadDTO' is not null or undefined
8556
+ assertParamExists('authControllerBusinessForgotPassword', 'forgotPasswordPayloadDTO', forgotPasswordPayloadDTO)
8557
+ const localVarPath = `/v1/auth/business-forgot-password`;
8558
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8559
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8560
+ let baseOptions;
8561
+ if (configuration) {
8562
+ baseOptions = configuration.baseOptions;
8563
+ }
8564
+
8565
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
8566
+ const localVarHeaderParameter = {} as any;
8567
+ const localVarQueryParameter = {} as any;
8568
+
8569
+
8570
+
8571
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8572
+
8573
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8574
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8575
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8576
+ localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordPayloadDTO, localVarRequestOptions, configuration)
8577
+
8578
+ return {
8579
+ url: toPathString(localVarUrlObj),
8580
+ options: localVarRequestOptions,
8581
+ };
8582
+ },
8595
8583
  /**
8596
8584
  *
8597
8585
  * @param {SignupDto} signupDto
@@ -8925,6 +8913,18 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
8925
8913
  export const AuthApiFp = function(configuration?: Configuration) {
8926
8914
  const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
8927
8915
  return {
8916
+ /**
8917
+ *
8918
+ * @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
8919
+ * @param {*} [options] Override http request option.
8920
+ * @throws {RequiredError}
8921
+ */
8922
+ async authControllerBusinessForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResponseDTO>> {
8923
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerBusinessForgotPassword(forgotPasswordPayloadDTO, options);
8924
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8925
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerBusinessForgotPassword']?.[localVarOperationServerIndex]?.url;
8926
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8927
+ },
8928
8928
  /**
8929
8929
  *
8930
8930
  * @param {SignupDto} signupDto
@@ -9043,6 +9043,15 @@ export const AuthApiFp = function(configuration?: Configuration) {
9043
9043
  export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
9044
9044
  const localVarFp = AuthApiFp(configuration)
9045
9045
  return {
9046
+ /**
9047
+ *
9048
+ * @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
9049
+ * @param {*} [options] Override http request option.
9050
+ * @throws {RequiredError}
9051
+ */
9052
+ authControllerBusinessForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ForgotPasswordResponseDTO> {
9053
+ return localVarFp.authControllerBusinessForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(axios, basePath));
9054
+ },
9046
9055
  /**
9047
9056
  *
9048
9057
  * @param {SignupDto} signupDto
@@ -9134,6 +9143,17 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
9134
9143
  * @extends {BaseAPI}
9135
9144
  */
9136
9145
  export class AuthApi extends BaseAPI {
9146
+ /**
9147
+ *
9148
+ * @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
9149
+ * @param {*} [options] Override http request option.
9150
+ * @throws {RequiredError}
9151
+ * @memberof AuthApi
9152
+ */
9153
+ public authControllerBusinessForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
9154
+ return AuthApiFp(this.configuration).authControllerBusinessForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
9155
+ }
9156
+
9137
9157
  /**
9138
9158
  *
9139
9159
  * @param {SignupDto} signupDto
@@ -9968,84 +9988,6 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
9968
9988
  options: localVarRequestOptions,
9969
9989
  };
9970
9990
  },
9971
- /**
9972
- *
9973
- * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
9974
- * @param {*} [options] Override http request option.
9975
- * @throws {RequiredError}
9976
- */
9977
- bookingControllerListPrepaidServiceBooking: async (findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9978
- // verify required parameter 'findWhatsOnAndPrepaidService' is not null or undefined
9979
- assertParamExists('bookingControllerListPrepaidServiceBooking', 'findWhatsOnAndPrepaidService', findWhatsOnAndPrepaidService)
9980
- const localVarPath = `/v1/booking/prepaid-service/list`;
9981
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9982
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9983
- let baseOptions;
9984
- if (configuration) {
9985
- baseOptions = configuration.baseOptions;
9986
- }
9987
-
9988
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9989
- const localVarHeaderParameter = {} as any;
9990
- const localVarQueryParameter = {} as any;
9991
-
9992
- // authentication bearer required
9993
- // http bearer authentication required
9994
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
9995
-
9996
-
9997
-
9998
- localVarHeaderParameter['Content-Type'] = 'application/json';
9999
-
10000
- setSearchParams(localVarUrlObj, localVarQueryParameter);
10001
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10002
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10003
- localVarRequestOptions.data = serializeDataIfNeeded(findWhatsOnAndPrepaidService, localVarRequestOptions, configuration)
10004
-
10005
- return {
10006
- url: toPathString(localVarUrlObj),
10007
- options: localVarRequestOptions,
10008
- };
10009
- },
10010
- /**
10011
- *
10012
- * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10013
- * @param {*} [options] Override http request option.
10014
- * @throws {RequiredError}
10015
- */
10016
- bookingControllerListWhatsOnBooking: async (findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10017
- // verify required parameter 'findWhatsOnAndPrepaidService' is not null or undefined
10018
- assertParamExists('bookingControllerListWhatsOnBooking', 'findWhatsOnAndPrepaidService', findWhatsOnAndPrepaidService)
10019
- const localVarPath = `/v1/booking/whats-on/list`;
10020
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
10021
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10022
- let baseOptions;
10023
- if (configuration) {
10024
- baseOptions = configuration.baseOptions;
10025
- }
10026
-
10027
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10028
- const localVarHeaderParameter = {} as any;
10029
- const localVarQueryParameter = {} as any;
10030
-
10031
- // authentication bearer required
10032
- // http bearer authentication required
10033
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
10034
-
10035
-
10036
-
10037
- localVarHeaderParameter['Content-Type'] = 'application/json';
10038
-
10039
- setSearchParams(localVarUrlObj, localVarQueryParameter);
10040
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10041
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10042
- localVarRequestOptions.data = serializeDataIfNeeded(findWhatsOnAndPrepaidService, localVarRequestOptions, configuration)
10043
-
10044
- return {
10045
- url: toPathString(localVarUrlObj),
10046
- options: localVarRequestOptions,
10047
- };
10048
- },
10049
9991
  /**
10050
9992
  *
10051
9993
  * @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
@@ -10316,30 +10258,6 @@ export const BookingApiFp = function(configuration?: Configuration) {
10316
10258
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListCustomerBooking']?.[localVarOperationServerIndex]?.url;
10317
10259
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10318
10260
  },
10319
- /**
10320
- *
10321
- * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10322
- * @param {*} [options] Override http request option.
10323
- * @throws {RequiredError}
10324
- */
10325
- async bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
10326
- const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options);
10327
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10328
- const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListPrepaidServiceBooking']?.[localVarOperationServerIndex]?.url;
10329
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10330
- },
10331
- /**
10332
- *
10333
- * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10334
- * @param {*} [options] Override http request option.
10335
- * @throws {RequiredError}
10336
- */
10337
- async bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
10338
- const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options);
10339
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10340
- const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListWhatsOnBooking']?.[localVarOperationServerIndex]?.url;
10341
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10342
- },
10343
10261
  /**
10344
10262
  *
10345
10263
  * @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
@@ -10472,24 +10390,6 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
10472
10390
  bookingControllerListCustomerBooking(findCustomerBookingPayload: FindCustomerBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
10473
10391
  return localVarFp.bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(axios, basePath));
10474
10392
  },
10475
- /**
10476
- *
10477
- * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10478
- * @param {*} [options] Override http request option.
10479
- * @throws {RequiredError}
10480
- */
10481
- bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
10482
- return localVarFp.bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options).then((request) => request(axios, basePath));
10483
- },
10484
- /**
10485
- *
10486
- * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10487
- * @param {*} [options] Override http request option.
10488
- * @throws {RequiredError}
10489
- */
10490
- bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
10491
- return localVarFp.bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options).then((request) => request(axios, basePath));
10492
- },
10493
10393
  /**
10494
10394
  *
10495
10395
  * @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
@@ -10626,28 +10526,6 @@ export class BookingApi extends BaseAPI {
10626
10526
  return BookingApiFp(this.configuration).bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(this.axios, this.basePath));
10627
10527
  }
10628
10528
 
10629
- /**
10630
- *
10631
- * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10632
- * @param {*} [options] Override http request option.
10633
- * @throws {RequiredError}
10634
- * @memberof BookingApi
10635
- */
10636
- public bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig) {
10637
- return BookingApiFp(this.configuration).bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options).then((request) => request(this.axios, this.basePath));
10638
- }
10639
-
10640
- /**
10641
- *
10642
- * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10643
- * @param {*} [options] Override http request option.
10644
- * @throws {RequiredError}
10645
- * @memberof BookingApi
10646
- */
10647
- public bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig) {
10648
- return BookingApiFp(this.configuration).bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options).then((request) => request(this.axios, this.basePath));
10649
- }
10650
-
10651
10529
  /**
10652
10530
  *
10653
10531
  * @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.3.12",
3
+ "version": "1.3.13",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},