@gooday_corp/gooday-api-client 4.4.38 → 4.5.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 +4 -1
- package/api.ts +668 -58
- package/docs/BookingApi.md +209 -0
- package/docs/BookingEntity.md +8 -0
- package/docs/BookingPaymentPayloadDTO.md +2 -0
- package/docs/{Discount.md → BookingRSVPResponse.md} +7 -9
- package/docs/BookingRSVPResponseDTO.md +22 -0
- package/docs/BookingResponse.md +8 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPEventBookingPayload.md +58 -0
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/PaymentDetailsPayload.md +3 -1
- package/docs/PlansApi.md +156 -0
- package/docs/RSVPEvenPayloadDTO.md +3 -1
- package/docs/RSVPEventApi.md +60 -16
- package/docs/RSVPEventEntity.md +3 -1
- package/docs/RSVPEventFindDTO.md +28 -0
- package/docs/RSVPEventLocationDTO.md +1 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/TagsApi.md +2 -2
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnPayloadDTO.md +1 -1
- package/package.json +1 -1
|
@@ -32,8 +32,9 @@ Name | Type | Description | Notes
|
|
|
32
32
|
**externalTicketing** | **string** | | [optional] [default to undefined]
|
|
33
33
|
**otherLink** | **string** | | [optional] [default to undefined]
|
|
34
34
|
**location** | [**RSVPEventLocationDTO**](RSVPEventLocationDTO.md) | | [optional] [default to undefined]
|
|
35
|
-
**discounts** |
|
|
35
|
+
**discounts** | **Array<object>** | | [optional] [default to undefined]
|
|
36
36
|
**meta** | [**RSVPEventMetaDataDTO**](RSVPEventMetaDataDTO.md) | Meta information about the location. | [optional] [default to undefined]
|
|
37
|
+
**stripeProduct** | **string** | | [optional] [default to undefined]
|
|
37
38
|
|
|
38
39
|
## Example
|
|
39
40
|
|
|
@@ -70,6 +71,7 @@ const instance: RSVPEvenPayloadDTO = {
|
|
|
70
71
|
location,
|
|
71
72
|
discounts,
|
|
72
73
|
meta,
|
|
74
|
+
stripeProduct,
|
|
73
75
|
};
|
|
74
76
|
```
|
|
75
77
|
|
package/docs/RSVPEventApi.md
CHANGED
|
@@ -7,7 +7,8 @@ All URIs are relative to *http://localhost:8080*
|
|
|
7
7
|
|[**rSVPControllerAddRSVPEvent**](#rsvpcontrolleraddrsvpevent) | **POST** /v1/rsvp | |
|
|
8
8
|
|[**rSVPControllerDeleteRSVPEvent**](#rsvpcontrollerdeletersvpevent) | **DELETE** /v1/rsvp | |
|
|
9
9
|
|[**rSVPControllerRsvpEventById**](#rsvpcontrollerrsvpeventbyid) | **GET** /v1/rsvp/{id} | |
|
|
10
|
-
|[**rSVPControllerRsvpEvents**](#rsvpcontrollerrsvpevents) | **
|
|
10
|
+
|[**rSVPControllerRsvpEvents**](#rsvpcontrollerrsvpevents) | **POST** /v1/rsvp/rsvp/event | |
|
|
11
|
+
|[**rSVPControllerRsvpEventsDashboard**](#rsvpcontrollerrsvpeventsdashboard) | **POST** /v1/rsvp/dashboard/events | |
|
|
11
12
|
|[**rSVPControllerUpdateRSVPEvent**](#rsvpcontrollerupdatersvpevent) | **PUT** /v1/rsvp/{id} | |
|
|
12
13
|
|
|
13
14
|
# **rSVPControllerAddRSVPEvent**
|
|
@@ -163,7 +164,7 @@ No authorization required
|
|
|
163
164
|
[[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)
|
|
164
165
|
|
|
165
166
|
# **rSVPControllerRsvpEvents**
|
|
166
|
-
> RSVPEventResponseDTO rSVPControllerRsvpEvents()
|
|
167
|
+
> RSVPEventResponseDTO rSVPControllerRsvpEvents(rSVPEventFindDTO)
|
|
167
168
|
|
|
168
169
|
|
|
169
170
|
### Example
|
|
@@ -171,22 +172,17 @@ No authorization required
|
|
|
171
172
|
```typescript
|
|
172
173
|
import {
|
|
173
174
|
RSVPEventApi,
|
|
174
|
-
Configuration
|
|
175
|
+
Configuration,
|
|
176
|
+
RSVPEventFindDTO
|
|
175
177
|
} from './api';
|
|
176
178
|
|
|
177
179
|
const configuration = new Configuration();
|
|
178
180
|
const apiInstance = new RSVPEventApi(configuration);
|
|
179
181
|
|
|
180
|
-
let
|
|
181
|
-
let pageSize: number; // (default to undefined)
|
|
182
|
-
let search: string; // (optional) (default to undefined)
|
|
183
|
-
let venue: string; // (optional) (default to undefined)
|
|
182
|
+
let rSVPEventFindDTO: RSVPEventFindDTO; //
|
|
184
183
|
|
|
185
184
|
const { status, data } = await apiInstance.rSVPControllerRsvpEvents(
|
|
186
|
-
|
|
187
|
-
pageSize,
|
|
188
|
-
search,
|
|
189
|
-
venue
|
|
185
|
+
rSVPEventFindDTO
|
|
190
186
|
);
|
|
191
187
|
```
|
|
192
188
|
|
|
@@ -194,10 +190,7 @@ const { status, data } = await apiInstance.rSVPControllerRsvpEvents(
|
|
|
194
190
|
|
|
195
191
|
|Name | Type | Description | Notes|
|
|
196
192
|
|------------- | ------------- | ------------- | -------------|
|
|
197
|
-
| **
|
|
198
|
-
| **pageSize** | [**number**] | | defaults to undefined|
|
|
199
|
-
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
200
|
-
| **venue** | [**string**] | | (optional) defaults to undefined|
|
|
193
|
+
| **rSVPEventFindDTO** | **RSVPEventFindDTO**| | |
|
|
201
194
|
|
|
202
195
|
|
|
203
196
|
### Return type
|
|
@@ -210,7 +203,58 @@ const { status, data } = await apiInstance.rSVPControllerRsvpEvents(
|
|
|
210
203
|
|
|
211
204
|
### HTTP request headers
|
|
212
205
|
|
|
213
|
-
- **Content-Type**:
|
|
206
|
+
- **Content-Type**: application/json
|
|
207
|
+
- **Accept**: application/json
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
### HTTP response details
|
|
211
|
+
| Status code | Description | Response headers |
|
|
212
|
+
|-------------|-------------|------------------|
|
|
213
|
+
|**200** | | - |
|
|
214
|
+
|
|
215
|
+
[[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)
|
|
216
|
+
|
|
217
|
+
# **rSVPControllerRsvpEventsDashboard**
|
|
218
|
+
> RSVPEventResponseDTO rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO)
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
### Example
|
|
222
|
+
|
|
223
|
+
```typescript
|
|
224
|
+
import {
|
|
225
|
+
RSVPEventApi,
|
|
226
|
+
Configuration,
|
|
227
|
+
RSVPEventFindDTO
|
|
228
|
+
} from './api';
|
|
229
|
+
|
|
230
|
+
const configuration = new Configuration();
|
|
231
|
+
const apiInstance = new RSVPEventApi(configuration);
|
|
232
|
+
|
|
233
|
+
let rSVPEventFindDTO: RSVPEventFindDTO; //
|
|
234
|
+
|
|
235
|
+
const { status, data } = await apiInstance.rSVPControllerRsvpEventsDashboard(
|
|
236
|
+
rSVPEventFindDTO
|
|
237
|
+
);
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
### Parameters
|
|
241
|
+
|
|
242
|
+
|Name | Type | Description | Notes|
|
|
243
|
+
|------------- | ------------- | ------------- | -------------|
|
|
244
|
+
| **rSVPEventFindDTO** | **RSVPEventFindDTO**| | |
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
### Return type
|
|
248
|
+
|
|
249
|
+
**RSVPEventResponseDTO**
|
|
250
|
+
|
|
251
|
+
### Authorization
|
|
252
|
+
|
|
253
|
+
No authorization required
|
|
254
|
+
|
|
255
|
+
### HTTP request headers
|
|
256
|
+
|
|
257
|
+
- **Content-Type**: application/json
|
|
214
258
|
- **Accept**: application/json
|
|
215
259
|
|
|
216
260
|
|
package/docs/RSVPEventEntity.md
CHANGED
|
@@ -35,7 +35,8 @@ Name | Type | Description | Notes
|
|
|
35
35
|
**otherLink** | **string** | | [optional] [default to undefined]
|
|
36
36
|
**location** | [**RSVPEventLocationDTO**](RSVPEventLocationDTO.md) | | [optional] [default to undefined]
|
|
37
37
|
**meta** | [**RSVPEventMetaDataDTO**](RSVPEventMetaDataDTO.md) | Meta information about the location. | [optional] [default to undefined]
|
|
38
|
-
**
|
|
38
|
+
**stripeProduct** | **string** | | [optional] [default to undefined]
|
|
39
|
+
**discounts** | **Array<object>** | | [optional] [default to undefined]
|
|
39
40
|
|
|
40
41
|
## Example
|
|
41
42
|
|
|
@@ -73,6 +74,7 @@ const instance: RSVPEventEntity = {
|
|
|
73
74
|
otherLink,
|
|
74
75
|
location,
|
|
75
76
|
meta,
|
|
77
|
+
stripeProduct,
|
|
76
78
|
discounts,
|
|
77
79
|
};
|
|
78
80
|
```
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# RSVPEventFindDTO
|
|
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
|
+
**location** | [**RSVPEventLocationDTO**](RSVPEventLocationDTO.md) | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { RSVPEventFindDTO } from './api';
|
|
18
|
+
|
|
19
|
+
const instance: RSVPEventFindDTO = {
|
|
20
|
+
page,
|
|
21
|
+
pageSize,
|
|
22
|
+
search,
|
|
23
|
+
venue,
|
|
24
|
+
location,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**type** | **string** | | [default to undefined]
|
|
9
9
|
**coordinates** | **Array<number>** | | [default to undefined]
|
|
10
10
|
**distance** | **string** | Optional distance from a reference point. | [optional] [default to undefined]
|
|
11
|
-
**meta** | [**RSVPEventMetaDTO**](RSVPEventMetaDTO.md) | Meta information about the location. | [default to undefined]
|
|
11
|
+
**meta** | [**RSVPEventMetaDTO**](RSVPEventMetaDTO.md) | Meta information about the location. | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -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-12-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-12-12T19:08:18+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]
|
package/docs/TagsApi.md
CHANGED
|
@@ -172,7 +172,7 @@ const { status, data } = await apiInstance.tagsControllerFindTags(
|
|
|
172
172
|
[[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)
|
|
173
173
|
|
|
174
174
|
# **tagsControllerGetTags**
|
|
175
|
-
>
|
|
175
|
+
> TagsResponseDTO tagsControllerGetTags()
|
|
176
176
|
|
|
177
177
|
|
|
178
178
|
### Example
|
|
@@ -211,7 +211,7 @@ const { status, data } = await apiInstance.tagsControllerGetTags(
|
|
|
211
211
|
|
|
212
212
|
### Return type
|
|
213
213
|
|
|
214
|
-
**
|
|
214
|
+
**TagsResponseDTO**
|
|
215
215
|
|
|
216
216
|
### Authorization
|
|
217
217
|
|
|
@@ -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-12-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-12-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-12-12T19:08:18+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-12-12T20:08:18+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]
|
|
@@ -29,7 +29,7 @@ Name | Type | Description | Notes
|
|
|
29
29
|
**cancellationFees** | **number** | | [default to undefined]
|
|
30
30
|
**cancellationHours** | **string** | | [default to undefined]
|
|
31
31
|
**location** | [**WhatsOnLocationDTO**](WhatsOnLocationDTO.md) | | [optional] [default to undefined]
|
|
32
|
-
**discounts** |
|
|
32
|
+
**discounts** | **Array<object>** | | [optional] [default to undefined]
|
|
33
33
|
|
|
34
34
|
## Example
|
|
35
35
|
|