@gooday_corp/gooday-api-client 4.6.18 → 4.6.26
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 +12 -0
- package/api.ts +1309 -82
- package/docs/BookingApi.md +52 -0
- package/docs/BusinessDetailsPayloadDTO.md +8 -0
- package/docs/CheckMutualAvailabilityPayloadDTO.md +26 -0
- package/docs/CheckRSVPBookingPayload.md +26 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPBlastDTO.md +24 -0
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/DiscountV2DTO.md +2 -0
- package/docs/InviteRSVPCreatedDTO.md +34 -0
- package/docs/InviteRSVPResponseDTO.md +24 -0
- package/docs/InviteRSVPResultDTO.md +22 -0
- package/docs/InviteRSVPSkippedDTO.md +24 -0
- package/docs/InviteRSVPSkippedExistingDTO.md +30 -0
- package/docs/MutualAvailabilityInviteeDTO.md +36 -0
- package/docs/MutualAvailabilityRecurrenceDTO.md +30 -0
- package/docs/NotificationApi.md +4 -1
- package/docs/NotificationCountDTO.md +2 -0
- package/docs/PaymentDetailsPayload.md +2 -2
- package/docs/RSVPBookingCheckResponseDTO.md +20 -0
- package/docs/RSVPV2Api.md +276 -3
- package/docs/RSVPV2MutualAvailabilityApi.md +163 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/SocialMedia.md +8 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/docs/BookingApi.md
CHANGED
|
@@ -9,6 +9,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
9
9
|
|[**bookingControllerBookingConfirmation**](#bookingcontrollerbookingconfirmation) | **POST** /v1/booking/confirmation | |
|
|
10
10
|
|[**bookingControllerCalendarInvites**](#bookingcontrollercalendarinvites) | **POST** /v1/booking/calendar-shared | |
|
|
11
11
|
|[**bookingControllerCancelBooking**](#bookingcontrollercancelbooking) | **POST** /v1/booking/cancel-booking | |
|
|
12
|
+
|[**bookingControllerCheckRSVPBooking**](#bookingcontrollercheckrsvpbooking) | **POST** /v1/booking/rsvp-booking/check | |
|
|
12
13
|
|[**bookingControllerCreateBooking**](#bookingcontrollercreatebooking) | **POST** /v1/booking | |
|
|
13
14
|
|[**bookingControllerCreateRSVPEventBooking**](#bookingcontrollercreatersvpeventbooking) | **POST** /v1/booking/rsvp-booking | |
|
|
14
15
|
|[**bookingControllerCreateWalkInBooking**](#bookingcontrollercreatewalkinbooking) | **POST** /v1/booking/walk-in | |
|
|
@@ -275,6 +276,57 @@ const { status, data } = await apiInstance.bookingControllerCancelBooking(
|
|
|
275
276
|
- **Accept**: application/json
|
|
276
277
|
|
|
277
278
|
|
|
279
|
+
### HTTP response details
|
|
280
|
+
| Status code | Description | Response headers |
|
|
281
|
+
|-------------|-------------|------------------|
|
|
282
|
+
|**0** | | - |
|
|
283
|
+
|
|
284
|
+
[[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)
|
|
285
|
+
|
|
286
|
+
# **bookingControllerCheckRSVPBooking**
|
|
287
|
+
> RSVPBookingCheckResponseDTO bookingControllerCheckRSVPBooking(checkRSVPBookingPayload)
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
### Example
|
|
291
|
+
|
|
292
|
+
```typescript
|
|
293
|
+
import {
|
|
294
|
+
BookingApi,
|
|
295
|
+
Configuration,
|
|
296
|
+
CheckRSVPBookingPayload
|
|
297
|
+
} from './api';
|
|
298
|
+
|
|
299
|
+
const configuration = new Configuration();
|
|
300
|
+
const apiInstance = new BookingApi(configuration);
|
|
301
|
+
|
|
302
|
+
let checkRSVPBookingPayload: CheckRSVPBookingPayload; //
|
|
303
|
+
|
|
304
|
+
const { status, data } = await apiInstance.bookingControllerCheckRSVPBooking(
|
|
305
|
+
checkRSVPBookingPayload
|
|
306
|
+
);
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
### Parameters
|
|
310
|
+
|
|
311
|
+
|Name | Type | Description | Notes|
|
|
312
|
+
|------------- | ------------- | ------------- | -------------|
|
|
313
|
+
| **checkRSVPBookingPayload** | **CheckRSVPBookingPayload**| | |
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
### Return type
|
|
317
|
+
|
|
318
|
+
**RSVPBookingCheckResponseDTO**
|
|
319
|
+
|
|
320
|
+
### Authorization
|
|
321
|
+
|
|
322
|
+
No authorization required
|
|
323
|
+
|
|
324
|
+
### HTTP request headers
|
|
325
|
+
|
|
326
|
+
- **Content-Type**: application/json
|
|
327
|
+
- **Accept**: application/json
|
|
328
|
+
|
|
329
|
+
|
|
278
330
|
### HTTP response details
|
|
279
331
|
| Status code | Description | Response headers |
|
|
280
332
|
|-------------|-------------|------------------|
|
|
@@ -18,6 +18,10 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**business** | **string** | Business | [optional] [default to undefined]
|
|
19
19
|
**venue** | **string** | Business venue | [optional] [default to undefined]
|
|
20
20
|
**bookingFee** | **number** | Business booking fee | [optional] [default to undefined]
|
|
21
|
+
**firstName** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**lastName** | **string** | | [optional] [default to undefined]
|
|
23
|
+
**phone** | **string** | | [optional] [default to undefined]
|
|
24
|
+
**profile** | **string** | User avatar/logo image URL | [optional] [default to undefined]
|
|
21
25
|
|
|
22
26
|
## Example
|
|
23
27
|
|
|
@@ -38,6 +42,10 @@ const instance: BusinessDetailsPayloadDTO = {
|
|
|
38
42
|
business,
|
|
39
43
|
venue,
|
|
40
44
|
bookingFee,
|
|
45
|
+
firstName,
|
|
46
|
+
lastName,
|
|
47
|
+
phone,
|
|
48
|
+
profile,
|
|
41
49
|
};
|
|
42
50
|
```
|
|
43
51
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# CheckMutualAvailabilityPayloadDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**startDateTime** | **string** | | [default to undefined]
|
|
9
|
+
**endDateTime** | **string** | | [default to undefined]
|
|
10
|
+
**invitees** | [**Array<MutualAvailabilityInviteeDTO>**](MutualAvailabilityInviteeDTO.md) | | [default to undefined]
|
|
11
|
+
**recurrence** | [**MutualAvailabilityRecurrenceDTO**](MutualAvailabilityRecurrenceDTO.md) | Optional recurrence payload. Omit for one-off events. When present, availability is still evaluated only for the FIRST occurrence (startDateTime/endDateTime) — see mutually-available-times.md, Section 7, for rationale. The Recommended Fix search will respect this recurrence pattern when searching for an alternative time. | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { CheckMutualAvailabilityPayloadDTO } from './api';
|
|
17
|
+
|
|
18
|
+
const instance: CheckMutualAvailabilityPayloadDTO = {
|
|
19
|
+
startDateTime,
|
|
20
|
+
endDateTime,
|
|
21
|
+
invitees,
|
|
22
|
+
recurrence,
|
|
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)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# CheckRSVPBookingPayload
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**rsvpId** | **string** | The RSVP event identifier | [default to undefined]
|
|
9
|
+
**startDate** | **string** | The start date of the RSVP booking | [default to undefined]
|
|
10
|
+
**endDate** | **string** | The end date of the RSVP booking | [default to undefined]
|
|
11
|
+
**createdDetails** | [**CreateBookingCollaboratorPayload**](CreateBookingCollaboratorPayload.md) | Created details for the booking | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { CheckRSVPBookingPayload } from './api';
|
|
17
|
+
|
|
18
|
+
const instance: CheckRSVPBookingPayload = {
|
|
19
|
+
rsvpId,
|
|
20
|
+
startDate,
|
|
21
|
+
endDate,
|
|
22
|
+
createdDetails,
|
|
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)
|
|
@@ -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 2026-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2026-07-06T07:33:23Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-07-06T07:33:23Z]
|
|
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]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# CreateRSVPBlastDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | | [default to undefined]
|
|
9
|
+
**recipients** | **Array<string>** | | [default to undefined]
|
|
10
|
+
**channels** | **Array<string>** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { CreateRSVPBlastDTO } from './api';
|
|
16
|
+
|
|
17
|
+
const instance: CreateRSVPBlastDTO = {
|
|
18
|
+
message,
|
|
19
|
+
recipients,
|
|
20
|
+
channels,
|
|
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)
|
|
@@ -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 2026-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-07-06T07:33:23Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-07-06T07:33:23Z]
|
|
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<string>** | Calendar attached with booking | [optional] [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 2026-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-07-06T07:33:23Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-07-06T07:33:23Z]
|
|
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<string>** | Calendar attached with booking | [optional] [default to undefined]
|
package/docs/DiscountV2DTO.md
CHANGED
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**name** | **string** | | [default to undefined]
|
|
9
9
|
**percentage** | **number** | | [default to undefined]
|
|
10
|
+
**maxRedemptions** | **number** | | [optional] [default to undefined]
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,6 +17,7 @@ import { DiscountV2DTO } from './api';
|
|
|
16
17
|
const instance: DiscountV2DTO = {
|
|
17
18
|
name,
|
|
18
19
|
percentage,
|
|
20
|
+
maxRedemptions,
|
|
19
21
|
};
|
|
20
22
|
```
|
|
21
23
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# InviteRSVPCreatedDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**user** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**contact** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**business** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**mobileNumber** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**isInvited** | **boolean** | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { InviteRSVPCreatedDTO } from './api';
|
|
21
|
+
|
|
22
|
+
const instance: InviteRSVPCreatedDTO = {
|
|
23
|
+
id,
|
|
24
|
+
user,
|
|
25
|
+
contact,
|
|
26
|
+
business,
|
|
27
|
+
email,
|
|
28
|
+
mobileNumber,
|
|
29
|
+
status,
|
|
30
|
+
isInvited,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# InviteRSVPResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**message** | **string** | Response message | [default to undefined]
|
|
10
|
+
**data** | [**InviteRSVPResultDTO**](InviteRSVPResultDTO.md) | Result details for invite processing | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { InviteRSVPResponseDTO } from './api';
|
|
16
|
+
|
|
17
|
+
const instance: InviteRSVPResponseDTO = {
|
|
18
|
+
statusCode,
|
|
19
|
+
message,
|
|
20
|
+
data,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# InviteRSVPResultDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**created** | [**Array<InviteRSVPCreatedDTO>**](InviteRSVPCreatedDTO.md) | | [default to undefined]
|
|
9
|
+
**skipped** | [**Array<InviteRSVPSkippedDTO>**](InviteRSVPSkippedDTO.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { InviteRSVPResultDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: InviteRSVPResultDTO = {
|
|
17
|
+
created,
|
|
18
|
+
skipped,
|
|
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)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# InviteRSVPSkippedDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**invite** | [**InviteRSVPDTO**](InviteRSVPDTO.md) | | [default to undefined]
|
|
9
|
+
**reason** | **string** | | [default to undefined]
|
|
10
|
+
**existing** | [**InviteRSVPSkippedExistingDTO**](InviteRSVPSkippedExistingDTO.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { InviteRSVPSkippedDTO } from './api';
|
|
16
|
+
|
|
17
|
+
const instance: InviteRSVPSkippedDTO = {
|
|
18
|
+
invite,
|
|
19
|
+
reason,
|
|
20
|
+
existing,
|
|
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)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# InviteRSVPSkippedExistingDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**user** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**contact** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**business** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**mobileNumber** | **string** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { InviteRSVPSkippedExistingDTO } from './api';
|
|
19
|
+
|
|
20
|
+
const instance: InviteRSVPSkippedExistingDTO = {
|
|
21
|
+
id,
|
|
22
|
+
user,
|
|
23
|
+
contact,
|
|
24
|
+
business,
|
|
25
|
+
email,
|
|
26
|
+
mobileNumber,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# MutualAvailabilityInviteeDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**firstName** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**lastName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**mobileNumber** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**user** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**contact** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**business** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**profile** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { MutualAvailabilityInviteeDTO } from './api';
|
|
22
|
+
|
|
23
|
+
const instance: MutualAvailabilityInviteeDTO = {
|
|
24
|
+
email,
|
|
25
|
+
firstName,
|
|
26
|
+
lastName,
|
|
27
|
+
mobileNumber,
|
|
28
|
+
user,
|
|
29
|
+
contact,
|
|
30
|
+
business,
|
|
31
|
+
profile,
|
|
32
|
+
code,
|
|
33
|
+
};
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# MutualAvailabilityRecurrenceDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**repeat** | **string** | | [default to undefined]
|
|
9
|
+
**recurrenceEndDate** | **string** | Recurrence end date (the \"Until\" date in the UI) | [optional] [default to undefined]
|
|
10
|
+
**byDay** | **string** | Comma-separated days of week, e.g. \"MO,WE,FR\" (used for WEEKLY) | [optional] [default to undefined]
|
|
11
|
+
**byMonthDay** | **string** | Comma-separated days of month, e.g. \"1,15\" (used for MONTHLY) | [optional] [default to undefined]
|
|
12
|
+
**byMonth** | **string** | Comma-separated months of year 1-12 (used for YEARLY) | [optional] [default to undefined]
|
|
13
|
+
**repeatBy** | **string** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { MutualAvailabilityRecurrenceDTO } from './api';
|
|
19
|
+
|
|
20
|
+
const instance: MutualAvailabilityRecurrenceDTO = {
|
|
21
|
+
repeat,
|
|
22
|
+
recurrenceEndDate,
|
|
23
|
+
byDay,
|
|
24
|
+
byMonthDay,
|
|
25
|
+
byMonth,
|
|
26
|
+
repeatBy,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/NotificationApi.md
CHANGED
|
@@ -81,11 +81,13 @@ const apiInstance = new NotificationApi(configuration);
|
|
|
81
81
|
let page: number; // (default to undefined)
|
|
82
82
|
let pageSize: number; // (default to undefined)
|
|
83
83
|
let category: Array<'CALENDAR' | 'TASKS' | 'REMINDERS' | 'WAITLIST' | 'BOOKING' | 'INVITES' | 'GENERAL'>; // (default to undefined)
|
|
84
|
+
let targetAudience: 'MOBILE' | 'DASHBOARD'; // (optional) (default to undefined)
|
|
84
85
|
|
|
85
86
|
const { status, data } = await apiInstance.notificationControllerGetNotification(
|
|
86
87
|
page,
|
|
87
88
|
pageSize,
|
|
88
|
-
category
|
|
89
|
+
category,
|
|
90
|
+
targetAudience
|
|
89
91
|
);
|
|
90
92
|
```
|
|
91
93
|
|
|
@@ -96,6 +98,7 @@ const { status, data } = await apiInstance.notificationControllerGetNotification
|
|
|
96
98
|
| **page** | [**number**] | | defaults to undefined|
|
|
97
99
|
| **pageSize** | [**number**] | | defaults to undefined|
|
|
98
100
|
| **category** | **Array<'CALENDAR' | 'TASKS' | 'REMINDERS' | 'WAITLIST' | 'BOOKING' | 'INVITES' | 'GENERAL'>** | | defaults to undefined|
|
|
101
|
+
| **targetAudience** | [**'MOBILE' | 'DASHBOARD'**]**Array<'MOBILE' | 'DASHBOARD'>** | | (optional) defaults to undefined|
|
|
99
102
|
|
|
100
103
|
|
|
101
104
|
### Return type
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**category** | **Array<string>** | | [default to undefined]
|
|
9
|
+
**targetAudience** | **string** | | [optional] [default to undefined]
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -14,6 +15,7 @@ import { NotificationCountDTO } from './api';
|
|
|
14
15
|
|
|
15
16
|
const instance: NotificationCountDTO = {
|
|
16
17
|
category,
|
|
18
|
+
targetAudience,
|
|
17
19
|
};
|
|
18
20
|
```
|
|
19
21
|
|
|
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**whatsOnId** | **string** | Event ID | [optional] [default to undefined]
|
|
9
9
|
**serviceId** | **string** | Service ID | [optional] [default to undefined]
|
|
10
10
|
**rsvpId** | **string** | RSVP ID | [optional] [default to undefined]
|
|
11
|
-
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-
|
|
12
|
-
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-
|
|
11
|
+
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-07-06T07:33:20Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-07-06T07:33:20Z]
|
|
13
13
|
**discountId** | **string** | Discount ID | [optional] [default to undefined]
|
|
14
14
|
**selectedStaff** | **string** | Staff ID | [optional] [default to undefined]
|
|
15
15
|
**quantity** | **number** | | [optional] [default to 0]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# RSVPBookingCheckResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**alreadyBooked** | **boolean** | Whether the user has already booked this RSVP event | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { RSVPBookingCheckResponseDTO } from './api';
|
|
14
|
+
|
|
15
|
+
const instance: RSVPBookingCheckResponseDTO = {
|
|
16
|
+
alreadyBooked,
|
|
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)
|