@gooday_corp/gooday-api-client 4.5.5 → 4.5.9
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 +13 -4
- 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 +2 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4018,8 +4018,17 @@ export interface RSVPEventFindDTO {
|
|
|
4018
4018
|
'pageSize': number;
|
|
4019
4019
|
'search'?: string;
|
|
4020
4020
|
'venue'?: string;
|
|
4021
|
+
'type'?: Array<RSVPEventFindDTOTypeEnum>;
|
|
4021
4022
|
'location'?: RSVPEventLocationDTO;
|
|
4022
4023
|
}
|
|
4024
|
+
|
|
4025
|
+
export const RSVPEventFindDTOTypeEnum = {
|
|
4026
|
+
Public: 'PUBLIC',
|
|
4027
|
+
Private: 'PRIVATE'
|
|
4028
|
+
} as const;
|
|
4029
|
+
|
|
4030
|
+
export type RSVPEventFindDTOTypeEnum = typeof RSVPEventFindDTOTypeEnum[keyof typeof RSVPEventFindDTOTypeEnum];
|
|
4031
|
+
|
|
4023
4032
|
export interface RSVPEventLocationDTO {
|
|
4024
4033
|
'type': RSVPEventLocationDTOTypeEnum;
|
|
4025
4034
|
'coordinates': Array<number>;
|
|
@@ -8256,7 +8265,7 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
8256
8265
|
* @param {*} [options] Override http request option.
|
|
8257
8266
|
* @throws {RequiredError}
|
|
8258
8267
|
*/
|
|
8259
|
-
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>> {
|
|
8260
8269
|
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerFindRSVPBookingDetails(id, options);
|
|
8261
8270
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8262
8271
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerFindRSVPBookingDetails']?.[localVarOperationServerIndex]?.url;
|
|
@@ -8427,7 +8436,7 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
8427
8436
|
* @param {*} [options] Override http request option.
|
|
8428
8437
|
* @throws {RequiredError}
|
|
8429
8438
|
*/
|
|
8430
|
-
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>> {
|
|
8431
8440
|
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerUpdateRSVPEventBooking(id, createRSVPEventBookingPayload, options);
|
|
8432
8441
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8433
8442
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerUpdateRSVPEventBooking']?.[localVarOperationServerIndex]?.url;
|
|
@@ -8520,7 +8529,7 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
8520
8529
|
* @param {*} [options] Override http request option.
|
|
8521
8530
|
* @throws {RequiredError}
|
|
8522
8531
|
*/
|
|
8523
|
-
bookingControllerFindRSVPBookingDetails(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
8532
|
+
bookingControllerFindRSVPBookingDetails(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
|
|
8524
8533
|
return localVarFp.bookingControllerFindRSVPBookingDetails(id, options).then((request) => request(axios, basePath));
|
|
8525
8534
|
},
|
|
8526
8535
|
/**
|
|
@@ -8649,7 +8658,7 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
8649
8658
|
* @param {*} [options] Override http request option.
|
|
8650
8659
|
* @throws {RequiredError}
|
|
8651
8660
|
*/
|
|
8652
|
-
bookingControllerUpdateRSVPEventBooking(id: string, createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
8661
|
+
bookingControllerUpdateRSVPEventBooking(id: string, createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
|
|
8653
8662
|
return localVarFp.bookingControllerUpdateRSVPEventBooking(id, createRSVPEventBookingPayload, options).then((request) => request(axios, basePath));
|
|
8654
8663
|
},
|
|
8655
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-16T15:23:47+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-16T15:23:47+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]
|
|
@@ -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-16T15:23:47+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-12-16T15:23:47+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 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-16T15:23:47+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-12-16T15:23:47+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 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-16T15:23:46+05:30]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2025-12-16T15:23:46+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]
|
package/docs/RSVPEventFindDTO.md
CHANGED
|
@@ -9,6 +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** | **Array<string>** | | [optional] [default to undefined]
|
|
12
13
|
**location** | [**RSVPEventLocationDTO**](RSVPEventLocationDTO.md) | | [optional] [default to undefined]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
@@ -21,6 +22,7 @@ const instance: RSVPEventFindDTO = {
|
|
|
21
22
|
pageSize,
|
|
22
23
|
search,
|
|
23
24
|
venue,
|
|
25
|
+
type,
|
|
24
26
|
location,
|
|
25
27
|
};
|
|
26
28
|
```
|
|
@@ -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-16T15:23:47+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 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-16T15:23:47+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-12-16T16:23:47+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]
|