@gooday_corp/gooday-api-client 4.5.32 → 4.5.35

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
@@ -18793,6 +18793,78 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
18793
18793
  options: localVarRequestOptions,
18794
18794
  };
18795
18795
  },
18796
+ /**
18797
+ *
18798
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18799
+ * @param {*} [options] Override http request option.
18800
+ * @throws {RequiredError}
18801
+ */
18802
+ rSVPControllerRsvpEventsSuperAdmin: async (rSVPEventFindDTO: RSVPEventFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18803
+ // verify required parameter 'rSVPEventFindDTO' is not null or undefined
18804
+ assertParamExists('rSVPControllerRsvpEventsSuperAdmin', 'rSVPEventFindDTO', rSVPEventFindDTO)
18805
+ const localVarPath = `/v1/rsvp/super-admin/events`;
18806
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18807
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18808
+ let baseOptions;
18809
+ if (configuration) {
18810
+ baseOptions = configuration.baseOptions;
18811
+ }
18812
+
18813
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18814
+ const localVarHeaderParameter = {} as any;
18815
+ const localVarQueryParameter = {} as any;
18816
+
18817
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18818
+ localVarHeaderParameter['Accept'] = 'application/json';
18819
+
18820
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18821
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18822
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18823
+ localVarRequestOptions.data = serializeDataIfNeeded(rSVPEventFindDTO, localVarRequestOptions, configuration)
18824
+
18825
+ return {
18826
+ url: toPathString(localVarUrlObj),
18827
+ options: localVarRequestOptions,
18828
+ };
18829
+ },
18830
+ /**
18831
+ *
18832
+ * @param {RSVPEventDeleteDTO} rSVPEventDeleteDTO
18833
+ * @param {*} [options] Override http request option.
18834
+ * @throws {RequiredError}
18835
+ */
18836
+ rSVPControllerRsvpEventsSuperAdminDelete: async (rSVPEventDeleteDTO: RSVPEventDeleteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18837
+ // verify required parameter 'rSVPEventDeleteDTO' is not null or undefined
18838
+ assertParamExists('rSVPControllerRsvpEventsSuperAdminDelete', 'rSVPEventDeleteDTO', rSVPEventDeleteDTO)
18839
+ const localVarPath = `/v1/rsvp/super-admin/rsvp`;
18840
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18841
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18842
+ let baseOptions;
18843
+ if (configuration) {
18844
+ baseOptions = configuration.baseOptions;
18845
+ }
18846
+
18847
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
18848
+ const localVarHeaderParameter = {} as any;
18849
+ const localVarQueryParameter = {} as any;
18850
+
18851
+ // authentication bearer required
18852
+ // http bearer authentication required
18853
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
18854
+
18855
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18856
+ localVarHeaderParameter['Accept'] = 'application/json';
18857
+
18858
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18859
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18860
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18861
+ localVarRequestOptions.data = serializeDataIfNeeded(rSVPEventDeleteDTO, localVarRequestOptions, configuration)
18862
+
18863
+ return {
18864
+ url: toPathString(localVarUrlObj),
18865
+ options: localVarRequestOptions,
18866
+ };
18867
+ },
18796
18868
  /**
18797
18869
  *
18798
18870
  * @param {RSVPEventFavoriteDTO} rSVPEventFavoriteDTO
@@ -18962,6 +19034,30 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
18962
19034
  const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerRsvpEventsDashboard']?.[localVarOperationServerIndex]?.url;
18963
19035
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18964
19036
  },
19037
+ /**
19038
+ *
19039
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
19040
+ * @param {*} [options] Override http request option.
19041
+ * @throws {RequiredError}
19042
+ */
19043
+ async rSVPControllerRsvpEventsSuperAdmin(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
19044
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerRsvpEventsSuperAdmin(rSVPEventFindDTO, options);
19045
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19046
+ const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerRsvpEventsSuperAdmin']?.[localVarOperationServerIndex]?.url;
19047
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19048
+ },
19049
+ /**
19050
+ *
19051
+ * @param {RSVPEventDeleteDTO} rSVPEventDeleteDTO
19052
+ * @param {*} [options] Override http request option.
19053
+ * @throws {RequiredError}
19054
+ */
19055
+ async rSVPControllerRsvpEventsSuperAdminDelete(rSVPEventDeleteDTO: RSVPEventDeleteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventFavoriteAndUnfavoritedDTO>> {
19056
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerRsvpEventsSuperAdminDelete(rSVPEventDeleteDTO, options);
19057
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19058
+ const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerRsvpEventsSuperAdminDelete']?.[localVarOperationServerIndex]?.url;
19059
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19060
+ },
18965
19061
  /**
18966
19062
  *
18967
19063
  * @param {RSVPEventFavoriteDTO} rSVPEventFavoriteDTO
@@ -19059,6 +19155,24 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
19059
19155
  rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
19060
19156
  return localVarFp.rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO, options).then((request) => request(axios, basePath));
19061
19157
  },
19158
+ /**
19159
+ *
19160
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
19161
+ * @param {*} [options] Override http request option.
19162
+ * @throws {RequiredError}
19163
+ */
19164
+ rSVPControllerRsvpEventsSuperAdmin(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
19165
+ return localVarFp.rSVPControllerRsvpEventsSuperAdmin(rSVPEventFindDTO, options).then((request) => request(axios, basePath));
19166
+ },
19167
+ /**
19168
+ *
19169
+ * @param {RSVPEventDeleteDTO} rSVPEventDeleteDTO
19170
+ * @param {*} [options] Override http request option.
19171
+ * @throws {RequiredError}
19172
+ */
19173
+ rSVPControllerRsvpEventsSuperAdminDelete(rSVPEventDeleteDTO: RSVPEventDeleteDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventFavoriteAndUnfavoritedDTO> {
19174
+ return localVarFp.rSVPControllerRsvpEventsSuperAdminDelete(rSVPEventDeleteDTO, options).then((request) => request(axios, basePath));
19175
+ },
19062
19176
  /**
19063
19177
  *
19064
19178
  * @param {RSVPEventFavoriteDTO} rSVPEventFavoriteDTO
@@ -19155,6 +19269,26 @@ export class RSVPEventApi extends BaseAPI {
19155
19269
  return RSVPEventApiFp(this.configuration).rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO, options).then((request) => request(this.axios, this.basePath));
19156
19270
  }
19157
19271
 
19272
+ /**
19273
+ *
19274
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
19275
+ * @param {*} [options] Override http request option.
19276
+ * @throws {RequiredError}
19277
+ */
19278
+ public rSVPControllerRsvpEventsSuperAdmin(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig) {
19279
+ return RSVPEventApiFp(this.configuration).rSVPControllerRsvpEventsSuperAdmin(rSVPEventFindDTO, options).then((request) => request(this.axios, this.basePath));
19280
+ }
19281
+
19282
+ /**
19283
+ *
19284
+ * @param {RSVPEventDeleteDTO} rSVPEventDeleteDTO
19285
+ * @param {*} [options] Override http request option.
19286
+ * @throws {RequiredError}
19287
+ */
19288
+ public rSVPControllerRsvpEventsSuperAdminDelete(rSVPEventDeleteDTO: RSVPEventDeleteDTO, options?: RawAxiosRequestConfig) {
19289
+ return RSVPEventApiFp(this.configuration).rSVPControllerRsvpEventsSuperAdminDelete(rSVPEventDeleteDTO, options).then((request) => request(this.axios, this.basePath));
19290
+ }
19291
+
19158
19292
  /**
19159
19293
  *
19160
19294
  * @param {RSVPEventFavoriteDTO} rSVPEventFavoriteDTO
@@ -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-07T12:15:36Z]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-01-07T12:15:36Z]
9
+ **date** | **string** | The start date of the booking | [default to 2026-01-12T09:07:29Z]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-01-12T09:07:29Z]
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-07T12:15:36Z]
10
- **endDate** | **string** | The start date of the booking | [default to 2026-01-07T12:15:36Z]
9
+ **startDate** | **string** | The start date of the booking | [default to 2026-01-12T09:07:29Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2026-01-12T09:07:29Z]
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-07T12:15:36Z]
10
- **endDate** | **string** | The start date of the booking | [default to 2026-01-07T12:15:36Z]
9
+ **startDate** | **string** | The start date of the booking | [default to 2026-01-12T09:07:29Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2026-01-12T09:07:29Z]
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-07T12:15:34Z]
12
- **endDate** | **string** | The end date of the booking | [optional] [default to 2026-01-07T12:15:34Z]
11
+ **startDate** | **string** | The start date of the booking | [optional] [default to 2026-01-12T09:07:27Z]
12
+ **endDate** | **string** | The end date of the booking | [optional] [default to 2026-01-12T09:07:27Z]
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]
@@ -11,6 +11,8 @@ All URIs are relative to *http://localhost:8080*
11
11
  |[**rSVPControllerRsvpEventById**](#rsvpcontrollerrsvpeventbyid) | **GET** /v1/rsvp/{id} | |
12
12
  |[**rSVPControllerRsvpEvents**](#rsvpcontrollerrsvpevents) | **POST** /v1/rsvp/rsvp/event | |
13
13
  |[**rSVPControllerRsvpEventsDashboard**](#rsvpcontrollerrsvpeventsdashboard) | **POST** /v1/rsvp/dashboard/events | |
14
+ |[**rSVPControllerRsvpEventsSuperAdmin**](#rsvpcontrollerrsvpeventssuperadmin) | **POST** /v1/rsvp/super-admin/events | |
15
+ |[**rSVPControllerRsvpEventsSuperAdminDelete**](#rsvpcontrollerrsvpeventssuperadmindelete) | **DELETE** /v1/rsvp/super-admin/rsvp | |
14
16
  |[**rSVPControllerRsvpFavorites**](#rsvpcontrollerrsvpfavorites) | **POST** /v1/rsvp/event/favorite | |
15
17
  |[**rSVPControllerUpdateRSVPEvent**](#rsvpcontrollerupdatersvpevent) | **PUT** /v1/rsvp/{id} | |
16
18
 
@@ -362,6 +364,108 @@ No authorization required
362
364
  - **Accept**: application/json
363
365
 
364
366
 
367
+ ### HTTP response details
368
+ | Status code | Description | Response headers |
369
+ |-------------|-------------|------------------|
370
+ |**200** | | - |
371
+
372
+ [[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)
373
+
374
+ # **rSVPControllerRsvpEventsSuperAdmin**
375
+ > RSVPEventResponseDTO rSVPControllerRsvpEventsSuperAdmin(rSVPEventFindDTO)
376
+
377
+
378
+ ### Example
379
+
380
+ ```typescript
381
+ import {
382
+ RSVPEventApi,
383
+ Configuration,
384
+ RSVPEventFindDTO
385
+ } from './api';
386
+
387
+ const configuration = new Configuration();
388
+ const apiInstance = new RSVPEventApi(configuration);
389
+
390
+ let rSVPEventFindDTO: RSVPEventFindDTO; //
391
+
392
+ const { status, data } = await apiInstance.rSVPControllerRsvpEventsSuperAdmin(
393
+ rSVPEventFindDTO
394
+ );
395
+ ```
396
+
397
+ ### Parameters
398
+
399
+ |Name | Type | Description | Notes|
400
+ |------------- | ------------- | ------------- | -------------|
401
+ | **rSVPEventFindDTO** | **RSVPEventFindDTO**| | |
402
+
403
+
404
+ ### Return type
405
+
406
+ **RSVPEventResponseDTO**
407
+
408
+ ### Authorization
409
+
410
+ No authorization required
411
+
412
+ ### HTTP request headers
413
+
414
+ - **Content-Type**: application/json
415
+ - **Accept**: application/json
416
+
417
+
418
+ ### HTTP response details
419
+ | Status code | Description | Response headers |
420
+ |-------------|-------------|------------------|
421
+ |**200** | | - |
422
+
423
+ [[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)
424
+
425
+ # **rSVPControllerRsvpEventsSuperAdminDelete**
426
+ > RSVPEventFavoriteAndUnfavoritedDTO rSVPControllerRsvpEventsSuperAdminDelete(rSVPEventDeleteDTO)
427
+
428
+
429
+ ### Example
430
+
431
+ ```typescript
432
+ import {
433
+ RSVPEventApi,
434
+ Configuration,
435
+ RSVPEventDeleteDTO
436
+ } from './api';
437
+
438
+ const configuration = new Configuration();
439
+ const apiInstance = new RSVPEventApi(configuration);
440
+
441
+ let rSVPEventDeleteDTO: RSVPEventDeleteDTO; //
442
+
443
+ const { status, data } = await apiInstance.rSVPControllerRsvpEventsSuperAdminDelete(
444
+ rSVPEventDeleteDTO
445
+ );
446
+ ```
447
+
448
+ ### Parameters
449
+
450
+ |Name | Type | Description | Notes|
451
+ |------------- | ------------- | ------------- | -------------|
452
+ | **rSVPEventDeleteDTO** | **RSVPEventDeleteDTO**| | |
453
+
454
+
455
+ ### Return type
456
+
457
+ **RSVPEventFavoriteAndUnfavoritedDTO**
458
+
459
+ ### Authorization
460
+
461
+ [bearer](../README.md#bearer)
462
+
463
+ ### HTTP request headers
464
+
465
+ - **Content-Type**: application/json
466
+ - **Accept**: application/json
467
+
468
+
365
469
  ### HTTP response details
366
470
  | Status code | Description | Response headers |
367
471
  |-------------|-------------|------------------|
@@ -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-07T12:15:36Z]
8
+ **date** | **string** | The start date of the booking | [default to 2026-01-12T09:07:29Z]
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-07T12:15:36Z]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2026-01-07T13:15:36Z]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2026-01-12T09:07:29Z]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2026-01-12T10:07:29Z]
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.32",
3
+ "version": "4.5.35",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},