@gooday_corp/gooday-api-client 1.8.7 → 1.9.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.
- package/.openapi-generator/FILES +5 -0
- package/api.ts +306 -0
- package/docs/ContactResponseDTO.md +22 -0
- package/docs/ContactsApi.md +115 -0
- package/docs/ContactsEntity.md +30 -0
- package/docs/ContactsPayloadDTO.md +28 -0
- package/docs/ContactsResponseDTO.md +22 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -107,6 +107,11 @@ docs/CancelBookingDTO.md
|
|
|
107
107
|
docs/CancelBookingResponseDTO.md
|
|
108
108
|
docs/CategoryEntity.md
|
|
109
109
|
docs/CategoryListResponse.md
|
|
110
|
+
docs/ContactResponseDTO.md
|
|
111
|
+
docs/ContactsApi.md
|
|
112
|
+
docs/ContactsEntity.md
|
|
113
|
+
docs/ContactsPayloadDTO.md
|
|
114
|
+
docs/ContactsResponseDTO.md
|
|
110
115
|
docs/CreateBookingCollaboratorPayload.md
|
|
111
116
|
docs/CreateBookingPayload.md
|
|
112
117
|
docs/CreateCalendarPayload.md
|
package/api.ts
CHANGED
|
@@ -3240,6 +3240,124 @@ export interface CategoryListResponse {
|
|
|
3240
3240
|
*/
|
|
3241
3241
|
'data': Array<CategoryEntity>;
|
|
3242
3242
|
}
|
|
3243
|
+
/**
|
|
3244
|
+
*
|
|
3245
|
+
* @export
|
|
3246
|
+
* @interface ContactResponseDTO
|
|
3247
|
+
*/
|
|
3248
|
+
export interface ContactResponseDTO {
|
|
3249
|
+
/**
|
|
3250
|
+
* statusCode
|
|
3251
|
+
* @type {number}
|
|
3252
|
+
* @memberof ContactResponseDTO
|
|
3253
|
+
*/
|
|
3254
|
+
'statusCode': number;
|
|
3255
|
+
/**
|
|
3256
|
+
*
|
|
3257
|
+
* @type {string}
|
|
3258
|
+
* @memberof ContactResponseDTO
|
|
3259
|
+
*/
|
|
3260
|
+
'message': string;
|
|
3261
|
+
}
|
|
3262
|
+
/**
|
|
3263
|
+
*
|
|
3264
|
+
* @export
|
|
3265
|
+
* @interface ContactsEntity
|
|
3266
|
+
*/
|
|
3267
|
+
export interface ContactsEntity {
|
|
3268
|
+
/**
|
|
3269
|
+
* Unique identifier for the contacts
|
|
3270
|
+
* @type {string}
|
|
3271
|
+
* @memberof ContactsEntity
|
|
3272
|
+
*/
|
|
3273
|
+
'_id'?: string;
|
|
3274
|
+
/**
|
|
3275
|
+
* First name of the contacts
|
|
3276
|
+
* @type {string}
|
|
3277
|
+
* @memberof ContactsEntity
|
|
3278
|
+
*/
|
|
3279
|
+
'firstName'?: string;
|
|
3280
|
+
/**
|
|
3281
|
+
* Last name of the contacts
|
|
3282
|
+
* @type {string}
|
|
3283
|
+
* @memberof ContactsEntity
|
|
3284
|
+
*/
|
|
3285
|
+
'lastName'?: string;
|
|
3286
|
+
/**
|
|
3287
|
+
* Email address of the user
|
|
3288
|
+
* @type {string}
|
|
3289
|
+
* @memberof ContactsEntity
|
|
3290
|
+
*/
|
|
3291
|
+
'email'?: string;
|
|
3292
|
+
/**
|
|
3293
|
+
* Phone No
|
|
3294
|
+
* @type {string}
|
|
3295
|
+
* @memberof ContactsEntity
|
|
3296
|
+
*/
|
|
3297
|
+
'mobileNumber'?: string;
|
|
3298
|
+
/**
|
|
3299
|
+
*
|
|
3300
|
+
* @type {string}
|
|
3301
|
+
* @memberof ContactsEntity
|
|
3302
|
+
*/
|
|
3303
|
+
'profile'?: string;
|
|
3304
|
+
}
|
|
3305
|
+
/**
|
|
3306
|
+
*
|
|
3307
|
+
* @export
|
|
3308
|
+
* @interface ContactsPayloadDTO
|
|
3309
|
+
*/
|
|
3310
|
+
export interface ContactsPayloadDTO {
|
|
3311
|
+
/**
|
|
3312
|
+
* First name of the user
|
|
3313
|
+
* @type {string}
|
|
3314
|
+
* @memberof ContactsPayloadDTO
|
|
3315
|
+
*/
|
|
3316
|
+
'firstName'?: string;
|
|
3317
|
+
/**
|
|
3318
|
+
* Last name of the user
|
|
3319
|
+
* @type {string}
|
|
3320
|
+
* @memberof ContactsPayloadDTO
|
|
3321
|
+
*/
|
|
3322
|
+
'lastName'?: string;
|
|
3323
|
+
/**
|
|
3324
|
+
* Email address of the user
|
|
3325
|
+
* @type {string}
|
|
3326
|
+
* @memberof ContactsPayloadDTO
|
|
3327
|
+
*/
|
|
3328
|
+
'email'?: string;
|
|
3329
|
+
/**
|
|
3330
|
+
* Phone No
|
|
3331
|
+
* @type {string}
|
|
3332
|
+
* @memberof ContactsPayloadDTO
|
|
3333
|
+
*/
|
|
3334
|
+
'mobileNumber'?: string;
|
|
3335
|
+
/**
|
|
3336
|
+
*
|
|
3337
|
+
* @type {string}
|
|
3338
|
+
* @memberof ContactsPayloadDTO
|
|
3339
|
+
*/
|
|
3340
|
+
'profile'?: string;
|
|
3341
|
+
}
|
|
3342
|
+
/**
|
|
3343
|
+
*
|
|
3344
|
+
* @export
|
|
3345
|
+
* @interface ContactsResponseDTO
|
|
3346
|
+
*/
|
|
3347
|
+
export interface ContactsResponseDTO {
|
|
3348
|
+
/**
|
|
3349
|
+
* statusCode
|
|
3350
|
+
* @type {number}
|
|
3351
|
+
* @memberof ContactsResponseDTO
|
|
3352
|
+
*/
|
|
3353
|
+
'statusCode': number;
|
|
3354
|
+
/**
|
|
3355
|
+
*
|
|
3356
|
+
* @type {Array<ContactsEntity>}
|
|
3357
|
+
* @memberof ContactsResponseDTO
|
|
3358
|
+
*/
|
|
3359
|
+
'data': Array<ContactsEntity>;
|
|
3360
|
+
}
|
|
3243
3361
|
/**
|
|
3244
3362
|
*
|
|
3245
3363
|
* @export
|
|
@@ -16876,6 +16994,194 @@ export class CalendarApi extends BaseAPI {
|
|
|
16876
16994
|
|
|
16877
16995
|
|
|
16878
16996
|
|
|
16997
|
+
/**
|
|
16998
|
+
* ContactsApi - axios parameter creator
|
|
16999
|
+
* @export
|
|
17000
|
+
*/
|
|
17001
|
+
export const ContactsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
17002
|
+
return {
|
|
17003
|
+
/**
|
|
17004
|
+
*
|
|
17005
|
+
* @param {Array<ContactsPayloadDTO>} contactsPayloadDTO
|
|
17006
|
+
* @param {*} [options] Override http request option.
|
|
17007
|
+
* @throws {RequiredError}
|
|
17008
|
+
*/
|
|
17009
|
+
contactsControllerAddContacts: async (contactsPayloadDTO: Array<ContactsPayloadDTO>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17010
|
+
// verify required parameter 'contactsPayloadDTO' is not null or undefined
|
|
17011
|
+
assertParamExists('contactsControllerAddContacts', 'contactsPayloadDTO', contactsPayloadDTO)
|
|
17012
|
+
const localVarPath = `/v1/contacts`;
|
|
17013
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17014
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17015
|
+
let baseOptions;
|
|
17016
|
+
if (configuration) {
|
|
17017
|
+
baseOptions = configuration.baseOptions;
|
|
17018
|
+
}
|
|
17019
|
+
|
|
17020
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
17021
|
+
const localVarHeaderParameter = {} as any;
|
|
17022
|
+
const localVarQueryParameter = {} as any;
|
|
17023
|
+
|
|
17024
|
+
|
|
17025
|
+
|
|
17026
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17027
|
+
|
|
17028
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17029
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17030
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17031
|
+
localVarRequestOptions.data = serializeDataIfNeeded(contactsPayloadDTO, localVarRequestOptions, configuration)
|
|
17032
|
+
|
|
17033
|
+
return {
|
|
17034
|
+
url: toPathString(localVarUrlObj),
|
|
17035
|
+
options: localVarRequestOptions,
|
|
17036
|
+
};
|
|
17037
|
+
},
|
|
17038
|
+
/**
|
|
17039
|
+
*
|
|
17040
|
+
* @param {string} [search]
|
|
17041
|
+
* @param {number} [page]
|
|
17042
|
+
* @param {number} [pageSize]
|
|
17043
|
+
* @param {*} [options] Override http request option.
|
|
17044
|
+
* @throws {RequiredError}
|
|
17045
|
+
*/
|
|
17046
|
+
contactsControllerFindContacts: async (search?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17047
|
+
const localVarPath = `/v1/contacts`;
|
|
17048
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17049
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17050
|
+
let baseOptions;
|
|
17051
|
+
if (configuration) {
|
|
17052
|
+
baseOptions = configuration.baseOptions;
|
|
17053
|
+
}
|
|
17054
|
+
|
|
17055
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17056
|
+
const localVarHeaderParameter = {} as any;
|
|
17057
|
+
const localVarQueryParameter = {} as any;
|
|
17058
|
+
|
|
17059
|
+
if (search !== undefined) {
|
|
17060
|
+
localVarQueryParameter['search'] = search;
|
|
17061
|
+
}
|
|
17062
|
+
|
|
17063
|
+
if (page !== undefined) {
|
|
17064
|
+
localVarQueryParameter['page'] = page;
|
|
17065
|
+
}
|
|
17066
|
+
|
|
17067
|
+
if (pageSize !== undefined) {
|
|
17068
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
17069
|
+
}
|
|
17070
|
+
|
|
17071
|
+
|
|
17072
|
+
|
|
17073
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17074
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17075
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17076
|
+
|
|
17077
|
+
return {
|
|
17078
|
+
url: toPathString(localVarUrlObj),
|
|
17079
|
+
options: localVarRequestOptions,
|
|
17080
|
+
};
|
|
17081
|
+
},
|
|
17082
|
+
}
|
|
17083
|
+
};
|
|
17084
|
+
|
|
17085
|
+
/**
|
|
17086
|
+
* ContactsApi - functional programming interface
|
|
17087
|
+
* @export
|
|
17088
|
+
*/
|
|
17089
|
+
export const ContactsApiFp = function(configuration?: Configuration) {
|
|
17090
|
+
const localVarAxiosParamCreator = ContactsApiAxiosParamCreator(configuration)
|
|
17091
|
+
return {
|
|
17092
|
+
/**
|
|
17093
|
+
*
|
|
17094
|
+
* @param {Array<ContactsPayloadDTO>} contactsPayloadDTO
|
|
17095
|
+
* @param {*} [options] Override http request option.
|
|
17096
|
+
* @throws {RequiredError}
|
|
17097
|
+
*/
|
|
17098
|
+
async contactsControllerAddContacts(contactsPayloadDTO: Array<ContactsPayloadDTO>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactResponseDTO>> {
|
|
17099
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsControllerAddContacts(contactsPayloadDTO, options);
|
|
17100
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17101
|
+
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerAddContacts']?.[localVarOperationServerIndex]?.url;
|
|
17102
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17103
|
+
},
|
|
17104
|
+
/**
|
|
17105
|
+
*
|
|
17106
|
+
* @param {string} [search]
|
|
17107
|
+
* @param {number} [page]
|
|
17108
|
+
* @param {number} [pageSize]
|
|
17109
|
+
* @param {*} [options] Override http request option.
|
|
17110
|
+
* @throws {RequiredError}
|
|
17111
|
+
*/
|
|
17112
|
+
async contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
|
|
17113
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsControllerFindContacts(search, page, pageSize, options);
|
|
17114
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17115
|
+
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContacts']?.[localVarOperationServerIndex]?.url;
|
|
17116
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17117
|
+
},
|
|
17118
|
+
}
|
|
17119
|
+
};
|
|
17120
|
+
|
|
17121
|
+
/**
|
|
17122
|
+
* ContactsApi - factory interface
|
|
17123
|
+
* @export
|
|
17124
|
+
*/
|
|
17125
|
+
export const ContactsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
17126
|
+
const localVarFp = ContactsApiFp(configuration)
|
|
17127
|
+
return {
|
|
17128
|
+
/**
|
|
17129
|
+
*
|
|
17130
|
+
* @param {Array<ContactsPayloadDTO>} contactsPayloadDTO
|
|
17131
|
+
* @param {*} [options] Override http request option.
|
|
17132
|
+
* @throws {RequiredError}
|
|
17133
|
+
*/
|
|
17134
|
+
contactsControllerAddContacts(contactsPayloadDTO: Array<ContactsPayloadDTO>, options?: RawAxiosRequestConfig): AxiosPromise<ContactResponseDTO> {
|
|
17135
|
+
return localVarFp.contactsControllerAddContacts(contactsPayloadDTO, options).then((request) => request(axios, basePath));
|
|
17136
|
+
},
|
|
17137
|
+
/**
|
|
17138
|
+
*
|
|
17139
|
+
* @param {string} [search]
|
|
17140
|
+
* @param {number} [page]
|
|
17141
|
+
* @param {number} [pageSize]
|
|
17142
|
+
* @param {*} [options] Override http request option.
|
|
17143
|
+
* @throws {RequiredError}
|
|
17144
|
+
*/
|
|
17145
|
+
contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
|
|
17146
|
+
return localVarFp.contactsControllerFindContacts(search, page, pageSize, options).then((request) => request(axios, basePath));
|
|
17147
|
+
},
|
|
17148
|
+
};
|
|
17149
|
+
};
|
|
17150
|
+
|
|
17151
|
+
/**
|
|
17152
|
+
* ContactsApi - object-oriented interface
|
|
17153
|
+
* @export
|
|
17154
|
+
* @class ContactsApi
|
|
17155
|
+
* @extends {BaseAPI}
|
|
17156
|
+
*/
|
|
17157
|
+
export class ContactsApi extends BaseAPI {
|
|
17158
|
+
/**
|
|
17159
|
+
*
|
|
17160
|
+
* @param {Array<ContactsPayloadDTO>} contactsPayloadDTO
|
|
17161
|
+
* @param {*} [options] Override http request option.
|
|
17162
|
+
* @throws {RequiredError}
|
|
17163
|
+
* @memberof ContactsApi
|
|
17164
|
+
*/
|
|
17165
|
+
public contactsControllerAddContacts(contactsPayloadDTO: Array<ContactsPayloadDTO>, options?: RawAxiosRequestConfig) {
|
|
17166
|
+
return ContactsApiFp(this.configuration).contactsControllerAddContacts(contactsPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
17167
|
+
}
|
|
17168
|
+
|
|
17169
|
+
/**
|
|
17170
|
+
*
|
|
17171
|
+
* @param {string} [search]
|
|
17172
|
+
* @param {number} [page]
|
|
17173
|
+
* @param {number} [pageSize]
|
|
17174
|
+
* @param {*} [options] Override http request option.
|
|
17175
|
+
* @throws {RequiredError}
|
|
17176
|
+
* @memberof ContactsApi
|
|
17177
|
+
*/
|
|
17178
|
+
public contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
17179
|
+
return ContactsApiFp(this.configuration).contactsControllerFindContacts(search, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
17180
|
+
}
|
|
17181
|
+
}
|
|
17182
|
+
|
|
17183
|
+
|
|
17184
|
+
|
|
16879
17185
|
/**
|
|
16880
17186
|
* CustomerApi - axios parameter creator
|
|
16881
17187
|
* @export
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ContactResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**message** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ContactResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: ContactResponseDTO = {
|
|
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)
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# ContactsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8080*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**contactsControllerAddContacts**](#contactscontrolleraddcontacts) | **POST** /v1/contacts | |
|
|
8
|
+
|[**contactsControllerFindContacts**](#contactscontrollerfindcontacts) | **GET** /v1/contacts | |
|
|
9
|
+
|
|
10
|
+
# **contactsControllerAddContacts**
|
|
11
|
+
> ContactResponseDTO contactsControllerAddContacts(contactsPayloadDTO)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
ContactsApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from './api';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new ContactsApi(configuration);
|
|
24
|
+
|
|
25
|
+
let contactsPayloadDTO: Array<ContactsPayloadDTO>; //
|
|
26
|
+
|
|
27
|
+
const { status, data } = await apiInstance.contactsControllerAddContacts(
|
|
28
|
+
contactsPayloadDTO
|
|
29
|
+
);
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Parameters
|
|
33
|
+
|
|
34
|
+
|Name | Type | Description | Notes|
|
|
35
|
+
|------------- | ------------- | ------------- | -------------|
|
|
36
|
+
| **contactsPayloadDTO** | **Array<ContactsPayloadDTO>**| | |
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Return type
|
|
40
|
+
|
|
41
|
+
**ContactResponseDTO**
|
|
42
|
+
|
|
43
|
+
### Authorization
|
|
44
|
+
|
|
45
|
+
No authorization required
|
|
46
|
+
|
|
47
|
+
### HTTP request headers
|
|
48
|
+
|
|
49
|
+
- **Content-Type**: application/json
|
|
50
|
+
- **Accept**: application/json
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### HTTP response details
|
|
54
|
+
| Status code | Description | Response headers |
|
|
55
|
+
|-------------|-------------|------------------|
|
|
56
|
+
|**200** | | - |
|
|
57
|
+
|
|
58
|
+
[[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)
|
|
59
|
+
|
|
60
|
+
# **contactsControllerFindContacts**
|
|
61
|
+
> ContactsResponseDTO contactsControllerFindContacts()
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### Example
|
|
65
|
+
|
|
66
|
+
```typescript
|
|
67
|
+
import {
|
|
68
|
+
ContactsApi,
|
|
69
|
+
Configuration
|
|
70
|
+
} from './api';
|
|
71
|
+
|
|
72
|
+
const configuration = new Configuration();
|
|
73
|
+
const apiInstance = new ContactsApi(configuration);
|
|
74
|
+
|
|
75
|
+
let search: string; // (optional) (default to undefined)
|
|
76
|
+
let page: number; // (optional) (default to undefined)
|
|
77
|
+
let pageSize: number; // (optional) (default to undefined)
|
|
78
|
+
|
|
79
|
+
const { status, data } = await apiInstance.contactsControllerFindContacts(
|
|
80
|
+
search,
|
|
81
|
+
page,
|
|
82
|
+
pageSize
|
|
83
|
+
);
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### Parameters
|
|
87
|
+
|
|
88
|
+
|Name | Type | Description | Notes|
|
|
89
|
+
|------------- | ------------- | ------------- | -------------|
|
|
90
|
+
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
91
|
+
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
92
|
+
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Return type
|
|
96
|
+
|
|
97
|
+
**ContactsResponseDTO**
|
|
98
|
+
|
|
99
|
+
### Authorization
|
|
100
|
+
|
|
101
|
+
No authorization required
|
|
102
|
+
|
|
103
|
+
### HTTP request headers
|
|
104
|
+
|
|
105
|
+
- **Content-Type**: Not defined
|
|
106
|
+
- **Accept**: application/json
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### HTTP response details
|
|
110
|
+
| Status code | Description | Response headers |
|
|
111
|
+
|-------------|-------------|------------------|
|
|
112
|
+
|**200** | | - |
|
|
113
|
+
|
|
114
|
+
[[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)
|
|
115
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# ContactsEntity
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**_id** | **string** | Unique identifier for the contacts | [optional] [default to undefined]
|
|
9
|
+
**firstName** | **string** | First name of the contacts | [optional] [default to undefined]
|
|
10
|
+
**lastName** | **string** | Last name of the contacts | [optional] [default to undefined]
|
|
11
|
+
**email** | **string** | Email address of the user | [optional] [default to undefined]
|
|
12
|
+
**mobileNumber** | **string** | Phone No | [optional] [default to undefined]
|
|
13
|
+
**profile** | **string** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { ContactsEntity } from './api';
|
|
19
|
+
|
|
20
|
+
const instance: ContactsEntity = {
|
|
21
|
+
_id,
|
|
22
|
+
firstName,
|
|
23
|
+
lastName,
|
|
24
|
+
email,
|
|
25
|
+
mobileNumber,
|
|
26
|
+
profile,
|
|
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,28 @@
|
|
|
1
|
+
# ContactsPayloadDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**firstName** | **string** | First name of the user | [optional] [default to undefined]
|
|
9
|
+
**lastName** | **string** | Last name of the user | [optional] [default to undefined]
|
|
10
|
+
**email** | **string** | Email address of the user | [optional] [default to undefined]
|
|
11
|
+
**mobileNumber** | **string** | Phone No | [optional] [default to undefined]
|
|
12
|
+
**profile** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ContactsPayloadDTO } from './api';
|
|
18
|
+
|
|
19
|
+
const instance: ContactsPayloadDTO = {
|
|
20
|
+
firstName,
|
|
21
|
+
lastName,
|
|
22
|
+
email,
|
|
23
|
+
mobileNumber,
|
|
24
|
+
profile,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[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
|
+
# ContactsResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**Array<ContactsEntity>**](ContactsEntity.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ContactsResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: ContactsResponseDTO = {
|
|
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)
|
|
@@ -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-18T17:
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-08-18T17:
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-08-18T17:27:26+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-08-18T17:27:26+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]
|
|
@@ -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-18T17:
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-08-18T17:27:26+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-18T17:
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-08-18T18:
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-08-18T17:27:26+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-08-18T18:27:26+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]
|