@gooday_corp/gooday-api-client 4.5.7 → 4.5.16
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 +7 -5
- package/docs/BookingApi.md +4 -4
- 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/RSVPEventFindDTO.md +1 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4018,11 +4018,13 @@ export interface RSVPEventFindDTO {
|
|
|
4018
4018
|
'pageSize': number;
|
|
4019
4019
|
'search'?: string;
|
|
4020
4020
|
'venue'?: string;
|
|
4021
|
-
'type'?: RSVPEventFindDTOTypeEnum
|
|
4021
|
+
'type'?: Array<RSVPEventFindDTOTypeEnum>;
|
|
4022
4022
|
'location'?: RSVPEventLocationDTO;
|
|
4023
4023
|
}
|
|
4024
4024
|
|
|
4025
4025
|
export const RSVPEventFindDTOTypeEnum = {
|
|
4026
|
+
Public: 'PUBLIC',
|
|
4027
|
+
Private: 'PRIVATE'
|
|
4026
4028
|
} as const;
|
|
4027
4029
|
|
|
4028
4030
|
export type RSVPEventFindDTOTypeEnum = typeof RSVPEventFindDTOTypeEnum[keyof typeof RSVPEventFindDTOTypeEnum];
|
|
@@ -8263,7 +8265,7 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
8263
8265
|
* @param {*} [options] Override http request option.
|
|
8264
8266
|
* @throws {RequiredError}
|
|
8265
8267
|
*/
|
|
8266
|
-
async bookingControllerFindRSVPBookingDetails(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
8268
|
+
async bookingControllerFindRSVPBookingDetails(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponseDTO>> {
|
|
8267
8269
|
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerFindRSVPBookingDetails(id, options);
|
|
8268
8270
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8269
8271
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerFindRSVPBookingDetails']?.[localVarOperationServerIndex]?.url;
|
|
@@ -8434,7 +8436,7 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
8434
8436
|
* @param {*} [options] Override http request option.
|
|
8435
8437
|
* @throws {RequiredError}
|
|
8436
8438
|
*/
|
|
8437
|
-
async bookingControllerUpdateRSVPEventBooking(id: string, createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
8439
|
+
async bookingControllerUpdateRSVPEventBooking(id: string, createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponseDTO>> {
|
|
8438
8440
|
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerUpdateRSVPEventBooking(id, createRSVPEventBookingPayload, options);
|
|
8439
8441
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8440
8442
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerUpdateRSVPEventBooking']?.[localVarOperationServerIndex]?.url;
|
|
@@ -8527,7 +8529,7 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
8527
8529
|
* @param {*} [options] Override http request option.
|
|
8528
8530
|
* @throws {RequiredError}
|
|
8529
8531
|
*/
|
|
8530
|
-
bookingControllerFindRSVPBookingDetails(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
8532
|
+
bookingControllerFindRSVPBookingDetails(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
|
|
8531
8533
|
return localVarFp.bookingControllerFindRSVPBookingDetails(id, options).then((request) => request(axios, basePath));
|
|
8532
8534
|
},
|
|
8533
8535
|
/**
|
|
@@ -8656,7 +8658,7 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
8656
8658
|
* @param {*} [options] Override http request option.
|
|
8657
8659
|
* @throws {RequiredError}
|
|
8658
8660
|
*/
|
|
8659
|
-
bookingControllerUpdateRSVPEventBooking(id: string, createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
8661
|
+
bookingControllerUpdateRSVPEventBooking(id: string, createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
|
|
8660
8662
|
return localVarFp.bookingControllerUpdateRSVPEventBooking(id, createRSVPEventBookingPayload, options).then((request) => request(axios, basePath));
|
|
8661
8663
|
},
|
|
8662
8664
|
};
|
package/docs/BookingApi.md
CHANGED
|
@@ -436,7 +436,7 @@ const { status, data } = await apiInstance.bookingControllerCreateWalkInBooking(
|
|
|
436
436
|
[[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)
|
|
437
437
|
|
|
438
438
|
# **bookingControllerFindRSVPBookingDetails**
|
|
439
|
-
>
|
|
439
|
+
> BookingResponseDTO bookingControllerFindRSVPBookingDetails()
|
|
440
440
|
|
|
441
441
|
|
|
442
442
|
### Example
|
|
@@ -466,7 +466,7 @@ const { status, data } = await apiInstance.bookingControllerFindRSVPBookingDetai
|
|
|
466
466
|
|
|
467
467
|
### Return type
|
|
468
468
|
|
|
469
|
-
**
|
|
469
|
+
**BookingResponseDTO**
|
|
470
470
|
|
|
471
471
|
### Authorization
|
|
472
472
|
|
|
@@ -1153,7 +1153,7 @@ const { status, data } = await apiInstance.bookingControllerUpdateBooking(
|
|
|
1153
1153
|
[[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)
|
|
1154
1154
|
|
|
1155
1155
|
# **bookingControllerUpdateRSVPEventBooking**
|
|
1156
|
-
>
|
|
1156
|
+
> BookingResponseDTO bookingControllerUpdateRSVPEventBooking(createRSVPEventBookingPayload)
|
|
1157
1157
|
|
|
1158
1158
|
|
|
1159
1159
|
### Example
|
|
@@ -1187,7 +1187,7 @@ const { status, data } = await apiInstance.bookingControllerUpdateRSVPEventBooki
|
|
|
1187
1187
|
|
|
1188
1188
|
### Return type
|
|
1189
1189
|
|
|
1190
|
-
**
|
|
1190
|
+
**BookingResponseDTO**
|
|
1191
1191
|
|
|
1192
1192
|
### Authorization
|
|
1193
1193
|
|
|
@@ -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 2025-12-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-12-16T13:08:25Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-16T13:08:25Z]
|
|
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 2025-12-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2025-12-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2025-12-16T13:08:25Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-12-16T13:08:25Z]
|
|
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 2025-12-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2025-12-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2025-12-16T13:08:25Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-12-16T13:08:25Z]
|
|
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 2025-12-
|
|
12
|
-
**endDate** | **string** | The end date of the booking | [optional] [default to 2025-12-
|
|
11
|
+
**startDate** | **string** | The start date of the booking | [optional] [default to 2025-12-16T13:08:23Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2025-12-16T13:08:23Z]
|
|
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/RSVPEventFindDTO.md
CHANGED
|
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**pageSize** | **number** | | [default to undefined]
|
|
10
10
|
**search** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**venue** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**type** | **
|
|
12
|
+
**type** | **Array<string>** | | [optional] [default to undefined]
|
|
13
13
|
**location** | [**RSVPEventLocationDTO**](RSVPEventLocationDTO.md) | | [optional] [default to undefined]
|
|
14
14
|
|
|
15
15
|
## Example
|
|
@@ -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-16T13:08:25Z]
|
|
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 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-16T13:08:25Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-12-16T14:08:25Z]
|
|
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]
|