@gooday_corp/gooday-api-client 4.4.29 → 4.4.33
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 +123 -47
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/RSVPEvenPayloadDTO.md +8 -8
- package/docs/RSVPEventApi.md +68 -17
- package/docs/RSVPEventResponse.md +22 -0
- package/docs/RSVPEventResponseDTO.md +1 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -279,6 +279,7 @@ docs/RSVPEventDTO.md
|
|
|
279
279
|
docs/RSVPEventEntity.md
|
|
280
280
|
docs/RSVPEventLocationDTO.md
|
|
281
281
|
docs/RSVPEventMetaDTO.md
|
|
282
|
+
docs/RSVPEventResponse.md
|
|
282
283
|
docs/RSVPEventResponseDTO.md
|
|
283
284
|
docs/RegularBookingAvailabilityPayloadDTO.md
|
|
284
285
|
docs/RegularBookingAvailabilityResponseDTO.md
|
package/api.ts
CHANGED
|
@@ -3770,13 +3770,13 @@ export interface RSVPEvenPayloadDTO {
|
|
|
3770
3770
|
* Business venue
|
|
3771
3771
|
*/
|
|
3772
3772
|
'venue': string;
|
|
3773
|
-
'tags'
|
|
3774
|
-
'hideLocation'
|
|
3773
|
+
'tags'?: Array<string>;
|
|
3774
|
+
'hideLocation'?: boolean;
|
|
3775
3775
|
'hostBy': string;
|
|
3776
|
-
'
|
|
3777
|
-
'photo'
|
|
3778
|
-
'timezone'
|
|
3779
|
-
'
|
|
3776
|
+
'hostImage': string;
|
|
3777
|
+
'photo'?: string;
|
|
3778
|
+
'timezone'?: string;
|
|
3779
|
+
'type'?: RSVPEvenPayloadDTOTypeEnum;
|
|
3780
3780
|
'externalTicketing'?: string;
|
|
3781
3781
|
'otherLink'?: string;
|
|
3782
3782
|
'location'?: RSVPEventLocationDTO;
|
|
@@ -3792,12 +3792,12 @@ export const RSVPEvenPayloadDTORepeatEnum = {
|
|
|
3792
3792
|
} as const;
|
|
3793
3793
|
|
|
3794
3794
|
export type RSVPEvenPayloadDTORepeatEnum = typeof RSVPEvenPayloadDTORepeatEnum[keyof typeof RSVPEvenPayloadDTORepeatEnum];
|
|
3795
|
-
export const
|
|
3795
|
+
export const RSVPEvenPayloadDTOTypeEnum = {
|
|
3796
3796
|
Public: 'PUBLIC',
|
|
3797
3797
|
Private: 'PRIVATE'
|
|
3798
3798
|
} as const;
|
|
3799
3799
|
|
|
3800
|
-
export type
|
|
3800
|
+
export type RSVPEvenPayloadDTOTypeEnum = typeof RSVPEvenPayloadDTOTypeEnum[keyof typeof RSVPEvenPayloadDTOTypeEnum];
|
|
3801
3801
|
|
|
3802
3802
|
export interface RSVPEventDTO {
|
|
3803
3803
|
/**
|
|
@@ -3914,12 +3914,16 @@ export interface RSVPEventMetaDTO {
|
|
|
3914
3914
|
'formattedAddress'?: string;
|
|
3915
3915
|
'shortFormattedAddress': string;
|
|
3916
3916
|
}
|
|
3917
|
+
export interface RSVPEventResponse {
|
|
3918
|
+
'count': number;
|
|
3919
|
+
'data': Array<RSVPEventEntity>;
|
|
3920
|
+
}
|
|
3917
3921
|
export interface RSVPEventResponseDTO {
|
|
3918
3922
|
/**
|
|
3919
3923
|
* statusCode
|
|
3920
3924
|
*/
|
|
3921
3925
|
'statusCode': number;
|
|
3922
|
-
'data':
|
|
3926
|
+
'data': RSVPEventResponse;
|
|
3923
3927
|
}
|
|
3924
3928
|
export interface RegularBookingAvailabilityPayloadDTO {
|
|
3925
3929
|
/**
|
|
@@ -18019,9 +18023,9 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18019
18023
|
* @param {*} [options] Override http request option.
|
|
18020
18024
|
* @throws {RequiredError}
|
|
18021
18025
|
*/
|
|
18022
|
-
|
|
18026
|
+
rSVPControllerAddRSVPEvent: async (rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18023
18027
|
// verify required parameter 'rSVPEvenPayloadDTO' is not null or undefined
|
|
18024
|
-
assertParamExists('
|
|
18028
|
+
assertParamExists('rSVPControllerAddRSVPEvent', 'rSVPEvenPayloadDTO', rSVPEvenPayloadDTO)
|
|
18025
18029
|
const localVarPath = `/v1/rsvp`;
|
|
18026
18030
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18027
18031
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18054,9 +18058,46 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18054
18058
|
* @param {*} [options] Override http request option.
|
|
18055
18059
|
* @throws {RequiredError}
|
|
18056
18060
|
*/
|
|
18057
|
-
|
|
18061
|
+
rSVPControllerDeleteRSVPEvent: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18058
18062
|
// verify required parameter 'id' is not null or undefined
|
|
18059
|
-
assertParamExists('
|
|
18063
|
+
assertParamExists('rSVPControllerDeleteRSVPEvent', 'id', id)
|
|
18064
|
+
const localVarPath = `/v1/rsvp`
|
|
18065
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18066
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18067
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18068
|
+
let baseOptions;
|
|
18069
|
+
if (configuration) {
|
|
18070
|
+
baseOptions = configuration.baseOptions;
|
|
18071
|
+
}
|
|
18072
|
+
|
|
18073
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
18074
|
+
const localVarHeaderParameter = {} as any;
|
|
18075
|
+
const localVarQueryParameter = {} as any;
|
|
18076
|
+
|
|
18077
|
+
// authentication bearer required
|
|
18078
|
+
// http bearer authentication required
|
|
18079
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18080
|
+
|
|
18081
|
+
|
|
18082
|
+
|
|
18083
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18084
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18085
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18086
|
+
|
|
18087
|
+
return {
|
|
18088
|
+
url: toPathString(localVarUrlObj),
|
|
18089
|
+
options: localVarRequestOptions,
|
|
18090
|
+
};
|
|
18091
|
+
},
|
|
18092
|
+
/**
|
|
18093
|
+
*
|
|
18094
|
+
* @param {string} id
|
|
18095
|
+
* @param {*} [options] Override http request option.
|
|
18096
|
+
* @throws {RequiredError}
|
|
18097
|
+
*/
|
|
18098
|
+
rSVPControllerRsvpEventById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18099
|
+
// verify required parameter 'id' is not null or undefined
|
|
18100
|
+
assertParamExists('rSVPControllerRsvpEventById', 'id', id)
|
|
18060
18101
|
const localVarPath = `/v1/rsvp/{id}`
|
|
18061
18102
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18062
18103
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -18090,11 +18131,11 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18090
18131
|
* @param {*} [options] Override http request option.
|
|
18091
18132
|
* @throws {RequiredError}
|
|
18092
18133
|
*/
|
|
18093
|
-
|
|
18134
|
+
rSVPControllerRsvpEvents: async (page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18094
18135
|
// verify required parameter 'page' is not null or undefined
|
|
18095
|
-
assertParamExists('
|
|
18136
|
+
assertParamExists('rSVPControllerRsvpEvents', 'page', page)
|
|
18096
18137
|
// verify required parameter 'pageSize' is not null or undefined
|
|
18097
|
-
assertParamExists('
|
|
18138
|
+
assertParamExists('rSVPControllerRsvpEvents', 'pageSize', pageSize)
|
|
18098
18139
|
const localVarPath = `/v1/rsvp`;
|
|
18099
18140
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18100
18141
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18107,6 +18148,10 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18107
18148
|
const localVarHeaderParameter = {} as any;
|
|
18108
18149
|
const localVarQueryParameter = {} as any;
|
|
18109
18150
|
|
|
18151
|
+
// authentication bearer required
|
|
18152
|
+
// http bearer authentication required
|
|
18153
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18154
|
+
|
|
18110
18155
|
if (page !== undefined) {
|
|
18111
18156
|
localVarQueryParameter['page'] = page;
|
|
18112
18157
|
}
|
|
@@ -18141,11 +18186,11 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18141
18186
|
* @param {*} [options] Override http request option.
|
|
18142
18187
|
* @throws {RequiredError}
|
|
18143
18188
|
*/
|
|
18144
|
-
|
|
18189
|
+
rSVPControllerUpdateRSVPEvent: async (id: string, rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18145
18190
|
// verify required parameter 'id' is not null or undefined
|
|
18146
|
-
assertParamExists('
|
|
18191
|
+
assertParamExists('rSVPControllerUpdateRSVPEvent', 'id', id)
|
|
18147
18192
|
// verify required parameter 'rSVPEvenPayloadDTO' is not null or undefined
|
|
18148
|
-
assertParamExists('
|
|
18193
|
+
assertParamExists('rSVPControllerUpdateRSVPEvent', 'rSVPEvenPayloadDTO', rSVPEvenPayloadDTO)
|
|
18149
18194
|
const localVarPath = `/v1/rsvp/{id}`
|
|
18150
18195
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18151
18196
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -18188,10 +18233,22 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
|
|
|
18188
18233
|
* @param {*} [options] Override http request option.
|
|
18189
18234
|
* @throws {RequiredError}
|
|
18190
18235
|
*/
|
|
18191
|
-
async
|
|
18192
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
18236
|
+
async rSVPControllerAddRSVPEvent(rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventDTO>> {
|
|
18237
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerAddRSVPEvent(rSVPEvenPayloadDTO, options);
|
|
18238
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18239
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerAddRSVPEvent']?.[localVarOperationServerIndex]?.url;
|
|
18240
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18241
|
+
},
|
|
18242
|
+
/**
|
|
18243
|
+
*
|
|
18244
|
+
* @param {string} id
|
|
18245
|
+
* @param {*} [options] Override http request option.
|
|
18246
|
+
* @throws {RequiredError}
|
|
18247
|
+
*/
|
|
18248
|
+
async rSVPControllerDeleteRSVPEvent(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
|
|
18249
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerDeleteRSVPEvent(id, options);
|
|
18193
18250
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18194
|
-
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.
|
|
18251
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerDeleteRSVPEvent']?.[localVarOperationServerIndex]?.url;
|
|
18195
18252
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18196
18253
|
},
|
|
18197
18254
|
/**
|
|
@@ -18200,10 +18257,10 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
|
|
|
18200
18257
|
* @param {*} [options] Override http request option.
|
|
18201
18258
|
* @throws {RequiredError}
|
|
18202
18259
|
*/
|
|
18203
|
-
async
|
|
18204
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
18260
|
+
async rSVPControllerRsvpEventById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventDTO>> {
|
|
18261
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerRsvpEventById(id, options);
|
|
18205
18262
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18206
|
-
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.
|
|
18263
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerRsvpEventById']?.[localVarOperationServerIndex]?.url;
|
|
18207
18264
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18208
18265
|
},
|
|
18209
18266
|
/**
|
|
@@ -18215,10 +18272,10 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
|
|
|
18215
18272
|
* @param {*} [options] Override http request option.
|
|
18216
18273
|
* @throws {RequiredError}
|
|
18217
18274
|
*/
|
|
18218
|
-
async
|
|
18219
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
18275
|
+
async rSVPControllerRsvpEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
|
|
18276
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerRsvpEvents(page, pageSize, search, venue, options);
|
|
18220
18277
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18221
|
-
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.
|
|
18278
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerRsvpEvents']?.[localVarOperationServerIndex]?.url;
|
|
18222
18279
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18223
18280
|
},
|
|
18224
18281
|
/**
|
|
@@ -18228,10 +18285,10 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
|
|
|
18228
18285
|
* @param {*} [options] Override http request option.
|
|
18229
18286
|
* @throws {RequiredError}
|
|
18230
18287
|
*/
|
|
18231
|
-
async
|
|
18232
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
18288
|
+
async rSVPControllerUpdateRSVPEvent(id: string, rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventDTO>> {
|
|
18289
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerUpdateRSVPEvent(id, rSVPEvenPayloadDTO, options);
|
|
18233
18290
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18234
|
-
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.
|
|
18291
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerUpdateRSVPEvent']?.[localVarOperationServerIndex]?.url;
|
|
18235
18292
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18236
18293
|
},
|
|
18237
18294
|
}
|
|
@@ -18249,8 +18306,17 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
|
|
|
18249
18306
|
* @param {*} [options] Override http request option.
|
|
18250
18307
|
* @throws {RequiredError}
|
|
18251
18308
|
*/
|
|
18252
|
-
|
|
18253
|
-
return localVarFp.
|
|
18309
|
+
rSVPControllerAddRSVPEvent(rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventDTO> {
|
|
18310
|
+
return localVarFp.rSVPControllerAddRSVPEvent(rSVPEvenPayloadDTO, options).then((request) => request(axios, basePath));
|
|
18311
|
+
},
|
|
18312
|
+
/**
|
|
18313
|
+
*
|
|
18314
|
+
* @param {string} id
|
|
18315
|
+
* @param {*} [options] Override http request option.
|
|
18316
|
+
* @throws {RequiredError}
|
|
18317
|
+
*/
|
|
18318
|
+
rSVPControllerDeleteRSVPEvent(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
|
|
18319
|
+
return localVarFp.rSVPControllerDeleteRSVPEvent(id, options).then((request) => request(axios, basePath));
|
|
18254
18320
|
},
|
|
18255
18321
|
/**
|
|
18256
18322
|
*
|
|
@@ -18258,8 +18324,8 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
|
|
|
18258
18324
|
* @param {*} [options] Override http request option.
|
|
18259
18325
|
* @throws {RequiredError}
|
|
18260
18326
|
*/
|
|
18261
|
-
|
|
18262
|
-
return localVarFp.
|
|
18327
|
+
rSVPControllerRsvpEventById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventDTO> {
|
|
18328
|
+
return localVarFp.rSVPControllerRsvpEventById(id, options).then((request) => request(axios, basePath));
|
|
18263
18329
|
},
|
|
18264
18330
|
/**
|
|
18265
18331
|
*
|
|
@@ -18270,8 +18336,8 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
|
|
|
18270
18336
|
* @param {*} [options] Override http request option.
|
|
18271
18337
|
* @throws {RequiredError}
|
|
18272
18338
|
*/
|
|
18273
|
-
|
|
18274
|
-
return localVarFp.
|
|
18339
|
+
rSVPControllerRsvpEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
|
|
18340
|
+
return localVarFp.rSVPControllerRsvpEvents(page, pageSize, search, venue, options).then((request) => request(axios, basePath));
|
|
18275
18341
|
},
|
|
18276
18342
|
/**
|
|
18277
18343
|
*
|
|
@@ -18280,8 +18346,8 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
|
|
|
18280
18346
|
* @param {*} [options] Override http request option.
|
|
18281
18347
|
* @throws {RequiredError}
|
|
18282
18348
|
*/
|
|
18283
|
-
|
|
18284
|
-
return localVarFp.
|
|
18349
|
+
rSVPControllerUpdateRSVPEvent(id: string, rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventDTO> {
|
|
18350
|
+
return localVarFp.rSVPControllerUpdateRSVPEvent(id, rSVPEvenPayloadDTO, options).then((request) => request(axios, basePath));
|
|
18285
18351
|
},
|
|
18286
18352
|
};
|
|
18287
18353
|
};
|
|
@@ -18296,8 +18362,18 @@ export class RSVPEventApi extends BaseAPI {
|
|
|
18296
18362
|
* @param {*} [options] Override http request option.
|
|
18297
18363
|
* @throws {RequiredError}
|
|
18298
18364
|
*/
|
|
18299
|
-
public
|
|
18300
|
-
return RSVPEventApiFp(this.configuration).
|
|
18365
|
+
public rSVPControllerAddRSVPEvent(rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
18366
|
+
return RSVPEventApiFp(this.configuration).rSVPControllerAddRSVPEvent(rSVPEvenPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
18367
|
+
}
|
|
18368
|
+
|
|
18369
|
+
/**
|
|
18370
|
+
*
|
|
18371
|
+
* @param {string} id
|
|
18372
|
+
* @param {*} [options] Override http request option.
|
|
18373
|
+
* @throws {RequiredError}
|
|
18374
|
+
*/
|
|
18375
|
+
public rSVPControllerDeleteRSVPEvent(id: string, options?: RawAxiosRequestConfig) {
|
|
18376
|
+
return RSVPEventApiFp(this.configuration).rSVPControllerDeleteRSVPEvent(id, options).then((request) => request(this.axios, this.basePath));
|
|
18301
18377
|
}
|
|
18302
18378
|
|
|
18303
18379
|
/**
|
|
@@ -18306,8 +18382,8 @@ export class RSVPEventApi extends BaseAPI {
|
|
|
18306
18382
|
* @param {*} [options] Override http request option.
|
|
18307
18383
|
* @throws {RequiredError}
|
|
18308
18384
|
*/
|
|
18309
|
-
public
|
|
18310
|
-
return RSVPEventApiFp(this.configuration).
|
|
18385
|
+
public rSVPControllerRsvpEventById(id: string, options?: RawAxiosRequestConfig) {
|
|
18386
|
+
return RSVPEventApiFp(this.configuration).rSVPControllerRsvpEventById(id, options).then((request) => request(this.axios, this.basePath));
|
|
18311
18387
|
}
|
|
18312
18388
|
|
|
18313
18389
|
/**
|
|
@@ -18319,8 +18395,8 @@ export class RSVPEventApi extends BaseAPI {
|
|
|
18319
18395
|
* @param {*} [options] Override http request option.
|
|
18320
18396
|
* @throws {RequiredError}
|
|
18321
18397
|
*/
|
|
18322
|
-
public
|
|
18323
|
-
return RSVPEventApiFp(this.configuration).
|
|
18398
|
+
public rSVPControllerRsvpEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
|
|
18399
|
+
return RSVPEventApiFp(this.configuration).rSVPControllerRsvpEvents(page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
|
|
18324
18400
|
}
|
|
18325
18401
|
|
|
18326
18402
|
/**
|
|
@@ -18330,8 +18406,8 @@ export class RSVPEventApi extends BaseAPI {
|
|
|
18330
18406
|
* @param {*} [options] Override http request option.
|
|
18331
18407
|
* @throws {RequiredError}
|
|
18332
18408
|
*/
|
|
18333
|
-
public
|
|
18334
|
-
return RSVPEventApiFp(this.configuration).
|
|
18409
|
+
public rSVPControllerUpdateRSVPEvent(id: string, rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
18410
|
+
return RSVPEventApiFp(this.configuration).rSVPControllerUpdateRSVPEvent(id, rSVPEvenPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
18335
18411
|
}
|
|
18336
18412
|
}
|
|
18337
18413
|
|
|
@@ -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-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-
|
|
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]
|
|
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-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2025-12-
|
|
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]
|
|
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]
|
|
@@ -22,13 +22,13 @@ Name | Type | Description | Notes
|
|
|
22
22
|
**userId** | **string** | user | [default to undefined]
|
|
23
23
|
**business** | **string** | Business | [default to undefined]
|
|
24
24
|
**venue** | **string** | Business venue | [default to undefined]
|
|
25
|
-
**tags** | **Array<string>** | | [default to undefined]
|
|
26
|
-
**hideLocation** | **boolean** | | [default to undefined]
|
|
25
|
+
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
26
|
+
**hideLocation** | **boolean** | | [optional] [default to undefined]
|
|
27
27
|
**hostBy** | **string** | | [default to undefined]
|
|
28
|
-
**
|
|
29
|
-
**photo** | **string** | | [default to undefined]
|
|
30
|
-
**timezone** | **string** | | [default to undefined]
|
|
31
|
-
**
|
|
28
|
+
**hostImage** | **string** | | [default to undefined]
|
|
29
|
+
**photo** | **string** | | [optional] [default to undefined]
|
|
30
|
+
**timezone** | **string** | | [optional] [default to undefined]
|
|
31
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
32
32
|
**externalTicketing** | **string** | | [optional] [default to undefined]
|
|
33
33
|
**otherLink** | **string** | | [optional] [default to undefined]
|
|
34
34
|
**location** | [**RSVPEventLocationDTO**](RSVPEventLocationDTO.md) | | [optional] [default to undefined]
|
|
@@ -60,10 +60,10 @@ const instance: RSVPEvenPayloadDTO = {
|
|
|
60
60
|
tags,
|
|
61
61
|
hideLocation,
|
|
62
62
|
hostBy,
|
|
63
|
-
|
|
63
|
+
hostImage,
|
|
64
64
|
photo,
|
|
65
65
|
timezone,
|
|
66
|
-
|
|
66
|
+
type,
|
|
67
67
|
externalTicketing,
|
|
68
68
|
otherLink,
|
|
69
69
|
location,
|
package/docs/RSVPEventApi.md
CHANGED
|
@@ -4,13 +4,14 @@ All URIs are relative to *http://localhost:8080*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**
|
|
8
|
-
|[**
|
|
9
|
-
|[**
|
|
10
|
-
|[**
|
|
7
|
+
|[**rSVPControllerAddRSVPEvent**](#rsvpcontrolleraddrsvpevent) | **POST** /v1/rsvp | |
|
|
8
|
+
|[**rSVPControllerDeleteRSVPEvent**](#rsvpcontrollerdeletersvpevent) | **DELETE** /v1/rsvp | |
|
|
9
|
+
|[**rSVPControllerRsvpEventById**](#rsvpcontrollerrsvpeventbyid) | **GET** /v1/rsvp/{id} | |
|
|
10
|
+
|[**rSVPControllerRsvpEvents**](#rsvpcontrollerrsvpevents) | **GET** /v1/rsvp | |
|
|
11
|
+
|[**rSVPControllerUpdateRSVPEvent**](#rsvpcontrollerupdatersvpevent) | **PUT** /v1/rsvp/{id} | |
|
|
11
12
|
|
|
12
|
-
# **
|
|
13
|
-
> RSVPEventDTO
|
|
13
|
+
# **rSVPControllerAddRSVPEvent**
|
|
14
|
+
> RSVPEventDTO rSVPControllerAddRSVPEvent(rSVPEvenPayloadDTO)
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
### Example
|
|
@@ -27,7 +28,7 @@ const apiInstance = new RSVPEventApi(configuration);
|
|
|
27
28
|
|
|
28
29
|
let rSVPEvenPayloadDTO: RSVPEvenPayloadDTO; //
|
|
29
30
|
|
|
30
|
-
const { status, data } = await apiInstance.
|
|
31
|
+
const { status, data } = await apiInstance.rSVPControllerAddRSVPEvent(
|
|
31
32
|
rSVPEvenPayloadDTO
|
|
32
33
|
);
|
|
33
34
|
```
|
|
@@ -60,8 +61,8 @@ No authorization required
|
|
|
60
61
|
|
|
61
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)
|
|
62
63
|
|
|
63
|
-
# **
|
|
64
|
-
>
|
|
64
|
+
# **rSVPControllerDeleteRSVPEvent**
|
|
65
|
+
> RSVPEventResponseDTO rSVPControllerDeleteRSVPEvent()
|
|
65
66
|
|
|
66
67
|
|
|
67
68
|
### Example
|
|
@@ -77,7 +78,57 @@ const apiInstance = new RSVPEventApi(configuration);
|
|
|
77
78
|
|
|
78
79
|
let id: string; // (default to undefined)
|
|
79
80
|
|
|
80
|
-
const { status, data } = await apiInstance.
|
|
81
|
+
const { status, data } = await apiInstance.rSVPControllerDeleteRSVPEvent(
|
|
82
|
+
id
|
|
83
|
+
);
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### Parameters
|
|
87
|
+
|
|
88
|
+
|Name | Type | Description | Notes|
|
|
89
|
+
|------------- | ------------- | ------------- | -------------|
|
|
90
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
### Return type
|
|
94
|
+
|
|
95
|
+
**RSVPEventResponseDTO**
|
|
96
|
+
|
|
97
|
+
### Authorization
|
|
98
|
+
|
|
99
|
+
[bearer](../README.md#bearer)
|
|
100
|
+
|
|
101
|
+
### HTTP request headers
|
|
102
|
+
|
|
103
|
+
- **Content-Type**: Not defined
|
|
104
|
+
- **Accept**: application/json
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
### HTTP response details
|
|
108
|
+
| Status code | Description | Response headers |
|
|
109
|
+
|-------------|-------------|------------------|
|
|
110
|
+
|**200** | | - |
|
|
111
|
+
|
|
112
|
+
[[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)
|
|
113
|
+
|
|
114
|
+
# **rSVPControllerRsvpEventById**
|
|
115
|
+
> RSVPEventDTO rSVPControllerRsvpEventById()
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### Example
|
|
119
|
+
|
|
120
|
+
```typescript
|
|
121
|
+
import {
|
|
122
|
+
RSVPEventApi,
|
|
123
|
+
Configuration
|
|
124
|
+
} from './api';
|
|
125
|
+
|
|
126
|
+
const configuration = new Configuration();
|
|
127
|
+
const apiInstance = new RSVPEventApi(configuration);
|
|
128
|
+
|
|
129
|
+
let id: string; // (default to undefined)
|
|
130
|
+
|
|
131
|
+
const { status, data } = await apiInstance.rSVPControllerRsvpEventById(
|
|
81
132
|
id
|
|
82
133
|
);
|
|
83
134
|
```
|
|
@@ -110,8 +161,8 @@ No authorization required
|
|
|
110
161
|
|
|
111
162
|
[[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)
|
|
112
163
|
|
|
113
|
-
# **
|
|
114
|
-
> RSVPEventResponseDTO
|
|
164
|
+
# **rSVPControllerRsvpEvents**
|
|
165
|
+
> RSVPEventResponseDTO rSVPControllerRsvpEvents()
|
|
115
166
|
|
|
116
167
|
|
|
117
168
|
### Example
|
|
@@ -130,7 +181,7 @@ let pageSize: number; // (default to undefined)
|
|
|
130
181
|
let search: string; // (optional) (default to undefined)
|
|
131
182
|
let venue: string; // (optional) (default to undefined)
|
|
132
183
|
|
|
133
|
-
const { status, data } = await apiInstance.
|
|
184
|
+
const { status, data } = await apiInstance.rSVPControllerRsvpEvents(
|
|
134
185
|
page,
|
|
135
186
|
pageSize,
|
|
136
187
|
search,
|
|
@@ -154,7 +205,7 @@ const { status, data } = await apiInstance.searchControllerRsvpEvents(
|
|
|
154
205
|
|
|
155
206
|
### Authorization
|
|
156
207
|
|
|
157
|
-
|
|
208
|
+
[bearer](../README.md#bearer)
|
|
158
209
|
|
|
159
210
|
### HTTP request headers
|
|
160
211
|
|
|
@@ -169,8 +220,8 @@ No authorization required
|
|
|
169
220
|
|
|
170
221
|
[[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)
|
|
171
222
|
|
|
172
|
-
# **
|
|
173
|
-
> RSVPEventDTO
|
|
223
|
+
# **rSVPControllerUpdateRSVPEvent**
|
|
224
|
+
> RSVPEventDTO rSVPControllerUpdateRSVPEvent(rSVPEvenPayloadDTO)
|
|
174
225
|
|
|
175
226
|
|
|
176
227
|
### Example
|
|
@@ -188,7 +239,7 @@ const apiInstance = new RSVPEventApi(configuration);
|
|
|
188
239
|
let id: string; // (default to undefined)
|
|
189
240
|
let rSVPEvenPayloadDTO: RSVPEvenPayloadDTO; //
|
|
190
241
|
|
|
191
|
-
const { status, data } = await apiInstance.
|
|
242
|
+
const { status, data } = await apiInstance.rSVPControllerUpdateRSVPEvent(
|
|
192
243
|
id,
|
|
193
244
|
rSVPEvenPayloadDTO
|
|
194
245
|
);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# RSVPEventResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**count** | **number** | | [default to undefined]
|
|
9
|
+
**data** | [**Array<RSVPEventEntity>**](RSVPEventEntity.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { RSVPEventResponse } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: RSVPEventResponse = {
|
|
17
|
+
count,
|
|
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)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
-
**data** | [**
|
|
9
|
+
**data** | [**RSVPEventResponse**](RSVPEventResponse.md) | | [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
@@ -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-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-12-03T19:42:17+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-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-12-
|
|
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]
|
|
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]
|