@gooday_corp/gooday-api-client 4.5.47 → 4.5.48
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 +64 -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/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -18723,6 +18723,39 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18723
18723
|
options: localVarRequestOptions,
|
|
18724
18724
|
};
|
|
18725
18725
|
},
|
|
18726
|
+
/**
|
|
18727
|
+
*
|
|
18728
|
+
* @param {string} id
|
|
18729
|
+
* @param {*} [options] Override http request option.
|
|
18730
|
+
* @throws {RequiredError}
|
|
18731
|
+
*/
|
|
18732
|
+
rSVPControllerReminderEventCalendar: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18733
|
+
// verify required parameter 'id' is not null or undefined
|
|
18734
|
+
assertParamExists('rSVPControllerReminderEventCalendar', 'id', id)
|
|
18735
|
+
const localVarPath = `/v1/rsvp/remindar/{id}`
|
|
18736
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18737
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18738
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18739
|
+
let baseOptions;
|
|
18740
|
+
if (configuration) {
|
|
18741
|
+
baseOptions = configuration.baseOptions;
|
|
18742
|
+
}
|
|
18743
|
+
|
|
18744
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
18745
|
+
const localVarHeaderParameter = {} as any;
|
|
18746
|
+
const localVarQueryParameter = {} as any;
|
|
18747
|
+
|
|
18748
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
18749
|
+
|
|
18750
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18751
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18752
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18753
|
+
|
|
18754
|
+
return {
|
|
18755
|
+
url: toPathString(localVarUrlObj),
|
|
18756
|
+
options: localVarRequestOptions,
|
|
18757
|
+
};
|
|
18758
|
+
},
|
|
18726
18759
|
/**
|
|
18727
18760
|
*
|
|
18728
18761
|
* @param {string} id
|
|
@@ -19045,6 +19078,18 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
|
|
|
19045
19078
|
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerFavoriteRSVPEventById']?.[localVarOperationServerIndex]?.url;
|
|
19046
19079
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19047
19080
|
},
|
|
19081
|
+
/**
|
|
19082
|
+
*
|
|
19083
|
+
* @param {string} id
|
|
19084
|
+
* @param {*} [options] Override http request option.
|
|
19085
|
+
* @throws {RequiredError}
|
|
19086
|
+
*/
|
|
19087
|
+
async rSVPControllerReminderEventCalendar(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventFavoriteResponsedDTO>> {
|
|
19088
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerReminderEventCalendar(id, options);
|
|
19089
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19090
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerReminderEventCalendar']?.[localVarOperationServerIndex]?.url;
|
|
19091
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19092
|
+
},
|
|
19048
19093
|
/**
|
|
19049
19094
|
*
|
|
19050
19095
|
* @param {string} id
|
|
@@ -19184,6 +19229,15 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
|
|
|
19184
19229
|
rSVPControllerFavoriteRSVPEventById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventFavoriteResponsedDTO> {
|
|
19185
19230
|
return localVarFp.rSVPControllerFavoriteRSVPEventById(id, options).then((request) => request(axios, basePath));
|
|
19186
19231
|
},
|
|
19232
|
+
/**
|
|
19233
|
+
*
|
|
19234
|
+
* @param {string} id
|
|
19235
|
+
* @param {*} [options] Override http request option.
|
|
19236
|
+
* @throws {RequiredError}
|
|
19237
|
+
*/
|
|
19238
|
+
rSVPControllerReminderEventCalendar(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventFavoriteResponsedDTO> {
|
|
19239
|
+
return localVarFp.rSVPControllerReminderEventCalendar(id, options).then((request) => request(axios, basePath));
|
|
19240
|
+
},
|
|
19187
19241
|
/**
|
|
19188
19242
|
*
|
|
19189
19243
|
* @param {string} id
|
|
@@ -19305,6 +19359,16 @@ export class RSVPEventApi extends BaseAPI {
|
|
|
19305
19359
|
return RSVPEventApiFp(this.configuration).rSVPControllerFavoriteRSVPEventById(id, options).then((request) => request(this.axios, this.basePath));
|
|
19306
19360
|
}
|
|
19307
19361
|
|
|
19362
|
+
/**
|
|
19363
|
+
*
|
|
19364
|
+
* @param {string} id
|
|
19365
|
+
* @param {*} [options] Override http request option.
|
|
19366
|
+
* @throws {RequiredError}
|
|
19367
|
+
*/
|
|
19368
|
+
public rSVPControllerReminderEventCalendar(id: string, options?: RawAxiosRequestConfig) {
|
|
19369
|
+
return RSVPEventApiFp(this.configuration).rSVPControllerReminderEventCalendar(id, options).then((request) => request(this.axios, this.basePath));
|
|
19370
|
+
}
|
|
19371
|
+
|
|
19308
19372
|
/**
|
|
19309
19373
|
*
|
|
19310
19374
|
* @param {string} id
|
|
@@ -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-16T11:
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-01-16T11:
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2026-01-16T11:46:58Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-01-16T11:46:58Z]
|
|
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-16T11:
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-01-16T11:
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-01-16T11:46:58Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-01-16T11:46:58Z]
|
|
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-16T11:
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-01-16T11:
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-01-16T11:46:58Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-01-16T11:46:58Z]
|
|
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-16T11:
|
|
12
|
-
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-01-16T11:
|
|
11
|
+
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-01-16T11:46:56Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-01-16T11:46:56Z]
|
|
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
|
@@ -9,6 +9,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
9
9
|
|[**rSVPControllerDeleteRSVPEvent**](#rsvpcontrollerdeletersvpevent) | **DELETE** /v1/rsvp | |
|
|
10
10
|
|[**rSVPControllerDeleteRSVPFavorites**](#rsvpcontrollerdeletersvpfavorites) | **DELETE** /v1/rsvp/event/unfavorite | |
|
|
11
11
|
|[**rSVPControllerFavoriteRSVPEventById**](#rsvpcontrollerfavoritersvpeventbyid) | **GET** /v1/rsvp/favoriteId/{id} | |
|
|
12
|
+
|[**rSVPControllerReminderEventCalendar**](#rsvpcontrollerremindereventcalendar) | **PUT** /v1/rsvp/remindar/{id} | |
|
|
12
13
|
|[**rSVPControllerRsvpEventById**](#rsvpcontrollerrsvpeventbyid) | **GET** /v1/rsvp/{id} | |
|
|
13
14
|
|[**rSVPControllerRsvpEvents**](#rsvpcontrollerrsvpevents) | **POST** /v1/rsvp/rsvp/event | |
|
|
14
15
|
|[**rSVPControllerRsvpEventsDashboard**](#rsvpcontrollerrsvpeventsdashboard) | **POST** /v1/rsvp/dashboard/events | |
|
|
@@ -263,6 +264,56 @@ const { status, data } = await apiInstance.rSVPControllerFavoriteRSVPEventById(
|
|
|
263
264
|
- **Accept**: application/json
|
|
264
265
|
|
|
265
266
|
|
|
267
|
+
### HTTP response details
|
|
268
|
+
| Status code | Description | Response headers |
|
|
269
|
+
|-------------|-------------|------------------|
|
|
270
|
+
|**200** | | - |
|
|
271
|
+
|
|
272
|
+
[[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)
|
|
273
|
+
|
|
274
|
+
# **rSVPControllerReminderEventCalendar**
|
|
275
|
+
> RSVPEventFavoriteResponsedDTO rSVPControllerReminderEventCalendar()
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
### Example
|
|
279
|
+
|
|
280
|
+
```typescript
|
|
281
|
+
import {
|
|
282
|
+
RSVPEventApi,
|
|
283
|
+
Configuration
|
|
284
|
+
} from './api';
|
|
285
|
+
|
|
286
|
+
const configuration = new Configuration();
|
|
287
|
+
const apiInstance = new RSVPEventApi(configuration);
|
|
288
|
+
|
|
289
|
+
let id: string; // (default to undefined)
|
|
290
|
+
|
|
291
|
+
const { status, data } = await apiInstance.rSVPControllerReminderEventCalendar(
|
|
292
|
+
id
|
|
293
|
+
);
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
### Parameters
|
|
297
|
+
|
|
298
|
+
|Name | Type | Description | Notes|
|
|
299
|
+
|------------- | ------------- | ------------- | -------------|
|
|
300
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
### Return type
|
|
304
|
+
|
|
305
|
+
**RSVPEventFavoriteResponsedDTO**
|
|
306
|
+
|
|
307
|
+
### Authorization
|
|
308
|
+
|
|
309
|
+
No authorization required
|
|
310
|
+
|
|
311
|
+
### HTTP request headers
|
|
312
|
+
|
|
313
|
+
- **Content-Type**: Not defined
|
|
314
|
+
- **Accept**: application/json
|
|
315
|
+
|
|
316
|
+
|
|
266
317
|
### HTTP response details
|
|
267
318
|
| Status code | Description | Response headers |
|
|
268
319
|
|-------------|-------------|------------------|
|
|
@@ -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-16T11:
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2026-01-16T11:46:58Z]
|
|
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-16T11:
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2026-01-16T12:
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2026-01-16T11:46:58Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2026-01-16T12:46:58Z]
|
|
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]
|