@gooday_corp/gooday-api-client 2.1.5 → 2.1.7
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 +286 -7
- 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/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
|
@@ -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
|
|
@@ -5249,6 +5268,25 @@ export interface FriendsDTO {
|
|
|
5249
5268
|
*/
|
|
5250
5269
|
'data': Array<UserEntity>;
|
|
5251
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
|
+
}
|
|
5252
5290
|
/**
|
|
5253
5291
|
*
|
|
5254
5292
|
* @export
|
|
@@ -17388,6 +17426,43 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17388
17426
|
|
|
17389
17427
|
|
|
17390
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
|
+
|
|
17391
17466
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17392
17467
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17393
17468
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -17402,10 +17477,11 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17402
17477
|
* @param {string} [search]
|
|
17403
17478
|
* @param {number} [page]
|
|
17404
17479
|
* @param {number} [pageSize]
|
|
17480
|
+
* @param {string} [contactId]
|
|
17405
17481
|
* @param {*} [options] Override http request option.
|
|
17406
17482
|
* @throws {RequiredError}
|
|
17407
17483
|
*/
|
|
17408
|
-
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> => {
|
|
17409
17485
|
const localVarPath = `/v1/contacts`;
|
|
17410
17486
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17411
17487
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17434,6 +17510,63 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17434
17510
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
17435
17511
|
}
|
|
17436
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
|
+
|
|
17437
17570
|
|
|
17438
17571
|
|
|
17439
17572
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17478,20 +17611,48 @@ export const ContactsApiFp = function(configuration?: Configuration) {
|
|
|
17478
17611
|
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerContactStatus']?.[localVarOperationServerIndex]?.url;
|
|
17479
17612
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17480
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
|
+
},
|
|
17481
17626
|
/**
|
|
17482
17627
|
*
|
|
17483
17628
|
* @param {string} [search]
|
|
17484
17629
|
* @param {number} [page]
|
|
17485
17630
|
* @param {number} [pageSize]
|
|
17631
|
+
* @param {string} [contactId]
|
|
17486
17632
|
* @param {*} [options] Override http request option.
|
|
17487
17633
|
* @throws {RequiredError}
|
|
17488
17634
|
*/
|
|
17489
|
-
async contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
|
|
17490
|
-
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);
|
|
17491
17637
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17492
17638
|
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContacts']?.[localVarOperationServerIndex]?.url;
|
|
17493
17639
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17494
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
|
+
},
|
|
17495
17656
|
}
|
|
17496
17657
|
};
|
|
17497
17658
|
|
|
@@ -17519,16 +17680,38 @@ export const ContactsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17519
17680
|
contactsControllerContactStatus(options?: RawAxiosRequestConfig): AxiosPromise<ContactStatusResponseDTO> {
|
|
17520
17681
|
return localVarFp.contactsControllerContactStatus(options).then((request) => request(axios, basePath));
|
|
17521
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
|
+
},
|
|
17522
17704
|
/**
|
|
17523
17705
|
*
|
|
17524
17706
|
* @param {string} [search]
|
|
17525
17707
|
* @param {number} [page]
|
|
17526
17708
|
* @param {number} [pageSize]
|
|
17709
|
+
* @param {string} [contactId]
|
|
17527
17710
|
* @param {*} [options] Override http request option.
|
|
17528
17711
|
* @throws {RequiredError}
|
|
17529
17712
|
*/
|
|
17530
|
-
|
|
17531
|
-
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));
|
|
17532
17715
|
},
|
|
17533
17716
|
};
|
|
17534
17717
|
};
|
|
@@ -17561,17 +17744,43 @@ export class ContactsApi extends BaseAPI {
|
|
|
17561
17744
|
return ContactsApiFp(this.configuration).contactsControllerContactStatus(options).then((request) => request(this.axios, this.basePath));
|
|
17562
17745
|
}
|
|
17563
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
|
+
|
|
17564
17772
|
/**
|
|
17565
17773
|
*
|
|
17566
17774
|
* @param {string} [search]
|
|
17567
17775
|
* @param {number} [page]
|
|
17568
17776
|
* @param {number} [pageSize]
|
|
17777
|
+
* @param {string} [contactId]
|
|
17569
17778
|
* @param {*} [options] Override http request option.
|
|
17570
17779
|
* @throws {RequiredError}
|
|
17571
17780
|
* @memberof ContactsApi
|
|
17572
17781
|
*/
|
|
17573
|
-
public
|
|
17574
|
-
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));
|
|
17575
17784
|
}
|
|
17576
17785
|
}
|
|
17577
17786
|
|
|
@@ -25238,6 +25447,44 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
25238
25447
|
|
|
25239
25448
|
|
|
25240
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
|
+
|
|
25241
25488
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25242
25489
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25243
25490
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -25621,6 +25868,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
25621
25868
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerDeactivateAccount']?.[localVarOperationServerIndex]?.url;
|
|
25622
25869
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25623
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
|
+
},
|
|
25624
25883
|
/**
|
|
25625
25884
|
*
|
|
25626
25885
|
* @param {*} [options] Override http request option.
|
|
@@ -25761,6 +26020,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
25761
26020
|
usersControllerDeactivateAccount(options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
25762
26021
|
return localVarFp.usersControllerDeactivateAccount(options).then((request) => request(axios, basePath));
|
|
25763
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
|
+
},
|
|
25764
26032
|
/**
|
|
25765
26033
|
*
|
|
25766
26034
|
* @param {*} [options] Override http request option.
|
|
@@ -25880,6 +26148,17 @@ export class UsersApi extends BaseAPI {
|
|
|
25880
26148
|
return UsersApiFp(this.configuration).usersControllerDeactivateAccount(options).then((request) => request(this.axios, this.basePath));
|
|
25881
26149
|
}
|
|
25882
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
|
+
|
|
25883
26162
|
/**
|
|
25884
26163
|
*
|
|
25885
26164
|
* @param {*} [options] Override http request option.
|
|
@@ -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-18T12:40:24Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-18T12:40:24Z]
|
|
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-18T12:40:24Z]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**notes** | **string** | | [optional] [default to undefined]
|
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-18T12:40:24Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-09-18T13:40:24Z]
|
|
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]
|