@gooday_corp/gooday-api-client 1.3.99 → 1.3.101

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.
@@ -206,6 +206,7 @@ docs/NotificationCountResponseDTO.md
206
206
  docs/NotificationEntity.md
207
207
  docs/NotificationReadDTO.md
208
208
  docs/NotificationReadResponseDTO.md
209
+ docs/NotificationReadsDTO.md
209
210
  docs/OAuthApi.md
210
211
  docs/OnBoardingDTO.md
211
212
  docs/OnBoardingResponseDTO.md
package/api.ts CHANGED
@@ -6006,6 +6006,19 @@ export interface NotificationReadResponseDTO {
6006
6006
  */
6007
6007
  'data': boolean;
6008
6008
  }
6009
+ /**
6010
+ *
6011
+ * @export
6012
+ * @interface NotificationReadsDTO
6013
+ */
6014
+ export interface NotificationReadsDTO {
6015
+ /**
6016
+ * Notification Ids
6017
+ * @type {Array<string>}
6018
+ * @memberof NotificationReadsDTO
6019
+ */
6020
+ 'notificationId': Array<string>;
6021
+ }
6009
6022
  /**
6010
6023
  *
6011
6024
  * @export
@@ -18833,6 +18846,45 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
18833
18846
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18834
18847
  localVarRequestOptions.data = serializeDataIfNeeded(notificationReadDTO, localVarRequestOptions, configuration)
18835
18848
 
18849
+ return {
18850
+ url: toPathString(localVarUrlObj),
18851
+ options: localVarRequestOptions,
18852
+ };
18853
+ },
18854
+ /**
18855
+ *
18856
+ * @param {NotificationReadsDTO} notificationReadsDTO
18857
+ * @param {*} [options] Override http request option.
18858
+ * @throws {RequiredError}
18859
+ */
18860
+ notificationControllerReadNotifications: async (notificationReadsDTO: NotificationReadsDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18861
+ // verify required parameter 'notificationReadsDTO' is not null or undefined
18862
+ assertParamExists('notificationControllerReadNotifications', 'notificationReadsDTO', notificationReadsDTO)
18863
+ const localVarPath = `/v1/notification/reads`;
18864
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18865
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18866
+ let baseOptions;
18867
+ if (configuration) {
18868
+ baseOptions = configuration.baseOptions;
18869
+ }
18870
+
18871
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18872
+ const localVarHeaderParameter = {} as any;
18873
+ const localVarQueryParameter = {} as any;
18874
+
18875
+ // authentication bearer required
18876
+ // http bearer authentication required
18877
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
18878
+
18879
+
18880
+
18881
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18882
+
18883
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18884
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18885
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18886
+ localVarRequestOptions.data = serializeDataIfNeeded(notificationReadsDTO, localVarRequestOptions, configuration)
18887
+
18836
18888
  return {
18837
18889
  url: toPathString(localVarUrlObj),
18838
18890
  options: localVarRequestOptions,
@@ -18909,6 +18961,18 @@ export const NotificationApiFp = function(configuration?: Configuration) {
18909
18961
  const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerReadNotification']?.[localVarOperationServerIndex]?.url;
18910
18962
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18911
18963
  },
18964
+ /**
18965
+ *
18966
+ * @param {NotificationReadsDTO} notificationReadsDTO
18967
+ * @param {*} [options] Override http request option.
18968
+ * @throws {RequiredError}
18969
+ */
18970
+ async notificationControllerReadNotifications(notificationReadsDTO: NotificationReadsDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationReadResponseDTO>> {
18971
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationControllerReadNotifications(notificationReadsDTO, options);
18972
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18973
+ const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerReadNotifications']?.[localVarOperationServerIndex]?.url;
18974
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18975
+ },
18912
18976
  }
18913
18977
  };
18914
18978
 
@@ -18965,6 +19029,15 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
18965
19029
  notificationControllerReadNotification(notificationReadDTO: NotificationReadDTO, options?: RawAxiosRequestConfig): AxiosPromise<NotificationReadResponseDTO> {
18966
19030
  return localVarFp.notificationControllerReadNotification(notificationReadDTO, options).then((request) => request(axios, basePath));
18967
19031
  },
19032
+ /**
19033
+ *
19034
+ * @param {NotificationReadsDTO} notificationReadsDTO
19035
+ * @param {*} [options] Override http request option.
19036
+ * @throws {RequiredError}
19037
+ */
19038
+ notificationControllerReadNotifications(notificationReadsDTO: NotificationReadsDTO, options?: RawAxiosRequestConfig): AxiosPromise<NotificationReadResponseDTO> {
19039
+ return localVarFp.notificationControllerReadNotifications(notificationReadsDTO, options).then((request) => request(axios, basePath));
19040
+ },
18968
19041
  };
18969
19042
  };
18970
19043
 
@@ -19030,6 +19103,17 @@ export class NotificationApi extends BaseAPI {
19030
19103
  public notificationControllerReadNotification(notificationReadDTO: NotificationReadDTO, options?: RawAxiosRequestConfig) {
19031
19104
  return NotificationApiFp(this.configuration).notificationControllerReadNotification(notificationReadDTO, options).then((request) => request(this.axios, this.basePath));
19032
19105
  }
19106
+
19107
+ /**
19108
+ *
19109
+ * @param {NotificationReadsDTO} notificationReadsDTO
19110
+ * @param {*} [options] Override http request option.
19111
+ * @throws {RequiredError}
19112
+ * @memberof NotificationApi
19113
+ */
19114
+ public notificationControllerReadNotifications(notificationReadsDTO: NotificationReadsDTO, options?: RawAxiosRequestConfig) {
19115
+ return NotificationApiFp(this.configuration).notificationControllerReadNotifications(notificationReadsDTO, options).then((request) => request(this.axios, this.basePath));
19116
+ }
19033
19117
  }
19034
19118
 
19035
19119
  /**
@@ -6,7 +6,7 @@
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-06-10T13:58:43Z]
9
+ **date** | **string** | The start date of the booking | [default to 2025-06-11T11:00:33Z]
10
10
  **from** | **string** | | [optional] [default to undefined]
11
11
  **to** | **string** | | [optional] [default to undefined]
12
12
  **venue** | **string** | The venue of the booking | [default to undefined]
@@ -9,6 +9,7 @@ All URIs are relative to *http://localhost:8080*
9
9
  |[**notificationControllerNotificationCount**](#notificationcontrollernotificationcount) | **POST** /v1/notification/count | |
10
10
  |[**notificationControllerReadMarkAllNotification**](#notificationcontrollerreadmarkallnotification) | **POST** /v1/notification/read-mark | |
11
11
  |[**notificationControllerReadNotification**](#notificationcontrollerreadnotification) | **POST** /v1/notification/read | |
12
+ |[**notificationControllerReadNotifications**](#notificationcontrollerreadnotifications) | **POST** /v1/notification/reads | |
12
13
 
13
14
  # **notificationControllerActionEventEmitter**
14
15
  > NotificationActionEventResponseDTO notificationControllerActionEventEmitter(notificationActionEventPayload)
@@ -263,3 +264,54 @@ const { status, data } = await apiInstance.notificationControllerReadNotificatio
263
264
 
264
265
  [[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)
265
266
 
267
+ # **notificationControllerReadNotifications**
268
+ > NotificationReadResponseDTO notificationControllerReadNotifications(notificationReadsDTO)
269
+
270
+
271
+ ### Example
272
+
273
+ ```typescript
274
+ import {
275
+ NotificationApi,
276
+ Configuration,
277
+ NotificationReadsDTO
278
+ } from './api';
279
+
280
+ const configuration = new Configuration();
281
+ const apiInstance = new NotificationApi(configuration);
282
+
283
+ let notificationReadsDTO: NotificationReadsDTO; //
284
+
285
+ const { status, data } = await apiInstance.notificationControllerReadNotifications(
286
+ notificationReadsDTO
287
+ );
288
+ ```
289
+
290
+ ### Parameters
291
+
292
+ |Name | Type | Description | Notes|
293
+ |------------- | ------------- | ------------- | -------------|
294
+ | **notificationReadsDTO** | **NotificationReadsDTO**| | |
295
+
296
+
297
+ ### Return type
298
+
299
+ **NotificationReadResponseDTO**
300
+
301
+ ### Authorization
302
+
303
+ [bearer](../README.md#bearer)
304
+
305
+ ### HTTP request headers
306
+
307
+ - **Content-Type**: application/json
308
+ - **Accept**: application/json
309
+
310
+
311
+ ### HTTP response details
312
+ | Status code | Description | Response headers |
313
+ |-------------|-------------|------------------|
314
+ |**200** | | - |
315
+
316
+ [[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)
317
+
@@ -0,0 +1,20 @@
1
+ # NotificationReadsDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **notificationId** | **Array&lt;string&gt;** | Notification Ids | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { NotificationReadsDTO } from './api';
14
+
15
+ const instance: NotificationReadsDTO = {
16
+ notificationId,
17
+ };
18
+ ```
19
+
20
+ [[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-06-10T13:58:43Z]
8
+ **date** | **string** | The start date of the booking | [default to 2025-06-11T11:00:33Z]
9
9
  **from** | **string** | | [optional] [default to undefined]
10
10
  **to** | **string** | | [optional] [default to undefined]
11
11
 
@@ -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-06-10T13:58:43Z]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-06-10T14:58:43Z]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-06-11T11:00:33Z]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-06-11T12:00:33Z]
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": "1.3.99",
3
+ "version": "1.3.101",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},