@gooday_corp/gooday-api-client 4.4.33 → 4.4.36
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/.openapi-generator/FILES +1 -0
- package/api.ts +20 -15
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/RSVPEventApi.md +7 -6
- package/docs/RSVPEventDeleteDTO.md +20 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/api.ts
CHANGED
|
@@ -3806,6 +3806,9 @@ export interface RSVPEventDTO {
|
|
|
3806
3806
|
'statusCode': number;
|
|
3807
3807
|
'data': RSVPEventEntity;
|
|
3808
3808
|
}
|
|
3809
|
+
export interface RSVPEventDeleteDTO {
|
|
3810
|
+
'id': string;
|
|
3811
|
+
}
|
|
3809
3812
|
export interface RSVPEventEntity {
|
|
3810
3813
|
/**
|
|
3811
3814
|
* Is recurring event
|
|
@@ -18054,15 +18057,14 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18054
18057
|
},
|
|
18055
18058
|
/**
|
|
18056
18059
|
*
|
|
18057
|
-
* @param {
|
|
18060
|
+
* @param {RSVPEventDeleteDTO} rSVPEventDeleteDTO
|
|
18058
18061
|
* @param {*} [options] Override http request option.
|
|
18059
18062
|
* @throws {RequiredError}
|
|
18060
18063
|
*/
|
|
18061
|
-
rSVPControllerDeleteRSVPEvent: async (
|
|
18062
|
-
// verify required parameter '
|
|
18063
|
-
assertParamExists('rSVPControllerDeleteRSVPEvent', '
|
|
18064
|
-
const localVarPath = `/v1/rsvp
|
|
18065
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18064
|
+
rSVPControllerDeleteRSVPEvent: async (rSVPEventDeleteDTO: RSVPEventDeleteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18065
|
+
// verify required parameter 'rSVPEventDeleteDTO' is not null or undefined
|
|
18066
|
+
assertParamExists('rSVPControllerDeleteRSVPEvent', 'rSVPEventDeleteDTO', rSVPEventDeleteDTO)
|
|
18067
|
+
const localVarPath = `/v1/rsvp`;
|
|
18066
18068
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18067
18069
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18068
18070
|
let baseOptions;
|
|
@@ -18080,9 +18082,12 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18080
18082
|
|
|
18081
18083
|
|
|
18082
18084
|
|
|
18085
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18086
|
+
|
|
18083
18087
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18084
18088
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18085
18089
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18090
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rSVPEventDeleteDTO, localVarRequestOptions, configuration)
|
|
18086
18091
|
|
|
18087
18092
|
return {
|
|
18088
18093
|
url: toPathString(localVarUrlObj),
|
|
@@ -18241,12 +18246,12 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
|
|
|
18241
18246
|
},
|
|
18242
18247
|
/**
|
|
18243
18248
|
*
|
|
18244
|
-
* @param {
|
|
18249
|
+
* @param {RSVPEventDeleteDTO} rSVPEventDeleteDTO
|
|
18245
18250
|
* @param {*} [options] Override http request option.
|
|
18246
18251
|
* @throws {RequiredError}
|
|
18247
18252
|
*/
|
|
18248
|
-
async rSVPControllerDeleteRSVPEvent(
|
|
18249
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerDeleteRSVPEvent(
|
|
18253
|
+
async rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO: RSVPEventDeleteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
|
|
18254
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO, options);
|
|
18250
18255
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18251
18256
|
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerDeleteRSVPEvent']?.[localVarOperationServerIndex]?.url;
|
|
18252
18257
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -18311,12 +18316,12 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
|
|
|
18311
18316
|
},
|
|
18312
18317
|
/**
|
|
18313
18318
|
*
|
|
18314
|
-
* @param {
|
|
18319
|
+
* @param {RSVPEventDeleteDTO} rSVPEventDeleteDTO
|
|
18315
18320
|
* @param {*} [options] Override http request option.
|
|
18316
18321
|
* @throws {RequiredError}
|
|
18317
18322
|
*/
|
|
18318
|
-
rSVPControllerDeleteRSVPEvent(
|
|
18319
|
-
return localVarFp.rSVPControllerDeleteRSVPEvent(
|
|
18323
|
+
rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO: RSVPEventDeleteDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
|
|
18324
|
+
return localVarFp.rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO, options).then((request) => request(axios, basePath));
|
|
18320
18325
|
},
|
|
18321
18326
|
/**
|
|
18322
18327
|
*
|
|
@@ -18368,12 +18373,12 @@ export class RSVPEventApi extends BaseAPI {
|
|
|
18368
18373
|
|
|
18369
18374
|
/**
|
|
18370
18375
|
*
|
|
18371
|
-
* @param {
|
|
18376
|
+
* @param {RSVPEventDeleteDTO} rSVPEventDeleteDTO
|
|
18372
18377
|
* @param {*} [options] Override http request option.
|
|
18373
18378
|
* @throws {RequiredError}
|
|
18374
18379
|
*/
|
|
18375
|
-
public rSVPControllerDeleteRSVPEvent(
|
|
18376
|
-
return RSVPEventApiFp(this.configuration).rSVPControllerDeleteRSVPEvent(
|
|
18380
|
+
public rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO: RSVPEventDeleteDTO, options?: RawAxiosRequestConfig) {
|
|
18381
|
+
return RSVPEventApiFp(this.configuration).rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
18377
18382
|
}
|
|
18378
18383
|
|
|
18379
18384
|
/**
|
|
@@ -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:
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-03T19:
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-12-03T19:56:24+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-03T19:56:24+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:
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2025-12-03T19:
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2025-12-03T19:56:24+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-12-03T19:56:24+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<string>** | Calendar attached with booking | [optional] [default to undefined]
|
package/docs/RSVPEventApi.md
CHANGED
|
@@ -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
|
|
80
|
+
let rSVPEventDeleteDTO: RSVPEventDeleteDTO; //
|
|
80
81
|
|
|
81
82
|
const { status, data } = await apiInstance.rSVPControllerDeleteRSVPEvent(
|
|
82
|
-
|
|
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
|
-
| **
|
|
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**:
|
|
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)
|
|
@@ -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:
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-12-03T19:56:24+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:
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-12-03T20:
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-12-03T19:56:24+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-12-03T20:56:24+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<CreateWaitlistBookingCollaboratorPayload>**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
|