@gooday_corp/gooday-api-client 4.5.45 → 4.5.47
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/api.ts +66 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/PaymentDetailsPayload.md +2 -2
- package/docs/RSVPEventApi.md +51 -0
- package/docs/RSVPEventEntity.md +4 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4006,6 +4006,8 @@ export interface RSVPEventEntity {
|
|
|
4006
4006
|
'stripeProduct'?: string;
|
|
4007
4007
|
'emailTemplate'?: string;
|
|
4008
4008
|
'discounts'?: Array<object>;
|
|
4009
|
+
'reminder'?: boolean;
|
|
4010
|
+
'calendar'?: boolean;
|
|
4009
4011
|
}
|
|
4010
4012
|
|
|
4011
4013
|
export const RSVPEventEntityRepeatEnum = {
|
|
@@ -18541,6 +18543,39 @@ export class PrepaidServiceApi extends BaseAPI {
|
|
|
18541
18543
|
*/
|
|
18542
18544
|
export const RSVPEventApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
18543
18545
|
return {
|
|
18546
|
+
/**
|
|
18547
|
+
*
|
|
18548
|
+
* @param {string} id
|
|
18549
|
+
* @param {*} [options] Override http request option.
|
|
18550
|
+
* @throws {RequiredError}
|
|
18551
|
+
*/
|
|
18552
|
+
rSVPControllerAddEventCalendar: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18553
|
+
// verify required parameter 'id' is not null or undefined
|
|
18554
|
+
assertParamExists('rSVPControllerAddEventCalendar', 'id', id)
|
|
18555
|
+
const localVarPath = `/v1/rsvp/calendar/{id}`
|
|
18556
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18557
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18558
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18559
|
+
let baseOptions;
|
|
18560
|
+
if (configuration) {
|
|
18561
|
+
baseOptions = configuration.baseOptions;
|
|
18562
|
+
}
|
|
18563
|
+
|
|
18564
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
18565
|
+
const localVarHeaderParameter = {} as any;
|
|
18566
|
+
const localVarQueryParameter = {} as any;
|
|
18567
|
+
|
|
18568
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
18569
|
+
|
|
18570
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18571
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18572
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18573
|
+
|
|
18574
|
+
return {
|
|
18575
|
+
url: toPathString(localVarUrlObj),
|
|
18576
|
+
options: localVarRequestOptions,
|
|
18577
|
+
};
|
|
18578
|
+
},
|
|
18544
18579
|
/**
|
|
18545
18580
|
*
|
|
18546
18581
|
* @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
|
|
@@ -18950,6 +18985,18 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18950
18985
|
export const RSVPEventApiFp = function(configuration?: Configuration) {
|
|
18951
18986
|
const localVarAxiosParamCreator = RSVPEventApiAxiosParamCreator(configuration)
|
|
18952
18987
|
return {
|
|
18988
|
+
/**
|
|
18989
|
+
*
|
|
18990
|
+
* @param {string} id
|
|
18991
|
+
* @param {*} [options] Override http request option.
|
|
18992
|
+
* @throws {RequiredError}
|
|
18993
|
+
*/
|
|
18994
|
+
async rSVPControllerAddEventCalendar(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventFavoriteResponsedDTO>> {
|
|
18995
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerAddEventCalendar(id, options);
|
|
18996
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18997
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerAddEventCalendar']?.[localVarOperationServerIndex]?.url;
|
|
18998
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18999
|
+
},
|
|
18953
19000
|
/**
|
|
18954
19001
|
*
|
|
18955
19002
|
* @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
|
|
@@ -19092,6 +19139,15 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
|
|
|
19092
19139
|
export const RSVPEventApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
19093
19140
|
const localVarFp = RSVPEventApiFp(configuration)
|
|
19094
19141
|
return {
|
|
19142
|
+
/**
|
|
19143
|
+
*
|
|
19144
|
+
* @param {string} id
|
|
19145
|
+
* @param {*} [options] Override http request option.
|
|
19146
|
+
* @throws {RequiredError}
|
|
19147
|
+
*/
|
|
19148
|
+
rSVPControllerAddEventCalendar(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventFavoriteResponsedDTO> {
|
|
19149
|
+
return localVarFp.rSVPControllerAddEventCalendar(id, options).then((request) => request(axios, basePath));
|
|
19150
|
+
},
|
|
19095
19151
|
/**
|
|
19096
19152
|
*
|
|
19097
19153
|
* @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
|
|
@@ -19199,6 +19255,16 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
|
|
|
19199
19255
|
* RSVPEventApi - object-oriented interface
|
|
19200
19256
|
*/
|
|
19201
19257
|
export class RSVPEventApi extends BaseAPI {
|
|
19258
|
+
/**
|
|
19259
|
+
*
|
|
19260
|
+
* @param {string} id
|
|
19261
|
+
* @param {*} [options] Override http request option.
|
|
19262
|
+
* @throws {RequiredError}
|
|
19263
|
+
*/
|
|
19264
|
+
public rSVPControllerAddEventCalendar(id: string, options?: RawAxiosRequestConfig) {
|
|
19265
|
+
return RSVPEventApiFp(this.configuration).rSVPControllerAddEventCalendar(id, options).then((request) => request(this.axios, this.basePath));
|
|
19266
|
+
}
|
|
19267
|
+
|
|
19202
19268
|
/**
|
|
19203
19269
|
*
|
|
19204
19270
|
* @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
|
|
@@ -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-01-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-01-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2026-01-16T11:34:10Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-01-16T11:34:10Z]
|
|
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]
|
|
@@ -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-01-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-01-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-01-16T11:34:10Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-01-16T11:34:10Z]
|
|
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-01-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-01-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-01-16T11:34:10Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-01-16T11:34:10Z]
|
|
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-01-
|
|
12
|
-
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-01-
|
|
11
|
+
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-01-16T11:34:08Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-01-16T11:34:08Z]
|
|
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/RSVPEventApi.md
CHANGED
|
@@ -4,6 +4,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
|[**rSVPControllerAddEventCalendar**](#rsvpcontrolleraddeventcalendar) | **PUT** /v1/rsvp/calendar/{id} | |
|
|
7
8
|
|[**rSVPControllerAddRSVPEvent**](#rsvpcontrolleraddrsvpevent) | **POST** /v1/rsvp | |
|
|
8
9
|
|[**rSVPControllerDeleteRSVPEvent**](#rsvpcontrollerdeletersvpevent) | **DELETE** /v1/rsvp | |
|
|
9
10
|
|[**rSVPControllerDeleteRSVPFavorites**](#rsvpcontrollerdeletersvpfavorites) | **DELETE** /v1/rsvp/event/unfavorite | |
|
|
@@ -16,6 +17,56 @@ All URIs are relative to *http://localhost:8080*
|
|
|
16
17
|
|[**rSVPControllerRsvpFavorites**](#rsvpcontrollerrsvpfavorites) | **POST** /v1/rsvp/event/favorite | |
|
|
17
18
|
|[**rSVPControllerUpdateRSVPEvent**](#rsvpcontrollerupdatersvpevent) | **PUT** /v1/rsvp/{id} | |
|
|
18
19
|
|
|
20
|
+
# **rSVPControllerAddEventCalendar**
|
|
21
|
+
> RSVPEventFavoriteResponsedDTO rSVPControllerAddEventCalendar()
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import {
|
|
28
|
+
RSVPEventApi,
|
|
29
|
+
Configuration
|
|
30
|
+
} from './api';
|
|
31
|
+
|
|
32
|
+
const configuration = new Configuration();
|
|
33
|
+
const apiInstance = new RSVPEventApi(configuration);
|
|
34
|
+
|
|
35
|
+
let id: string; // (default to undefined)
|
|
36
|
+
|
|
37
|
+
const { status, data } = await apiInstance.rSVPControllerAddEventCalendar(
|
|
38
|
+
id
|
|
39
|
+
);
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Parameters
|
|
43
|
+
|
|
44
|
+
|Name | Type | Description | Notes|
|
|
45
|
+
|------------- | ------------- | ------------- | -------------|
|
|
46
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Return type
|
|
50
|
+
|
|
51
|
+
**RSVPEventFavoriteResponsedDTO**
|
|
52
|
+
|
|
53
|
+
### Authorization
|
|
54
|
+
|
|
55
|
+
No authorization required
|
|
56
|
+
|
|
57
|
+
### HTTP request headers
|
|
58
|
+
|
|
59
|
+
- **Content-Type**: Not defined
|
|
60
|
+
- **Accept**: application/json
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### HTTP response details
|
|
64
|
+
| Status code | Description | Response headers |
|
|
65
|
+
|-------------|-------------|------------------|
|
|
66
|
+
|**200** | | - |
|
|
67
|
+
|
|
68
|
+
[[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)
|
|
69
|
+
|
|
19
70
|
# **rSVPControllerAddRSVPEvent**
|
|
20
71
|
> RSVPEventDTO rSVPControllerAddRSVPEvent(rSVPEvenPayloadDTO)
|
|
21
72
|
|
package/docs/RSVPEventEntity.md
CHANGED
|
@@ -38,6 +38,8 @@ Name | Type | Description | Notes
|
|
|
38
38
|
**stripeProduct** | **string** | | [optional] [default to undefined]
|
|
39
39
|
**emailTemplate** | **string** | | [optional] [default to undefined]
|
|
40
40
|
**discounts** | **Array<object>** | | [optional] [default to undefined]
|
|
41
|
+
**reminder** | **boolean** | | [optional] [default to undefined]
|
|
42
|
+
**calendar** | **boolean** | | [optional] [default to undefined]
|
|
41
43
|
|
|
42
44
|
## Example
|
|
43
45
|
|
|
@@ -78,6 +80,8 @@ const instance: RSVPEventEntity = {
|
|
|
78
80
|
stripeProduct,
|
|
79
81
|
emailTemplate,
|
|
80
82
|
discounts,
|
|
83
|
+
reminder,
|
|
84
|
+
calendar,
|
|
81
85
|
};
|
|
82
86
|
```
|
|
83
87
|
|
|
@@ -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-01-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2026-01-16T11:34:10Z]
|
|
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-01-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2026-01-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2026-01-16T11:34:10Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2026-01-16T12:34:10Z]
|
|
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]
|