@gooday_corp/gooday-api-client 2.2.9 → 2.3.0
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 +1 -0
- package/api.ts +118 -14
- package/docs/ContactDTO.md +22 -0
- package/docs/ContactsApi.md +59 -2
- 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
package/api.ts
CHANGED
|
@@ -3341,6 +3341,25 @@ export interface CategoryListResponse {
|
|
|
3341
3341
|
*/
|
|
3342
3342
|
'data': Array<CategoryEntity>;
|
|
3343
3343
|
}
|
|
3344
|
+
/**
|
|
3345
|
+
*
|
|
3346
|
+
* @export
|
|
3347
|
+
* @interface ContactDTO
|
|
3348
|
+
*/
|
|
3349
|
+
export interface ContactDTO {
|
|
3350
|
+
/**
|
|
3351
|
+
* statusCode
|
|
3352
|
+
* @type {number}
|
|
3353
|
+
* @memberof ContactDTO
|
|
3354
|
+
*/
|
|
3355
|
+
'statusCode': number;
|
|
3356
|
+
/**
|
|
3357
|
+
*
|
|
3358
|
+
* @type {ContactsEntity}
|
|
3359
|
+
* @memberof ContactDTO
|
|
3360
|
+
*/
|
|
3361
|
+
'data': ContactsEntity;
|
|
3362
|
+
}
|
|
3344
3363
|
/**
|
|
3345
3364
|
*
|
|
3346
3365
|
* @export
|
|
@@ -17407,6 +17426,43 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17407
17426
|
|
|
17408
17427
|
|
|
17409
17428
|
|
|
17429
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17430
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17431
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17432
|
+
|
|
17433
|
+
return {
|
|
17434
|
+
url: toPathString(localVarUrlObj),
|
|
17435
|
+
options: localVarRequestOptions,
|
|
17436
|
+
};
|
|
17437
|
+
},
|
|
17438
|
+
/**
|
|
17439
|
+
*
|
|
17440
|
+
* @param {string} id
|
|
17441
|
+
* @param {*} [options] Override http request option.
|
|
17442
|
+
* @throws {RequiredError}
|
|
17443
|
+
*/
|
|
17444
|
+
contactsControllerFindContact: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17445
|
+
// verify required parameter 'id' is not null or undefined
|
|
17446
|
+
assertParamExists('contactsControllerFindContact', 'id', id)
|
|
17447
|
+
const localVarPath = `/v1/contacts/{id}`
|
|
17448
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17449
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17450
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17451
|
+
let baseOptions;
|
|
17452
|
+
if (configuration) {
|
|
17453
|
+
baseOptions = configuration.baseOptions;
|
|
17454
|
+
}
|
|
17455
|
+
|
|
17456
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17457
|
+
const localVarHeaderParameter = {} as any;
|
|
17458
|
+
const localVarQueryParameter = {} as any;
|
|
17459
|
+
|
|
17460
|
+
// authentication bearer required
|
|
17461
|
+
// http bearer authentication required
|
|
17462
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17463
|
+
|
|
17464
|
+
|
|
17465
|
+
|
|
17410
17466
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17411
17467
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17412
17468
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -17421,10 +17477,11 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17421
17477
|
* @param {string} [search]
|
|
17422
17478
|
* @param {number} [page]
|
|
17423
17479
|
* @param {number} [pageSize]
|
|
17480
|
+
* @param {string} [contactId]
|
|
17424
17481
|
* @param {*} [options] Override http request option.
|
|
17425
17482
|
* @throws {RequiredError}
|
|
17426
17483
|
*/
|
|
17427
|
-
contactsControllerFindContacts: async (search?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17484
|
+
contactsControllerFindContacts: async (search?: string, page?: number, pageSize?: number, contactId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17428
17485
|
const localVarPath = `/v1/contacts`;
|
|
17429
17486
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17430
17487
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17453,6 +17510,10 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17453
17510
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
17454
17511
|
}
|
|
17455
17512
|
|
|
17513
|
+
if (contactId !== undefined) {
|
|
17514
|
+
localVarQueryParameter['contactId'] = contactId;
|
|
17515
|
+
}
|
|
17516
|
+
|
|
17456
17517
|
|
|
17457
17518
|
|
|
17458
17519
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17469,10 +17530,11 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17469
17530
|
* @param {string} [search]
|
|
17470
17531
|
* @param {number} [page]
|
|
17471
17532
|
* @param {number} [pageSize]
|
|
17533
|
+
* @param {string} [contactId]
|
|
17472
17534
|
* @param {*} [options] Override http request option.
|
|
17473
17535
|
* @throws {RequiredError}
|
|
17474
17536
|
*/
|
|
17475
|
-
contactsControllerFindContactsSuggestion: async (search?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17537
|
+
contactsControllerFindContactsSuggestion: async (search?: string, page?: number, pageSize?: number, contactId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17476
17538
|
const localVarPath = `/v1/contacts/suggestion`;
|
|
17477
17539
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17478
17540
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17501,6 +17563,10 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17501
17563
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
17502
17564
|
}
|
|
17503
17565
|
|
|
17566
|
+
if (contactId !== undefined) {
|
|
17567
|
+
localVarQueryParameter['contactId'] = contactId;
|
|
17568
|
+
}
|
|
17569
|
+
|
|
17504
17570
|
|
|
17505
17571
|
|
|
17506
17572
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17545,16 +17611,29 @@ export const ContactsApiFp = function(configuration?: Configuration) {
|
|
|
17545
17611
|
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerContactStatus']?.[localVarOperationServerIndex]?.url;
|
|
17546
17612
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17547
17613
|
},
|
|
17614
|
+
/**
|
|
17615
|
+
*
|
|
17616
|
+
* @param {string} id
|
|
17617
|
+
* @param {*} [options] Override http request option.
|
|
17618
|
+
* @throws {RequiredError}
|
|
17619
|
+
*/
|
|
17620
|
+
async contactsControllerFindContact(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactDTO>> {
|
|
17621
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsControllerFindContact(id, options);
|
|
17622
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17623
|
+
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContact']?.[localVarOperationServerIndex]?.url;
|
|
17624
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17625
|
+
},
|
|
17548
17626
|
/**
|
|
17549
17627
|
*
|
|
17550
17628
|
* @param {string} [search]
|
|
17551
17629
|
* @param {number} [page]
|
|
17552
17630
|
* @param {number} [pageSize]
|
|
17631
|
+
* @param {string} [contactId]
|
|
17553
17632
|
* @param {*} [options] Override http request option.
|
|
17554
17633
|
* @throws {RequiredError}
|
|
17555
17634
|
*/
|
|
17556
|
-
async contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
|
|
17557
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsControllerFindContacts(search, page, pageSize, options);
|
|
17635
|
+
async contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
|
|
17636
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsControllerFindContacts(search, page, pageSize, contactId, options);
|
|
17558
17637
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17559
17638
|
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContacts']?.[localVarOperationServerIndex]?.url;
|
|
17560
17639
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -17564,11 +17643,12 @@ export const ContactsApiFp = function(configuration?: Configuration) {
|
|
|
17564
17643
|
* @param {string} [search]
|
|
17565
17644
|
* @param {number} [page]
|
|
17566
17645
|
* @param {number} [pageSize]
|
|
17646
|
+
* @param {string} [contactId]
|
|
17567
17647
|
* @param {*} [options] Override http request option.
|
|
17568
17648
|
* @throws {RequiredError}
|
|
17569
17649
|
*/
|
|
17570
|
-
async contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
|
|
17571
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsControllerFindContactsSuggestion(search, page, pageSize, options);
|
|
17650
|
+
async contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
|
|
17651
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsControllerFindContactsSuggestion(search, page, pageSize, contactId, options);
|
|
17572
17652
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17573
17653
|
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContactsSuggestion']?.[localVarOperationServerIndex]?.url;
|
|
17574
17654
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -17600,27 +17680,38 @@ export const ContactsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17600
17680
|
contactsControllerContactStatus(options?: RawAxiosRequestConfig): AxiosPromise<ContactStatusResponseDTO> {
|
|
17601
17681
|
return localVarFp.contactsControllerContactStatus(options).then((request) => request(axios, basePath));
|
|
17602
17682
|
},
|
|
17683
|
+
/**
|
|
17684
|
+
*
|
|
17685
|
+
* @param {string} id
|
|
17686
|
+
* @param {*} [options] Override http request option.
|
|
17687
|
+
* @throws {RequiredError}
|
|
17688
|
+
*/
|
|
17689
|
+
contactsControllerFindContact(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ContactDTO> {
|
|
17690
|
+
return localVarFp.contactsControllerFindContact(id, options).then((request) => request(axios, basePath));
|
|
17691
|
+
},
|
|
17603
17692
|
/**
|
|
17604
17693
|
*
|
|
17605
17694
|
* @param {string} [search]
|
|
17606
17695
|
* @param {number} [page]
|
|
17607
17696
|
* @param {number} [pageSize]
|
|
17697
|
+
* @param {string} [contactId]
|
|
17608
17698
|
* @param {*} [options] Override http request option.
|
|
17609
17699
|
* @throws {RequiredError}
|
|
17610
17700
|
*/
|
|
17611
|
-
contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
|
|
17612
|
-
return localVarFp.contactsControllerFindContacts(search, page, pageSize, options).then((request) => request(axios, basePath));
|
|
17701
|
+
contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
|
|
17702
|
+
return localVarFp.contactsControllerFindContacts(search, page, pageSize, contactId, options).then((request) => request(axios, basePath));
|
|
17613
17703
|
},
|
|
17614
17704
|
/**
|
|
17615
17705
|
*
|
|
17616
17706
|
* @param {string} [search]
|
|
17617
17707
|
* @param {number} [page]
|
|
17618
17708
|
* @param {number} [pageSize]
|
|
17709
|
+
* @param {string} [contactId]
|
|
17619
17710
|
* @param {*} [options] Override http request option.
|
|
17620
17711
|
* @throws {RequiredError}
|
|
17621
17712
|
*/
|
|
17622
|
-
contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
|
|
17623
|
-
return localVarFp.contactsControllerFindContactsSuggestion(search, page, pageSize, options).then((request) => request(axios, basePath));
|
|
17713
|
+
contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
|
|
17714
|
+
return localVarFp.contactsControllerFindContactsSuggestion(search, page, pageSize, contactId, options).then((request) => request(axios, basePath));
|
|
17624
17715
|
},
|
|
17625
17716
|
};
|
|
17626
17717
|
};
|
|
@@ -17653,17 +17744,29 @@ export class ContactsApi extends BaseAPI {
|
|
|
17653
17744
|
return ContactsApiFp(this.configuration).contactsControllerContactStatus(options).then((request) => request(this.axios, this.basePath));
|
|
17654
17745
|
}
|
|
17655
17746
|
|
|
17747
|
+
/**
|
|
17748
|
+
*
|
|
17749
|
+
* @param {string} id
|
|
17750
|
+
* @param {*} [options] Override http request option.
|
|
17751
|
+
* @throws {RequiredError}
|
|
17752
|
+
* @memberof ContactsApi
|
|
17753
|
+
*/
|
|
17754
|
+
public contactsControllerFindContact(id: string, options?: RawAxiosRequestConfig) {
|
|
17755
|
+
return ContactsApiFp(this.configuration).contactsControllerFindContact(id, options).then((request) => request(this.axios, this.basePath));
|
|
17756
|
+
}
|
|
17757
|
+
|
|
17656
17758
|
/**
|
|
17657
17759
|
*
|
|
17658
17760
|
* @param {string} [search]
|
|
17659
17761
|
* @param {number} [page]
|
|
17660
17762
|
* @param {number} [pageSize]
|
|
17763
|
+
* @param {string} [contactId]
|
|
17661
17764
|
* @param {*} [options] Override http request option.
|
|
17662
17765
|
* @throws {RequiredError}
|
|
17663
17766
|
* @memberof ContactsApi
|
|
17664
17767
|
*/
|
|
17665
|
-
public contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
17666
|
-
return ContactsApiFp(this.configuration).contactsControllerFindContacts(search, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
17768
|
+
public contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig) {
|
|
17769
|
+
return ContactsApiFp(this.configuration).contactsControllerFindContacts(search, page, pageSize, contactId, options).then((request) => request(this.axios, this.basePath));
|
|
17667
17770
|
}
|
|
17668
17771
|
|
|
17669
17772
|
/**
|
|
@@ -17671,12 +17774,13 @@ export class ContactsApi extends BaseAPI {
|
|
|
17671
17774
|
* @param {string} [search]
|
|
17672
17775
|
* @param {number} [page]
|
|
17673
17776
|
* @param {number} [pageSize]
|
|
17777
|
+
* @param {string} [contactId]
|
|
17674
17778
|
* @param {*} [options] Override http request option.
|
|
17675
17779
|
* @throws {RequiredError}
|
|
17676
17780
|
* @memberof ContactsApi
|
|
17677
17781
|
*/
|
|
17678
|
-
public contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
17679
|
-
return ContactsApiFp(this.configuration).contactsControllerFindContactsSuggestion(search, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
17782
|
+
public contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, contactId?: string, options?: RawAxiosRequestConfig) {
|
|
17783
|
+
return ContactsApiFp(this.configuration).contactsControllerFindContactsSuggestion(search, page, pageSize, contactId, options).then((request) => request(this.axios, this.basePath));
|
|
17680
17784
|
}
|
|
17681
17785
|
}
|
|
17682
17786
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ContactDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**ContactsEntity**](ContactsEntity.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ContactDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: ContactDTO = {
|
|
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/ContactsApi.md
CHANGED
|
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**contactsControllerAddContacts**](#contactscontrolleraddcontacts) | **POST** /v1/contacts | |
|
|
8
8
|
|[**contactsControllerContactStatus**](#contactscontrollercontactstatus) | **POST** /v1/contacts/status | |
|
|
9
|
+
|[**contactsControllerFindContact**](#contactscontrollerfindcontact) | **GET** /v1/contacts/{id} | |
|
|
9
10
|
|[**contactsControllerFindContacts**](#contactscontrollerfindcontacts) | **GET** /v1/contacts | |
|
|
10
11
|
|[**contactsControllerFindContactsSuggestion**](#contactscontrollerfindcontactssuggestion) | **GET** /v1/contacts/suggestion | |
|
|
11
12
|
|
|
@@ -95,6 +96,56 @@ This endpoint does not have any parameters.
|
|
|
95
96
|
- **Accept**: application/json
|
|
96
97
|
|
|
97
98
|
|
|
99
|
+
### HTTP response details
|
|
100
|
+
| Status code | Description | Response headers |
|
|
101
|
+
|-------------|-------------|------------------|
|
|
102
|
+
|**200** | | - |
|
|
103
|
+
|
|
104
|
+
[[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)
|
|
105
|
+
|
|
106
|
+
# **contactsControllerFindContact**
|
|
107
|
+
> ContactDTO contactsControllerFindContact()
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
### Example
|
|
111
|
+
|
|
112
|
+
```typescript
|
|
113
|
+
import {
|
|
114
|
+
ContactsApi,
|
|
115
|
+
Configuration
|
|
116
|
+
} from './api';
|
|
117
|
+
|
|
118
|
+
const configuration = new Configuration();
|
|
119
|
+
const apiInstance = new ContactsApi(configuration);
|
|
120
|
+
|
|
121
|
+
let id: string; // (default to undefined)
|
|
122
|
+
|
|
123
|
+
const { status, data } = await apiInstance.contactsControllerFindContact(
|
|
124
|
+
id
|
|
125
|
+
);
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### Parameters
|
|
129
|
+
|
|
130
|
+
|Name | Type | Description | Notes|
|
|
131
|
+
|------------- | ------------- | ------------- | -------------|
|
|
132
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
### Return type
|
|
136
|
+
|
|
137
|
+
**ContactDTO**
|
|
138
|
+
|
|
139
|
+
### Authorization
|
|
140
|
+
|
|
141
|
+
[bearer](../README.md#bearer)
|
|
142
|
+
|
|
143
|
+
### HTTP request headers
|
|
144
|
+
|
|
145
|
+
- **Content-Type**: Not defined
|
|
146
|
+
- **Accept**: application/json
|
|
147
|
+
|
|
148
|
+
|
|
98
149
|
### HTTP response details
|
|
99
150
|
| Status code | Description | Response headers |
|
|
100
151
|
|-------------|-------------|------------------|
|
|
@@ -120,11 +171,13 @@ const apiInstance = new ContactsApi(configuration);
|
|
|
120
171
|
let search: string; // (optional) (default to undefined)
|
|
121
172
|
let page: number; // (optional) (default to undefined)
|
|
122
173
|
let pageSize: number; // (optional) (default to undefined)
|
|
174
|
+
let contactId: string; // (optional) (default to undefined)
|
|
123
175
|
|
|
124
176
|
const { status, data } = await apiInstance.contactsControllerFindContacts(
|
|
125
177
|
search,
|
|
126
178
|
page,
|
|
127
|
-
pageSize
|
|
179
|
+
pageSize,
|
|
180
|
+
contactId
|
|
128
181
|
);
|
|
129
182
|
```
|
|
130
183
|
|
|
@@ -135,6 +188,7 @@ const { status, data } = await apiInstance.contactsControllerFindContacts(
|
|
|
135
188
|
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
136
189
|
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
137
190
|
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
191
|
+
| **contactId** | [**string**] | | (optional) defaults to undefined|
|
|
138
192
|
|
|
139
193
|
|
|
140
194
|
### Return type
|
|
@@ -176,11 +230,13 @@ const apiInstance = new ContactsApi(configuration);
|
|
|
176
230
|
let search: string; // (optional) (default to undefined)
|
|
177
231
|
let page: number; // (optional) (default to undefined)
|
|
178
232
|
let pageSize: number; // (optional) (default to undefined)
|
|
233
|
+
let contactId: string; // (optional) (default to undefined)
|
|
179
234
|
|
|
180
235
|
const { status, data } = await apiInstance.contactsControllerFindContactsSuggestion(
|
|
181
236
|
search,
|
|
182
237
|
page,
|
|
183
|
-
pageSize
|
|
238
|
+
pageSize,
|
|
239
|
+
contactId
|
|
184
240
|
);
|
|
185
241
|
```
|
|
186
242
|
|
|
@@ -191,6 +247,7 @@ const { status, data } = await apiInstance.contactsControllerFindContactsSuggest
|
|
|
191
247
|
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
192
248
|
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
193
249
|
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
250
|
+
| **contactId** | [**string**] | | (optional) defaults to undefined|
|
|
194
251
|
|
|
195
252
|
|
|
196
253
|
### Return type
|
|
@@ -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-09-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-09-12T14:02:01+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-12T14:02:01+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-09-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-09-12T14:02:01+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-09-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-09-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-09-12T14:02:01+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-09-12T15:02:01+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]
|