@gooday_corp/gooday-api-client 4.4.33 → 4.4.37

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.
@@ -276,9 +276,11 @@ docs/PromoCodeResponseDTO.md
276
276
  docs/RSVPEvenPayloadDTO.md
277
277
  docs/RSVPEventApi.md
278
278
  docs/RSVPEventDTO.md
279
+ docs/RSVPEventDeleteDTO.md
279
280
  docs/RSVPEventEntity.md
280
281
  docs/RSVPEventLocationDTO.md
281
282
  docs/RSVPEventMetaDTO.md
283
+ docs/RSVPEventMetaDataDTO.md
282
284
  docs/RSVPEventResponse.md
283
285
  docs/RSVPEventResponseDTO.md
284
286
  docs/RegularBookingAvailabilityPayloadDTO.md
package/api.ts CHANGED
@@ -3761,15 +3761,15 @@ export interface RSVPEvenPayloadDTO {
3761
3761
  /**
3762
3762
  * user
3763
3763
  */
3764
- 'userId': string;
3764
+ 'userId'?: string;
3765
3765
  /**
3766
3766
  * Business
3767
3767
  */
3768
- 'business': string;
3768
+ 'business'?: string;
3769
3769
  /**
3770
3770
  * Business venue
3771
3771
  */
3772
- 'venue': string;
3772
+ 'venue'?: string;
3773
3773
  'tags'?: Array<string>;
3774
3774
  'hideLocation'?: boolean;
3775
3775
  'hostBy': string;
@@ -3781,6 +3781,10 @@ export interface RSVPEvenPayloadDTO {
3781
3781
  'otherLink'?: string;
3782
3782
  'location'?: RSVPEventLocationDTO;
3783
3783
  'discounts'?: Array<Discount>;
3784
+ /**
3785
+ * Meta information about the location.
3786
+ */
3787
+ 'meta'?: RSVPEventMetaDataDTO;
3784
3788
  }
3785
3789
 
3786
3790
  export const RSVPEvenPayloadDTORepeatEnum = {
@@ -3806,6 +3810,9 @@ export interface RSVPEventDTO {
3806
3810
  'statusCode': number;
3807
3811
  'data': RSVPEventEntity;
3808
3812
  }
3813
+ export interface RSVPEventDeleteDTO {
3814
+ 'id': string;
3815
+ }
3809
3816
  export interface RSVPEventEntity {
3810
3817
  /**
3811
3818
  * Is recurring event
@@ -3872,6 +3879,10 @@ export interface RSVPEventEntity {
3872
3879
  'externalTicketing'?: string;
3873
3880
  'otherLink'?: string;
3874
3881
  'location'?: RSVPEventLocationDTO;
3882
+ /**
3883
+ * Meta information about the location.
3884
+ */
3885
+ 'meta'?: RSVPEventMetaDataDTO;
3875
3886
  'discounts'?: Array<Discount>;
3876
3887
  }
3877
3888
 
@@ -3914,6 +3925,12 @@ export interface RSVPEventMetaDTO {
3914
3925
  'formattedAddress'?: string;
3915
3926
  'shortFormattedAddress': string;
3916
3927
  }
3928
+ export interface RSVPEventMetaDataDTO {
3929
+ 'email'?: string;
3930
+ 'firstName': string;
3931
+ 'lastName': string;
3932
+ 'mobileNumber': string;
3933
+ }
3917
3934
  export interface RSVPEventResponse {
3918
3935
  'count': number;
3919
3936
  'data': Array<RSVPEventEntity>;
@@ -18054,15 +18071,14 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
18054
18071
  },
18055
18072
  /**
18056
18073
  *
18057
- * @param {string} id
18074
+ * @param {RSVPEventDeleteDTO} rSVPEventDeleteDTO
18058
18075
  * @param {*} [options] Override http request option.
18059
18076
  * @throws {RequiredError}
18060
18077
  */
18061
- rSVPControllerDeleteRSVPEvent: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18062
- // verify required parameter 'id' is not null or undefined
18063
- assertParamExists('rSVPControllerDeleteRSVPEvent', 'id', id)
18064
- const localVarPath = `/v1/rsvp`
18065
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
18078
+ rSVPControllerDeleteRSVPEvent: async (rSVPEventDeleteDTO: RSVPEventDeleteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18079
+ // verify required parameter 'rSVPEventDeleteDTO' is not null or undefined
18080
+ assertParamExists('rSVPControllerDeleteRSVPEvent', 'rSVPEventDeleteDTO', rSVPEventDeleteDTO)
18081
+ const localVarPath = `/v1/rsvp`;
18066
18082
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18067
18083
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18068
18084
  let baseOptions;
@@ -18080,9 +18096,12 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
18080
18096
 
18081
18097
 
18082
18098
 
18099
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18100
+
18083
18101
  setSearchParams(localVarUrlObj, localVarQueryParameter);
18084
18102
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18085
18103
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18104
+ localVarRequestOptions.data = serializeDataIfNeeded(rSVPEventDeleteDTO, localVarRequestOptions, configuration)
18086
18105
 
18087
18106
  return {
18088
18107
  url: toPathString(localVarUrlObj),
@@ -18241,12 +18260,12 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
18241
18260
  },
18242
18261
  /**
18243
18262
  *
18244
- * @param {string} id
18263
+ * @param {RSVPEventDeleteDTO} rSVPEventDeleteDTO
18245
18264
  * @param {*} [options] Override http request option.
18246
18265
  * @throws {RequiredError}
18247
18266
  */
18248
- async rSVPControllerDeleteRSVPEvent(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
18249
- const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerDeleteRSVPEvent(id, options);
18267
+ async rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO: RSVPEventDeleteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
18268
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO, options);
18250
18269
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18251
18270
  const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerDeleteRSVPEvent']?.[localVarOperationServerIndex]?.url;
18252
18271
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -18311,12 +18330,12 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
18311
18330
  },
18312
18331
  /**
18313
18332
  *
18314
- * @param {string} id
18333
+ * @param {RSVPEventDeleteDTO} rSVPEventDeleteDTO
18315
18334
  * @param {*} [options] Override http request option.
18316
18335
  * @throws {RequiredError}
18317
18336
  */
18318
- rSVPControllerDeleteRSVPEvent(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
18319
- return localVarFp.rSVPControllerDeleteRSVPEvent(id, options).then((request) => request(axios, basePath));
18337
+ rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO: RSVPEventDeleteDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
18338
+ return localVarFp.rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO, options).then((request) => request(axios, basePath));
18320
18339
  },
18321
18340
  /**
18322
18341
  *
@@ -18368,12 +18387,12 @@ export class RSVPEventApi extends BaseAPI {
18368
18387
 
18369
18388
  /**
18370
18389
  *
18371
- * @param {string} id
18390
+ * @param {RSVPEventDeleteDTO} rSVPEventDeleteDTO
18372
18391
  * @param {*} [options] Override http request option.
18373
18392
  * @throws {RequiredError}
18374
18393
  */
18375
- public rSVPControllerDeleteRSVPEvent(id: string, options?: RawAxiosRequestConfig) {
18376
- return RSVPEventApiFp(this.configuration).rSVPControllerDeleteRSVPEvent(id, options).then((request) => request(this.axios, this.basePath));
18394
+ public rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO: RSVPEventDeleteDTO, options?: RawAxiosRequestConfig) {
18395
+ return RSVPEventApiFp(this.configuration).rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO, options).then((request) => request(this.axios, this.basePath));
18377
18396
  }
18378
18397
 
18379
18398
  /**
@@ -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-03T19:42:17+05:30]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-03T19:42:17+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-12-04T19:43:18+05:30]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-04T19:43:18+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-03T19:42:17+05:30]
10
- **endDate** | **string** | The start date of the booking | [default to 2025-12-03T19:42:17+05:30]
9
+ **startDate** | **string** | The start date of the booking | [default to 2025-12-04T19:43:18+05:30]
10
+ **endDate** | **string** | The start date of the booking | [default to 2025-12-04T19:43:18+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&lt;string&gt;** | Calendar attached with booking | [optional] [default to undefined]
@@ -19,9 +19,9 @@ Name | Type | Description | Notes
19
19
  **price** | **number** | | [default to undefined]
20
20
  **description** | **string** | | [default to undefined]
21
21
  **capacity** | **number** | | [default to undefined]
22
- **userId** | **string** | user | [default to undefined]
23
- **business** | **string** | Business | [default to undefined]
24
- **venue** | **string** | Business venue | [default to undefined]
22
+ **userId** | **string** | user | [optional] [default to undefined]
23
+ **business** | **string** | Business | [optional] [default to undefined]
24
+ **venue** | **string** | Business venue | [optional] [default to undefined]
25
25
  **tags** | **Array&lt;string&gt;** | | [optional] [default to undefined]
26
26
  **hideLocation** | **boolean** | | [optional] [default to undefined]
27
27
  **hostBy** | **string** | | [default to undefined]
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
33
33
  **otherLink** | **string** | | [optional] [default to undefined]
34
34
  **location** | [**RSVPEventLocationDTO**](RSVPEventLocationDTO.md) | | [optional] [default to undefined]
35
35
  **discounts** | [**Array&lt;Discount&gt;**](Discount.md) | | [optional] [default to undefined]
36
+ **meta** | [**RSVPEventMetaDataDTO**](RSVPEventMetaDataDTO.md) | Meta information about the location. | [optional] [default to undefined]
36
37
 
37
38
  ## Example
38
39
 
@@ -68,6 +69,7 @@ const instance: RSVPEvenPayloadDTO = {
68
69
  otherLink,
69
70
  location,
70
71
  discounts,
72
+ meta,
71
73
  };
72
74
  ```
73
75
 
@@ -62,7 +62,7 @@ No authorization required
62
62
  [[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)
63
63
 
64
64
  # **rSVPControllerDeleteRSVPEvent**
65
- > RSVPEventResponseDTO rSVPControllerDeleteRSVPEvent()
65
+ > RSVPEventResponseDTO rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO)
66
66
 
67
67
 
68
68
  ### Example
@@ -70,16 +70,17 @@ No authorization required
70
70
  ```typescript
71
71
  import {
72
72
  RSVPEventApi,
73
- Configuration
73
+ Configuration,
74
+ RSVPEventDeleteDTO
74
75
  } from './api';
75
76
 
76
77
  const configuration = new Configuration();
77
78
  const apiInstance = new RSVPEventApi(configuration);
78
79
 
79
- let id: string; // (default to undefined)
80
+ let rSVPEventDeleteDTO: RSVPEventDeleteDTO; //
80
81
 
81
82
  const { status, data } = await apiInstance.rSVPControllerDeleteRSVPEvent(
82
- id
83
+ rSVPEventDeleteDTO
83
84
  );
84
85
  ```
85
86
 
@@ -87,7 +88,7 @@ const { status, data } = await apiInstance.rSVPControllerDeleteRSVPEvent(
87
88
 
88
89
  |Name | Type | Description | Notes|
89
90
  |------------- | ------------- | ------------- | -------------|
90
- | **id** | [**string**] | | defaults to undefined|
91
+ | **rSVPEventDeleteDTO** | **RSVPEventDeleteDTO**| | |
91
92
 
92
93
 
93
94
  ### Return type
@@ -100,7 +101,7 @@ const { status, data } = await apiInstance.rSVPControllerDeleteRSVPEvent(
100
101
 
101
102
  ### HTTP request headers
102
103
 
103
- - **Content-Type**: Not defined
104
+ - **Content-Type**: application/json
104
105
  - **Accept**: application/json
105
106
 
106
107
 
@@ -0,0 +1,20 @@
1
+ # RSVPEventDeleteDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { RSVPEventDeleteDTO } from './api';
14
+
15
+ const instance: RSVPEventDeleteDTO = {
16
+ id,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
34
34
  **externalTicketing** | **string** | | [optional] [default to undefined]
35
35
  **otherLink** | **string** | | [optional] [default to undefined]
36
36
  **location** | [**RSVPEventLocationDTO**](RSVPEventLocationDTO.md) | | [optional] [default to undefined]
37
+ **meta** | [**RSVPEventMetaDataDTO**](RSVPEventMetaDataDTO.md) | Meta information about the location. | [optional] [default to undefined]
37
38
  **discounts** | [**Array&lt;Discount&gt;**](Discount.md) | | [optional] [default to undefined]
38
39
 
39
40
  ## Example
@@ -71,6 +72,7 @@ const instance: RSVPEventEntity = {
71
72
  externalTicketing,
72
73
  otherLink,
73
74
  location,
75
+ meta,
74
76
  discounts,
75
77
  };
76
78
  ```
@@ -0,0 +1,26 @@
1
+ # RSVPEventMetaDataDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **email** | **string** | | [optional] [default to undefined]
9
+ **firstName** | **string** | | [default to undefined]
10
+ **lastName** | **string** | | [default to undefined]
11
+ **mobileNumber** | **string** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { RSVPEventMetaDataDTO } from './api';
17
+
18
+ const instance: RSVPEventMetaDataDTO = {
19
+ email,
20
+ firstName,
21
+ lastName,
22
+ mobileNumber,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -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-03T19:42:17+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-12-04T19:43:18+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-03T19:42:17+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-12-03T20:42:17+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-12-04T19:43:18+05:30]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-12-04T20:43:18+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&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.4.33",
3
+ "version": "4.4.37",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},