@gooday_corp/gooday-api-client 4.5.45 → 4.5.46

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 CHANGED
@@ -18541,6 +18541,39 @@ export class PrepaidServiceApi extends BaseAPI {
18541
18541
  */
18542
18542
  export const RSVPEventApiAxiosParamCreator = function (configuration?: Configuration) {
18543
18543
  return {
18544
+ /**
18545
+ *
18546
+ * @param {string} id
18547
+ * @param {*} [options] Override http request option.
18548
+ * @throws {RequiredError}
18549
+ */
18550
+ rSVPControllerAddEventCalendar: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18551
+ // verify required parameter 'id' is not null or undefined
18552
+ assertParamExists('rSVPControllerAddEventCalendar', 'id', id)
18553
+ const localVarPath = `/v1/rsvp/calendar/{id}`
18554
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
18555
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18556
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18557
+ let baseOptions;
18558
+ if (configuration) {
18559
+ baseOptions = configuration.baseOptions;
18560
+ }
18561
+
18562
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
18563
+ const localVarHeaderParameter = {} as any;
18564
+ const localVarQueryParameter = {} as any;
18565
+
18566
+ localVarHeaderParameter['Accept'] = 'application/json';
18567
+
18568
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18569
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18570
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18571
+
18572
+ return {
18573
+ url: toPathString(localVarUrlObj),
18574
+ options: localVarRequestOptions,
18575
+ };
18576
+ },
18544
18577
  /**
18545
18578
  *
18546
18579
  * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
@@ -18950,6 +18983,18 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
18950
18983
  export const RSVPEventApiFp = function(configuration?: Configuration) {
18951
18984
  const localVarAxiosParamCreator = RSVPEventApiAxiosParamCreator(configuration)
18952
18985
  return {
18986
+ /**
18987
+ *
18988
+ * @param {string} id
18989
+ * @param {*} [options] Override http request option.
18990
+ * @throws {RequiredError}
18991
+ */
18992
+ async rSVPControllerAddEventCalendar(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventFavoriteResponsedDTO>> {
18993
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerAddEventCalendar(id, options);
18994
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18995
+ const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerAddEventCalendar']?.[localVarOperationServerIndex]?.url;
18996
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18997
+ },
18953
18998
  /**
18954
18999
  *
18955
19000
  * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
@@ -19092,6 +19137,15 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
19092
19137
  export const RSVPEventApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
19093
19138
  const localVarFp = RSVPEventApiFp(configuration)
19094
19139
  return {
19140
+ /**
19141
+ *
19142
+ * @param {string} id
19143
+ * @param {*} [options] Override http request option.
19144
+ * @throws {RequiredError}
19145
+ */
19146
+ rSVPControllerAddEventCalendar(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventFavoriteResponsedDTO> {
19147
+ return localVarFp.rSVPControllerAddEventCalendar(id, options).then((request) => request(axios, basePath));
19148
+ },
19095
19149
  /**
19096
19150
  *
19097
19151
  * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
@@ -19199,6 +19253,16 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
19199
19253
  * RSVPEventApi - object-oriented interface
19200
19254
  */
19201
19255
  export class RSVPEventApi extends BaseAPI {
19256
+ /**
19257
+ *
19258
+ * @param {string} id
19259
+ * @param {*} [options] Override http request option.
19260
+ * @throws {RequiredError}
19261
+ */
19262
+ public rSVPControllerAddEventCalendar(id: string, options?: RawAxiosRequestConfig) {
19263
+ return RSVPEventApiFp(this.configuration).rSVPControllerAddEventCalendar(id, options).then((request) => request(this.axios, this.basePath));
19264
+ }
19265
+
19202
19266
  /**
19203
19267
  *
19204
19268
  * @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-16T06:16:54Z]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-01-16T06:16:54Z]
9
+ **date** | **string** | The start date of the booking | [default to 2026-01-16T10:22:42Z]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-01-16T10:22:42Z]
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-16T06:16:54Z]
10
- **endDate** | **string** | The start date of the booking | [default to 2026-01-16T06:16:54Z]
9
+ **startDate** | **string** | The start date of the booking | [default to 2026-01-16T10:22:42Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2026-01-16T10:22:42Z]
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&lt;string&gt;** | 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-16T06:16:54Z]
10
- **endDate** | **string** | The start date of the booking | [default to 2026-01-16T06:16:54Z]
9
+ **startDate** | **string** | The start date of the booking | [default to 2026-01-16T10:22:42Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2026-01-16T10:22:42Z]
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&lt;string&gt;** | 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-16T06:16:51Z]
12
- **endDate** | **string** | The end date of the booking | [optional] [default to 2026-01-16T06:16:51Z]
11
+ **startDate** | **string** | The start date of the booking | [optional] [default to 2026-01-16T10:22:40Z]
12
+ **endDate** | **string** | The end date of the booking | [optional] [default to 2026-01-16T10:22:40Z]
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]
@@ -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
 
@@ -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-16T06:16:54Z]
8
+ **date** | **string** | The start date of the booking | [default to 2026-01-16T10:22:42Z]
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-16T06:16:54Z]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2026-01-16T07:16:54Z]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2026-01-16T10:22:42Z]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2026-01-16T11:22:42Z]
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&lt;CreateWaitlistBookingCollaboratorPayload&gt;**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "4.5.45",
3
+ "version": "4.5.46",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},