@gooday_corp/gooday-api-client 4.6.2 → 4.6.4

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
@@ -28567,6 +28567,39 @@ export class RSVPEventApi extends BaseAPI {
28567
28567
  */
28568
28568
  export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuration) {
28569
28569
  return {
28570
+ /**
28571
+ *
28572
+ * @param {string} id
28573
+ * @param {*} [options] Override http request option.
28574
+ * @throws {RequiredError}
28575
+ */
28576
+ rSVPV2ControllerAddEventCalendar: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28577
+ // verify required parameter 'id' is not null or undefined
28578
+ assertParamExists('rSVPV2ControllerAddEventCalendar', 'id', id)
28579
+ const localVarPath = `/v1/rsvp/v2/calendar/{id}`
28580
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
28581
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28582
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28583
+ let baseOptions;
28584
+ if (configuration) {
28585
+ baseOptions = configuration.baseOptions;
28586
+ }
28587
+
28588
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
28589
+ const localVarHeaderParameter = {} as any;
28590
+ const localVarQueryParameter = {} as any;
28591
+
28592
+
28593
+
28594
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28595
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28596
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28597
+
28598
+ return {
28599
+ url: toPathString(localVarUrlObj),
28600
+ options: localVarRequestOptions,
28601
+ };
28602
+ },
28570
28603
  /**
28571
28604
  *
28572
28605
  * @param {string} id
@@ -29313,6 +29346,39 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
29313
29346
  options: localVarRequestOptions,
29314
29347
  };
29315
29348
  },
29349
+ /**
29350
+ *
29351
+ * @param {string} id
29352
+ * @param {*} [options] Override http request option.
29353
+ * @throws {RequiredError}
29354
+ */
29355
+ rSVPV2ControllerReminderEventCalendar: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29356
+ // verify required parameter 'id' is not null or undefined
29357
+ assertParamExists('rSVPV2ControllerReminderEventCalendar', 'id', id)
29358
+ const localVarPath = `/v1/rsvp/v2/remindar/{id}`
29359
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
29360
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29361
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29362
+ let baseOptions;
29363
+ if (configuration) {
29364
+ baseOptions = configuration.baseOptions;
29365
+ }
29366
+
29367
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
29368
+ const localVarHeaderParameter = {} as any;
29369
+ const localVarQueryParameter = {} as any;
29370
+
29371
+
29372
+
29373
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29374
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29375
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29376
+
29377
+ return {
29378
+ url: toPathString(localVarUrlObj),
29379
+ options: localVarRequestOptions,
29380
+ };
29381
+ },
29316
29382
  /**
29317
29383
  *
29318
29384
  * @param {SetupRSVPV2PaymentDTO} setupRSVPV2PaymentDTO
@@ -29444,6 +29510,18 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
29444
29510
  export const RSVPV2ApiFp = function(configuration?: Configuration) {
29445
29511
  const localVarAxiosParamCreator = RSVPV2ApiAxiosParamCreator(configuration)
29446
29512
  return {
29513
+ /**
29514
+ *
29515
+ * @param {string} id
29516
+ * @param {*} [options] Override http request option.
29517
+ * @throws {RequiredError}
29518
+ */
29519
+ async rSVPV2ControllerAddEventCalendar(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29520
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerAddEventCalendar(id, options);
29521
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29522
+ const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerAddEventCalendar']?.[localVarOperationServerIndex]?.url;
29523
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29524
+ },
29447
29525
  /**
29448
29526
  *
29449
29527
  * @param {string} id
@@ -29662,6 +29740,18 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
29662
29740
  const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerJoinEvent']?.[localVarOperationServerIndex]?.url;
29663
29741
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29664
29742
  },
29743
+ /**
29744
+ *
29745
+ * @param {string} id
29746
+ * @param {*} [options] Override http request option.
29747
+ * @throws {RequiredError}
29748
+ */
29749
+ async rSVPV2ControllerReminderEventCalendar(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29750
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerReminderEventCalendar(id, options);
29751
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29752
+ const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerReminderEventCalendar']?.[localVarOperationServerIndex]?.url;
29753
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29754
+ },
29665
29755
  /**
29666
29756
  *
29667
29757
  * @param {SetupRSVPV2PaymentDTO} setupRSVPV2PaymentDTO
@@ -29710,6 +29800,15 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
29710
29800
  export const RSVPV2ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
29711
29801
  const localVarFp = RSVPV2ApiFp(configuration)
29712
29802
  return {
29803
+ /**
29804
+ *
29805
+ * @param {string} id
29806
+ * @param {*} [options] Override http request option.
29807
+ * @throws {RequiredError}
29808
+ */
29809
+ rSVPV2ControllerAddEventCalendar(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29810
+ return localVarFp.rSVPV2ControllerAddEventCalendar(id, options).then((request) => request(axios, basePath));
29811
+ },
29713
29812
  /**
29714
29813
  *
29715
29814
  * @param {string} id
@@ -29883,6 +29982,15 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
29883
29982
  rSVPV2ControllerJoinEvent(id: string, joinRSVPEventDTO: JoinRSVPEventDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29884
29983
  return localVarFp.rSVPV2ControllerJoinEvent(id, joinRSVPEventDTO, options).then((request) => request(axios, basePath));
29885
29984
  },
29985
+ /**
29986
+ *
29987
+ * @param {string} id
29988
+ * @param {*} [options] Override http request option.
29989
+ * @throws {RequiredError}
29990
+ */
29991
+ rSVPV2ControllerReminderEventCalendar(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29992
+ return localVarFp.rSVPV2ControllerReminderEventCalendar(id, options).then((request) => request(axios, basePath));
29993
+ },
29886
29994
  /**
29887
29995
  *
29888
29996
  * @param {SetupRSVPV2PaymentDTO} setupRSVPV2PaymentDTO
@@ -29922,6 +30030,17 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
29922
30030
  * @extends {BaseAPI}
29923
30031
  */
29924
30032
  export class RSVPV2Api extends BaseAPI {
30033
+ /**
30034
+ *
30035
+ * @param {string} id
30036
+ * @param {*} [options] Override http request option.
30037
+ * @throws {RequiredError}
30038
+ * @memberof RSVPV2Api
30039
+ */
30040
+ public rSVPV2ControllerAddEventCalendar(id: string, options?: RawAxiosRequestConfig) {
30041
+ return RSVPV2ApiFp(this.configuration).rSVPV2ControllerAddEventCalendar(id, options).then((request) => request(this.axios, this.basePath));
30042
+ }
30043
+
29925
30044
  /**
29926
30045
  *
29927
30046
  * @param {string} id
@@ -30125,6 +30244,17 @@ export class RSVPV2Api extends BaseAPI {
30125
30244
  return RSVPV2ApiFp(this.configuration).rSVPV2ControllerJoinEvent(id, joinRSVPEventDTO, options).then((request) => request(this.axios, this.basePath));
30126
30245
  }
30127
30246
 
30247
+ /**
30248
+ *
30249
+ * @param {string} id
30250
+ * @param {*} [options] Override http request option.
30251
+ * @throws {RequiredError}
30252
+ * @memberof RSVPV2Api
30253
+ */
30254
+ public rSVPV2ControllerReminderEventCalendar(id: string, options?: RawAxiosRequestConfig) {
30255
+ return RSVPV2ApiFp(this.configuration).rSVPV2ControllerReminderEventCalendar(id, options).then((request) => request(this.axios, this.basePath));
30256
+ }
30257
+
30128
30258
  /**
30129
30259
  *
30130
30260
  * @param {SetupRSVPV2PaymentDTO} setupRSVPV2PaymentDTO
@@ -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-04-15T07:10:12Z]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-04-15T07:10:12Z]
9
+ **date** | **string** | The start date of the booking | [default to 2026-04-15T11:53:08Z]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-04-15T11:53:08Z]
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-04-15T07:10:12Z]
10
- **endDate** | **string** | The start date of the booking | [default to 2026-04-15T07:10:12Z]
9
+ **startDate** | **string** | The start date of the booking | [default to 2026-04-15T11:53:08Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2026-04-15T11:53:08Z]
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-04-15T07:10:12Z]
10
- **endDate** | **string** | The start date of the booking | [default to 2026-04-15T07:10:12Z]
9
+ **startDate** | **string** | The start date of the booking | [default to 2026-04-15T11:53:08Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2026-04-15T11:53:08Z]
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-04-15T07:10:10Z]
12
- **endDate** | **string** | The end date of the booking | [optional] [default to 2026-04-15T07:10:10Z]
11
+ **startDate** | **string** | The start date of the booking | [optional] [default to 2026-04-15T11:53:06Z]
12
+ **endDate** | **string** | The end date of the booking | [optional] [default to 2026-04-15T11:53:06Z]
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/RSVPV2Api.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
+ |[**rSVPV2ControllerAddEventCalendar**](#rsvpv2controlleraddeventcalendar) | **PUT** /v1/rsvp/v2/calendar/{id} | |
7
8
  |[**rSVPV2ControllerCheckAvailability**](#rsvpv2controllercheckavailability) | **GET** /v1/rsvp/v2/events/{id}/availability | |
8
9
  |[**rSVPV2ControllerConfirmPayment**](#rsvpv2controllerconfirmpayment) | **POST** /v1/rsvp/v2/attendees/payment/confirm | |
9
10
  |[**rSVPV2ControllerCreateEvent**](#rsvpv2controllercreateevent) | **POST** /v1/rsvp/v2/events | |
@@ -19,10 +20,61 @@ All URIs are relative to *http://localhost:8080*
19
20
  |[**rSVPV2ControllerGetSuperAdminEvents**](#rsvpv2controllergetsuperadminevents) | **POST** /v1/rsvp/v2/super-admin/events | |
20
21
  |[**rSVPV2ControllerInvite**](#rsvpv2controllerinvite) | **POST** /v1/rsvp/v2/events/{id}/invite | |
21
22
  |[**rSVPV2ControllerJoinEvent**](#rsvpv2controllerjoinevent) | **POST** /v1/rsvp/v2/events/{id}/join | |
23
+ |[**rSVPV2ControllerReminderEventCalendar**](#rsvpv2controllerremindereventcalendar) | **PUT** /v1/rsvp/v2/remindar/{id} | |
22
24
  |[**rSVPV2ControllerSetupPayment**](#rsvpv2controllersetuppayment) | **POST** /v1/rsvp/v2/attendees/payment/setup | |
23
25
  |[**rSVPV2ControllerUpdateEvent**](#rsvpv2controllerupdateevent) | **PUT** /v1/rsvp/v2/events/{id} | |
24
26
  |[**rSVPV2ControllerUpdateStatus**](#rsvpv2controllerupdatestatus) | **PUT** /v1/rsvp/v2/attendees/{id}/status | |
25
27
 
28
+ # **rSVPV2ControllerAddEventCalendar**
29
+ > rSVPV2ControllerAddEventCalendar()
30
+
31
+
32
+ ### Example
33
+
34
+ ```typescript
35
+ import {
36
+ RSVPV2Api,
37
+ Configuration
38
+ } from './api';
39
+
40
+ const configuration = new Configuration();
41
+ const apiInstance = new RSVPV2Api(configuration);
42
+
43
+ let id: string; // (default to undefined)
44
+
45
+ const { status, data } = await apiInstance.rSVPV2ControllerAddEventCalendar(
46
+ id
47
+ );
48
+ ```
49
+
50
+ ### Parameters
51
+
52
+ |Name | Type | Description | Notes|
53
+ |------------- | ------------- | ------------- | -------------|
54
+ | **id** | [**string**] | | defaults to undefined|
55
+
56
+
57
+ ### Return type
58
+
59
+ void (empty response body)
60
+
61
+ ### Authorization
62
+
63
+ No authorization required
64
+
65
+ ### HTTP request headers
66
+
67
+ - **Content-Type**: Not defined
68
+ - **Accept**: Not defined
69
+
70
+
71
+ ### HTTP response details
72
+ | Status code | Description | Response headers |
73
+ |-------------|-------------|------------------|
74
+ |**200** | Add RSVP Event to Calendar | - |
75
+
76
+ [[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)
77
+
26
78
  # **rSVPV2ControllerCheckAvailability**
27
79
  > rSVPV2ControllerCheckAvailability()
28
80
 
@@ -893,6 +945,56 @@ void (empty response body)
893
945
 
894
946
  [[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)
895
947
 
948
+ # **rSVPV2ControllerReminderEventCalendar**
949
+ > rSVPV2ControllerReminderEventCalendar()
950
+
951
+
952
+ ### Example
953
+
954
+ ```typescript
955
+ import {
956
+ RSVPV2Api,
957
+ Configuration
958
+ } from './api';
959
+
960
+ const configuration = new Configuration();
961
+ const apiInstance = new RSVPV2Api(configuration);
962
+
963
+ let id: string; // (default to undefined)
964
+
965
+ const { status, data } = await apiInstance.rSVPV2ControllerReminderEventCalendar(
966
+ id
967
+ );
968
+ ```
969
+
970
+ ### Parameters
971
+
972
+ |Name | Type | Description | Notes|
973
+ |------------- | ------------- | ------------- | -------------|
974
+ | **id** | [**string**] | | defaults to undefined|
975
+
976
+
977
+ ### Return type
978
+
979
+ void (empty response body)
980
+
981
+ ### Authorization
982
+
983
+ No authorization required
984
+
985
+ ### HTTP request headers
986
+
987
+ - **Content-Type**: Not defined
988
+ - **Accept**: Not defined
989
+
990
+
991
+ ### HTTP response details
992
+ | Status code | Description | Response headers |
993
+ |-------------|-------------|------------------|
994
+ |**200** | Add reminder for RSVP Event | - |
995
+
996
+ [[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)
997
+
896
998
  # **rSVPV2ControllerSetupPayment**
897
999
  > rSVPV2ControllerSetupPayment(setupRSVPV2PaymentDTO)
898
1000
 
@@ -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-04-15T07:10:12Z]
8
+ **date** | **string** | The start date of the booking | [default to 2026-04-15T11:53:08Z]
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-04-15T07:10:12Z]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2026-04-15T08:10:12Z]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2026-04-15T11:53:08Z]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2026-04-15T12:53:08Z]
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.6.2",
3
+ "version": "4.6.4",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},