@gooday_corp/gooday-api-client 4.5.65 → 4.5.67
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 +151 -0
- package/docs/AuthApi.md +52 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/PaymentDetailsPayload.md +2 -2
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/TwilioMobileOTPPayloadDTO.md +20 -0
- package/docs/TwilioMobileOTPResponseDTO.md +22 -0
- package/docs/UserEntity.md +2 -0
- package/docs/UsersApi.md +52 -0
- package/docs/VerifyMobileOTPPayloadDTO.md +22 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -347,6 +347,8 @@ docs/TodoDetailResponseDTO.md
|
|
|
347
347
|
docs/TodoEntity.md
|
|
348
348
|
docs/TodoListResponseDTO.md
|
|
349
349
|
docs/TrendingFilterDTO.md
|
|
350
|
+
docs/TwilioMobileOTPPayloadDTO.md
|
|
351
|
+
docs/TwilioMobileOTPResponseDTO.md
|
|
350
352
|
docs/UndoPayloadDTO.md
|
|
351
353
|
docs/UndoResponseDTO.md
|
|
352
354
|
docs/UpdateTaskPayload.md
|
|
@@ -363,6 +365,7 @@ docs/UsersApi.md
|
|
|
363
365
|
docs/VenueFavoriteCount.md
|
|
364
366
|
docs/VenueResponseDTO.md
|
|
365
367
|
docs/VerificationLinkResponseDTO.md
|
|
368
|
+
docs/VerifyMobileOTPPayloadDTO.md
|
|
366
369
|
docs/VerifyOTPPayloadDTO.md
|
|
367
370
|
docs/VerifyOTPResponseDTO.md
|
|
368
371
|
docs/WaitlistApi.md
|
package/api.ts
CHANGED
|
@@ -4698,6 +4698,16 @@ export interface TodoListResponseDTO {
|
|
|
4698
4698
|
export interface TrendingFilterDTO {
|
|
4699
4699
|
'category'?: string;
|
|
4700
4700
|
}
|
|
4701
|
+
export interface TwilioMobileOTPPayloadDTO {
|
|
4702
|
+
'mobile'?: string;
|
|
4703
|
+
}
|
|
4704
|
+
export interface TwilioMobileOTPResponseDTO {
|
|
4705
|
+
/**
|
|
4706
|
+
* statusCode
|
|
4707
|
+
*/
|
|
4708
|
+
'statusCode': number;
|
|
4709
|
+
'message'?: string;
|
|
4710
|
+
}
|
|
4701
4711
|
export interface UndoPayloadDTO {
|
|
4702
4712
|
'data': Array<TaskEntity>;
|
|
4703
4713
|
'action': UndoPayloadDTOActionEnum;
|
|
@@ -4853,6 +4863,7 @@ export interface UserEntity {
|
|
|
4853
4863
|
'isContactShow': boolean;
|
|
4854
4864
|
'timezone'?: string;
|
|
4855
4865
|
'chatToken'?: string;
|
|
4866
|
+
'isMobileVerified'?: boolean;
|
|
4856
4867
|
}
|
|
4857
4868
|
|
|
4858
4869
|
export const UserEntityRoleEnum = {
|
|
@@ -4978,6 +4989,16 @@ export interface VerificationLinkResponseDTO {
|
|
|
4978
4989
|
*/
|
|
4979
4990
|
'expires': number;
|
|
4980
4991
|
}
|
|
4992
|
+
export interface VerifyMobileOTPPayloadDTO {
|
|
4993
|
+
/**
|
|
4994
|
+
* 6 digit otp from mail
|
|
4995
|
+
*/
|
|
4996
|
+
'otp': string;
|
|
4997
|
+
/**
|
|
4998
|
+
* Mobile number of user
|
|
4999
|
+
*/
|
|
5000
|
+
'mobile': string;
|
|
5001
|
+
}
|
|
4981
5002
|
export interface VerifyOTPPayloadDTO {
|
|
4982
5003
|
/**
|
|
4983
5004
|
* 6 digit otp from mail
|
|
@@ -6482,6 +6503,40 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6482
6503
|
options: localVarRequestOptions,
|
|
6483
6504
|
};
|
|
6484
6505
|
},
|
|
6506
|
+
/**
|
|
6507
|
+
*
|
|
6508
|
+
* @param {VerifyMobileOTPPayloadDTO} verifyMobileOTPPayloadDTO
|
|
6509
|
+
* @param {*} [options] Override http request option.
|
|
6510
|
+
* @throws {RequiredError}
|
|
6511
|
+
*/
|
|
6512
|
+
authControllerUserVerificationMobileOTP: async (verifyMobileOTPPayloadDTO: VerifyMobileOTPPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6513
|
+
// verify required parameter 'verifyMobileOTPPayloadDTO' is not null or undefined
|
|
6514
|
+
assertParamExists('authControllerUserVerificationMobileOTP', 'verifyMobileOTPPayloadDTO', verifyMobileOTPPayloadDTO)
|
|
6515
|
+
const localVarPath = `/v1/auth/mobile-verify-otp`;
|
|
6516
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6517
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6518
|
+
let baseOptions;
|
|
6519
|
+
if (configuration) {
|
|
6520
|
+
baseOptions = configuration.baseOptions;
|
|
6521
|
+
}
|
|
6522
|
+
|
|
6523
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
6524
|
+
const localVarHeaderParameter = {} as any;
|
|
6525
|
+
const localVarQueryParameter = {} as any;
|
|
6526
|
+
|
|
6527
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6528
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6529
|
+
|
|
6530
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6531
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6532
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6533
|
+
localVarRequestOptions.data = serializeDataIfNeeded(verifyMobileOTPPayloadDTO, localVarRequestOptions, configuration)
|
|
6534
|
+
|
|
6535
|
+
return {
|
|
6536
|
+
url: toPathString(localVarUrlObj),
|
|
6537
|
+
options: localVarRequestOptions,
|
|
6538
|
+
};
|
|
6539
|
+
},
|
|
6485
6540
|
/**
|
|
6486
6541
|
*
|
|
6487
6542
|
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
@@ -6645,6 +6700,18 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
6645
6700
|
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignUp']?.[localVarOperationServerIndex]?.url;
|
|
6646
6701
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6647
6702
|
},
|
|
6703
|
+
/**
|
|
6704
|
+
*
|
|
6705
|
+
* @param {VerifyMobileOTPPayloadDTO} verifyMobileOTPPayloadDTO
|
|
6706
|
+
* @param {*} [options] Override http request option.
|
|
6707
|
+
* @throws {RequiredError}
|
|
6708
|
+
*/
|
|
6709
|
+
async authControllerUserVerificationMobileOTP(verifyMobileOTPPayloadDTO: VerifyMobileOTPPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TwilioMobileOTPResponseDTO>> {
|
|
6710
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerUserVerificationMobileOTP(verifyMobileOTPPayloadDTO, options);
|
|
6711
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6712
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerUserVerificationMobileOTP']?.[localVarOperationServerIndex]?.url;
|
|
6713
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6714
|
+
},
|
|
6648
6715
|
/**
|
|
6649
6716
|
*
|
|
6650
6717
|
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
@@ -6756,6 +6823,15 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
6756
6823
|
authControllerSignUp(signupDto: SignupDto, options?: RawAxiosRequestConfig): AxiosPromise<SignupResponseDto> {
|
|
6757
6824
|
return localVarFp.authControllerSignUp(signupDto, options).then((request) => request(axios, basePath));
|
|
6758
6825
|
},
|
|
6826
|
+
/**
|
|
6827
|
+
*
|
|
6828
|
+
* @param {VerifyMobileOTPPayloadDTO} verifyMobileOTPPayloadDTO
|
|
6829
|
+
* @param {*} [options] Override http request option.
|
|
6830
|
+
* @throws {RequiredError}
|
|
6831
|
+
*/
|
|
6832
|
+
authControllerUserVerificationMobileOTP(verifyMobileOTPPayloadDTO: VerifyMobileOTPPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<TwilioMobileOTPResponseDTO> {
|
|
6833
|
+
return localVarFp.authControllerUserVerificationMobileOTP(verifyMobileOTPPayloadDTO, options).then((request) => request(axios, basePath));
|
|
6834
|
+
},
|
|
6759
6835
|
/**
|
|
6760
6836
|
*
|
|
6761
6837
|
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
@@ -6872,6 +6948,16 @@ export class AuthApi extends BaseAPI {
|
|
|
6872
6948
|
return AuthApiFp(this.configuration).authControllerSignUp(signupDto, options).then((request) => request(this.axios, this.basePath));
|
|
6873
6949
|
}
|
|
6874
6950
|
|
|
6951
|
+
/**
|
|
6952
|
+
*
|
|
6953
|
+
* @param {VerifyMobileOTPPayloadDTO} verifyMobileOTPPayloadDTO
|
|
6954
|
+
* @param {*} [options] Override http request option.
|
|
6955
|
+
* @throws {RequiredError}
|
|
6956
|
+
*/
|
|
6957
|
+
public authControllerUserVerificationMobileOTP(verifyMobileOTPPayloadDTO: VerifyMobileOTPPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
6958
|
+
return AuthApiFp(this.configuration).authControllerUserVerificationMobileOTP(verifyMobileOTPPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
6959
|
+
}
|
|
6960
|
+
|
|
6875
6961
|
/**
|
|
6876
6962
|
*
|
|
6877
6963
|
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
@@ -21722,6 +21808,40 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
21722
21808
|
options: localVarRequestOptions,
|
|
21723
21809
|
};
|
|
21724
21810
|
},
|
|
21811
|
+
/**
|
|
21812
|
+
*
|
|
21813
|
+
* @param {TwilioMobileOTPPayloadDTO} twilioMobileOTPPayloadDTO
|
|
21814
|
+
* @param {*} [options] Override http request option.
|
|
21815
|
+
* @throws {RequiredError}
|
|
21816
|
+
*/
|
|
21817
|
+
usersControllerCreateUserVerificationMobileOTP: async (twilioMobileOTPPayloadDTO: TwilioMobileOTPPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21818
|
+
// verify required parameter 'twilioMobileOTPPayloadDTO' is not null or undefined
|
|
21819
|
+
assertParamExists('usersControllerCreateUserVerificationMobileOTP', 'twilioMobileOTPPayloadDTO', twilioMobileOTPPayloadDTO)
|
|
21820
|
+
const localVarPath = `/v1/user/mobile/generate-otp`;
|
|
21821
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21822
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21823
|
+
let baseOptions;
|
|
21824
|
+
if (configuration) {
|
|
21825
|
+
baseOptions = configuration.baseOptions;
|
|
21826
|
+
}
|
|
21827
|
+
|
|
21828
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
21829
|
+
const localVarHeaderParameter = {} as any;
|
|
21830
|
+
const localVarQueryParameter = {} as any;
|
|
21831
|
+
|
|
21832
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21833
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
21834
|
+
|
|
21835
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21836
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21837
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21838
|
+
localVarRequestOptions.data = serializeDataIfNeeded(twilioMobileOTPPayloadDTO, localVarRequestOptions, configuration)
|
|
21839
|
+
|
|
21840
|
+
return {
|
|
21841
|
+
url: toPathString(localVarUrlObj),
|
|
21842
|
+
options: localVarRequestOptions,
|
|
21843
|
+
};
|
|
21844
|
+
},
|
|
21725
21845
|
/**
|
|
21726
21846
|
*
|
|
21727
21847
|
* @param {*} [options] Override http request option.
|
|
@@ -22214,6 +22334,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
22214
22334
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerBusineesAccountDelete']?.[localVarOperationServerIndex]?.url;
|
|
22215
22335
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22216
22336
|
},
|
|
22337
|
+
/**
|
|
22338
|
+
*
|
|
22339
|
+
* @param {TwilioMobileOTPPayloadDTO} twilioMobileOTPPayloadDTO
|
|
22340
|
+
* @param {*} [options] Override http request option.
|
|
22341
|
+
* @throws {RequiredError}
|
|
22342
|
+
*/
|
|
22343
|
+
async usersControllerCreateUserVerificationMobileOTP(twilioMobileOTPPayloadDTO: TwilioMobileOTPPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TwilioMobileOTPResponseDTO>> {
|
|
22344
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerCreateUserVerificationMobileOTP(twilioMobileOTPPayloadDTO, options);
|
|
22345
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22346
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerCreateUserVerificationMobileOTP']?.[localVarOperationServerIndex]?.url;
|
|
22347
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22348
|
+
},
|
|
22217
22349
|
/**
|
|
22218
22350
|
*
|
|
22219
22351
|
* @param {*} [options] Override http request option.
|
|
@@ -22391,6 +22523,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
22391
22523
|
usersControllerBusineesAccountDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteUsersResponseDTO> {
|
|
22392
22524
|
return localVarFp.usersControllerBusineesAccountDelete(id, options).then((request) => request(axios, basePath));
|
|
22393
22525
|
},
|
|
22526
|
+
/**
|
|
22527
|
+
*
|
|
22528
|
+
* @param {TwilioMobileOTPPayloadDTO} twilioMobileOTPPayloadDTO
|
|
22529
|
+
* @param {*} [options] Override http request option.
|
|
22530
|
+
* @throws {RequiredError}
|
|
22531
|
+
*/
|
|
22532
|
+
usersControllerCreateUserVerificationMobileOTP(twilioMobileOTPPayloadDTO: TwilioMobileOTPPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<TwilioMobileOTPResponseDTO> {
|
|
22533
|
+
return localVarFp.usersControllerCreateUserVerificationMobileOTP(twilioMobileOTPPayloadDTO, options).then((request) => request(axios, basePath));
|
|
22534
|
+
},
|
|
22394
22535
|
/**
|
|
22395
22536
|
*
|
|
22396
22537
|
* @param {*} [options] Override http request option.
|
|
@@ -22533,6 +22674,16 @@ export class UsersApi extends BaseAPI {
|
|
|
22533
22674
|
return UsersApiFp(this.configuration).usersControllerBusineesAccountDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
22534
22675
|
}
|
|
22535
22676
|
|
|
22677
|
+
/**
|
|
22678
|
+
*
|
|
22679
|
+
* @param {TwilioMobileOTPPayloadDTO} twilioMobileOTPPayloadDTO
|
|
22680
|
+
* @param {*} [options] Override http request option.
|
|
22681
|
+
* @throws {RequiredError}
|
|
22682
|
+
*/
|
|
22683
|
+
public usersControllerCreateUserVerificationMobileOTP(twilioMobileOTPPayloadDTO: TwilioMobileOTPPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
22684
|
+
return UsersApiFp(this.configuration).usersControllerCreateUserVerificationMobileOTP(twilioMobileOTPPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
22685
|
+
}
|
|
22686
|
+
|
|
22536
22687
|
/**
|
|
22537
22688
|
*
|
|
22538
22689
|
* @param {*} [options] Override http request option.
|
package/docs/AuthApi.md
CHANGED
|
@@ -14,6 +14,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
14
14
|
|[**authControllerSignInWithAdmin**](#authcontrollersigninwithadmin) | **POST** /v1/auth/admin-login | |
|
|
15
15
|
|[**authControllerSignOut**](#authcontrollersignout) | **POST** /v1/auth/user-logout | |
|
|
16
16
|
|[**authControllerSignUp**](#authcontrollersignup) | **POST** /v1/auth/user-register | |
|
|
17
|
+
|[**authControllerUserVerificationMobileOTP**](#authcontrolleruserverificationmobileotp) | **POST** /v1/auth/mobile-verify-otp | |
|
|
17
18
|
|[**authControllerVerifyOTP**](#authcontrollerverifyotp) | **POST** /v1/auth/verify-otp | |
|
|
18
19
|
|
|
19
20
|
# **authControllerBusinessForgotPassword**
|
|
@@ -530,6 +531,57 @@ No authorization required
|
|
|
530
531
|
|
|
531
532
|
[[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)
|
|
532
533
|
|
|
534
|
+
# **authControllerUserVerificationMobileOTP**
|
|
535
|
+
> TwilioMobileOTPResponseDTO authControllerUserVerificationMobileOTP(verifyMobileOTPPayloadDTO)
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
### Example
|
|
539
|
+
|
|
540
|
+
```typescript
|
|
541
|
+
import {
|
|
542
|
+
AuthApi,
|
|
543
|
+
Configuration,
|
|
544
|
+
VerifyMobileOTPPayloadDTO
|
|
545
|
+
} from './api';
|
|
546
|
+
|
|
547
|
+
const configuration = new Configuration();
|
|
548
|
+
const apiInstance = new AuthApi(configuration);
|
|
549
|
+
|
|
550
|
+
let verifyMobileOTPPayloadDTO: VerifyMobileOTPPayloadDTO; //
|
|
551
|
+
|
|
552
|
+
const { status, data } = await apiInstance.authControllerUserVerificationMobileOTP(
|
|
553
|
+
verifyMobileOTPPayloadDTO
|
|
554
|
+
);
|
|
555
|
+
```
|
|
556
|
+
|
|
557
|
+
### Parameters
|
|
558
|
+
|
|
559
|
+
|Name | Type | Description | Notes|
|
|
560
|
+
|------------- | ------------- | ------------- | -------------|
|
|
561
|
+
| **verifyMobileOTPPayloadDTO** | **VerifyMobileOTPPayloadDTO**| | |
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
### Return type
|
|
565
|
+
|
|
566
|
+
**TwilioMobileOTPResponseDTO**
|
|
567
|
+
|
|
568
|
+
### Authorization
|
|
569
|
+
|
|
570
|
+
No authorization required
|
|
571
|
+
|
|
572
|
+
### HTTP request headers
|
|
573
|
+
|
|
574
|
+
- **Content-Type**: application/json
|
|
575
|
+
- **Accept**: application/json
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
### HTTP response details
|
|
579
|
+
| Status code | Description | Response headers |
|
|
580
|
+
|-------------|-------------|------------------|
|
|
581
|
+
|**200** | | - |
|
|
582
|
+
|
|
583
|
+
[[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)
|
|
584
|
+
|
|
533
585
|
# **authControllerVerifyOTP**
|
|
534
586
|
> VerifyOTPResponseDTO authControllerVerifyOTP(verifyOTPPayloadDTO)
|
|
535
587
|
|
|
@@ -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 2026-01-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-01-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2026-01-29T08:17:58Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-01-29T08:17:58Z]
|
|
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]
|
|
@@ -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
|
-
**startDate** | **string** | The start date of the booking | [default to 2026-01-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-01-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-01-29T08:17:58Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-01-29T08:17:58Z]
|
|
11
11
|
**note** | **string** | Notes attached with booking | [optional] [default to undefined]
|
|
12
12
|
**occasion** | **string** | Occasion id | [optional] [default to undefined]
|
|
13
13
|
**calendar** | **Array<string>** | Calendar attached with booking | [optional] [default to undefined]
|
|
@@ -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
|
-
**startDate** | **string** | The start date of the booking | [default to 2026-01-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-01-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-01-29T08:17:58Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-01-29T08:17:58Z]
|
|
11
11
|
**note** | **string** | Notes attached with booking | [optional] [default to undefined]
|
|
12
12
|
**occasion** | **string** | Occasion id | [optional] [default to undefined]
|
|
13
13
|
**calendar** | **Array<string>** | Calendar attached with booking | [optional] [default to undefined]
|
|
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**whatsOnId** | **string** | Event ID | [optional] [default to undefined]
|
|
9
9
|
**serviceId** | **string** | Service ID | [optional] [default to undefined]
|
|
10
10
|
**rsvpId** | **string** | RSVP ID | [optional] [default to undefined]
|
|
11
|
-
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-01-
|
|
12
|
-
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-01-
|
|
11
|
+
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-01-29T08:17:56Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-01-29T08:17:56Z]
|
|
13
13
|
**discountId** | **string** | Discount ID | [optional] [default to undefined]
|
|
14
14
|
**selectedStaff** | **string** | Staff ID | [optional] [default to undefined]
|
|
15
15
|
**quantity** | **number** | | [optional] [default to 0]
|
|
@@ -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 2026-01-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2026-01-29T08:17:58Z]
|
|
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
|
+
# TwilioMobileOTPPayloadDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**mobile** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { TwilioMobileOTPPayloadDTO } from './api';
|
|
14
|
+
|
|
15
|
+
const instance: TwilioMobileOTPPayloadDTO = {
|
|
16
|
+
mobile,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# TwilioMobileOTPResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { TwilioMobileOTPResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: TwilioMobileOTPResponseDTO = {
|
|
17
|
+
statusCode,
|
|
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)
|
package/docs/UserEntity.md
CHANGED
|
@@ -37,6 +37,7 @@ Name | Type | Description | Notes
|
|
|
37
37
|
**isContactShow** | **boolean** | Contact popup show | [default to false]
|
|
38
38
|
**timezone** | **string** | | [optional] [default to undefined]
|
|
39
39
|
**chatToken** | **string** | | [optional] [default to undefined]
|
|
40
|
+
**isMobileVerified** | **boolean** | | [optional] [default to undefined]
|
|
40
41
|
|
|
41
42
|
## Example
|
|
42
43
|
|
|
@@ -76,6 +77,7 @@ const instance: UserEntity = {
|
|
|
76
77
|
isContactShow,
|
|
77
78
|
timezone,
|
|
78
79
|
chatToken,
|
|
80
|
+
isMobileVerified,
|
|
79
81
|
};
|
|
80
82
|
```
|
|
81
83
|
|
package/docs/UsersApi.md
CHANGED
|
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
7
7
|
|[**usersControllerAccountDelete**](#userscontrolleraccountdelete) | **DELETE** /v1/user/delete | |
|
|
8
8
|
|[**usersControllerAddToWaitingList**](#userscontrolleraddtowaitinglist) | **POST** /v1/user/joining-list | |
|
|
9
9
|
|[**usersControllerBusineesAccountDelete**](#userscontrollerbusineesaccountdelete) | **DELETE** /v1/user/delete/business/{id} | |
|
|
10
|
+
|[**usersControllerCreateUserVerificationMobileOTP**](#userscontrollercreateuserverificationmobileotp) | **POST** /v1/user/mobile/generate-otp | |
|
|
10
11
|
|[**usersControllerDeactivateAccount**](#userscontrollerdeactivateaccount) | **DELETE** /v1/user/deactivate | |
|
|
11
12
|
|[**usersControllerFindFriendConfirmedVenueList**](#userscontrollerfindfriendconfirmedvenuelist) | **GET** /v1/user/venue/favorites/user | |
|
|
12
13
|
|[**usersControllerFindUsers**](#userscontrollerfindusers) | **GET** /v1/user/users | |
|
|
@@ -157,6 +158,57 @@ const { status, data } = await apiInstance.usersControllerBusineesAccountDelete(
|
|
|
157
158
|
- **Accept**: application/json
|
|
158
159
|
|
|
159
160
|
|
|
161
|
+
### HTTP response details
|
|
162
|
+
| Status code | Description | Response headers |
|
|
163
|
+
|-------------|-------------|------------------|
|
|
164
|
+
|**200** | | - |
|
|
165
|
+
|
|
166
|
+
[[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)
|
|
167
|
+
|
|
168
|
+
# **usersControllerCreateUserVerificationMobileOTP**
|
|
169
|
+
> TwilioMobileOTPResponseDTO usersControllerCreateUserVerificationMobileOTP(twilioMobileOTPPayloadDTO)
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
### Example
|
|
173
|
+
|
|
174
|
+
```typescript
|
|
175
|
+
import {
|
|
176
|
+
UsersApi,
|
|
177
|
+
Configuration,
|
|
178
|
+
TwilioMobileOTPPayloadDTO
|
|
179
|
+
} from './api';
|
|
180
|
+
|
|
181
|
+
const configuration = new Configuration();
|
|
182
|
+
const apiInstance = new UsersApi(configuration);
|
|
183
|
+
|
|
184
|
+
let twilioMobileOTPPayloadDTO: TwilioMobileOTPPayloadDTO; //
|
|
185
|
+
|
|
186
|
+
const { status, data } = await apiInstance.usersControllerCreateUserVerificationMobileOTP(
|
|
187
|
+
twilioMobileOTPPayloadDTO
|
|
188
|
+
);
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### Parameters
|
|
192
|
+
|
|
193
|
+
|Name | Type | Description | Notes|
|
|
194
|
+
|------------- | ------------- | ------------- | -------------|
|
|
195
|
+
| **twilioMobileOTPPayloadDTO** | **TwilioMobileOTPPayloadDTO**| | |
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
### Return type
|
|
199
|
+
|
|
200
|
+
**TwilioMobileOTPResponseDTO**
|
|
201
|
+
|
|
202
|
+
### Authorization
|
|
203
|
+
|
|
204
|
+
No authorization required
|
|
205
|
+
|
|
206
|
+
### HTTP request headers
|
|
207
|
+
|
|
208
|
+
- **Content-Type**: application/json
|
|
209
|
+
- **Accept**: application/json
|
|
210
|
+
|
|
211
|
+
|
|
160
212
|
### HTTP response details
|
|
161
213
|
| Status code | Description | Response headers |
|
|
162
214
|
|-------------|-------------|------------------|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# VerifyMobileOTPPayloadDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**otp** | **string** | 6 digit otp from mail | [default to undefined]
|
|
9
|
+
**mobile** | **string** | Mobile number of user | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { VerifyMobileOTPPayloadDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: VerifyMobileOTPPayloadDTO = {
|
|
17
|
+
otp,
|
|
18
|
+
mobile,
|
|
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)
|
|
@@ -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 2026-01-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2026-01-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2026-01-29T08:17:58Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2026-01-29T09:17:58Z]
|
|
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]
|