@gooday_corp/gooday-api-client 2.1.4 → 2.1.6
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 +2 -0
- package/api.ts +368 -8
- package/docs/CalendarApi.md +51 -0
- package/docs/CalendarSlots.md +2 -0
- package/docs/ContactDTO.md +22 -0
- package/docs/ContactsApi.md +115 -1
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/FriendsFavoriteVenueResponseDTO.md +22 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/SendCollaborateInvitePayload.md +3 -1
- package/docs/UsersApi.md +51 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -110,6 +110,7 @@ docs/CancelBookingDTO.md
|
|
|
110
110
|
docs/CancelBookingResponseDTO.md
|
|
111
111
|
docs/CategoryEntity.md
|
|
112
112
|
docs/CategoryListResponse.md
|
|
113
|
+
docs/ContactDTO.md
|
|
113
114
|
docs/ContactResponseDTO.md
|
|
114
115
|
docs/ContactStatusResponseDTO.md
|
|
115
116
|
docs/ContactsApi.md
|
|
@@ -171,6 +172,7 @@ docs/ForgotPasswordPayloadDTO.md
|
|
|
171
172
|
docs/ForgotPasswordResponseDTO.md
|
|
172
173
|
docs/FriendsApi.md
|
|
173
174
|
docs/FriendsDTO.md
|
|
175
|
+
docs/FriendsFavoriteVenueResponseDTO.md
|
|
174
176
|
docs/FriendsList.md
|
|
175
177
|
docs/FriendsListDTO.md
|
|
176
178
|
docs/FriendsResponseDTO.md
|
package/api.ts
CHANGED
|
@@ -3170,6 +3170,12 @@ export interface CalendarSlots {
|
|
|
3170
3170
|
* @memberof CalendarSlots
|
|
3171
3171
|
*/
|
|
3172
3172
|
'end': string;
|
|
3173
|
+
/**
|
|
3174
|
+
* Slot is available or not
|
|
3175
|
+
* @type {boolean}
|
|
3176
|
+
* @memberof CalendarSlots
|
|
3177
|
+
*/
|
|
3178
|
+
'isBusinessAvailable': boolean;
|
|
3173
3179
|
/**
|
|
3174
3180
|
* Slot is available or not
|
|
3175
3181
|
* @type {boolean}
|
|
@@ -3335,6 +3341,25 @@ export interface CategoryListResponse {
|
|
|
3335
3341
|
*/
|
|
3336
3342
|
'data': Array<CategoryEntity>;
|
|
3337
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
|
+
}
|
|
3338
3363
|
/**
|
|
3339
3364
|
*
|
|
3340
3365
|
* @export
|
|
@@ -5243,6 +5268,25 @@ export interface FriendsDTO {
|
|
|
5243
5268
|
*/
|
|
5244
5269
|
'data': Array<UserEntity>;
|
|
5245
5270
|
}
|
|
5271
|
+
/**
|
|
5272
|
+
*
|
|
5273
|
+
* @export
|
|
5274
|
+
* @interface FriendsFavoriteVenueResponseDTO
|
|
5275
|
+
*/
|
|
5276
|
+
export interface FriendsFavoriteVenueResponseDTO {
|
|
5277
|
+
/**
|
|
5278
|
+
* statusCode
|
|
5279
|
+
* @type {number}
|
|
5280
|
+
* @memberof FriendsFavoriteVenueResponseDTO
|
|
5281
|
+
*/
|
|
5282
|
+
'statusCode': number;
|
|
5283
|
+
/**
|
|
5284
|
+
*
|
|
5285
|
+
* @type {Array<UserEntity>}
|
|
5286
|
+
* @memberof FriendsFavoriteVenueResponseDTO
|
|
5287
|
+
*/
|
|
5288
|
+
'data'?: Array<UserEntity>;
|
|
5289
|
+
}
|
|
5246
5290
|
/**
|
|
5247
5291
|
*
|
|
5248
5292
|
* @export
|
|
@@ -8147,7 +8191,13 @@ export interface SendCollaborateInvitePayload {
|
|
|
8147
8191
|
* @type {Array<string>}
|
|
8148
8192
|
* @memberof SendCollaborateInvitePayload
|
|
8149
8193
|
*/
|
|
8150
|
-
'collaborator'
|
|
8194
|
+
'collaborator'?: Array<string>;
|
|
8195
|
+
/**
|
|
8196
|
+
*
|
|
8197
|
+
* @type {Array<string>}
|
|
8198
|
+
* @memberof SendCollaborateInvitePayload
|
|
8199
|
+
*/
|
|
8200
|
+
'mobileNumbers'?: Array<string>;
|
|
8151
8201
|
/**
|
|
8152
8202
|
* The calendar identifier
|
|
8153
8203
|
* @type {string}
|
|
@@ -16119,6 +16169,43 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16119
16169
|
options: localVarRequestOptions,
|
|
16120
16170
|
};
|
|
16121
16171
|
},
|
|
16172
|
+
/**
|
|
16173
|
+
*
|
|
16174
|
+
* @param {string} id
|
|
16175
|
+
* @param {*} [options] Override http request option.
|
|
16176
|
+
* @throws {RequiredError}
|
|
16177
|
+
*/
|
|
16178
|
+
calendarControllerAllCollaboratorsByCalendar: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16179
|
+
// verify required parameter 'id' is not null or undefined
|
|
16180
|
+
assertParamExists('calendarControllerAllCollaboratorsByCalendar', 'id', id)
|
|
16181
|
+
const localVarPath = `/v1/calendar/{id}/all/collaborators`
|
|
16182
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16183
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16184
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16185
|
+
let baseOptions;
|
|
16186
|
+
if (configuration) {
|
|
16187
|
+
baseOptions = configuration.baseOptions;
|
|
16188
|
+
}
|
|
16189
|
+
|
|
16190
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16191
|
+
const localVarHeaderParameter = {} as any;
|
|
16192
|
+
const localVarQueryParameter = {} as any;
|
|
16193
|
+
|
|
16194
|
+
// authentication bearer required
|
|
16195
|
+
// http bearer authentication required
|
|
16196
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16197
|
+
|
|
16198
|
+
|
|
16199
|
+
|
|
16200
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16201
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16202
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16203
|
+
|
|
16204
|
+
return {
|
|
16205
|
+
url: toPathString(localVarUrlObj),
|
|
16206
|
+
options: localVarRequestOptions,
|
|
16207
|
+
};
|
|
16208
|
+
},
|
|
16122
16209
|
/**
|
|
16123
16210
|
*
|
|
16124
16211
|
* @param {string} id
|
|
@@ -16718,6 +16805,18 @@ export const CalendarApiFp = function(configuration?: Configuration) {
|
|
|
16718
16805
|
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerAcceptCalendarInvite']?.[localVarOperationServerIndex]?.url;
|
|
16719
16806
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16720
16807
|
},
|
|
16808
|
+
/**
|
|
16809
|
+
*
|
|
16810
|
+
* @param {string} id
|
|
16811
|
+
* @param {*} [options] Override http request option.
|
|
16812
|
+
* @throws {RequiredError}
|
|
16813
|
+
*/
|
|
16814
|
+
async calendarControllerAllCollaboratorsByCalendar(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16815
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerAllCollaboratorsByCalendar(id, options);
|
|
16816
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16817
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerAllCollaboratorsByCalendar']?.[localVarOperationServerIndex]?.url;
|
|
16818
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16819
|
+
},
|
|
16721
16820
|
/**
|
|
16722
16821
|
*
|
|
16723
16822
|
* @param {string} id
|
|
@@ -16916,6 +17015,15 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
|
|
|
16916
17015
|
calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload: AcceptCollaborateInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarDTO> {
|
|
16917
17016
|
return localVarFp.calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload, options).then((request) => request(axios, basePath));
|
|
16918
17017
|
},
|
|
17018
|
+
/**
|
|
17019
|
+
*
|
|
17020
|
+
* @param {string} id
|
|
17021
|
+
* @param {*} [options] Override http request option.
|
|
17022
|
+
* @throws {RequiredError}
|
|
17023
|
+
*/
|
|
17024
|
+
calendarControllerAllCollaboratorsByCalendar(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
17025
|
+
return localVarFp.calendarControllerAllCollaboratorsByCalendar(id, options).then((request) => request(axios, basePath));
|
|
17026
|
+
},
|
|
16919
17027
|
/**
|
|
16920
17028
|
*
|
|
16921
17029
|
* @param {string} id
|
|
@@ -17071,6 +17179,17 @@ export class CalendarApi extends BaseAPI {
|
|
|
17071
17179
|
return CalendarApiFp(this.configuration).calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload, options).then((request) => request(this.axios, this.basePath));
|
|
17072
17180
|
}
|
|
17073
17181
|
|
|
17182
|
+
/**
|
|
17183
|
+
*
|
|
17184
|
+
* @param {string} id
|
|
17185
|
+
* @param {*} [options] Override http request option.
|
|
17186
|
+
* @throws {RequiredError}
|
|
17187
|
+
* @memberof CalendarApi
|
|
17188
|
+
*/
|
|
17189
|
+
public calendarControllerAllCollaboratorsByCalendar(id: string, options?: RawAxiosRequestConfig) {
|
|
17190
|
+
return CalendarApiFp(this.configuration).calendarControllerAllCollaboratorsByCalendar(id, options).then((request) => request(this.axios, this.basePath));
|
|
17191
|
+
}
|
|
17192
|
+
|
|
17074
17193
|
/**
|
|
17075
17194
|
*
|
|
17076
17195
|
* @param {string} id
|
|
@@ -17307,6 +17426,43 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17307
17426
|
|
|
17308
17427
|
|
|
17309
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
|
+
|
|
17310
17466
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17311
17467
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17312
17468
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -17321,10 +17477,11 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17321
17477
|
* @param {string} [search]
|
|
17322
17478
|
* @param {number} [page]
|
|
17323
17479
|
* @param {number} [pageSize]
|
|
17480
|
+
* @param {string} [contactId]
|
|
17324
17481
|
* @param {*} [options] Override http request option.
|
|
17325
17482
|
* @throws {RequiredError}
|
|
17326
17483
|
*/
|
|
17327
|
-
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> => {
|
|
17328
17485
|
const localVarPath = `/v1/contacts`;
|
|
17329
17486
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17330
17487
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17353,6 +17510,63 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17353
17510
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
17354
17511
|
}
|
|
17355
17512
|
|
|
17513
|
+
if (contactId !== undefined) {
|
|
17514
|
+
localVarQueryParameter['contactId'] = contactId;
|
|
17515
|
+
}
|
|
17516
|
+
|
|
17517
|
+
|
|
17518
|
+
|
|
17519
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17520
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17521
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17522
|
+
|
|
17523
|
+
return {
|
|
17524
|
+
url: toPathString(localVarUrlObj),
|
|
17525
|
+
options: localVarRequestOptions,
|
|
17526
|
+
};
|
|
17527
|
+
},
|
|
17528
|
+
/**
|
|
17529
|
+
*
|
|
17530
|
+
* @param {string} [search]
|
|
17531
|
+
* @param {number} [page]
|
|
17532
|
+
* @param {number} [pageSize]
|
|
17533
|
+
* @param {string} [contactId]
|
|
17534
|
+
* @param {*} [options] Override http request option.
|
|
17535
|
+
* @throws {RequiredError}
|
|
17536
|
+
*/
|
|
17537
|
+
contactsControllerFindContactsSuggestion: async (search?: string, page?: number, pageSize?: number, contactId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17538
|
+
const localVarPath = `/v1/contacts/suggestion`;
|
|
17539
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17540
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17541
|
+
let baseOptions;
|
|
17542
|
+
if (configuration) {
|
|
17543
|
+
baseOptions = configuration.baseOptions;
|
|
17544
|
+
}
|
|
17545
|
+
|
|
17546
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17547
|
+
const localVarHeaderParameter = {} as any;
|
|
17548
|
+
const localVarQueryParameter = {} as any;
|
|
17549
|
+
|
|
17550
|
+
// authentication bearer required
|
|
17551
|
+
// http bearer authentication required
|
|
17552
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17553
|
+
|
|
17554
|
+
if (search !== undefined) {
|
|
17555
|
+
localVarQueryParameter['search'] = search;
|
|
17556
|
+
}
|
|
17557
|
+
|
|
17558
|
+
if (page !== undefined) {
|
|
17559
|
+
localVarQueryParameter['page'] = page;
|
|
17560
|
+
}
|
|
17561
|
+
|
|
17562
|
+
if (pageSize !== undefined) {
|
|
17563
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
17564
|
+
}
|
|
17565
|
+
|
|
17566
|
+
if (contactId !== undefined) {
|
|
17567
|
+
localVarQueryParameter['contactId'] = contactId;
|
|
17568
|
+
}
|
|
17569
|
+
|
|
17356
17570
|
|
|
17357
17571
|
|
|
17358
17572
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17397,20 +17611,48 @@ export const ContactsApiFp = function(configuration?: Configuration) {
|
|
|
17397
17611
|
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerContactStatus']?.[localVarOperationServerIndex]?.url;
|
|
17398
17612
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17399
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
|
+
},
|
|
17400
17626
|
/**
|
|
17401
17627
|
*
|
|
17402
17628
|
* @param {string} [search]
|
|
17403
17629
|
* @param {number} [page]
|
|
17404
17630
|
* @param {number} [pageSize]
|
|
17631
|
+
* @param {string} [contactId]
|
|
17405
17632
|
* @param {*} [options] Override http request option.
|
|
17406
17633
|
* @throws {RequiredError}
|
|
17407
17634
|
*/
|
|
17408
|
-
async contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
|
|
17409
|
-
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);
|
|
17410
17637
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17411
17638
|
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContacts']?.[localVarOperationServerIndex]?.url;
|
|
17412
17639
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17413
17640
|
},
|
|
17641
|
+
/**
|
|
17642
|
+
*
|
|
17643
|
+
* @param {string} [search]
|
|
17644
|
+
* @param {number} [page]
|
|
17645
|
+
* @param {number} [pageSize]
|
|
17646
|
+
* @param {string} [contactId]
|
|
17647
|
+
* @param {*} [options] Override http request option.
|
|
17648
|
+
* @throws {RequiredError}
|
|
17649
|
+
*/
|
|
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);
|
|
17652
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17653
|
+
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContactsSuggestion']?.[localVarOperationServerIndex]?.url;
|
|
17654
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17655
|
+
},
|
|
17414
17656
|
}
|
|
17415
17657
|
};
|
|
17416
17658
|
|
|
@@ -17438,16 +17680,38 @@ export const ContactsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17438
17680
|
contactsControllerContactStatus(options?: RawAxiosRequestConfig): AxiosPromise<ContactStatusResponseDTO> {
|
|
17439
17681
|
return localVarFp.contactsControllerContactStatus(options).then((request) => request(axios, basePath));
|
|
17440
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
|
+
},
|
|
17692
|
+
/**
|
|
17693
|
+
*
|
|
17694
|
+
* @param {string} [search]
|
|
17695
|
+
* @param {number} [page]
|
|
17696
|
+
* @param {number} [pageSize]
|
|
17697
|
+
* @param {string} [contactId]
|
|
17698
|
+
* @param {*} [options] Override http request option.
|
|
17699
|
+
* @throws {RequiredError}
|
|
17700
|
+
*/
|
|
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));
|
|
17703
|
+
},
|
|
17441
17704
|
/**
|
|
17442
17705
|
*
|
|
17443
17706
|
* @param {string} [search]
|
|
17444
17707
|
* @param {number} [page]
|
|
17445
17708
|
* @param {number} [pageSize]
|
|
17709
|
+
* @param {string} [contactId]
|
|
17446
17710
|
* @param {*} [options] Override http request option.
|
|
17447
17711
|
* @throws {RequiredError}
|
|
17448
17712
|
*/
|
|
17449
|
-
|
|
17450
|
-
return localVarFp.
|
|
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));
|
|
17451
17715
|
},
|
|
17452
17716
|
};
|
|
17453
17717
|
};
|
|
@@ -17480,17 +17744,43 @@ export class ContactsApi extends BaseAPI {
|
|
|
17480
17744
|
return ContactsApiFp(this.configuration).contactsControllerContactStatus(options).then((request) => request(this.axios, this.basePath));
|
|
17481
17745
|
}
|
|
17482
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
|
+
|
|
17758
|
+
/**
|
|
17759
|
+
*
|
|
17760
|
+
* @param {string} [search]
|
|
17761
|
+
* @param {number} [page]
|
|
17762
|
+
* @param {number} [pageSize]
|
|
17763
|
+
* @param {string} [contactId]
|
|
17764
|
+
* @param {*} [options] Override http request option.
|
|
17765
|
+
* @throws {RequiredError}
|
|
17766
|
+
* @memberof ContactsApi
|
|
17767
|
+
*/
|
|
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));
|
|
17770
|
+
}
|
|
17771
|
+
|
|
17483
17772
|
/**
|
|
17484
17773
|
*
|
|
17485
17774
|
* @param {string} [search]
|
|
17486
17775
|
* @param {number} [page]
|
|
17487
17776
|
* @param {number} [pageSize]
|
|
17777
|
+
* @param {string} [contactId]
|
|
17488
17778
|
* @param {*} [options] Override http request option.
|
|
17489
17779
|
* @throws {RequiredError}
|
|
17490
17780
|
* @memberof ContactsApi
|
|
17491
17781
|
*/
|
|
17492
|
-
public
|
|
17493
|
-
return ContactsApiFp(this.configuration).
|
|
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));
|
|
17494
17784
|
}
|
|
17495
17785
|
}
|
|
17496
17786
|
|
|
@@ -25157,6 +25447,44 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
25157
25447
|
|
|
25158
25448
|
|
|
25159
25449
|
|
|
25450
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25451
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25452
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25453
|
+
|
|
25454
|
+
return {
|
|
25455
|
+
url: toPathString(localVarUrlObj),
|
|
25456
|
+
options: localVarRequestOptions,
|
|
25457
|
+
};
|
|
25458
|
+
},
|
|
25459
|
+
/**
|
|
25460
|
+
*
|
|
25461
|
+
* @param {Array<string>} [venues]
|
|
25462
|
+
* @param {*} [options] Override http request option.
|
|
25463
|
+
* @throws {RequiredError}
|
|
25464
|
+
*/
|
|
25465
|
+
usersControllerFindFriendConfirmedVenueList: async (venues?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25466
|
+
const localVarPath = `/v1/user/venue/favorites/user`;
|
|
25467
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25468
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25469
|
+
let baseOptions;
|
|
25470
|
+
if (configuration) {
|
|
25471
|
+
baseOptions = configuration.baseOptions;
|
|
25472
|
+
}
|
|
25473
|
+
|
|
25474
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25475
|
+
const localVarHeaderParameter = {} as any;
|
|
25476
|
+
const localVarQueryParameter = {} as any;
|
|
25477
|
+
|
|
25478
|
+
// authentication bearer required
|
|
25479
|
+
// http bearer authentication required
|
|
25480
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
25481
|
+
|
|
25482
|
+
if (venues) {
|
|
25483
|
+
localVarQueryParameter['venues'] = venues;
|
|
25484
|
+
}
|
|
25485
|
+
|
|
25486
|
+
|
|
25487
|
+
|
|
25160
25488
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25161
25489
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25162
25490
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -25540,6 +25868,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
25540
25868
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerDeactivateAccount']?.[localVarOperationServerIndex]?.url;
|
|
25541
25869
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25542
25870
|
},
|
|
25871
|
+
/**
|
|
25872
|
+
*
|
|
25873
|
+
* @param {Array<string>} [venues]
|
|
25874
|
+
* @param {*} [options] Override http request option.
|
|
25875
|
+
* @throws {RequiredError}
|
|
25876
|
+
*/
|
|
25877
|
+
async usersControllerFindFriendConfirmedVenueList(venues?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsFavoriteVenueResponseDTO>> {
|
|
25878
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerFindFriendConfirmedVenueList(venues, options);
|
|
25879
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25880
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerFindFriendConfirmedVenueList']?.[localVarOperationServerIndex]?.url;
|
|
25881
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25882
|
+
},
|
|
25543
25883
|
/**
|
|
25544
25884
|
*
|
|
25545
25885
|
* @param {*} [options] Override http request option.
|
|
@@ -25680,6 +26020,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
25680
26020
|
usersControllerDeactivateAccount(options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
25681
26021
|
return localVarFp.usersControllerDeactivateAccount(options).then((request) => request(axios, basePath));
|
|
25682
26022
|
},
|
|
26023
|
+
/**
|
|
26024
|
+
*
|
|
26025
|
+
* @param {Array<string>} [venues]
|
|
26026
|
+
* @param {*} [options] Override http request option.
|
|
26027
|
+
* @throws {RequiredError}
|
|
26028
|
+
*/
|
|
26029
|
+
usersControllerFindFriendConfirmedVenueList(venues?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<FriendsFavoriteVenueResponseDTO> {
|
|
26030
|
+
return localVarFp.usersControllerFindFriendConfirmedVenueList(venues, options).then((request) => request(axios, basePath));
|
|
26031
|
+
},
|
|
25683
26032
|
/**
|
|
25684
26033
|
*
|
|
25685
26034
|
* @param {*} [options] Override http request option.
|
|
@@ -25799,6 +26148,17 @@ export class UsersApi extends BaseAPI {
|
|
|
25799
26148
|
return UsersApiFp(this.configuration).usersControllerDeactivateAccount(options).then((request) => request(this.axios, this.basePath));
|
|
25800
26149
|
}
|
|
25801
26150
|
|
|
26151
|
+
/**
|
|
26152
|
+
*
|
|
26153
|
+
* @param {Array<string>} [venues]
|
|
26154
|
+
* @param {*} [options] Override http request option.
|
|
26155
|
+
* @throws {RequiredError}
|
|
26156
|
+
* @memberof UsersApi
|
|
26157
|
+
*/
|
|
26158
|
+
public usersControllerFindFriendConfirmedVenueList(venues?: Array<string>, options?: RawAxiosRequestConfig) {
|
|
26159
|
+
return UsersApiFp(this.configuration).usersControllerFindFriendConfirmedVenueList(venues, options).then((request) => request(this.axios, this.basePath));
|
|
26160
|
+
}
|
|
26161
|
+
|
|
25802
26162
|
/**
|
|
25803
26163
|
*
|
|
25804
26164
|
* @param {*} [options] Override http request option.
|
package/docs/CalendarApi.md
CHANGED
|
@@ -5,6 +5,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**calendarControllerAcceptCalendarInvite**](#calendarcontrolleracceptcalendarinvite) | **POST** /v1/calendar/invite/accept | |
|
|
8
|
+
|[**calendarControllerAllCollaboratorsByCalendar**](#calendarcontrollerallcollaboratorsbycalendar) | **GET** /v1/calendar/{id}/all/collaborators | |
|
|
8
9
|
|[**calendarControllerCollaboratorsByCalendar**](#calendarcontrollercollaboratorsbycalendar) | **GET** /v1/calendar/{id}/collaborators | |
|
|
9
10
|
|[**calendarControllerCreateSharedCalendar**](#calendarcontrollercreatesharedcalendar) | **POST** /v1/calendar | |
|
|
10
11
|
|[**calendarControllerDeleteCalendarInvitation**](#calendarcontrollerdeletecalendarinvitation) | **PUT** /v1/calendar/invitation | |
|
|
@@ -72,6 +73,56 @@ const { status, data } = await apiInstance.calendarControllerAcceptCalendarInvit
|
|
|
72
73
|
|
|
73
74
|
[[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)
|
|
74
75
|
|
|
76
|
+
# **calendarControllerAllCollaboratorsByCalendar**
|
|
77
|
+
> calendarControllerAllCollaboratorsByCalendar()
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
### Example
|
|
81
|
+
|
|
82
|
+
```typescript
|
|
83
|
+
import {
|
|
84
|
+
CalendarApi,
|
|
85
|
+
Configuration
|
|
86
|
+
} from './api';
|
|
87
|
+
|
|
88
|
+
const configuration = new Configuration();
|
|
89
|
+
const apiInstance = new CalendarApi(configuration);
|
|
90
|
+
|
|
91
|
+
let id: string; // (default to undefined)
|
|
92
|
+
|
|
93
|
+
const { status, data } = await apiInstance.calendarControllerAllCollaboratorsByCalendar(
|
|
94
|
+
id
|
|
95
|
+
);
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Parameters
|
|
99
|
+
|
|
100
|
+
|Name | Type | Description | Notes|
|
|
101
|
+
|------------- | ------------- | ------------- | -------------|
|
|
102
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
### Return type
|
|
106
|
+
|
|
107
|
+
void (empty response body)
|
|
108
|
+
|
|
109
|
+
### Authorization
|
|
110
|
+
|
|
111
|
+
[bearer](../README.md#bearer)
|
|
112
|
+
|
|
113
|
+
### HTTP request headers
|
|
114
|
+
|
|
115
|
+
- **Content-Type**: Not defined
|
|
116
|
+
- **Accept**: Not defined
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### HTTP response details
|
|
120
|
+
| Status code | Description | Response headers |
|
|
121
|
+
|-------------|-------------|------------------|
|
|
122
|
+
|**200** | | - |
|
|
123
|
+
|
|
124
|
+
[[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)
|
|
125
|
+
|
|
75
126
|
# **calendarControllerCollaboratorsByCalendar**
|
|
76
127
|
> calendarControllerCollaboratorsByCalendar()
|
|
77
128
|
|
package/docs/CalendarSlots.md
CHANGED
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**start** | **string** | start | [default to undefined]
|
|
9
9
|
**end** | **string** | end | [default to undefined]
|
|
10
|
+
**isBusinessAvailable** | **boolean** | Slot is available or not | [default to undefined]
|
|
10
11
|
**isAvailable** | **boolean** | Slot is available or not | [default to undefined]
|
|
11
12
|
**unavailableFriends** | **Array<object>** | Friends unavailable for this slot | [default to undefined]
|
|
12
13
|
**unavailableStaffs** | [**Array<BusinessStaffEntity>**](BusinessStaffEntity.md) | Staffs unavailable for this slot | [default to undefined]
|
|
@@ -19,6 +20,7 @@ import { CalendarSlots } from './api';
|
|
|
19
20
|
const instance: CalendarSlots = {
|
|
20
21
|
start,
|
|
21
22
|
end,
|
|
23
|
+
isBusinessAvailable,
|
|
22
24
|
isAvailable,
|
|
23
25
|
unavailableFriends,
|
|
24
26
|
unavailableStaffs,
|
|
@@ -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,7 +6,9 @@ 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 | |
|
|
11
|
+
|[**contactsControllerFindContactsSuggestion**](#contactscontrollerfindcontactssuggestion) | **GET** /v1/contacts/suggestion | |
|
|
10
12
|
|
|
11
13
|
# **contactsControllerAddContacts**
|
|
12
14
|
> ContactResponseDTO contactsControllerAddContacts(contactsPayloadDTO)
|
|
@@ -94,6 +96,56 @@ This endpoint does not have any parameters.
|
|
|
94
96
|
- **Accept**: application/json
|
|
95
97
|
|
|
96
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
|
+
|
|
97
149
|
### HTTP response details
|
|
98
150
|
| Status code | Description | Response headers |
|
|
99
151
|
|-------------|-------------|------------------|
|
|
@@ -119,11 +171,72 @@ const apiInstance = new ContactsApi(configuration);
|
|
|
119
171
|
let search: string; // (optional) (default to undefined)
|
|
120
172
|
let page: number; // (optional) (default to undefined)
|
|
121
173
|
let pageSize: number; // (optional) (default to undefined)
|
|
174
|
+
let contactId: string; // (optional) (default to undefined)
|
|
122
175
|
|
|
123
176
|
const { status, data } = await apiInstance.contactsControllerFindContacts(
|
|
124
177
|
search,
|
|
125
178
|
page,
|
|
126
|
-
pageSize
|
|
179
|
+
pageSize,
|
|
180
|
+
contactId
|
|
181
|
+
);
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### Parameters
|
|
185
|
+
|
|
186
|
+
|Name | Type | Description | Notes|
|
|
187
|
+
|------------- | ------------- | ------------- | -------------|
|
|
188
|
+
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
189
|
+
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
190
|
+
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
191
|
+
| **contactId** | [**string**] | | (optional) defaults to undefined|
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
### Return type
|
|
195
|
+
|
|
196
|
+
**ContactsResponseDTO**
|
|
197
|
+
|
|
198
|
+
### Authorization
|
|
199
|
+
|
|
200
|
+
[bearer](../README.md#bearer)
|
|
201
|
+
|
|
202
|
+
### HTTP request headers
|
|
203
|
+
|
|
204
|
+
- **Content-Type**: Not defined
|
|
205
|
+
- **Accept**: application/json
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
### HTTP response details
|
|
209
|
+
| Status code | Description | Response headers |
|
|
210
|
+
|-------------|-------------|------------------|
|
|
211
|
+
|**200** | | - |
|
|
212
|
+
|
|
213
|
+
[[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)
|
|
214
|
+
|
|
215
|
+
# **contactsControllerFindContactsSuggestion**
|
|
216
|
+
> ContactsResponseDTO contactsControllerFindContactsSuggestion()
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
### Example
|
|
220
|
+
|
|
221
|
+
```typescript
|
|
222
|
+
import {
|
|
223
|
+
ContactsApi,
|
|
224
|
+
Configuration
|
|
225
|
+
} from './api';
|
|
226
|
+
|
|
227
|
+
const configuration = new Configuration();
|
|
228
|
+
const apiInstance = new ContactsApi(configuration);
|
|
229
|
+
|
|
230
|
+
let search: string; // (optional) (default to undefined)
|
|
231
|
+
let page: number; // (optional) (default to undefined)
|
|
232
|
+
let pageSize: number; // (optional) (default to undefined)
|
|
233
|
+
let contactId: string; // (optional) (default to undefined)
|
|
234
|
+
|
|
235
|
+
const { status, data } = await apiInstance.contactsControllerFindContactsSuggestion(
|
|
236
|
+
search,
|
|
237
|
+
page,
|
|
238
|
+
pageSize,
|
|
239
|
+
contactId
|
|
127
240
|
);
|
|
128
241
|
```
|
|
129
242
|
|
|
@@ -134,6 +247,7 @@ const { status, data } = await apiInstance.contactsControllerFindContacts(
|
|
|
134
247
|
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
135
248
|
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
136
249
|
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
250
|
+
| **contactId** | [**string**] | | (optional) defaults to undefined|
|
|
137
251
|
|
|
138
252
|
|
|
139
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-12T15:06:05Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-12T15:06:05Z]
|
|
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]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# FriendsFavoriteVenueResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**Array<UserEntity>**](UserEntity.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { FriendsFavoriteVenueResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: FriendsFavoriteVenueResponseDTO = {
|
|
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)
|
|
@@ -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-12T15:06:05Z]
|
|
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,7 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**collaborator** | **Array<string>** | identifier of the collaborator | [default to undefined]
|
|
8
|
+
**collaborator** | **Array<string>** | identifier of the collaborator | [optional] [default to undefined]
|
|
9
|
+
**mobileNumbers** | **Array<string>** | | [optional] [default to undefined]
|
|
9
10
|
**calendar** | **string** | The calendar identifier | [default to undefined]
|
|
10
11
|
|
|
11
12
|
## Example
|
|
@@ -15,6 +16,7 @@ import { SendCollaborateInvitePayload } from './api';
|
|
|
15
16
|
|
|
16
17
|
const instance: SendCollaborateInvitePayload = {
|
|
17
18
|
collaborator,
|
|
19
|
+
mobileNumbers,
|
|
18
20
|
calendar,
|
|
19
21
|
};
|
|
20
22
|
```
|
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
|
|[**usersControllerDeactivateAccount**](#userscontrollerdeactivateaccount) | **DELETE** /v1/user/deactivate | |
|
|
10
|
+
|[**usersControllerFindFriendConfirmedVenueList**](#userscontrollerfindfriendconfirmedvenuelist) | **GET** /v1/user/venue/favorites/user | |
|
|
10
11
|
|[**usersControllerGetMe**](#userscontrollergetme) | **GET** /v1/user/me | |
|
|
11
12
|
|[**usersControllerGetUser**](#userscontrollergetuser) | **POST** /v1/user/get-user | |
|
|
12
13
|
|[**usersControllerOnBoarded**](#userscontrolleronboarded) | **POST** /v1/user/onboarding | |
|
|
@@ -147,6 +148,56 @@ This endpoint does not have any parameters.
|
|
|
147
148
|
- **Accept**: application/json
|
|
148
149
|
|
|
149
150
|
|
|
151
|
+
### HTTP response details
|
|
152
|
+
| Status code | Description | Response headers |
|
|
153
|
+
|-------------|-------------|------------------|
|
|
154
|
+
|**200** | | - |
|
|
155
|
+
|
|
156
|
+
[[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)
|
|
157
|
+
|
|
158
|
+
# **usersControllerFindFriendConfirmedVenueList**
|
|
159
|
+
> FriendsFavoriteVenueResponseDTO usersControllerFindFriendConfirmedVenueList()
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
### Example
|
|
163
|
+
|
|
164
|
+
```typescript
|
|
165
|
+
import {
|
|
166
|
+
UsersApi,
|
|
167
|
+
Configuration
|
|
168
|
+
} from './api';
|
|
169
|
+
|
|
170
|
+
const configuration = new Configuration();
|
|
171
|
+
const apiInstance = new UsersApi(configuration);
|
|
172
|
+
|
|
173
|
+
let venues: Array<string>; // (optional) (default to undefined)
|
|
174
|
+
|
|
175
|
+
const { status, data } = await apiInstance.usersControllerFindFriendConfirmedVenueList(
|
|
176
|
+
venues
|
|
177
|
+
);
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Parameters
|
|
181
|
+
|
|
182
|
+
|Name | Type | Description | Notes|
|
|
183
|
+
|------------- | ------------- | ------------- | -------------|
|
|
184
|
+
| **venues** | **Array<string>** | | (optional) defaults to undefined|
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
### Return type
|
|
188
|
+
|
|
189
|
+
**FriendsFavoriteVenueResponseDTO**
|
|
190
|
+
|
|
191
|
+
### Authorization
|
|
192
|
+
|
|
193
|
+
[bearer](../README.md#bearer)
|
|
194
|
+
|
|
195
|
+
### HTTP request headers
|
|
196
|
+
|
|
197
|
+
- **Content-Type**: Not defined
|
|
198
|
+
- **Accept**: application/json
|
|
199
|
+
|
|
200
|
+
|
|
150
201
|
### HTTP response details
|
|
151
202
|
| Status code | Description | Response headers |
|
|
152
203
|
|-------------|-------------|------------------|
|
|
@@ -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-12T15:06:05Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-09-12T16:06:05Z]
|
|
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]
|