@gooday_corp/gooday-api-client 2.2.7 → 2.2.9

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.
@@ -171,6 +171,7 @@ docs/ForgotPasswordPayloadDTO.md
171
171
  docs/ForgotPasswordResponseDTO.md
172
172
  docs/FriendsApi.md
173
173
  docs/FriendsDTO.md
174
+ docs/FriendsFavoriteVenueResponseDTO.md
174
175
  docs/FriendsList.md
175
176
  docs/FriendsListDTO.md
176
177
  docs/FriendsResponseDTO.md
package/api.ts CHANGED
@@ -5249,6 +5249,25 @@ export interface FriendsDTO {
5249
5249
  */
5250
5250
  'data': Array<UserEntity>;
5251
5251
  }
5252
+ /**
5253
+ *
5254
+ * @export
5255
+ * @interface FriendsFavoriteVenueResponseDTO
5256
+ */
5257
+ export interface FriendsFavoriteVenueResponseDTO {
5258
+ /**
5259
+ * statusCode
5260
+ * @type {number}
5261
+ * @memberof FriendsFavoriteVenueResponseDTO
5262
+ */
5263
+ 'statusCode': number;
5264
+ /**
5265
+ *
5266
+ * @type {Array<UserEntity>}
5267
+ * @memberof FriendsFavoriteVenueResponseDTO
5268
+ */
5269
+ 'data'?: Array<UserEntity>;
5270
+ }
5252
5271
  /**
5253
5272
  *
5254
5273
  * @export
@@ -17436,6 +17455,54 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
17436
17455
 
17437
17456
 
17438
17457
 
17458
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17459
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17460
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17461
+
17462
+ return {
17463
+ url: toPathString(localVarUrlObj),
17464
+ options: localVarRequestOptions,
17465
+ };
17466
+ },
17467
+ /**
17468
+ *
17469
+ * @param {string} [search]
17470
+ * @param {number} [page]
17471
+ * @param {number} [pageSize]
17472
+ * @param {*} [options] Override http request option.
17473
+ * @throws {RequiredError}
17474
+ */
17475
+ contactsControllerFindContactsSuggestion: async (search?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17476
+ const localVarPath = `/v1/contacts/suggestion`;
17477
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17478
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17479
+ let baseOptions;
17480
+ if (configuration) {
17481
+ baseOptions = configuration.baseOptions;
17482
+ }
17483
+
17484
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17485
+ const localVarHeaderParameter = {} as any;
17486
+ const localVarQueryParameter = {} as any;
17487
+
17488
+ // authentication bearer required
17489
+ // http bearer authentication required
17490
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
17491
+
17492
+ if (search !== undefined) {
17493
+ localVarQueryParameter['search'] = search;
17494
+ }
17495
+
17496
+ if (page !== undefined) {
17497
+ localVarQueryParameter['page'] = page;
17498
+ }
17499
+
17500
+ if (pageSize !== undefined) {
17501
+ localVarQueryParameter['pageSize'] = pageSize;
17502
+ }
17503
+
17504
+
17505
+
17439
17506
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17440
17507
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17441
17508
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -17492,6 +17559,20 @@ export const ContactsApiFp = function(configuration?: Configuration) {
17492
17559
  const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContacts']?.[localVarOperationServerIndex]?.url;
17493
17560
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17494
17561
  },
17562
+ /**
17563
+ *
17564
+ * @param {string} [search]
17565
+ * @param {number} [page]
17566
+ * @param {number} [pageSize]
17567
+ * @param {*} [options] Override http request option.
17568
+ * @throws {RequiredError}
17569
+ */
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);
17572
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17573
+ const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContactsSuggestion']?.[localVarOperationServerIndex]?.url;
17574
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17575
+ },
17495
17576
  }
17496
17577
  };
17497
17578
 
@@ -17530,6 +17611,17 @@ export const ContactsApiFactory = function (configuration?: Configuration, baseP
17530
17611
  contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
17531
17612
  return localVarFp.contactsControllerFindContacts(search, page, pageSize, options).then((request) => request(axios, basePath));
17532
17613
  },
17614
+ /**
17615
+ *
17616
+ * @param {string} [search]
17617
+ * @param {number} [page]
17618
+ * @param {number} [pageSize]
17619
+ * @param {*} [options] Override http request option.
17620
+ * @throws {RequiredError}
17621
+ */
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));
17624
+ },
17533
17625
  };
17534
17626
  };
17535
17627
 
@@ -17573,6 +17665,19 @@ export class ContactsApi extends BaseAPI {
17573
17665
  public contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
17574
17666
  return ContactsApiFp(this.configuration).contactsControllerFindContacts(search, page, pageSize, options).then((request) => request(this.axios, this.basePath));
17575
17667
  }
17668
+
17669
+ /**
17670
+ *
17671
+ * @param {string} [search]
17672
+ * @param {number} [page]
17673
+ * @param {number} [pageSize]
17674
+ * @param {*} [options] Override http request option.
17675
+ * @throws {RequiredError}
17676
+ * @memberof ContactsApi
17677
+ */
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));
17680
+ }
17576
17681
  }
17577
17682
 
17578
17683
 
@@ -25238,6 +25343,44 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
25238
25343
 
25239
25344
 
25240
25345
 
25346
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25347
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25348
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25349
+
25350
+ return {
25351
+ url: toPathString(localVarUrlObj),
25352
+ options: localVarRequestOptions,
25353
+ };
25354
+ },
25355
+ /**
25356
+ *
25357
+ * @param {Array<string>} [venues]
25358
+ * @param {*} [options] Override http request option.
25359
+ * @throws {RequiredError}
25360
+ */
25361
+ usersControllerFindFriendConfirmedVenueList: async (venues?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25362
+ const localVarPath = `/v1/user/venue/favorites/user`;
25363
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25364
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25365
+ let baseOptions;
25366
+ if (configuration) {
25367
+ baseOptions = configuration.baseOptions;
25368
+ }
25369
+
25370
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
25371
+ const localVarHeaderParameter = {} as any;
25372
+ const localVarQueryParameter = {} as any;
25373
+
25374
+ // authentication bearer required
25375
+ // http bearer authentication required
25376
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
25377
+
25378
+ if (venues) {
25379
+ localVarQueryParameter['venues'] = venues;
25380
+ }
25381
+
25382
+
25383
+
25241
25384
  setSearchParams(localVarUrlObj, localVarQueryParameter);
25242
25385
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25243
25386
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -25621,6 +25764,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
25621
25764
  const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerDeactivateAccount']?.[localVarOperationServerIndex]?.url;
25622
25765
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25623
25766
  },
25767
+ /**
25768
+ *
25769
+ * @param {Array<string>} [venues]
25770
+ * @param {*} [options] Override http request option.
25771
+ * @throws {RequiredError}
25772
+ */
25773
+ async usersControllerFindFriendConfirmedVenueList(venues?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsFavoriteVenueResponseDTO>> {
25774
+ const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerFindFriendConfirmedVenueList(venues, options);
25775
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25776
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerFindFriendConfirmedVenueList']?.[localVarOperationServerIndex]?.url;
25777
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25778
+ },
25624
25779
  /**
25625
25780
  *
25626
25781
  * @param {*} [options] Override http request option.
@@ -25761,6 +25916,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
25761
25916
  usersControllerDeactivateAccount(options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
25762
25917
  return localVarFp.usersControllerDeactivateAccount(options).then((request) => request(axios, basePath));
25763
25918
  },
25919
+ /**
25920
+ *
25921
+ * @param {Array<string>} [venues]
25922
+ * @param {*} [options] Override http request option.
25923
+ * @throws {RequiredError}
25924
+ */
25925
+ usersControllerFindFriendConfirmedVenueList(venues?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<FriendsFavoriteVenueResponseDTO> {
25926
+ return localVarFp.usersControllerFindFriendConfirmedVenueList(venues, options).then((request) => request(axios, basePath));
25927
+ },
25764
25928
  /**
25765
25929
  *
25766
25930
  * @param {*} [options] Override http request option.
@@ -25880,6 +26044,17 @@ export class UsersApi extends BaseAPI {
25880
26044
  return UsersApiFp(this.configuration).usersControllerDeactivateAccount(options).then((request) => request(this.axios, this.basePath));
25881
26045
  }
25882
26046
 
26047
+ /**
26048
+ *
26049
+ * @param {Array<string>} [venues]
26050
+ * @param {*} [options] Override http request option.
26051
+ * @throws {RequiredError}
26052
+ * @memberof UsersApi
26053
+ */
26054
+ public usersControllerFindFriendConfirmedVenueList(venues?: Array<string>, options?: RawAxiosRequestConfig) {
26055
+ return UsersApiFp(this.configuration).usersControllerFindFriendConfirmedVenueList(venues, options).then((request) => request(this.axios, this.basePath));
26056
+ }
26057
+
25883
26058
  /**
25884
26059
  *
25885
26060
  * @param {*} [options] Override http request option.
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost:8080*
7
7
  |[**contactsControllerAddContacts**](#contactscontrolleraddcontacts) | **POST** /v1/contacts | |
8
8
  |[**contactsControllerContactStatus**](#contactscontrollercontactstatus) | **POST** /v1/contacts/status | |
9
9
  |[**contactsControllerFindContacts**](#contactscontrollerfindcontacts) | **GET** /v1/contacts | |
10
+ |[**contactsControllerFindContactsSuggestion**](#contactscontrollerfindcontactssuggestion) | **GET** /v1/contacts/suggestion | |
10
11
 
11
12
  # **contactsControllerAddContacts**
12
13
  > ContactResponseDTO contactsControllerAddContacts(contactsPayloadDTO)
@@ -157,3 +158,59 @@ const { status, data } = await apiInstance.contactsControllerFindContacts(
157
158
 
158
159
  [[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)
159
160
 
161
+ # **contactsControllerFindContactsSuggestion**
162
+ > ContactsResponseDTO contactsControllerFindContactsSuggestion()
163
+
164
+
165
+ ### Example
166
+
167
+ ```typescript
168
+ import {
169
+ ContactsApi,
170
+ Configuration
171
+ } from './api';
172
+
173
+ const configuration = new Configuration();
174
+ const apiInstance = new ContactsApi(configuration);
175
+
176
+ let search: string; // (optional) (default to undefined)
177
+ let page: number; // (optional) (default to undefined)
178
+ let pageSize: number; // (optional) (default to undefined)
179
+
180
+ const { status, data } = await apiInstance.contactsControllerFindContactsSuggestion(
181
+ search,
182
+ page,
183
+ pageSize
184
+ );
185
+ ```
186
+
187
+ ### Parameters
188
+
189
+ |Name | Type | Description | Notes|
190
+ |------------- | ------------- | ------------- | -------------|
191
+ | **search** | [**string**] | | (optional) defaults to undefined|
192
+ | **page** | [**number**] | | (optional) defaults to undefined|
193
+ | **pageSize** | [**number**] | | (optional) defaults to undefined|
194
+
195
+
196
+ ### Return type
197
+
198
+ **ContactsResponseDTO**
199
+
200
+ ### Authorization
201
+
202
+ [bearer](../README.md#bearer)
203
+
204
+ ### HTTP request headers
205
+
206
+ - **Content-Type**: Not defined
207
+ - **Accept**: application/json
208
+
209
+
210
+ ### HTTP response details
211
+ | Status code | Description | Response headers |
212
+ |-------------|-------------|------------------|
213
+ |**200** | | - |
214
+
215
+ [[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)
216
+
@@ -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-10T18:00:14+05:30]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-10T18:00:14+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-09-11T17:16:29+05:30]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-11T17:16:29+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]
@@ -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&lt;UserEntity&gt;**](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-10T18:00:14+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-09-11T17:16:29+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]
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&lt;string&gt;** | | (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-10T18:00:14+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-09-10T19:00:14+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-09-11T17:16:29+05:30]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-09-11T18:16:29+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&lt;CreateWaitlistBookingCollaboratorPayload&gt;**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "2.2.7",
3
+ "version": "2.2.9",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},