@gooday_corp/gooday-api-client 4.5.30 → 4.5.31
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 +2 -0
- package/api.ts +220 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/PaymentDetailsPayload.md +2 -2
- package/docs/RSVPEventApi.md +153 -0
- package/docs/RSVPEventFavoriteAndUnfavoritedDTO.md +22 -0
- package/docs/RSVPEventFavoriteResponsedDTO.md +22 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -281,6 +281,8 @@ docs/RSVPEventApi.md
|
|
|
281
281
|
docs/RSVPEventDTO.md
|
|
282
282
|
docs/RSVPEventDeleteDTO.md
|
|
283
283
|
docs/RSVPEventEntity.md
|
|
284
|
+
docs/RSVPEventFavoriteAndUnfavoritedDTO.md
|
|
285
|
+
docs/RSVPEventFavoriteResponsedDTO.md
|
|
284
286
|
docs/RSVPEventFindDTO.md
|
|
285
287
|
docs/RSVPEventLocationDTO.md
|
|
286
288
|
docs/RSVPEventMetaDTO.md
|
package/api.ts
CHANGED
|
@@ -4024,6 +4024,20 @@ export const RSVPEventEntityTypeEnum = {
|
|
|
4024
4024
|
|
|
4025
4025
|
export type RSVPEventEntityTypeEnum = typeof RSVPEventEntityTypeEnum[keyof typeof RSVPEventEntityTypeEnum];
|
|
4026
4026
|
|
|
4027
|
+
export interface RSVPEventFavoriteAndUnfavoritedDTO {
|
|
4028
|
+
/**
|
|
4029
|
+
* statusCode
|
|
4030
|
+
*/
|
|
4031
|
+
'statusCode': number;
|
|
4032
|
+
'data': boolean;
|
|
4033
|
+
}
|
|
4034
|
+
export interface RSVPEventFavoriteResponsedDTO {
|
|
4035
|
+
/**
|
|
4036
|
+
* statusCode
|
|
4037
|
+
*/
|
|
4038
|
+
'statusCode': number;
|
|
4039
|
+
'data': boolean;
|
|
4040
|
+
}
|
|
4027
4041
|
export interface RSVPEventFindDTO {
|
|
4028
4042
|
'page': number;
|
|
4029
4043
|
'pageSize': number;
|
|
@@ -18589,6 +18603,81 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18589
18603
|
options: localVarRequestOptions,
|
|
18590
18604
|
};
|
|
18591
18605
|
},
|
|
18606
|
+
/**
|
|
18607
|
+
*
|
|
18608
|
+
* @param {object} body
|
|
18609
|
+
* @param {*} [options] Override http request option.
|
|
18610
|
+
* @throws {RequiredError}
|
|
18611
|
+
*/
|
|
18612
|
+
rSVPControllerDeleteRSVPFavorites: async (body: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18613
|
+
// verify required parameter 'body' is not null or undefined
|
|
18614
|
+
assertParamExists('rSVPControllerDeleteRSVPFavorites', 'body', body)
|
|
18615
|
+
const localVarPath = `/v1/rsvp/event/unfavorite`;
|
|
18616
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18617
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18618
|
+
let baseOptions;
|
|
18619
|
+
if (configuration) {
|
|
18620
|
+
baseOptions = configuration.baseOptions;
|
|
18621
|
+
}
|
|
18622
|
+
|
|
18623
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
18624
|
+
const localVarHeaderParameter = {} as any;
|
|
18625
|
+
const localVarQueryParameter = {} as any;
|
|
18626
|
+
|
|
18627
|
+
// authentication bearer required
|
|
18628
|
+
// http bearer authentication required
|
|
18629
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18630
|
+
|
|
18631
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18632
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
18633
|
+
|
|
18634
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18635
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18636
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18637
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
18638
|
+
|
|
18639
|
+
return {
|
|
18640
|
+
url: toPathString(localVarUrlObj),
|
|
18641
|
+
options: localVarRequestOptions,
|
|
18642
|
+
};
|
|
18643
|
+
},
|
|
18644
|
+
/**
|
|
18645
|
+
*
|
|
18646
|
+
* @param {string} id
|
|
18647
|
+
* @param {*} [options] Override http request option.
|
|
18648
|
+
* @throws {RequiredError}
|
|
18649
|
+
*/
|
|
18650
|
+
rSVPControllerFavoriteRSVPEventById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18651
|
+
// verify required parameter 'id' is not null or undefined
|
|
18652
|
+
assertParamExists('rSVPControllerFavoriteRSVPEventById', 'id', id)
|
|
18653
|
+
const localVarPath = `/v1/rsvp/favoriteId/{id}`
|
|
18654
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18655
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18656
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18657
|
+
let baseOptions;
|
|
18658
|
+
if (configuration) {
|
|
18659
|
+
baseOptions = configuration.baseOptions;
|
|
18660
|
+
}
|
|
18661
|
+
|
|
18662
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18663
|
+
const localVarHeaderParameter = {} as any;
|
|
18664
|
+
const localVarQueryParameter = {} as any;
|
|
18665
|
+
|
|
18666
|
+
// authentication bearer required
|
|
18667
|
+
// http bearer authentication required
|
|
18668
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18669
|
+
|
|
18670
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
18671
|
+
|
|
18672
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18673
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18674
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18675
|
+
|
|
18676
|
+
return {
|
|
18677
|
+
url: toPathString(localVarUrlObj),
|
|
18678
|
+
options: localVarRequestOptions,
|
|
18679
|
+
};
|
|
18680
|
+
},
|
|
18592
18681
|
/**
|
|
18593
18682
|
*
|
|
18594
18683
|
* @param {string} id
|
|
@@ -18694,6 +18783,44 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18694
18783
|
options: localVarRequestOptions,
|
|
18695
18784
|
};
|
|
18696
18785
|
},
|
|
18786
|
+
/**
|
|
18787
|
+
*
|
|
18788
|
+
* @param {object} body
|
|
18789
|
+
* @param {*} [options] Override http request option.
|
|
18790
|
+
* @throws {RequiredError}
|
|
18791
|
+
*/
|
|
18792
|
+
rSVPControllerRsvpFavorites: async (body: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18793
|
+
// verify required parameter 'body' is not null or undefined
|
|
18794
|
+
assertParamExists('rSVPControllerRsvpFavorites', 'body', body)
|
|
18795
|
+
const localVarPath = `/v1/rsvp/vent/favorite`;
|
|
18796
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18797
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18798
|
+
let baseOptions;
|
|
18799
|
+
if (configuration) {
|
|
18800
|
+
baseOptions = configuration.baseOptions;
|
|
18801
|
+
}
|
|
18802
|
+
|
|
18803
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18804
|
+
const localVarHeaderParameter = {} as any;
|
|
18805
|
+
const localVarQueryParameter = {} as any;
|
|
18806
|
+
|
|
18807
|
+
// authentication bearer required
|
|
18808
|
+
// http bearer authentication required
|
|
18809
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18810
|
+
|
|
18811
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18812
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
18813
|
+
|
|
18814
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18815
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18816
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18817
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
18818
|
+
|
|
18819
|
+
return {
|
|
18820
|
+
url: toPathString(localVarUrlObj),
|
|
18821
|
+
options: localVarRequestOptions,
|
|
18822
|
+
};
|
|
18823
|
+
},
|
|
18697
18824
|
/**
|
|
18698
18825
|
*
|
|
18699
18826
|
* @param {string} id
|
|
@@ -18765,6 +18892,30 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
|
|
|
18765
18892
|
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerDeleteRSVPEvent']?.[localVarOperationServerIndex]?.url;
|
|
18766
18893
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18767
18894
|
},
|
|
18895
|
+
/**
|
|
18896
|
+
*
|
|
18897
|
+
* @param {object} body
|
|
18898
|
+
* @param {*} [options] Override http request option.
|
|
18899
|
+
* @throws {RequiredError}
|
|
18900
|
+
*/
|
|
18901
|
+
async rSVPControllerDeleteRSVPFavorites(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventFavoriteAndUnfavoritedDTO>> {
|
|
18902
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerDeleteRSVPFavorites(body, options);
|
|
18903
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18904
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerDeleteRSVPFavorites']?.[localVarOperationServerIndex]?.url;
|
|
18905
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18906
|
+
},
|
|
18907
|
+
/**
|
|
18908
|
+
*
|
|
18909
|
+
* @param {string} id
|
|
18910
|
+
* @param {*} [options] Override http request option.
|
|
18911
|
+
* @throws {RequiredError}
|
|
18912
|
+
*/
|
|
18913
|
+
async rSVPControllerFavoriteRSVPEventById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventFavoriteResponsedDTO>> {
|
|
18914
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerFavoriteRSVPEventById(id, options);
|
|
18915
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18916
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerFavoriteRSVPEventById']?.[localVarOperationServerIndex]?.url;
|
|
18917
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18918
|
+
},
|
|
18768
18919
|
/**
|
|
18769
18920
|
*
|
|
18770
18921
|
* @param {string} id
|
|
@@ -18801,6 +18952,18 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
|
|
|
18801
18952
|
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerRsvpEventsDashboard']?.[localVarOperationServerIndex]?.url;
|
|
18802
18953
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18803
18954
|
},
|
|
18955
|
+
/**
|
|
18956
|
+
*
|
|
18957
|
+
* @param {object} body
|
|
18958
|
+
* @param {*} [options] Override http request option.
|
|
18959
|
+
* @throws {RequiredError}
|
|
18960
|
+
*/
|
|
18961
|
+
async rSVPControllerRsvpFavorites(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventFavoriteAndUnfavoritedDTO>> {
|
|
18962
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerRsvpFavorites(body, options);
|
|
18963
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18964
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerRsvpFavorites']?.[localVarOperationServerIndex]?.url;
|
|
18965
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18966
|
+
},
|
|
18804
18967
|
/**
|
|
18805
18968
|
*
|
|
18806
18969
|
* @param {string} id
|
|
@@ -18841,6 +19004,24 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
|
|
|
18841
19004
|
rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO: RSVPEventDeleteDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
|
|
18842
19005
|
return localVarFp.rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO, options).then((request) => request(axios, basePath));
|
|
18843
19006
|
},
|
|
19007
|
+
/**
|
|
19008
|
+
*
|
|
19009
|
+
* @param {object} body
|
|
19010
|
+
* @param {*} [options] Override http request option.
|
|
19011
|
+
* @throws {RequiredError}
|
|
19012
|
+
*/
|
|
19013
|
+
rSVPControllerDeleteRSVPFavorites(body: object, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventFavoriteAndUnfavoritedDTO> {
|
|
19014
|
+
return localVarFp.rSVPControllerDeleteRSVPFavorites(body, options).then((request) => request(axios, basePath));
|
|
19015
|
+
},
|
|
19016
|
+
/**
|
|
19017
|
+
*
|
|
19018
|
+
* @param {string} id
|
|
19019
|
+
* @param {*} [options] Override http request option.
|
|
19020
|
+
* @throws {RequiredError}
|
|
19021
|
+
*/
|
|
19022
|
+
rSVPControllerFavoriteRSVPEventById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventFavoriteResponsedDTO> {
|
|
19023
|
+
return localVarFp.rSVPControllerFavoriteRSVPEventById(id, options).then((request) => request(axios, basePath));
|
|
19024
|
+
},
|
|
18844
19025
|
/**
|
|
18845
19026
|
*
|
|
18846
19027
|
* @param {string} id
|
|
@@ -18868,6 +19049,15 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
|
|
|
18868
19049
|
rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
|
|
18869
19050
|
return localVarFp.rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO, options).then((request) => request(axios, basePath));
|
|
18870
19051
|
},
|
|
19052
|
+
/**
|
|
19053
|
+
*
|
|
19054
|
+
* @param {object} body
|
|
19055
|
+
* @param {*} [options] Override http request option.
|
|
19056
|
+
* @throws {RequiredError}
|
|
19057
|
+
*/
|
|
19058
|
+
rSVPControllerRsvpFavorites(body: object, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventFavoriteAndUnfavoritedDTO> {
|
|
19059
|
+
return localVarFp.rSVPControllerRsvpFavorites(body, options).then((request) => request(axios, basePath));
|
|
19060
|
+
},
|
|
18871
19061
|
/**
|
|
18872
19062
|
*
|
|
18873
19063
|
* @param {string} id
|
|
@@ -18905,6 +19095,26 @@ export class RSVPEventApi extends BaseAPI {
|
|
|
18905
19095
|
return RSVPEventApiFp(this.configuration).rSVPControllerDeleteRSVPEvent(rSVPEventDeleteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
18906
19096
|
}
|
|
18907
19097
|
|
|
19098
|
+
/**
|
|
19099
|
+
*
|
|
19100
|
+
* @param {object} body
|
|
19101
|
+
* @param {*} [options] Override http request option.
|
|
19102
|
+
* @throws {RequiredError}
|
|
19103
|
+
*/
|
|
19104
|
+
public rSVPControllerDeleteRSVPFavorites(body: object, options?: RawAxiosRequestConfig) {
|
|
19105
|
+
return RSVPEventApiFp(this.configuration).rSVPControllerDeleteRSVPFavorites(body, options).then((request) => request(this.axios, this.basePath));
|
|
19106
|
+
}
|
|
19107
|
+
|
|
19108
|
+
/**
|
|
19109
|
+
*
|
|
19110
|
+
* @param {string} id
|
|
19111
|
+
* @param {*} [options] Override http request option.
|
|
19112
|
+
* @throws {RequiredError}
|
|
19113
|
+
*/
|
|
19114
|
+
public rSVPControllerFavoriteRSVPEventById(id: string, options?: RawAxiosRequestConfig) {
|
|
19115
|
+
return RSVPEventApiFp(this.configuration).rSVPControllerFavoriteRSVPEventById(id, options).then((request) => request(this.axios, this.basePath));
|
|
19116
|
+
}
|
|
19117
|
+
|
|
18908
19118
|
/**
|
|
18909
19119
|
*
|
|
18910
19120
|
* @param {string} id
|
|
@@ -18935,6 +19145,16 @@ export class RSVPEventApi extends BaseAPI {
|
|
|
18935
19145
|
return RSVPEventApiFp(this.configuration).rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
18936
19146
|
}
|
|
18937
19147
|
|
|
19148
|
+
/**
|
|
19149
|
+
*
|
|
19150
|
+
* @param {object} body
|
|
19151
|
+
* @param {*} [options] Override http request option.
|
|
19152
|
+
* @throws {RequiredError}
|
|
19153
|
+
*/
|
|
19154
|
+
public rSVPControllerRsvpFavorites(body: object, options?: RawAxiosRequestConfig) {
|
|
19155
|
+
return RSVPEventApiFp(this.configuration).rSVPControllerRsvpFavorites(body, options).then((request) => request(this.axios, this.basePath));
|
|
19156
|
+
}
|
|
19157
|
+
|
|
18938
19158
|
/**
|
|
18939
19159
|
*
|
|
18940
19160
|
* @param {string} id
|
|
@@ -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-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-01-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2026-01-07T11:34:48Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-01-07T11:34:48Z]
|
|
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-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-01-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-01-07T11:34:48Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-01-07T11:34:48Z]
|
|
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]
|
|
@@ -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-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-01-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-01-07T11:34:48Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-01-07T11:34:48Z]
|
|
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]
|
|
@@ -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-
|
|
12
|
-
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-01-
|
|
11
|
+
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-01-07T11:34:46Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-01-07T11:34:46Z]
|
|
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/RSVPEventApi.md
CHANGED
|
@@ -6,9 +6,12 @@ All URIs are relative to *http://localhost:8080*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**rSVPControllerAddRSVPEvent**](#rsvpcontrolleraddrsvpevent) | **POST** /v1/rsvp | |
|
|
8
8
|
|[**rSVPControllerDeleteRSVPEvent**](#rsvpcontrollerdeletersvpevent) | **DELETE** /v1/rsvp | |
|
|
9
|
+
|[**rSVPControllerDeleteRSVPFavorites**](#rsvpcontrollerdeletersvpfavorites) | **DELETE** /v1/rsvp/event/unfavorite | |
|
|
10
|
+
|[**rSVPControllerFavoriteRSVPEventById**](#rsvpcontrollerfavoritersvpeventbyid) | **GET** /v1/rsvp/favoriteId/{id} | |
|
|
9
11
|
|[**rSVPControllerRsvpEventById**](#rsvpcontrollerrsvpeventbyid) | **GET** /v1/rsvp/{id} | |
|
|
10
12
|
|[**rSVPControllerRsvpEvents**](#rsvpcontrollerrsvpevents) | **POST** /v1/rsvp/rsvp/event | |
|
|
11
13
|
|[**rSVPControllerRsvpEventsDashboard**](#rsvpcontrollerrsvpeventsdashboard) | **POST** /v1/rsvp/dashboard/events | |
|
|
14
|
+
|[**rSVPControllerRsvpFavorites**](#rsvpcontrollerrsvpfavorites) | **POST** /v1/rsvp/vent/favorite | |
|
|
12
15
|
|[**rSVPControllerUpdateRSVPEvent**](#rsvpcontrollerupdatersvpevent) | **PUT** /v1/rsvp/{id} | |
|
|
13
16
|
|
|
14
17
|
# **rSVPControllerAddRSVPEvent**
|
|
@@ -106,6 +109,106 @@ const { status, data } = await apiInstance.rSVPControllerDeleteRSVPEvent(
|
|
|
106
109
|
- **Accept**: application/json
|
|
107
110
|
|
|
108
111
|
|
|
112
|
+
### HTTP response details
|
|
113
|
+
| Status code | Description | Response headers |
|
|
114
|
+
|-------------|-------------|------------------|
|
|
115
|
+
|**200** | | - |
|
|
116
|
+
|
|
117
|
+
[[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)
|
|
118
|
+
|
|
119
|
+
# **rSVPControllerDeleteRSVPFavorites**
|
|
120
|
+
> RSVPEventFavoriteAndUnfavoritedDTO rSVPControllerDeleteRSVPFavorites(body)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
### Example
|
|
124
|
+
|
|
125
|
+
```typescript
|
|
126
|
+
import {
|
|
127
|
+
RSVPEventApi,
|
|
128
|
+
Configuration
|
|
129
|
+
} from './api';
|
|
130
|
+
|
|
131
|
+
const configuration = new Configuration();
|
|
132
|
+
const apiInstance = new RSVPEventApi(configuration);
|
|
133
|
+
|
|
134
|
+
let body: object; //
|
|
135
|
+
|
|
136
|
+
const { status, data } = await apiInstance.rSVPControllerDeleteRSVPFavorites(
|
|
137
|
+
body
|
|
138
|
+
);
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### Parameters
|
|
142
|
+
|
|
143
|
+
|Name | Type | Description | Notes|
|
|
144
|
+
|------------- | ------------- | ------------- | -------------|
|
|
145
|
+
| **body** | **object**| | |
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
### Return type
|
|
149
|
+
|
|
150
|
+
**RSVPEventFavoriteAndUnfavoritedDTO**
|
|
151
|
+
|
|
152
|
+
### Authorization
|
|
153
|
+
|
|
154
|
+
[bearer](../README.md#bearer)
|
|
155
|
+
|
|
156
|
+
### HTTP request headers
|
|
157
|
+
|
|
158
|
+
- **Content-Type**: application/json
|
|
159
|
+
- **Accept**: application/json
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
### HTTP response details
|
|
163
|
+
| Status code | Description | Response headers |
|
|
164
|
+
|-------------|-------------|------------------|
|
|
165
|
+
|**200** | | - |
|
|
166
|
+
|
|
167
|
+
[[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)
|
|
168
|
+
|
|
169
|
+
# **rSVPControllerFavoriteRSVPEventById**
|
|
170
|
+
> RSVPEventFavoriteResponsedDTO rSVPControllerFavoriteRSVPEventById()
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
### Example
|
|
174
|
+
|
|
175
|
+
```typescript
|
|
176
|
+
import {
|
|
177
|
+
RSVPEventApi,
|
|
178
|
+
Configuration
|
|
179
|
+
} from './api';
|
|
180
|
+
|
|
181
|
+
const configuration = new Configuration();
|
|
182
|
+
const apiInstance = new RSVPEventApi(configuration);
|
|
183
|
+
|
|
184
|
+
let id: string; // (default to undefined)
|
|
185
|
+
|
|
186
|
+
const { status, data } = await apiInstance.rSVPControllerFavoriteRSVPEventById(
|
|
187
|
+
id
|
|
188
|
+
);
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### Parameters
|
|
192
|
+
|
|
193
|
+
|Name | Type | Description | Notes|
|
|
194
|
+
|------------- | ------------- | ------------- | -------------|
|
|
195
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
### Return type
|
|
199
|
+
|
|
200
|
+
**RSVPEventFavoriteResponsedDTO**
|
|
201
|
+
|
|
202
|
+
### Authorization
|
|
203
|
+
|
|
204
|
+
[bearer](../README.md#bearer)
|
|
205
|
+
|
|
206
|
+
### HTTP request headers
|
|
207
|
+
|
|
208
|
+
- **Content-Type**: Not defined
|
|
209
|
+
- **Accept**: application/json
|
|
210
|
+
|
|
211
|
+
|
|
109
212
|
### HTTP response details
|
|
110
213
|
| Status code | Description | Response headers |
|
|
111
214
|
|-------------|-------------|------------------|
|
|
@@ -258,6 +361,56 @@ No authorization required
|
|
|
258
361
|
- **Accept**: application/json
|
|
259
362
|
|
|
260
363
|
|
|
364
|
+
### HTTP response details
|
|
365
|
+
| Status code | Description | Response headers |
|
|
366
|
+
|-------------|-------------|------------------|
|
|
367
|
+
|**200** | | - |
|
|
368
|
+
|
|
369
|
+
[[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)
|
|
370
|
+
|
|
371
|
+
# **rSVPControllerRsvpFavorites**
|
|
372
|
+
> RSVPEventFavoriteAndUnfavoritedDTO rSVPControllerRsvpFavorites(body)
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
### Example
|
|
376
|
+
|
|
377
|
+
```typescript
|
|
378
|
+
import {
|
|
379
|
+
RSVPEventApi,
|
|
380
|
+
Configuration
|
|
381
|
+
} from './api';
|
|
382
|
+
|
|
383
|
+
const configuration = new Configuration();
|
|
384
|
+
const apiInstance = new RSVPEventApi(configuration);
|
|
385
|
+
|
|
386
|
+
let body: object; //
|
|
387
|
+
|
|
388
|
+
const { status, data } = await apiInstance.rSVPControllerRsvpFavorites(
|
|
389
|
+
body
|
|
390
|
+
);
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
### Parameters
|
|
394
|
+
|
|
395
|
+
|Name | Type | Description | Notes|
|
|
396
|
+
|------------- | ------------- | ------------- | -------------|
|
|
397
|
+
| **body** | **object**| | |
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
### Return type
|
|
401
|
+
|
|
402
|
+
**RSVPEventFavoriteAndUnfavoritedDTO**
|
|
403
|
+
|
|
404
|
+
### Authorization
|
|
405
|
+
|
|
406
|
+
[bearer](../README.md#bearer)
|
|
407
|
+
|
|
408
|
+
### HTTP request headers
|
|
409
|
+
|
|
410
|
+
- **Content-Type**: application/json
|
|
411
|
+
- **Accept**: application/json
|
|
412
|
+
|
|
413
|
+
|
|
261
414
|
### HTTP response details
|
|
262
415
|
| Status code | Description | Response headers |
|
|
263
416
|
|-------------|-------------|------------------|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# RSVPEventFavoriteAndUnfavoritedDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | **boolean** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { RSVPEventFavoriteAndUnfavoritedDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: RSVPEventFavoriteAndUnfavoritedDTO = {
|
|
17
|
+
statusCode,
|
|
18
|
+
data,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# RSVPEventFavoriteResponsedDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | **boolean** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { RSVPEventFavoriteResponsedDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: RSVPEventFavoriteResponsedDTO = {
|
|
17
|
+
statusCode,
|
|
18
|
+
data,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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 2026-01-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2026-01-07T11:34:48Z]
|
|
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-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2026-01-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2026-01-07T11:34:48Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2026-01-07T12:34:48Z]
|
|
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]
|