@gooday_corp/gooday-api-client 1.3.11 → 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.
- package/api.ts +67 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4966,7 +4966,6 @@ export const NotificationEntityTypeEnum = {
|
|
|
4966
4966
|
CalendarDetailsUpdate: 'CALENDAR_DETAILS_UPDATE',
|
|
4967
4967
|
CalendarRemove: 'CALENDAR_REMOVE',
|
|
4968
4968
|
BookingRescheduled: 'BOOKING_RESCHEDULED',
|
|
4969
|
-
BookingRescheduledBusiness: 'BOOKING_RESCHEDULED_BUSINESS',
|
|
4970
4969
|
EventRescheduled: 'EVENT_RESCHEDULED',
|
|
4971
4970
|
DailyBriefing: 'DAILY_BRIEFING',
|
|
4972
4971
|
Reminders: 'REMINDERS'
|
|
@@ -8546,6 +8545,41 @@ export class AppApi extends BaseAPI {
|
|
|
8546
8545
|
*/
|
|
8547
8546
|
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8548
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
|
+
},
|
|
8549
8583
|
/**
|
|
8550
8584
|
*
|
|
8551
8585
|
* @param {SignupDto} signupDto
|
|
@@ -8879,6 +8913,18 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8879
8913
|
export const AuthApiFp = function(configuration?: Configuration) {
|
|
8880
8914
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
|
8881
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
|
+
},
|
|
8882
8928
|
/**
|
|
8883
8929
|
*
|
|
8884
8930
|
* @param {SignupDto} signupDto
|
|
@@ -8997,6 +9043,15 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
8997
9043
|
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
8998
9044
|
const localVarFp = AuthApiFp(configuration)
|
|
8999
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
|
+
},
|
|
9000
9055
|
/**
|
|
9001
9056
|
*
|
|
9002
9057
|
* @param {SignupDto} signupDto
|
|
@@ -9088,6 +9143,17 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9088
9143
|
* @extends {BaseAPI}
|
|
9089
9144
|
*/
|
|
9090
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
|
+
|
|
9091
9157
|
/**
|
|
9092
9158
|
*
|
|
9093
9159
|
* @param {SignupDto} signupDto
|