@gooday_corp/gooday-api-client 4.6.7 → 4.6.10
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 +20 -0
- package/.openapi-generator/VERSION +1 -1
- package/api.ts +13116 -2235
- package/base.ts +24 -0
- package/common.ts +38 -15
- package/configuration.ts +18 -24
- package/docs/AcceptBookingInvitePayload.md +3 -1
- package/docs/BookingPaymentCreateResponse.md +4 -0
- package/docs/BusinessApi.md +154 -9
- package/docs/BusinessTypeResponse.md +22 -0
- package/docs/ConfirmRSVPV2PaymentDTO.md +20 -0
- package/docs/ContactsPayloadDTO.md +2 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPCollaboratorPayload.md +32 -0
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateRSVPEventV2DTO.md +96 -0
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/DiscountV2DTO.md +22 -0
- package/docs/HashtagPayloadDTO.md +22 -0
- package/docs/HashtagResponseDTO.md +22 -0
- package/docs/HashtagUpdatePayloadDTO.md +24 -0
- package/docs/HashtagsApi.md +327 -0
- package/docs/HashtagsResponse.md +24 -0
- package/docs/HashtagsResponseDTO.md +22 -0
- package/docs/HostV2DTO.md +22 -0
- package/docs/InviteRSVPArrayDTO.md +20 -0
- package/docs/InviteRSVPDTO.md +34 -0
- package/docs/JoinRSVPEventDTO.md +34 -0
- package/docs/PaymentDetailsPayload.md +2 -2
- package/docs/PlansApi.md +56 -2
- package/docs/PromoCodeResponseDTO.md +2 -0
- package/docs/RSVPEvenPayloadDTO.md +8 -0
- package/docs/RSVPEventEntity.md +6 -0
- package/docs/RSVPEventFindDTO.md +6 -2
- package/docs/RSVPEventFindV2DTO.md +32 -0
- package/docs/RSVPEventLocationDTO.md +2 -2
- package/docs/RSVPEventMetaDTO.md +1 -1
- package/docs/RSVPEventMetaDataDTO.md +2 -0
- package/docs/RSVPV2Api.md +1156 -0
- package/docs/RejectBookingInvitePayload.md +3 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/SetupRSVPV2PaymentDTO.md +20 -0
- package/docs/UpdateRSVPEventV2DTO.md +96 -0
- package/docs/UpdateRSVPStatusDTO.md +20 -0
- package/docs/UserEntity.md +2 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnLocationDTO.md +3 -3
- package/docs/WhatsOnLocationMetaDTO.md +1 -1
- package/package.json +1 -1
|
@@ -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-04-27T13:31:10Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-04-27T13:31:10Z]
|
|
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]
|
package/docs/PlansApi.md
CHANGED
|
@@ -18,6 +18,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
18
18
|
|[**paymentControllerServiceById**](#paymentcontrollerservicebyid) | **GET** /v1/payment/stripe-plan/{id} | |
|
|
19
19
|
|[**paymentControllerSetupBookingPayment**](#paymentcontrollersetupbookingpayment) | **POST** /v1/payment/booking | |
|
|
20
20
|
|[**paymentControllerSetupDashboardBookingPayment**](#paymentcontrollersetupdashboardbookingpayment) | **POST** /v1/payment/booking/rsvp | |
|
|
21
|
+
|[**paymentControllerSetupRSVPV2Payment**](#paymentcontrollersetuprsvpv2payment) | **POST** /v1/payment/rsvp-v2 | |
|
|
21
22
|
|[**paymentControllerStripeWebhook**](#paymentcontrollerstripewebhook) | **POST** /v1/payment/stripe-webhook | |
|
|
22
23
|
|
|
23
24
|
# **paymentControllerConnectAccount**
|
|
@@ -78,11 +79,21 @@ import {
|
|
|
78
79
|
const configuration = new Configuration();
|
|
79
80
|
const apiInstance = new PlansApi(configuration);
|
|
80
81
|
|
|
81
|
-
|
|
82
|
+
let returnUrl: string; // (default to undefined)
|
|
83
|
+
let refreshUrl: string; // (default to undefined)
|
|
84
|
+
|
|
85
|
+
const { status, data } = await apiInstance.paymentControllerCreateAccountVerificationLink(
|
|
86
|
+
returnUrl,
|
|
87
|
+
refreshUrl
|
|
88
|
+
);
|
|
82
89
|
```
|
|
83
90
|
|
|
84
91
|
### Parameters
|
|
85
|
-
|
|
92
|
+
|
|
93
|
+
|Name | Type | Description | Notes|
|
|
94
|
+
|------------- | ------------- | ------------- | -------------|
|
|
95
|
+
| **returnUrl** | [**string**] | | defaults to undefined|
|
|
96
|
+
| **refreshUrl** | [**string**] | | defaults to undefined|
|
|
86
97
|
|
|
87
98
|
|
|
88
99
|
### Return type
|
|
@@ -678,6 +689,49 @@ No authorization required
|
|
|
678
689
|
- **Accept**: application/json
|
|
679
690
|
|
|
680
691
|
|
|
692
|
+
### HTTP response details
|
|
693
|
+
| Status code | Description | Response headers |
|
|
694
|
+
|-------------|-------------|------------------|
|
|
695
|
+
|**200** | | - |
|
|
696
|
+
|
|
697
|
+
[[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)
|
|
698
|
+
|
|
699
|
+
# **paymentControllerSetupRSVPV2Payment**
|
|
700
|
+
> BookingPaymentCreateResponseDTO paymentControllerSetupRSVPV2Payment()
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
### Example
|
|
704
|
+
|
|
705
|
+
```typescript
|
|
706
|
+
import {
|
|
707
|
+
PlansApi,
|
|
708
|
+
Configuration
|
|
709
|
+
} from './api';
|
|
710
|
+
|
|
711
|
+
const configuration = new Configuration();
|
|
712
|
+
const apiInstance = new PlansApi(configuration);
|
|
713
|
+
|
|
714
|
+
const { status, data } = await apiInstance.paymentControllerSetupRSVPV2Payment();
|
|
715
|
+
```
|
|
716
|
+
|
|
717
|
+
### Parameters
|
|
718
|
+
This endpoint does not have any parameters.
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
### Return type
|
|
722
|
+
|
|
723
|
+
**BookingPaymentCreateResponseDTO**
|
|
724
|
+
|
|
725
|
+
### Authorization
|
|
726
|
+
|
|
727
|
+
[bearer](../README.md#bearer)
|
|
728
|
+
|
|
729
|
+
### HTTP request headers
|
|
730
|
+
|
|
731
|
+
- **Content-Type**: Not defined
|
|
732
|
+
- **Accept**: application/json
|
|
733
|
+
|
|
734
|
+
|
|
681
735
|
### HTTP response details
|
|
682
736
|
| Status code | Description | Response headers |
|
|
683
737
|
|-------------|-------------|------------------|
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
9
|
**message** | **string** | Discount ID | [default to undefined]
|
|
10
|
+
**data** | **string** | Discount | [default to undefined]
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,6 +17,7 @@ import { PromoCodeResponseDTO } from './api';
|
|
|
16
17
|
const instance: PromoCodeResponseDTO = {
|
|
17
18
|
statusCode,
|
|
18
19
|
message,
|
|
20
|
+
data,
|
|
19
21
|
};
|
|
20
22
|
```
|
|
21
23
|
|
|
@@ -37,6 +37,10 @@ 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]
|
|
41
|
+
**calendars** | **Array<string>** | | [optional] [default to undefined]
|
|
42
|
+
**theme** | **string** | | [optional] [default to undefined]
|
|
43
|
+
**hideGuestCount** | **boolean** | | [optional] [default to undefined]
|
|
40
44
|
|
|
41
45
|
## Example
|
|
42
46
|
|
|
@@ -76,6 +80,10 @@ const instance: RSVPEvenPayloadDTO = {
|
|
|
76
80
|
discounts,
|
|
77
81
|
meta,
|
|
78
82
|
stripeProduct,
|
|
83
|
+
collaboratorUsers,
|
|
84
|
+
calendars,
|
|
85
|
+
theme,
|
|
86
|
+
hideGuestCount,
|
|
79
87
|
};
|
|
80
88
|
```
|
|
81
89
|
|
package/docs/RSVPEventEntity.md
CHANGED
|
@@ -40,6 +40,9 @@ 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]
|
|
44
|
+
**theme** | **string** | | [optional] [default to undefined]
|
|
45
|
+
**hideGuestCount** | **boolean** | | [optional] [default to undefined]
|
|
43
46
|
|
|
44
47
|
## Example
|
|
45
48
|
|
|
@@ -82,6 +85,9 @@ const instance: RSVPEventEntity = {
|
|
|
82
85
|
discounts,
|
|
83
86
|
reminder,
|
|
84
87
|
calendar,
|
|
88
|
+
collaborators,
|
|
89
|
+
theme,
|
|
90
|
+
hideGuestCount,
|
|
85
91
|
};
|
|
86
92
|
```
|
|
87
93
|
|
package/docs/RSVPEventFindDTO.md
CHANGED
|
@@ -10,7 +10,9 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**search** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**venue** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**type** | **Array<string>** | | [optional] [default to undefined]
|
|
13
|
-
**
|
|
13
|
+
**lat** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**lng** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**distance** | **number** | | [optional] [default to undefined]
|
|
14
16
|
|
|
15
17
|
## Example
|
|
16
18
|
|
|
@@ -23,7 +25,9 @@ const instance: RSVPEventFindDTO = {
|
|
|
23
25
|
search,
|
|
24
26
|
venue,
|
|
25
27
|
type,
|
|
26
|
-
|
|
28
|
+
lat,
|
|
29
|
+
lng,
|
|
30
|
+
distance,
|
|
27
31
|
};
|
|
28
32
|
```
|
|
29
33
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# RSVPEventFindV2DTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**page** | **number** | | [default to undefined]
|
|
9
|
+
**pageSize** | **number** | | [default to undefined]
|
|
10
|
+
**search** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**venue** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**lat** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**lng** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**distance** | **number** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { RSVPEventFindV2DTO } from './api';
|
|
20
|
+
|
|
21
|
+
const instance: RSVPEventFindV2DTO = {
|
|
22
|
+
page,
|
|
23
|
+
pageSize,
|
|
24
|
+
search,
|
|
25
|
+
venue,
|
|
26
|
+
lat,
|
|
27
|
+
lng,
|
|
28
|
+
distance,
|
|
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)
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**type** | **string** | | [default to undefined]
|
|
9
|
-
**coordinates** | **Array<number>** | | [default to undefined]
|
|
8
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**coordinates** | **Array<number>** | | [optional] [default to undefined]
|
|
10
10
|
**distance** | **string** | Optional distance from a reference point. | [optional] [default to undefined]
|
|
11
11
|
**meta** | [**RSVPEventMetaDTO**](RSVPEventMetaDTO.md) | Meta information about the location. | [optional] [default to undefined]
|
|
12
12
|
|
package/docs/RSVPEventMetaDTO.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**formattedAddress** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**shortFormattedAddress** | **string** | | [default to undefined]
|
|
9
|
+
**shortFormattedAddress** | **string** | | [optional] [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**firstName** | **string** | | [default to undefined]
|
|
10
10
|
**lastName** | **string** | | [default to undefined]
|
|
11
11
|
**mobileNumber** | **string** | | [default to undefined]
|
|
12
|
+
**code** | **string** | | [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -20,6 +21,7 @@ const instance: RSVPEventMetaDataDTO = {
|
|
|
20
21
|
firstName,
|
|
21
22
|
lastName,
|
|
22
23
|
mobileNumber,
|
|
24
|
+
code,
|
|
23
25
|
};
|
|
24
26
|
```
|
|
25
27
|
|