@gooday_corp/gooday-api-client 4.4.15 → 4.4.16

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.
@@ -167,6 +167,7 @@ docs/FindCustomerBookingPayload.md
167
167
  docs/FindFriendsFavoritesDTO.md
168
168
  docs/FindHistoryResponseDTO.md
169
169
  docs/FindMyFriendRequestPayload.md
170
+ docs/FindUsersResponseDTO.md
170
171
  docs/FindWaitlistResponse.md
171
172
  docs/FindWaitlistResponseDTO.md
172
173
  docs/FindWhatsOnAndPrepaidService.md
package/api.ts CHANGED
@@ -2494,6 +2494,13 @@ export interface FindMyFriendRequestPayload {
2494
2494
  'user'?: string;
2495
2495
  'mutual'?: boolean;
2496
2496
  }
2497
+ export interface FindUsersResponseDTO {
2498
+ /**
2499
+ * statusCode
2500
+ */
2501
+ 'statusCode': number;
2502
+ 'data'?: Array<UserEntity>;
2503
+ }
2497
2504
  export interface FindWaitlistResponse {
2498
2505
  'count': number;
2499
2506
  /**
@@ -19716,6 +19723,58 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
19716
19723
 
19717
19724
 
19718
19725
 
19726
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19727
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19728
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19729
+
19730
+ return {
19731
+ url: toPathString(localVarUrlObj),
19732
+ options: localVarRequestOptions,
19733
+ };
19734
+ },
19735
+ /**
19736
+ *
19737
+ * @param {number} page
19738
+ * @param {number} pageSize
19739
+ * @param {string} [query]
19740
+ * @param {*} [options] Override http request option.
19741
+ * @throws {RequiredError}
19742
+ */
19743
+ usersControllerFindUsers: async (page: number, pageSize: number, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19744
+ // verify required parameter 'page' is not null or undefined
19745
+ assertParamExists('usersControllerFindUsers', 'page', page)
19746
+ // verify required parameter 'pageSize' is not null or undefined
19747
+ assertParamExists('usersControllerFindUsers', 'pageSize', pageSize)
19748
+ const localVarPath = `/v1/user/users`;
19749
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19750
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19751
+ let baseOptions;
19752
+ if (configuration) {
19753
+ baseOptions = configuration.baseOptions;
19754
+ }
19755
+
19756
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
19757
+ const localVarHeaderParameter = {} as any;
19758
+ const localVarQueryParameter = {} as any;
19759
+
19760
+ // authentication bearer required
19761
+ // http bearer authentication required
19762
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
19763
+
19764
+ if (query !== undefined) {
19765
+ localVarQueryParameter['query'] = query;
19766
+ }
19767
+
19768
+ if (page !== undefined) {
19769
+ localVarQueryParameter['page'] = page;
19770
+ }
19771
+
19772
+ if (pageSize !== undefined) {
19773
+ localVarQueryParameter['pageSize'] = pageSize;
19774
+ }
19775
+
19776
+
19777
+
19719
19778
  setSearchParams(localVarUrlObj, localVarQueryParameter);
19720
19779
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19721
19780
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -20110,6 +20169,20 @@ export const UsersApiFp = function(configuration?: Configuration) {
20110
20169
  const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerFindFriendConfirmedVenueList']?.[localVarOperationServerIndex]?.url;
20111
20170
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20112
20171
  },
20172
+ /**
20173
+ *
20174
+ * @param {number} page
20175
+ * @param {number} pageSize
20176
+ * @param {string} [query]
20177
+ * @param {*} [options] Override http request option.
20178
+ * @throws {RequiredError}
20179
+ */
20180
+ async usersControllerFindUsers(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindUsersResponseDTO>> {
20181
+ const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerFindUsers(page, pageSize, query, options);
20182
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20183
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerFindUsers']?.[localVarOperationServerIndex]?.url;
20184
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20185
+ },
20113
20186
  /**
20114
20187
  *
20115
20188
  * @param {*} [options] Override http request option.
@@ -20258,6 +20331,17 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
20258
20331
  usersControllerFindFriendConfirmedVenueList(venues?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<FriendsFavoriteVenueResponseDTO> {
20259
20332
  return localVarFp.usersControllerFindFriendConfirmedVenueList(venues, options).then((request) => request(axios, basePath));
20260
20333
  },
20334
+ /**
20335
+ *
20336
+ * @param {number} page
20337
+ * @param {number} pageSize
20338
+ * @param {string} [query]
20339
+ * @param {*} [options] Override http request option.
20340
+ * @throws {RequiredError}
20341
+ */
20342
+ usersControllerFindUsers(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<FindUsersResponseDTO> {
20343
+ return localVarFp.usersControllerFindUsers(page, pageSize, query, options).then((request) => request(axios, basePath));
20344
+ },
20261
20345
  /**
20262
20346
  *
20263
20347
  * @param {*} [options] Override http request option.
@@ -20381,6 +20465,18 @@ export class UsersApi extends BaseAPI {
20381
20465
  return UsersApiFp(this.configuration).usersControllerFindFriendConfirmedVenueList(venues, options).then((request) => request(this.axios, this.basePath));
20382
20466
  }
20383
20467
 
20468
+ /**
20469
+ *
20470
+ * @param {number} page
20471
+ * @param {number} pageSize
20472
+ * @param {string} [query]
20473
+ * @param {*} [options] Override http request option.
20474
+ * @throws {RequiredError}
20475
+ */
20476
+ public usersControllerFindUsers(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig) {
20477
+ return UsersApiFp(this.configuration).usersControllerFindUsers(page, pageSize, query, options).then((request) => request(this.axios, this.basePath));
20478
+ }
20479
+
20384
20480
  /**
20385
20481
  *
20386
20482
  * @param {*} [options] Override http request option.
@@ -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-11-04T16:59:58+05:30]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-11-04T16:59:58+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-11-05T15:17:45+05:30]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-11-05T15:17:45+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]
@@ -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
- **startDate** | **string** | The start date of the booking | [default to 2025-11-04T16:59:58+05:30]
10
- **endDate** | **string** | The start date of the booking | [default to 2025-11-04T16:59:58+05:30]
9
+ **startDate** | **string** | The start date of the booking | [default to 2025-11-05T15:17:45+05:30]
10
+ **endDate** | **string** | The start date of the booking | [default to 2025-11-05T15:17:45+05:30]
11
11
  **note** | **string** | Notes attached with booking | [optional] [default to undefined]
12
12
  **occasion** | **string** | Occasion id | [optional] [default to undefined]
13
13
  **calendar** | **Array&lt;string&gt;** | Calendar attached with booking | [optional] [default to undefined]
@@ -0,0 +1,22 @@
1
+ # FindUsersResponseDTO
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 { FindUsersResponseDTO } from './api';
15
+
16
+ const instance: FindUsersResponseDTO = {
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-11-04T16:59:58+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-11-05T15:17:45+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
@@ -8,6 +8,7 @@ All URIs are relative to *http://localhost:8080*
8
8
  |[**usersControllerAddToWaitingList**](#userscontrolleraddtowaitinglist) | **POST** /v1/user/joining-list | |
9
9
  |[**usersControllerDeactivateAccount**](#userscontrollerdeactivateaccount) | **DELETE** /v1/user/deactivate | |
10
10
  |[**usersControllerFindFriendConfirmedVenueList**](#userscontrollerfindfriendconfirmedvenuelist) | **GET** /v1/user/venue/favorites/user | |
11
+ |[**usersControllerFindUsers**](#userscontrollerfindusers) | **GET** /v1/user/users | |
11
12
  |[**usersControllerGetMe**](#userscontrollergetme) | **GET** /v1/user/me | |
12
13
  |[**usersControllerGetUser**](#userscontrollergetuser) | **POST** /v1/user/get-user | |
13
14
  |[**usersControllerOnBoarded**](#userscontrolleronboarded) | **POST** /v1/user/onboarding | |
@@ -198,6 +199,62 @@ const { status, data } = await apiInstance.usersControllerFindFriendConfirmedVen
198
199
  - **Accept**: application/json
199
200
 
200
201
 
202
+ ### HTTP response details
203
+ | Status code | Description | Response headers |
204
+ |-------------|-------------|------------------|
205
+ |**200** | | - |
206
+
207
+ [[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)
208
+
209
+ # **usersControllerFindUsers**
210
+ > FindUsersResponseDTO usersControllerFindUsers()
211
+
212
+
213
+ ### Example
214
+
215
+ ```typescript
216
+ import {
217
+ UsersApi,
218
+ Configuration
219
+ } from './api';
220
+
221
+ const configuration = new Configuration();
222
+ const apiInstance = new UsersApi(configuration);
223
+
224
+ let page: number; // (default to undefined)
225
+ let pageSize: number; // (default to undefined)
226
+ let query: string; // (optional) (default to undefined)
227
+
228
+ const { status, data } = await apiInstance.usersControllerFindUsers(
229
+ page,
230
+ pageSize,
231
+ query
232
+ );
233
+ ```
234
+
235
+ ### Parameters
236
+
237
+ |Name | Type | Description | Notes|
238
+ |------------- | ------------- | ------------- | -------------|
239
+ | **page** | [**number**] | | defaults to undefined|
240
+ | **pageSize** | [**number**] | | defaults to undefined|
241
+ | **query** | [**string**] | | (optional) defaults to undefined|
242
+
243
+
244
+ ### Return type
245
+
246
+ **FindUsersResponseDTO**
247
+
248
+ ### Authorization
249
+
250
+ [bearer](../README.md#bearer)
251
+
252
+ ### HTTP request headers
253
+
254
+ - **Content-Type**: Not defined
255
+ - **Accept**: application/json
256
+
257
+
201
258
  ### HTTP response details
202
259
  | Status code | Description | Response headers |
203
260
  |-------------|-------------|------------------|
@@ -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-11-04T16:59:58+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-11-04T17:59:58+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-11-05T15:17:45+05:30]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-11-05T16:17:45+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": "4.4.15",
3
+ "version": "4.4.16",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},