@gooday_corp/gooday-api-client 4.7.0 → 4.7.3
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 +32 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPCollaboratorPayload.md +32 -0
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/PaymentDetailsPayload.md +2 -2
- package/docs/RSVPEvenPayloadDTO.md +2 -0
- package/docs/RSVPEventEntity.md +2 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -133,6 +133,7 @@ docs/CreateCustomerPayloadDTO.md
|
|
|
133
133
|
docs/CreateEventCollaboratorPayload.md
|
|
134
134
|
docs/CreateEventPayloadDTO.md
|
|
135
135
|
docs/CreatePaymentLinkDTO.md
|
|
136
|
+
docs/CreateRSVPCollaboratorPayload.md
|
|
136
137
|
docs/CreateRSVPEventBookingPayload.md
|
|
137
138
|
docs/CreateTaskPayload.md
|
|
138
139
|
docs/CreateTodoPayload.md
|
package/api.ts
CHANGED
|
@@ -2038,6 +2038,30 @@ export interface CreatePaymentLinkDTO {
|
|
|
2038
2038
|
*/
|
|
2039
2039
|
'productID': string;
|
|
2040
2040
|
}
|
|
2041
|
+
export interface CreateRSVPCollaboratorPayload {
|
|
2042
|
+
/**
|
|
2043
|
+
* The unique identifier of the customer
|
|
2044
|
+
*/
|
|
2045
|
+
'_id'?: string;
|
|
2046
|
+
/**
|
|
2047
|
+
* The name of the customer
|
|
2048
|
+
*/
|
|
2049
|
+
'name'?: string;
|
|
2050
|
+
'firstName'?: string;
|
|
2051
|
+
'lastName'?: string;
|
|
2052
|
+
/**
|
|
2053
|
+
* The mobile phone number of the customer
|
|
2054
|
+
*/
|
|
2055
|
+
'mobile'?: string;
|
|
2056
|
+
/**
|
|
2057
|
+
* The email address of the customer
|
|
2058
|
+
*/
|
|
2059
|
+
'email'?: string;
|
|
2060
|
+
/**
|
|
2061
|
+
* The goodayId for the customer
|
|
2062
|
+
*/
|
|
2063
|
+
'goodayId'?: string;
|
|
2064
|
+
}
|
|
2041
2065
|
export interface CreateRSVPEventBookingPayload {
|
|
2042
2066
|
/**
|
|
2043
2067
|
* The title of the booking
|
|
@@ -3922,6 +3946,10 @@ export interface RSVPEvenPayloadDTO {
|
|
|
3922
3946
|
*/
|
|
3923
3947
|
'meta'?: RSVPEventMetaDataDTO;
|
|
3924
3948
|
'stripeProduct'?: string;
|
|
3949
|
+
/**
|
|
3950
|
+
* The list of collaborators associated with the booking
|
|
3951
|
+
*/
|
|
3952
|
+
'collaboratorUsers'?: Array<CreateRSVPCollaboratorPayload>;
|
|
3925
3953
|
'calendars'?: Array<string>;
|
|
3926
3954
|
}
|
|
3927
3955
|
|
|
@@ -4026,6 +4054,10 @@ export interface RSVPEventEntity {
|
|
|
4026
4054
|
'discounts'?: Array<object>;
|
|
4027
4055
|
'reminder'?: boolean;
|
|
4028
4056
|
'calendar'?: boolean;
|
|
4057
|
+
/**
|
|
4058
|
+
* The list of collaborators associated with the booking
|
|
4059
|
+
*/
|
|
4060
|
+
'collaborators'?: Array<CreateRSVPCollaboratorPayload>;
|
|
4029
4061
|
}
|
|
4030
4062
|
|
|
4031
4063
|
export const RSVPEventEntityRepeatEnum = {
|
|
@@ -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-03-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-03-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2026-03-03T18:03:34+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-03-03T18:03:34+05:30]
|
|
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,32 @@
|
|
|
1
|
+
# CreateRSVPCollaboratorPayload
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**_id** | **string** | The unique identifier of the customer | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | The name of the customer | [optional] [default to 'John Doe']
|
|
10
|
+
**firstName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**lastName** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**mobile** | **string** | The mobile phone number of the customer | [optional] [default to '+11234567890']
|
|
13
|
+
**email** | **string** | The email address of the customer | [optional] [default to 'example@example.com']
|
|
14
|
+
**goodayId** | **string** | The goodayId for the customer | [optional] [default to 'default-gooday-id']
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { CreateRSVPCollaboratorPayload } from './api';
|
|
20
|
+
|
|
21
|
+
const instance: CreateRSVPCollaboratorPayload = {
|
|
22
|
+
_id,
|
|
23
|
+
name,
|
|
24
|
+
firstName,
|
|
25
|
+
lastName,
|
|
26
|
+
mobile,
|
|
27
|
+
email,
|
|
28
|
+
goodayId,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[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-03-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-03-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-03-03T18:03:34+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-03-03T18:03:34+05:30]
|
|
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-03-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-03-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-03-03T18:03:34+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-03-03T18:03:34+05:30]
|
|
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]
|
|
@@ -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-03-
|
|
12
|
-
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-03-
|
|
11
|
+
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-03-03T18:03:34+05:30]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-03-03T18:03:34+05:30]
|
|
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]
|
|
@@ -37,6 +37,7 @@ Name | Type | Description | Notes
|
|
|
37
37
|
**discounts** | **Array<object>** | | [optional] [default to undefined]
|
|
38
38
|
**meta** | [**RSVPEventMetaDataDTO**](RSVPEventMetaDataDTO.md) | Meta information about the location. | [optional] [default to undefined]
|
|
39
39
|
**stripeProduct** | **string** | | [optional] [default to undefined]
|
|
40
|
+
**collaboratorUsers** | [**Array<CreateRSVPCollaboratorPayload>**](CreateRSVPCollaboratorPayload.md) | The list of collaborators associated with the booking | [optional] [default to undefined]
|
|
40
41
|
**calendars** | **Array<string>** | | [optional] [default to undefined]
|
|
41
42
|
|
|
42
43
|
## Example
|
|
@@ -77,6 +78,7 @@ const instance: RSVPEvenPayloadDTO = {
|
|
|
77
78
|
discounts,
|
|
78
79
|
meta,
|
|
79
80
|
stripeProduct,
|
|
81
|
+
collaboratorUsers,
|
|
80
82
|
calendars,
|
|
81
83
|
};
|
|
82
84
|
```
|
package/docs/RSVPEventEntity.md
CHANGED
|
@@ -40,6 +40,7 @@ Name | Type | Description | Notes
|
|
|
40
40
|
**discounts** | **Array<object>** | | [optional] [default to undefined]
|
|
41
41
|
**reminder** | **boolean** | | [optional] [default to undefined]
|
|
42
42
|
**calendar** | **boolean** | | [optional] [default to undefined]
|
|
43
|
+
**collaborators** | [**Array<CreateRSVPCollaboratorPayload>**](CreateRSVPCollaboratorPayload.md) | The list of collaborators associated with the booking | [optional] [default to undefined]
|
|
43
44
|
|
|
44
45
|
## Example
|
|
45
46
|
|
|
@@ -82,6 +83,7 @@ const instance: RSVPEventEntity = {
|
|
|
82
83
|
discounts,
|
|
83
84
|
reminder,
|
|
84
85
|
calendar,
|
|
86
|
+
collaborators,
|
|
85
87
|
};
|
|
86
88
|
```
|
|
87
89
|
|
|
@@ -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 2026-03-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2026-03-03T18:03:34+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**notes** | **string** | | [optional] [default to undefined]
|
|
@@ -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 2026-03-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2026-03-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2026-03-03T18:03:34+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2026-03-03T19:03:34+05:30]
|
|
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]
|