@gooday_corp/gooday-api-client 4.4.37 → 4.4.38

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/api.ts CHANGED
@@ -18884,6 +18884,59 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration)
18884
18884
 
18885
18885
 
18886
18886
 
18887
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18888
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18889
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18890
+
18891
+ return {
18892
+ url: toPathString(localVarUrlObj),
18893
+ options: localVarRequestOptions,
18894
+ };
18895
+ },
18896
+ /**
18897
+ *
18898
+ * @param {number} page
18899
+ * @param {number} pageSize
18900
+ * @param {Array<string>} [venue]
18901
+ * @param {Array<TagsControllerGetTagsCategoryEnum>} [category]
18902
+ * @param {*} [options] Override http request option.
18903
+ * @throws {RequiredError}
18904
+ */
18905
+ tagsControllerGetTags: async (page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerGetTagsCategoryEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18906
+ // verify required parameter 'page' is not null or undefined
18907
+ assertParamExists('tagsControllerGetTags', 'page', page)
18908
+ // verify required parameter 'pageSize' is not null or undefined
18909
+ assertParamExists('tagsControllerGetTags', 'pageSize', pageSize)
18910
+ const localVarPath = `/v1/tag-web`;
18911
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18912
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18913
+ let baseOptions;
18914
+ if (configuration) {
18915
+ baseOptions = configuration.baseOptions;
18916
+ }
18917
+
18918
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18919
+ const localVarHeaderParameter = {} as any;
18920
+ const localVarQueryParameter = {} as any;
18921
+
18922
+ if (page !== undefined) {
18923
+ localVarQueryParameter['page'] = page;
18924
+ }
18925
+
18926
+ if (pageSize !== undefined) {
18927
+ localVarQueryParameter['pageSize'] = pageSize;
18928
+ }
18929
+
18930
+ if (venue) {
18931
+ localVarQueryParameter['venue'] = venue;
18932
+ }
18933
+
18934
+ if (category) {
18935
+ localVarQueryParameter['category'] = category;
18936
+ }
18937
+
18938
+
18939
+
18887
18940
  setSearchParams(localVarUrlObj, localVarQueryParameter);
18888
18941
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18889
18942
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -19017,6 +19070,21 @@ export const TagsApiFp = function(configuration?: Configuration) {
19017
19070
  const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerFindTags']?.[localVarOperationServerIndex]?.url;
19018
19071
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19019
19072
  },
19073
+ /**
19074
+ *
19075
+ * @param {number} page
19076
+ * @param {number} pageSize
19077
+ * @param {Array<string>} [venue]
19078
+ * @param {Array<TagsControllerGetTagsCategoryEnum>} [category]
19079
+ * @param {*} [options] Override http request option.
19080
+ * @throws {RequiredError}
19081
+ */
19082
+ async tagsControllerGetTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerGetTagsCategoryEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseDTO>> {
19083
+ const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerGetTags(page, pageSize, venue, category, options);
19084
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19085
+ const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerGetTags']?.[localVarOperationServerIndex]?.url;
19086
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19087
+ },
19020
19088
  /**
19021
19089
  *
19022
19090
  * @param {string} id
@@ -19080,6 +19148,18 @@ export const TagsApiFactory = function (configuration?: Configuration, basePath?
19080
19148
  tagsControllerFindTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerFindTagsCategoryEnum>, options?: RawAxiosRequestConfig): AxiosPromise<TagsResponseDTO> {
19081
19149
  return localVarFp.tagsControllerFindTags(page, pageSize, venue, category, options).then((request) => request(axios, basePath));
19082
19150
  },
19151
+ /**
19152
+ *
19153
+ * @param {number} page
19154
+ * @param {number} pageSize
19155
+ * @param {Array<string>} [venue]
19156
+ * @param {Array<TagsControllerGetTagsCategoryEnum>} [category]
19157
+ * @param {*} [options] Override http request option.
19158
+ * @throws {RequiredError}
19159
+ */
19160
+ tagsControllerGetTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerGetTagsCategoryEnum>, options?: RawAxiosRequestConfig): AxiosPromise<TagResponseDTO> {
19161
+ return localVarFp.tagsControllerGetTags(page, pageSize, venue, category, options).then((request) => request(axios, basePath));
19162
+ },
19083
19163
  /**
19084
19164
  *
19085
19165
  * @param {string} id
@@ -19138,6 +19218,19 @@ export class TagsApi extends BaseAPI {
19138
19218
  return TagsApiFp(this.configuration).tagsControllerFindTags(page, pageSize, venue, category, options).then((request) => request(this.axios, this.basePath));
19139
19219
  }
19140
19220
 
19221
+ /**
19222
+ *
19223
+ * @param {number} page
19224
+ * @param {number} pageSize
19225
+ * @param {Array<string>} [venue]
19226
+ * @param {Array<TagsControllerGetTagsCategoryEnum>} [category]
19227
+ * @param {*} [options] Override http request option.
19228
+ * @throws {RequiredError}
19229
+ */
19230
+ public tagsControllerGetTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerGetTagsCategoryEnum>, options?: RawAxiosRequestConfig) {
19231
+ return TagsApiFp(this.configuration).tagsControllerGetTags(page, pageSize, venue, category, options).then((request) => request(this.axios, this.basePath));
19232
+ }
19233
+
19141
19234
  /**
19142
19235
  *
19143
19236
  * @param {string} id
@@ -19165,6 +19258,12 @@ export const TagsControllerFindTagsCategoryEnum = {
19165
19258
  Gooday: 'GOODAY'
19166
19259
  } as const;
19167
19260
  export type TagsControllerFindTagsCategoryEnum = typeof TagsControllerFindTagsCategoryEnum[keyof typeof TagsControllerFindTagsCategoryEnum];
19261
+ export const TagsControllerGetTagsCategoryEnum = {
19262
+ Booking: 'BOOKING',
19263
+ Customer: 'CUSTOMER',
19264
+ Gooday: 'GOODAY'
19265
+ } as const;
19266
+ export type TagsControllerGetTagsCategoryEnum = typeof TagsControllerGetTagsCategoryEnum[keyof typeof TagsControllerGetTagsCategoryEnum];
19168
19267
 
19169
19268
 
19170
19269
  /**
@@ -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-12-04T19:43:18+05:30]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-04T19:43:18+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-12-05T05:03:51Z]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-05T05:03:51Z]
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-12-04T19:43:18+05:30]
10
- **endDate** | **string** | The start date of the booking | [default to 2025-12-04T19:43:18+05:30]
9
+ **startDate** | **string** | The start date of the booking | [default to 2025-12-05T05:03:51Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2025-12-05T05:03:51Z]
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]
@@ -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-12-04T19:43:18+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-12-05T05:03:51Z]
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/TagsApi.md CHANGED
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost:8080*
7
7
  |[**tagsControllerCreateTag**](#tagscontrollercreatetag) | **POST** /v1/tag | |
8
8
  |[**tagsControllerDeleteTagById**](#tagscontrollerdeletetagbyid) | **DELETE** /v1/tag/{id} | |
9
9
  |[**tagsControllerFindTags**](#tagscontrollerfindtags) | **GET** /v1/tags | |
10
+ |[**tagsControllerGetTags**](#tagscontrollergettags) | **GET** /v1/tag-web | |
10
11
  |[**tagsControllerTagById**](#tagscontrollertagbyid) | **GET** /v1/tag/{id} | |
11
12
  |[**tagsControllerUpdateTagById**](#tagscontrollerupdatetagbyid) | **PUT** /v1/tag | |
12
13
 
@@ -163,6 +164,65 @@ const { status, data } = await apiInstance.tagsControllerFindTags(
163
164
  - **Accept**: application/json
164
165
 
165
166
 
167
+ ### HTTP response details
168
+ | Status code | Description | Response headers |
169
+ |-------------|-------------|------------------|
170
+ |**200** | | - |
171
+
172
+ [[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)
173
+
174
+ # **tagsControllerGetTags**
175
+ > TagResponseDTO tagsControllerGetTags()
176
+
177
+
178
+ ### Example
179
+
180
+ ```typescript
181
+ import {
182
+ TagsApi,
183
+ Configuration
184
+ } from './api';
185
+
186
+ const configuration = new Configuration();
187
+ const apiInstance = new TagsApi(configuration);
188
+
189
+ let page: number; // (default to undefined)
190
+ let pageSize: number; // (default to undefined)
191
+ let venue: Array<string>; // (optional) (default to undefined)
192
+ let category: Array<'BOOKING' | 'CUSTOMER' | 'GOODAY'>; // (optional) (default to undefined)
193
+
194
+ const { status, data } = await apiInstance.tagsControllerGetTags(
195
+ page,
196
+ pageSize,
197
+ venue,
198
+ category
199
+ );
200
+ ```
201
+
202
+ ### Parameters
203
+
204
+ |Name | Type | Description | Notes|
205
+ |------------- | ------------- | ------------- | -------------|
206
+ | **page** | [**number**] | | defaults to undefined|
207
+ | **pageSize** | [**number**] | | defaults to undefined|
208
+ | **venue** | **Array&lt;string&gt;** | | (optional) defaults to undefined|
209
+ | **category** | **Array<&#39;BOOKING&#39; &#124; &#39;CUSTOMER&#39; &#124; &#39;GOODAY&#39;>** | | (optional) defaults to undefined|
210
+
211
+
212
+ ### Return type
213
+
214
+ **TagResponseDTO**
215
+
216
+ ### Authorization
217
+
218
+ No authorization required
219
+
220
+ ### HTTP request headers
221
+
222
+ - **Content-Type**: Not defined
223
+ - **Accept**: application/json
224
+
225
+
166
226
  ### HTTP response details
167
227
  | Status code | Description | Response headers |
168
228
  |-------------|-------------|------------------|
@@ -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-12-04T19:43:18+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-12-04T20:43:18+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-12-05T05:03:51Z]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-12-05T06:03:51Z]
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.37",
3
+ "version": "4.4.38",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},