@gooday_corp/gooday-api-client 4.4.27 → 4.4.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.
@@ -273,6 +273,13 @@ docs/PriceRangeListResponse.md
273
273
  docs/ProductResponseDTO.md
274
274
  docs/PromoCode.md
275
275
  docs/PromoCodeResponseDTO.md
276
+ docs/RSVPEvenPayloadDTO.md
277
+ docs/RSVPEventApi.md
278
+ docs/RSVPEventDTO.md
279
+ docs/RSVPEventEntity.md
280
+ docs/RSVPEventLocationDTO.md
281
+ docs/RSVPEventMetaDTO.md
282
+ docs/RSVPEventResponseDTO.md
276
283
  docs/RegularBookingAvailabilityPayloadDTO.md
277
284
  docs/RegularBookingAvailabilityResponseDTO.md
278
285
  docs/RejectBookingInvitePayload.md
package/api.ts CHANGED
@@ -3725,6 +3725,202 @@ export interface PromoCodeResponseDTO {
3725
3725
  */
3726
3726
  'message': string;
3727
3727
  }
3728
+ export interface RSVPEvenPayloadDTO {
3729
+ /**
3730
+ * Start date of event
3731
+ */
3732
+ 'startDate': string;
3733
+ /**
3734
+ * End date of event
3735
+ */
3736
+ 'endDate': string;
3737
+ /**
3738
+ * Recurrence End date of event
3739
+ */
3740
+ 'recurrenceEndDate': string;
3741
+ /**
3742
+ * Start hour of an event
3743
+ */
3744
+ 'from': string;
3745
+ /**
3746
+ * End hour of an event
3747
+ */
3748
+ 'to': string;
3749
+ 'repeat': RSVPEvenPayloadDTORepeatEnum;
3750
+ 'byDay'?: string;
3751
+ 'byMonthDay'?: string;
3752
+ 'byMonth'?: string;
3753
+ 'repeatBy'?: string;
3754
+ /**
3755
+ * Event name
3756
+ */
3757
+ 'title': string;
3758
+ 'price': number;
3759
+ 'description': string;
3760
+ 'capacity': number;
3761
+ /**
3762
+ * user
3763
+ */
3764
+ 'userId': string;
3765
+ /**
3766
+ * Business
3767
+ */
3768
+ 'business': string;
3769
+ /**
3770
+ * Business venue
3771
+ */
3772
+ 'venue': string;
3773
+ 'tags'?: Array<string>;
3774
+ 'hideLocation'?: boolean;
3775
+ 'hostBy': string;
3776
+ 'hostImage': string;
3777
+ 'photo'?: string;
3778
+ 'timezone'?: string;
3779
+ 'type': RSVPEvenPayloadDTOTypeEnum;
3780
+ 'externalTicketing'?: string;
3781
+ 'otherLink'?: string;
3782
+ 'location'?: RSVPEventLocationDTO;
3783
+ 'discounts'?: Array<Discount>;
3784
+ }
3785
+
3786
+ export const RSVPEvenPayloadDTORepeatEnum = {
3787
+ None: 'NONE',
3788
+ Daily: 'DAILY',
3789
+ Weekly: 'WEEKLY',
3790
+ Monthly: 'MONTHLY',
3791
+ Year: 'YEAR'
3792
+ } as const;
3793
+
3794
+ export type RSVPEvenPayloadDTORepeatEnum = typeof RSVPEvenPayloadDTORepeatEnum[keyof typeof RSVPEvenPayloadDTORepeatEnum];
3795
+ export const RSVPEvenPayloadDTOTypeEnum = {
3796
+ Public: 'PUBLIC',
3797
+ Private: 'PRIVATE'
3798
+ } as const;
3799
+
3800
+ export type RSVPEvenPayloadDTOTypeEnum = typeof RSVPEvenPayloadDTOTypeEnum[keyof typeof RSVPEvenPayloadDTOTypeEnum];
3801
+
3802
+ export interface RSVPEventDTO {
3803
+ /**
3804
+ * statusCode
3805
+ */
3806
+ 'statusCode': number;
3807
+ 'data': RSVPEventEntity;
3808
+ }
3809
+ export interface RSVPEventEntity {
3810
+ /**
3811
+ * Is recurring event
3812
+ */
3813
+ 'isRecurring': boolean;
3814
+ /**
3815
+ * Duration in minutes
3816
+ */
3817
+ 'duration': number;
3818
+ /**
3819
+ * Repeat interval for event
3820
+ */
3821
+ 'repeat': RSVPEventEntityRepeatEnum;
3822
+ /**
3823
+ * Start date of an event
3824
+ */
3825
+ 'startDate': string;
3826
+ /**
3827
+ * End date of an event
3828
+ */
3829
+ 'endDate': string;
3830
+ /**
3831
+ * Recurrence end date of an event
3832
+ */
3833
+ 'recurrenceEndDate': string;
3834
+ /**
3835
+ * Recurrence pattern
3836
+ */
3837
+ 'pattern'?: string;
3838
+ 'byDay'?: string;
3839
+ 'byMonthDay'?: string;
3840
+ 'byMonth'?: string;
3841
+ 'repeatBy'?: string;
3842
+ /**
3843
+ * Unique identifier for the booking
3844
+ */
3845
+ '_id': string;
3846
+ /**
3847
+ * Event name
3848
+ */
3849
+ 'title': string;
3850
+ 'price': number;
3851
+ 'description': string;
3852
+ 'capacity': number;
3853
+ /**
3854
+ * user
3855
+ */
3856
+ 'userId': UserEntity;
3857
+ /**
3858
+ * Business
3859
+ */
3860
+ 'business': BusinessEntity;
3861
+ /**
3862
+ * Business venue
3863
+ */
3864
+ 'venue': BusinessVenueDetailsEntity;
3865
+ 'tags': Array<string>;
3866
+ 'hideLocation': boolean;
3867
+ 'hostBy': string;
3868
+ 'hostImage': string;
3869
+ 'photo': string;
3870
+ 'timezone': string;
3871
+ 'type': RSVPEventEntityTypeEnum;
3872
+ 'externalTicketing'?: string;
3873
+ 'otherLink'?: string;
3874
+ 'location'?: RSVPEventLocationDTO;
3875
+ 'discounts'?: Array<Discount>;
3876
+ }
3877
+
3878
+ export const RSVPEventEntityRepeatEnum = {
3879
+ None: 'NONE',
3880
+ Daily: 'DAILY',
3881
+ Weekly: 'WEEKLY',
3882
+ Monthly: 'MONTHLY',
3883
+ Year: 'YEAR'
3884
+ } as const;
3885
+
3886
+ export type RSVPEventEntityRepeatEnum = typeof RSVPEventEntityRepeatEnum[keyof typeof RSVPEventEntityRepeatEnum];
3887
+ export const RSVPEventEntityTypeEnum = {
3888
+ Public: 'PUBLIC',
3889
+ Private: 'PRIVATE'
3890
+ } as const;
3891
+
3892
+ export type RSVPEventEntityTypeEnum = typeof RSVPEventEntityTypeEnum[keyof typeof RSVPEventEntityTypeEnum];
3893
+
3894
+ export interface RSVPEventLocationDTO {
3895
+ 'type': RSVPEventLocationDTOTypeEnum;
3896
+ 'coordinates': Array<number>;
3897
+ /**
3898
+ * Optional distance from a reference point.
3899
+ */
3900
+ 'distance'?: string;
3901
+ /**
3902
+ * Meta information about the location.
3903
+ */
3904
+ 'meta': RSVPEventMetaDTO;
3905
+ }
3906
+
3907
+ export const RSVPEventLocationDTOTypeEnum = {
3908
+ Point: 'Point'
3909
+ } as const;
3910
+
3911
+ export type RSVPEventLocationDTOTypeEnum = typeof RSVPEventLocationDTOTypeEnum[keyof typeof RSVPEventLocationDTOTypeEnum];
3912
+
3913
+ export interface RSVPEventMetaDTO {
3914
+ 'formattedAddress'?: string;
3915
+ 'shortFormattedAddress': string;
3916
+ }
3917
+ export interface RSVPEventResponseDTO {
3918
+ /**
3919
+ * statusCode
3920
+ */
3921
+ 'statusCode': number;
3922
+ 'data': Array<RSVPEventEntity>;
3923
+ }
3728
3924
  export interface RegularBookingAvailabilityPayloadDTO {
3729
3925
  /**
3730
3926
  * Start date for the events
@@ -17812,6 +18008,335 @@ export class PrepaidServiceApi extends BaseAPI {
17812
18008
 
17813
18009
 
17814
18010
 
18011
+ /**
18012
+ * RSVPEventApi - axios parameter creator
18013
+ */
18014
+ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configuration) {
18015
+ return {
18016
+ /**
18017
+ *
18018
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18019
+ * @param {*} [options] Override http request option.
18020
+ * @throws {RequiredError}
18021
+ */
18022
+ searchControllerAddRSVPEvent: async (rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18023
+ // verify required parameter 'rSVPEvenPayloadDTO' is not null or undefined
18024
+ assertParamExists('searchControllerAddRSVPEvent', 'rSVPEvenPayloadDTO', rSVPEvenPayloadDTO)
18025
+ const localVarPath = `/v1/rsvp`;
18026
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18027
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18028
+ let baseOptions;
18029
+ if (configuration) {
18030
+ baseOptions = configuration.baseOptions;
18031
+ }
18032
+
18033
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18034
+ const localVarHeaderParameter = {} as any;
18035
+ const localVarQueryParameter = {} as any;
18036
+
18037
+
18038
+
18039
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18040
+
18041
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18042
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18043
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18044
+ localVarRequestOptions.data = serializeDataIfNeeded(rSVPEvenPayloadDTO, localVarRequestOptions, configuration)
18045
+
18046
+ return {
18047
+ url: toPathString(localVarUrlObj),
18048
+ options: localVarRequestOptions,
18049
+ };
18050
+ },
18051
+ /**
18052
+ *
18053
+ * @param {string} id
18054
+ * @param {*} [options] Override http request option.
18055
+ * @throws {RequiredError}
18056
+ */
18057
+ searchControllerRsvpEventById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18058
+ // verify required parameter 'id' is not null or undefined
18059
+ assertParamExists('searchControllerRsvpEventById', 'id', id)
18060
+ const localVarPath = `/v1/rsvp/{id}`
18061
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
18062
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18063
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18064
+ let baseOptions;
18065
+ if (configuration) {
18066
+ baseOptions = configuration.baseOptions;
18067
+ }
18068
+
18069
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18070
+ const localVarHeaderParameter = {} as any;
18071
+ const localVarQueryParameter = {} as any;
18072
+
18073
+
18074
+
18075
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18076
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18077
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18078
+
18079
+ return {
18080
+ url: toPathString(localVarUrlObj),
18081
+ options: localVarRequestOptions,
18082
+ };
18083
+ },
18084
+ /**
18085
+ *
18086
+ * @param {number} page
18087
+ * @param {number} pageSize
18088
+ * @param {string} [search]
18089
+ * @param {string} [venue]
18090
+ * @param {*} [options] Override http request option.
18091
+ * @throws {RequiredError}
18092
+ */
18093
+ searchControllerRsvpEvents: async (page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18094
+ // verify required parameter 'page' is not null or undefined
18095
+ assertParamExists('searchControllerRsvpEvents', 'page', page)
18096
+ // verify required parameter 'pageSize' is not null or undefined
18097
+ assertParamExists('searchControllerRsvpEvents', 'pageSize', pageSize)
18098
+ const localVarPath = `/v1/rsvp`;
18099
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18100
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18101
+ let baseOptions;
18102
+ if (configuration) {
18103
+ baseOptions = configuration.baseOptions;
18104
+ }
18105
+
18106
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18107
+ const localVarHeaderParameter = {} as any;
18108
+ const localVarQueryParameter = {} as any;
18109
+
18110
+ if (page !== undefined) {
18111
+ localVarQueryParameter['page'] = page;
18112
+ }
18113
+
18114
+ if (pageSize !== undefined) {
18115
+ localVarQueryParameter['pageSize'] = pageSize;
18116
+ }
18117
+
18118
+ if (search !== undefined) {
18119
+ localVarQueryParameter['search'] = search;
18120
+ }
18121
+
18122
+ if (venue !== undefined) {
18123
+ localVarQueryParameter['venue'] = venue;
18124
+ }
18125
+
18126
+
18127
+
18128
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18129
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18130
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18131
+
18132
+ return {
18133
+ url: toPathString(localVarUrlObj),
18134
+ options: localVarRequestOptions,
18135
+ };
18136
+ },
18137
+ /**
18138
+ *
18139
+ * @param {string} id
18140
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18141
+ * @param {*} [options] Override http request option.
18142
+ * @throws {RequiredError}
18143
+ */
18144
+ searchControllerUpdateRSVPEvent: async (id: string, rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18145
+ // verify required parameter 'id' is not null or undefined
18146
+ assertParamExists('searchControllerUpdateRSVPEvent', 'id', id)
18147
+ // verify required parameter 'rSVPEvenPayloadDTO' is not null or undefined
18148
+ assertParamExists('searchControllerUpdateRSVPEvent', 'rSVPEvenPayloadDTO', rSVPEvenPayloadDTO)
18149
+ const localVarPath = `/v1/rsvp/{id}`
18150
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
18151
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18152
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18153
+ let baseOptions;
18154
+ if (configuration) {
18155
+ baseOptions = configuration.baseOptions;
18156
+ }
18157
+
18158
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
18159
+ const localVarHeaderParameter = {} as any;
18160
+ const localVarQueryParameter = {} as any;
18161
+
18162
+
18163
+
18164
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18165
+
18166
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18167
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18168
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18169
+ localVarRequestOptions.data = serializeDataIfNeeded(rSVPEvenPayloadDTO, localVarRequestOptions, configuration)
18170
+
18171
+ return {
18172
+ url: toPathString(localVarUrlObj),
18173
+ options: localVarRequestOptions,
18174
+ };
18175
+ },
18176
+ }
18177
+ };
18178
+
18179
+ /**
18180
+ * RSVPEventApi - functional programming interface
18181
+ */
18182
+ export const RSVPEventApiFp = function(configuration?: Configuration) {
18183
+ const localVarAxiosParamCreator = RSVPEventApiAxiosParamCreator(configuration)
18184
+ return {
18185
+ /**
18186
+ *
18187
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18188
+ * @param {*} [options] Override http request option.
18189
+ * @throws {RequiredError}
18190
+ */
18191
+ async searchControllerAddRSVPEvent(rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventDTO>> {
18192
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerAddRSVPEvent(rSVPEvenPayloadDTO, options);
18193
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18194
+ const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.searchControllerAddRSVPEvent']?.[localVarOperationServerIndex]?.url;
18195
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18196
+ },
18197
+ /**
18198
+ *
18199
+ * @param {string} id
18200
+ * @param {*} [options] Override http request option.
18201
+ * @throws {RequiredError}
18202
+ */
18203
+ async searchControllerRsvpEventById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventDTO>> {
18204
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerRsvpEventById(id, options);
18205
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18206
+ const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.searchControllerRsvpEventById']?.[localVarOperationServerIndex]?.url;
18207
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18208
+ },
18209
+ /**
18210
+ *
18211
+ * @param {number} page
18212
+ * @param {number} pageSize
18213
+ * @param {string} [search]
18214
+ * @param {string} [venue]
18215
+ * @param {*} [options] Override http request option.
18216
+ * @throws {RequiredError}
18217
+ */
18218
+ async searchControllerRsvpEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
18219
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerRsvpEvents(page, pageSize, search, venue, options);
18220
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18221
+ const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.searchControllerRsvpEvents']?.[localVarOperationServerIndex]?.url;
18222
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18223
+ },
18224
+ /**
18225
+ *
18226
+ * @param {string} id
18227
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18228
+ * @param {*} [options] Override http request option.
18229
+ * @throws {RequiredError}
18230
+ */
18231
+ async searchControllerUpdateRSVPEvent(id: string, rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventDTO>> {
18232
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerUpdateRSVPEvent(id, rSVPEvenPayloadDTO, options);
18233
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18234
+ const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.searchControllerUpdateRSVPEvent']?.[localVarOperationServerIndex]?.url;
18235
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18236
+ },
18237
+ }
18238
+ };
18239
+
18240
+ /**
18241
+ * RSVPEventApi - factory interface
18242
+ */
18243
+ export const RSVPEventApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
18244
+ const localVarFp = RSVPEventApiFp(configuration)
18245
+ return {
18246
+ /**
18247
+ *
18248
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18249
+ * @param {*} [options] Override http request option.
18250
+ * @throws {RequiredError}
18251
+ */
18252
+ searchControllerAddRSVPEvent(rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventDTO> {
18253
+ return localVarFp.searchControllerAddRSVPEvent(rSVPEvenPayloadDTO, options).then((request) => request(axios, basePath));
18254
+ },
18255
+ /**
18256
+ *
18257
+ * @param {string} id
18258
+ * @param {*} [options] Override http request option.
18259
+ * @throws {RequiredError}
18260
+ */
18261
+ searchControllerRsvpEventById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventDTO> {
18262
+ return localVarFp.searchControllerRsvpEventById(id, options).then((request) => request(axios, basePath));
18263
+ },
18264
+ /**
18265
+ *
18266
+ * @param {number} page
18267
+ * @param {number} pageSize
18268
+ * @param {string} [search]
18269
+ * @param {string} [venue]
18270
+ * @param {*} [options] Override http request option.
18271
+ * @throws {RequiredError}
18272
+ */
18273
+ searchControllerRsvpEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
18274
+ return localVarFp.searchControllerRsvpEvents(page, pageSize, search, venue, options).then((request) => request(axios, basePath));
18275
+ },
18276
+ /**
18277
+ *
18278
+ * @param {string} id
18279
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18280
+ * @param {*} [options] Override http request option.
18281
+ * @throws {RequiredError}
18282
+ */
18283
+ searchControllerUpdateRSVPEvent(id: string, rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventDTO> {
18284
+ return localVarFp.searchControllerUpdateRSVPEvent(id, rSVPEvenPayloadDTO, options).then((request) => request(axios, basePath));
18285
+ },
18286
+ };
18287
+ };
18288
+
18289
+ /**
18290
+ * RSVPEventApi - object-oriented interface
18291
+ */
18292
+ export class RSVPEventApi extends BaseAPI {
18293
+ /**
18294
+ *
18295
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18296
+ * @param {*} [options] Override http request option.
18297
+ * @throws {RequiredError}
18298
+ */
18299
+ public searchControllerAddRSVPEvent(rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig) {
18300
+ return RSVPEventApiFp(this.configuration).searchControllerAddRSVPEvent(rSVPEvenPayloadDTO, options).then((request) => request(this.axios, this.basePath));
18301
+ }
18302
+
18303
+ /**
18304
+ *
18305
+ * @param {string} id
18306
+ * @param {*} [options] Override http request option.
18307
+ * @throws {RequiredError}
18308
+ */
18309
+ public searchControllerRsvpEventById(id: string, options?: RawAxiosRequestConfig) {
18310
+ return RSVPEventApiFp(this.configuration).searchControllerRsvpEventById(id, options).then((request) => request(this.axios, this.basePath));
18311
+ }
18312
+
18313
+ /**
18314
+ *
18315
+ * @param {number} page
18316
+ * @param {number} pageSize
18317
+ * @param {string} [search]
18318
+ * @param {string} [venue]
18319
+ * @param {*} [options] Override http request option.
18320
+ * @throws {RequiredError}
18321
+ */
18322
+ public searchControllerRsvpEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
18323
+ return RSVPEventApiFp(this.configuration).searchControllerRsvpEvents(page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
18324
+ }
18325
+
18326
+ /**
18327
+ *
18328
+ * @param {string} id
18329
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18330
+ * @param {*} [options] Override http request option.
18331
+ * @throws {RequiredError}
18332
+ */
18333
+ public searchControllerUpdateRSVPEvent(id: string, rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig) {
18334
+ return RSVPEventApiFp(this.configuration).searchControllerUpdateRSVPEvent(id, rSVPEvenPayloadDTO, options).then((request) => request(this.axios, this.basePath));
18335
+ }
18336
+ }
18337
+
18338
+
18339
+
17815
18340
  /**
17816
18341
  * SearchHistoryApi - axios parameter creator
17817
18342
  */
@@ -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-11-27T16:46:12+05:30]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-11-27T16:46:12+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-12-03T17:42:13+05:30]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-12-03T17:42:13+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-11-27T16:46:12+05:30]
10
- **endDate** | **string** | The start date of the booking | [default to 2025-11-27T16:46:12+05:30]
9
+ **startDate** | **string** | The start date of the booking | [default to 2025-12-03T17:42:13+05:30]
10
+ **endDate** | **string** | The start date of the booking | [default to 2025-12-03T17:42:13+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]
@@ -0,0 +1,74 @@
1
+ # RSVPEvenPayloadDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **startDate** | **string** | Start date of event | [default to undefined]
9
+ **endDate** | **string** | End date of event | [default to undefined]
10
+ **recurrenceEndDate** | **string** | Recurrence End date of event | [default to undefined]
11
+ **from** | **string** | Start hour of an event | [default to undefined]
12
+ **to** | **string** | End hour of an event | [default to undefined]
13
+ **repeat** | **string** | | [default to undefined]
14
+ **byDay** | **string** | | [optional] [default to undefined]
15
+ **byMonthDay** | **string** | | [optional] [default to undefined]
16
+ **byMonth** | **string** | | [optional] [default to undefined]
17
+ **repeatBy** | **string** | | [optional] [default to undefined]
18
+ **title** | **string** | Event name | [default to undefined]
19
+ **price** | **number** | | [default to undefined]
20
+ **description** | **string** | | [default to undefined]
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]
25
+ **tags** | **Array&lt;string&gt;** | | [optional] [default to undefined]
26
+ **hideLocation** | **boolean** | | [optional] [default to undefined]
27
+ **hostBy** | **string** | | [default to undefined]
28
+ **hostImage** | **string** | | [default to undefined]
29
+ **photo** | **string** | | [optional] [default to undefined]
30
+ **timezone** | **string** | | [optional] [default to undefined]
31
+ **type** | **string** | | [default to undefined]
32
+ **externalTicketing** | **string** | | [optional] [default to undefined]
33
+ **otherLink** | **string** | | [optional] [default to undefined]
34
+ **location** | [**RSVPEventLocationDTO**](RSVPEventLocationDTO.md) | | [optional] [default to undefined]
35
+ **discounts** | [**Array&lt;Discount&gt;**](Discount.md) | | [optional] [default to undefined]
36
+
37
+ ## Example
38
+
39
+ ```typescript
40
+ import { RSVPEvenPayloadDTO } from './api';
41
+
42
+ const instance: RSVPEvenPayloadDTO = {
43
+ startDate,
44
+ endDate,
45
+ recurrenceEndDate,
46
+ from,
47
+ to,
48
+ repeat,
49
+ byDay,
50
+ byMonthDay,
51
+ byMonth,
52
+ repeatBy,
53
+ title,
54
+ price,
55
+ description,
56
+ capacity,
57
+ userId,
58
+ business,
59
+ venue,
60
+ tags,
61
+ hideLocation,
62
+ hostBy,
63
+ hostImage,
64
+ photo,
65
+ timezone,
66
+ type,
67
+ externalTicketing,
68
+ otherLink,
69
+ location,
70
+ discounts,
71
+ };
72
+ ```
73
+
74
+ [[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,225 @@
1
+ # RSVPEventApi
2
+
3
+ All URIs are relative to *http://localhost:8080*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**searchControllerAddRSVPEvent**](#searchcontrolleraddrsvpevent) | **POST** /v1/rsvp | |
8
+ |[**searchControllerRsvpEventById**](#searchcontrollerrsvpeventbyid) | **GET** /v1/rsvp/{id} | |
9
+ |[**searchControllerRsvpEvents**](#searchcontrollerrsvpevents) | **GET** /v1/rsvp | |
10
+ |[**searchControllerUpdateRSVPEvent**](#searchcontrollerupdatersvpevent) | **PUT** /v1/rsvp/{id} | |
11
+
12
+ # **searchControllerAddRSVPEvent**
13
+ > RSVPEventDTO searchControllerAddRSVPEvent(rSVPEvenPayloadDTO)
14
+
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ RSVPEventApi,
21
+ Configuration,
22
+ RSVPEvenPayloadDTO
23
+ } from './api';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new RSVPEventApi(configuration);
27
+
28
+ let rSVPEvenPayloadDTO: RSVPEvenPayloadDTO; //
29
+
30
+ const { status, data } = await apiInstance.searchControllerAddRSVPEvent(
31
+ rSVPEvenPayloadDTO
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **rSVPEvenPayloadDTO** | **RSVPEvenPayloadDTO**| | |
40
+
41
+
42
+ ### Return type
43
+
44
+ **RSVPEventDTO**
45
+
46
+ ### Authorization
47
+
48
+ No authorization required
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: application/json
53
+ - **Accept**: application/json
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**200** | | - |
60
+
61
+ [[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
+ # **searchControllerRsvpEventById**
64
+ > RSVPEventDTO searchControllerRsvpEventById()
65
+
66
+
67
+ ### Example
68
+
69
+ ```typescript
70
+ import {
71
+ RSVPEventApi,
72
+ Configuration
73
+ } from './api';
74
+
75
+ const configuration = new Configuration();
76
+ const apiInstance = new RSVPEventApi(configuration);
77
+
78
+ let id: string; // (default to undefined)
79
+
80
+ const { status, data } = await apiInstance.searchControllerRsvpEventById(
81
+ id
82
+ );
83
+ ```
84
+
85
+ ### Parameters
86
+
87
+ |Name | Type | Description | Notes|
88
+ |------------- | ------------- | ------------- | -------------|
89
+ | **id** | [**string**] | | defaults to undefined|
90
+
91
+
92
+ ### Return type
93
+
94
+ **RSVPEventDTO**
95
+
96
+ ### Authorization
97
+
98
+ No authorization required
99
+
100
+ ### HTTP request headers
101
+
102
+ - **Content-Type**: Not defined
103
+ - **Accept**: application/json
104
+
105
+
106
+ ### HTTP response details
107
+ | Status code | Description | Response headers |
108
+ |-------------|-------------|------------------|
109
+ |**200** | | - |
110
+
111
+ [[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
+
113
+ # **searchControllerRsvpEvents**
114
+ > RSVPEventResponseDTO searchControllerRsvpEvents()
115
+
116
+
117
+ ### Example
118
+
119
+ ```typescript
120
+ import {
121
+ RSVPEventApi,
122
+ Configuration
123
+ } from './api';
124
+
125
+ const configuration = new Configuration();
126
+ const apiInstance = new RSVPEventApi(configuration);
127
+
128
+ let page: number; // (default to undefined)
129
+ let pageSize: number; // (default to undefined)
130
+ let search: string; // (optional) (default to undefined)
131
+ let venue: string; // (optional) (default to undefined)
132
+
133
+ const { status, data } = await apiInstance.searchControllerRsvpEvents(
134
+ page,
135
+ pageSize,
136
+ search,
137
+ venue
138
+ );
139
+ ```
140
+
141
+ ### Parameters
142
+
143
+ |Name | Type | Description | Notes|
144
+ |------------- | ------------- | ------------- | -------------|
145
+ | **page** | [**number**] | | defaults to undefined|
146
+ | **pageSize** | [**number**] | | defaults to undefined|
147
+ | **search** | [**string**] | | (optional) defaults to undefined|
148
+ | **venue** | [**string**] | | (optional) defaults to undefined|
149
+
150
+
151
+ ### Return type
152
+
153
+ **RSVPEventResponseDTO**
154
+
155
+ ### Authorization
156
+
157
+ No authorization required
158
+
159
+ ### HTTP request headers
160
+
161
+ - **Content-Type**: Not defined
162
+ - **Accept**: application/json
163
+
164
+
165
+ ### HTTP response details
166
+ | Status code | Description | Response headers |
167
+ |-------------|-------------|------------------|
168
+ |**200** | | - |
169
+
170
+ [[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
+
172
+ # **searchControllerUpdateRSVPEvent**
173
+ > RSVPEventDTO searchControllerUpdateRSVPEvent(rSVPEvenPayloadDTO)
174
+
175
+
176
+ ### Example
177
+
178
+ ```typescript
179
+ import {
180
+ RSVPEventApi,
181
+ Configuration,
182
+ RSVPEvenPayloadDTO
183
+ } from './api';
184
+
185
+ const configuration = new Configuration();
186
+ const apiInstance = new RSVPEventApi(configuration);
187
+
188
+ let id: string; // (default to undefined)
189
+ let rSVPEvenPayloadDTO: RSVPEvenPayloadDTO; //
190
+
191
+ const { status, data } = await apiInstance.searchControllerUpdateRSVPEvent(
192
+ id,
193
+ rSVPEvenPayloadDTO
194
+ );
195
+ ```
196
+
197
+ ### Parameters
198
+
199
+ |Name | Type | Description | Notes|
200
+ |------------- | ------------- | ------------- | -------------|
201
+ | **rSVPEvenPayloadDTO** | **RSVPEvenPayloadDTO**| | |
202
+ | **id** | [**string**] | | defaults to undefined|
203
+
204
+
205
+ ### Return type
206
+
207
+ **RSVPEventDTO**
208
+
209
+ ### Authorization
210
+
211
+ No authorization required
212
+
213
+ ### HTTP request headers
214
+
215
+ - **Content-Type**: application/json
216
+ - **Accept**: application/json
217
+
218
+
219
+ ### HTTP response details
220
+ | Status code | Description | Response headers |
221
+ |-------------|-------------|------------------|
222
+ |**200** | | - |
223
+
224
+ [[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)
225
+
@@ -0,0 +1,22 @@
1
+ # RSVPEventDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **statusCode** | **number** | statusCode | [default to undefined]
9
+ **data** | [**RSVPEventEntity**](RSVPEventEntity.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { RSVPEventDTO } from './api';
15
+
16
+ const instance: RSVPEventDTO = {
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,78 @@
1
+ # RSVPEventEntity
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **isRecurring** | **boolean** | Is recurring event | [default to undefined]
9
+ **duration** | **number** | Duration in minutes | [default to undefined]
10
+ **repeat** | **string** | Repeat interval for event | [default to undefined]
11
+ **startDate** | **string** | Start date of an event | [default to undefined]
12
+ **endDate** | **string** | End date of an event | [default to undefined]
13
+ **recurrenceEndDate** | **string** | Recurrence end date of an event | [default to undefined]
14
+ **pattern** | **string** | Recurrence pattern | [optional] [default to undefined]
15
+ **byDay** | **string** | | [optional] [default to undefined]
16
+ **byMonthDay** | **string** | | [optional] [default to undefined]
17
+ **byMonth** | **string** | | [optional] [default to undefined]
18
+ **repeatBy** | **string** | | [optional] [default to undefined]
19
+ **_id** | **string** | Unique identifier for the booking | [default to undefined]
20
+ **title** | **string** | Event name | [default to undefined]
21
+ **price** | **number** | | [default to undefined]
22
+ **description** | **string** | | [default to undefined]
23
+ **capacity** | **number** | | [default to undefined]
24
+ **userId** | [**UserEntity**](UserEntity.md) | user | [default to undefined]
25
+ **business** | [**BusinessEntity**](BusinessEntity.md) | Business | [default to undefined]
26
+ **venue** | [**BusinessVenueDetailsEntity**](BusinessVenueDetailsEntity.md) | Business venue | [default to undefined]
27
+ **tags** | **Array&lt;string&gt;** | | [default to undefined]
28
+ **hideLocation** | **boolean** | | [default to undefined]
29
+ **hostBy** | **string** | | [default to undefined]
30
+ **hostImage** | **string** | | [default to undefined]
31
+ **photo** | **string** | | [default to undefined]
32
+ **timezone** | **string** | | [default to undefined]
33
+ **type** | **string** | | [default to undefined]
34
+ **externalTicketing** | **string** | | [optional] [default to undefined]
35
+ **otherLink** | **string** | | [optional] [default to undefined]
36
+ **location** | [**RSVPEventLocationDTO**](RSVPEventLocationDTO.md) | | [optional] [default to undefined]
37
+ **discounts** | [**Array&lt;Discount&gt;**](Discount.md) | | [optional] [default to undefined]
38
+
39
+ ## Example
40
+
41
+ ```typescript
42
+ import { RSVPEventEntity } from './api';
43
+
44
+ const instance: RSVPEventEntity = {
45
+ isRecurring,
46
+ duration,
47
+ repeat,
48
+ startDate,
49
+ endDate,
50
+ recurrenceEndDate,
51
+ pattern,
52
+ byDay,
53
+ byMonthDay,
54
+ byMonth,
55
+ repeatBy,
56
+ _id,
57
+ title,
58
+ price,
59
+ description,
60
+ capacity,
61
+ userId,
62
+ business,
63
+ venue,
64
+ tags,
65
+ hideLocation,
66
+ hostBy,
67
+ hostImage,
68
+ photo,
69
+ timezone,
70
+ type,
71
+ externalTicketing,
72
+ otherLink,
73
+ location,
74
+ discounts,
75
+ };
76
+ ```
77
+
78
+ [[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,26 @@
1
+ # RSVPEventLocationDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | **string** | | [default to undefined]
9
+ **coordinates** | **Array&lt;number&gt;** | | [default to undefined]
10
+ **distance** | **string** | Optional distance from a reference point. | [optional] [default to undefined]
11
+ **meta** | [**RSVPEventMetaDTO**](RSVPEventMetaDTO.md) | Meta information about the location. | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { RSVPEventLocationDTO } from './api';
17
+
18
+ const instance: RSVPEventLocationDTO = {
19
+ type,
20
+ coordinates,
21
+ distance,
22
+ meta,
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)
@@ -0,0 +1,22 @@
1
+ # RSVPEventMetaDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **formattedAddress** | **string** | | [optional] [default to undefined]
9
+ **shortFormattedAddress** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { RSVPEventMetaDTO } from './api';
15
+
16
+ const instance: RSVPEventMetaDTO = {
17
+ formattedAddress,
18
+ shortFormattedAddress,
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
+ # RSVPEventResponseDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **statusCode** | **number** | statusCode | [default to undefined]
9
+ **data** | [**Array&lt;RSVPEventEntity&gt;**](RSVPEventEntity.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { RSVPEventResponseDTO } from './api';
15
+
16
+ const instance: RSVPEventResponseDTO = {
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 2025-11-27T16:46:12+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-12-03T17:42:13+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-11-27T16:46:12+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-11-27T17:46:12+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-12-03T17:42:13+05:30]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-12-03T18:42:13+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.27",
3
+ "version": "4.4.31",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},