@gooday_corp/gooday-api-client 4.4.36 → 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.
@@ -280,6 +280,7 @@ docs/RSVPEventDeleteDTO.md
280
280
  docs/RSVPEventEntity.md
281
281
  docs/RSVPEventLocationDTO.md
282
282
  docs/RSVPEventMetaDTO.md
283
+ docs/RSVPEventMetaDataDTO.md
283
284
  docs/RSVPEventResponse.md
284
285
  docs/RSVPEventResponseDTO.md
285
286
  docs/RegularBookingAvailabilityPayloadDTO.md
package/api.ts CHANGED
@@ -3761,15 +3761,15 @@ export interface RSVPEvenPayloadDTO {
3761
3761
  /**
3762
3762
  * user
3763
3763
  */
3764
- 'userId': string;
3764
+ 'userId'?: string;
3765
3765
  /**
3766
3766
  * Business
3767
3767
  */
3768
- 'business': string;
3768
+ 'business'?: string;
3769
3769
  /**
3770
3770
  * Business venue
3771
3771
  */
3772
- 'venue': string;
3772
+ 'venue'?: string;
3773
3773
  'tags'?: Array<string>;
3774
3774
  'hideLocation'?: boolean;
3775
3775
  'hostBy': string;
@@ -3781,6 +3781,10 @@ export interface RSVPEvenPayloadDTO {
3781
3781
  'otherLink'?: string;
3782
3782
  'location'?: RSVPEventLocationDTO;
3783
3783
  'discounts'?: Array<Discount>;
3784
+ /**
3785
+ * Meta information about the location.
3786
+ */
3787
+ 'meta'?: RSVPEventMetaDataDTO;
3784
3788
  }
3785
3789
 
3786
3790
  export const RSVPEvenPayloadDTORepeatEnum = {
@@ -3875,6 +3879,10 @@ export interface RSVPEventEntity {
3875
3879
  'externalTicketing'?: string;
3876
3880
  'otherLink'?: string;
3877
3881
  'location'?: RSVPEventLocationDTO;
3882
+ /**
3883
+ * Meta information about the location.
3884
+ */
3885
+ 'meta'?: RSVPEventMetaDataDTO;
3878
3886
  'discounts'?: Array<Discount>;
3879
3887
  }
3880
3888
 
@@ -3917,6 +3925,12 @@ export interface RSVPEventMetaDTO {
3917
3925
  'formattedAddress'?: string;
3918
3926
  'shortFormattedAddress': string;
3919
3927
  }
3928
+ export interface RSVPEventMetaDataDTO {
3929
+ 'email'?: string;
3930
+ 'firstName': string;
3931
+ 'lastName': string;
3932
+ 'mobileNumber': string;
3933
+ }
3920
3934
  export interface RSVPEventResponse {
3921
3935
  'count': number;
3922
3936
  'data': Array<RSVPEventEntity>;
@@ -18870,6 +18884,59 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration)
18870
18884
 
18871
18885
 
18872
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
+
18873
18940
  setSearchParams(localVarUrlObj, localVarQueryParameter);
18874
18941
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18875
18942
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -19003,6 +19070,21 @@ export const TagsApiFp = function(configuration?: Configuration) {
19003
19070
  const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerFindTags']?.[localVarOperationServerIndex]?.url;
19004
19071
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19005
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
+ },
19006
19088
  /**
19007
19089
  *
19008
19090
  * @param {string} id
@@ -19066,6 +19148,18 @@ export const TagsApiFactory = function (configuration?: Configuration, basePath?
19066
19148
  tagsControllerFindTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerFindTagsCategoryEnum>, options?: RawAxiosRequestConfig): AxiosPromise<TagsResponseDTO> {
19067
19149
  return localVarFp.tagsControllerFindTags(page, pageSize, venue, category, options).then((request) => request(axios, basePath));
19068
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
+ },
19069
19163
  /**
19070
19164
  *
19071
19165
  * @param {string} id
@@ -19124,6 +19218,19 @@ export class TagsApi extends BaseAPI {
19124
19218
  return TagsApiFp(this.configuration).tagsControllerFindTags(page, pageSize, venue, category, options).then((request) => request(this.axios, this.basePath));
19125
19219
  }
19126
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
+
19127
19234
  /**
19128
19235
  *
19129
19236
  * @param {string} id
@@ -19151,6 +19258,12 @@ export const TagsControllerFindTagsCategoryEnum = {
19151
19258
  Gooday: 'GOODAY'
19152
19259
  } as const;
19153
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];
19154
19267
 
19155
19268
 
19156
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-03T19:56:24+05:30]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-03T19:56:24+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-03T19:56:24+05:30]
10
- **endDate** | **string** | The start date of the booking | [default to 2025-12-03T19:56:24+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]
@@ -19,9 +19,9 @@ Name | Type | Description | Notes
19
19
  **price** | **number** | | [default to undefined]
20
20
  **description** | **string** | | [default to undefined]
21
21
  **capacity** | **number** | | [default to undefined]
22
- **userId** | **string** | user | [default to undefined]
23
- **business** | **string** | Business | [default to undefined]
24
- **venue** | **string** | Business venue | [default to undefined]
22
+ **userId** | **string** | user | [optional] [default to undefined]
23
+ **business** | **string** | Business | [optional] [default to undefined]
24
+ **venue** | **string** | Business venue | [optional] [default to undefined]
25
25
  **tags** | **Array&lt;string&gt;** | | [optional] [default to undefined]
26
26
  **hideLocation** | **boolean** | | [optional] [default to undefined]
27
27
  **hostBy** | **string** | | [default to undefined]
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
33
33
  **otherLink** | **string** | | [optional] [default to undefined]
34
34
  **location** | [**RSVPEventLocationDTO**](RSVPEventLocationDTO.md) | | [optional] [default to undefined]
35
35
  **discounts** | [**Array&lt;Discount&gt;**](Discount.md) | | [optional] [default to undefined]
36
+ **meta** | [**RSVPEventMetaDataDTO**](RSVPEventMetaDataDTO.md) | Meta information about the location. | [optional] [default to undefined]
36
37
 
37
38
  ## Example
38
39
 
@@ -68,6 +69,7 @@ const instance: RSVPEvenPayloadDTO = {
68
69
  otherLink,
69
70
  location,
70
71
  discounts,
72
+ meta,
71
73
  };
72
74
  ```
73
75
 
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
34
34
  **externalTicketing** | **string** | | [optional] [default to undefined]
35
35
  **otherLink** | **string** | | [optional] [default to undefined]
36
36
  **location** | [**RSVPEventLocationDTO**](RSVPEventLocationDTO.md) | | [optional] [default to undefined]
37
+ **meta** | [**RSVPEventMetaDataDTO**](RSVPEventMetaDataDTO.md) | Meta information about the location. | [optional] [default to undefined]
37
38
  **discounts** | [**Array&lt;Discount&gt;**](Discount.md) | | [optional] [default to undefined]
38
39
 
39
40
  ## Example
@@ -71,6 +72,7 @@ const instance: RSVPEventEntity = {
71
72
  externalTicketing,
72
73
  otherLink,
73
74
  location,
75
+ meta,
74
76
  discounts,
75
77
  };
76
78
  ```
@@ -0,0 +1,26 @@
1
+ # RSVPEventMetaDataDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **email** | **string** | | [optional] [default to undefined]
9
+ **firstName** | **string** | | [default to undefined]
10
+ **lastName** | **string** | | [default to undefined]
11
+ **mobileNumber** | **string** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { RSVPEventMetaDataDTO } from './api';
17
+
18
+ const instance: RSVPEventMetaDataDTO = {
19
+ email,
20
+ firstName,
21
+ lastName,
22
+ mobileNumber,
23
+ };
24
+ ```
25
+
26
+ [[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-12-03T19:56:24+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-03T19:56:24+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-12-03T20:56:24+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.36",
3
+ "version": "4.4.38",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},