@gooday_corp/gooday-api-client 1.3.101 → 1.4.1
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/.openapi-generator/FILES +1 -0
- package/api.ts +37 -0
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/NotificationActions.md +24 -0
- package/docs/NotificationEntity.md +4 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -200,6 +200,7 @@ docs/NewPasswordPayloadDTO.md
|
|
|
200
200
|
docs/NewPasswordResponseDTO.md
|
|
201
201
|
docs/NotificationActionEventPayload.md
|
|
202
202
|
docs/NotificationActionEventResponseDTO.md
|
|
203
|
+
docs/NotificationActions.md
|
|
203
204
|
docs/NotificationApi.md
|
|
204
205
|
docs/NotificationCountDTO.md
|
|
205
206
|
docs/NotificationCountResponseDTO.md
|
package/api.ts
CHANGED
|
@@ -5832,6 +5832,31 @@ export interface NotificationActionEventResponseDTO {
|
|
|
5832
5832
|
*/
|
|
5833
5833
|
'success': boolean;
|
|
5834
5834
|
}
|
|
5835
|
+
/**
|
|
5836
|
+
*
|
|
5837
|
+
* @export
|
|
5838
|
+
* @interface NotificationActions
|
|
5839
|
+
*/
|
|
5840
|
+
export interface NotificationActions {
|
|
5841
|
+
/**
|
|
5842
|
+
*
|
|
5843
|
+
* @type {string}
|
|
5844
|
+
* @memberof NotificationActions
|
|
5845
|
+
*/
|
|
5846
|
+
'type': string;
|
|
5847
|
+
/**
|
|
5848
|
+
*
|
|
5849
|
+
* @type {string}
|
|
5850
|
+
* @memberof NotificationActions
|
|
5851
|
+
*/
|
|
5852
|
+
'label': string;
|
|
5853
|
+
/**
|
|
5854
|
+
*
|
|
5855
|
+
* @type {string}
|
|
5856
|
+
* @memberof NotificationActions
|
|
5857
|
+
*/
|
|
5858
|
+
'target': string;
|
|
5859
|
+
}
|
|
5835
5860
|
/**
|
|
5836
5861
|
*
|
|
5837
5862
|
* @export
|
|
@@ -5925,6 +5950,18 @@ export interface NotificationEntity {
|
|
|
5925
5950
|
* @memberof NotificationEntity
|
|
5926
5951
|
*/
|
|
5927
5952
|
'isRead': boolean;
|
|
5953
|
+
/**
|
|
5954
|
+
*
|
|
5955
|
+
* @type {boolean}
|
|
5956
|
+
* @memberof NotificationEntity
|
|
5957
|
+
*/
|
|
5958
|
+
'isAction': boolean;
|
|
5959
|
+
/**
|
|
5960
|
+
* Additional metadata associated with the notification (optional)
|
|
5961
|
+
* @type {NotificationActions}
|
|
5962
|
+
* @memberof NotificationEntity
|
|
5963
|
+
*/
|
|
5964
|
+
'actions'?: NotificationActions;
|
|
5928
5965
|
}
|
|
5929
5966
|
|
|
5930
5967
|
export const NotificationEntityTypeEnum = {
|
|
@@ -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-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-06-11T13:13:56Z]
|
|
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]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# NotificationActions
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**type** | **string** | | [default to undefined]
|
|
9
|
+
**label** | **string** | | [default to undefined]
|
|
10
|
+
**target** | **string** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { NotificationActions } from './api';
|
|
16
|
+
|
|
17
|
+
const instance: NotificationActions = {
|
|
18
|
+
type,
|
|
19
|
+
label,
|
|
20
|
+
target,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -12,6 +12,8 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**type** | **string** | The type of the notification (optional) | [optional] [default to undefined]
|
|
13
13
|
**metadata** | **object** | Additional metadata associated with the notification (optional) | [optional] [default to undefined]
|
|
14
14
|
**isRead** | **boolean** | Indicates if the notification has been read (optional) | [default to false]
|
|
15
|
+
**isAction** | **boolean** | | [default to false]
|
|
16
|
+
**actions** | [**NotificationActions**](NotificationActions.md) | Additional metadata associated with the notification (optional) | [optional] [default to undefined]
|
|
15
17
|
|
|
16
18
|
## Example
|
|
17
19
|
|
|
@@ -26,6 +28,8 @@ const instance: NotificationEntity = {
|
|
|
26
28
|
type,
|
|
27
29
|
metadata,
|
|
28
30
|
isRead,
|
|
31
|
+
isAction,
|
|
32
|
+
actions,
|
|
29
33
|
};
|
|
30
34
|
```
|
|
31
35
|
|
|
@@ -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-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-06-11T13:13:56Z]
|
|
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-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-06-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-06-11T13:13:56Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-06-11T14:13:56Z]
|
|
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<CreateWaitlistBookingCollaboratorPayload>**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
|