@gooday_corp/gooday-api-client 4.5.96 → 4.5.100
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 +560 -2
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateRSVPEventV2DTO.md +10 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/DiscountV2DTO.md +22 -0
- package/docs/PaymentDetailsPayload.md +2 -2
- package/docs/RSVPV2Api.md +181 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/UpdateRSVPEventV2DTO.md +80 -0
- package/docs/UserEntity.md +2 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -154,6 +154,7 @@ docs/DeleteUsersResponseDTO.md
|
|
|
154
154
|
docs/DeviceAddResponse.md
|
|
155
155
|
docs/DeviceApi.md
|
|
156
156
|
docs/DeviceEntity.md
|
|
157
|
+
docs/DiscountV2DTO.md
|
|
157
158
|
docs/EmployeesSizeEntity.md
|
|
158
159
|
docs/EmployeesSizeListResponse.md
|
|
159
160
|
docs/EventCalendarSharedPayload.md
|
|
@@ -368,6 +369,7 @@ docs/TwilioMobileOTPPayloadDTO.md
|
|
|
368
369
|
docs/TwilioMobileOTPResponseDTO.md
|
|
369
370
|
docs/UndoPayloadDTO.md
|
|
370
371
|
docs/UndoResponseDTO.md
|
|
372
|
+
docs/UpdateRSVPEventV2DTO.md
|
|
371
373
|
docs/UpdateRSVPStatusDTO.md
|
|
372
374
|
docs/UpdateTaskPayload.md
|
|
373
375
|
docs/UpdateTodoPayload.md
|
package/api.ts
CHANGED
|
@@ -4598,17 +4598,35 @@ export interface CreateRSVPEventV2DTO {
|
|
|
4598
4598
|
*/
|
|
4599
4599
|
'repeat'?: CreateRSVPEventV2DTORepeatEnum;
|
|
4600
4600
|
/**
|
|
4601
|
-
*
|
|
4601
|
+
* Recurrence pattern string (RFC 5545)
|
|
4602
4602
|
* @type {string}
|
|
4603
4603
|
* @memberof CreateRSVPEventV2DTO
|
|
4604
4604
|
*/
|
|
4605
4605
|
'pattern'?: string;
|
|
4606
4606
|
/**
|
|
4607
|
-
*
|
|
4607
|
+
* The method used to determine recurrence
|
|
4608
4608
|
* @type {string}
|
|
4609
4609
|
* @memberof CreateRSVPEventV2DTO
|
|
4610
4610
|
*/
|
|
4611
4611
|
'repeatBy'?: CreateRSVPEventV2DTORepeatByEnum;
|
|
4612
|
+
/**
|
|
4613
|
+
* Comma-separated days of the week (e.g., MO,WE,FR)
|
|
4614
|
+
* @type {string}
|
|
4615
|
+
* @memberof CreateRSVPEventV2DTO
|
|
4616
|
+
*/
|
|
4617
|
+
'byDay'?: string;
|
|
4618
|
+
/**
|
|
4619
|
+
* Comma-separated days of the month (e.g., 1,15,31)
|
|
4620
|
+
* @type {string}
|
|
4621
|
+
* @memberof CreateRSVPEventV2DTO
|
|
4622
|
+
*/
|
|
4623
|
+
'byMonthDay'?: string;
|
|
4624
|
+
/**
|
|
4625
|
+
* Comma-separated months of the year (1-12)
|
|
4626
|
+
* @type {string}
|
|
4627
|
+
* @memberof CreateRSVPEventV2DTO
|
|
4628
|
+
*/
|
|
4629
|
+
'byMonth'?: string;
|
|
4612
4630
|
/**
|
|
4613
4631
|
*
|
|
4614
4632
|
* @type {Array<HostV2DTO>}
|
|
@@ -4621,6 +4639,12 @@ export interface CreateRSVPEventV2DTO {
|
|
|
4621
4639
|
* @memberof CreateRSVPEventV2DTO
|
|
4622
4640
|
*/
|
|
4623
4641
|
'invites'?: Array<InviteRSVPDTO>;
|
|
4642
|
+
/**
|
|
4643
|
+
*
|
|
4644
|
+
* @type {Array<DiscountV2DTO>}
|
|
4645
|
+
* @memberof CreateRSVPEventV2DTO
|
|
4646
|
+
*/
|
|
4647
|
+
'discounts'?: Array<DiscountV2DTO>;
|
|
4624
4648
|
}
|
|
4625
4649
|
|
|
4626
4650
|
export const CreateRSVPEventV2DTOTypeEnum = {
|
|
@@ -5113,6 +5137,25 @@ export interface DeviceEntity {
|
|
|
5113
5137
|
*/
|
|
5114
5138
|
'status': string;
|
|
5115
5139
|
}
|
|
5140
|
+
/**
|
|
5141
|
+
*
|
|
5142
|
+
* @export
|
|
5143
|
+
* @interface DiscountV2DTO
|
|
5144
|
+
*/
|
|
5145
|
+
export interface DiscountV2DTO {
|
|
5146
|
+
/**
|
|
5147
|
+
*
|
|
5148
|
+
* @type {string}
|
|
5149
|
+
* @memberof DiscountV2DTO
|
|
5150
|
+
*/
|
|
5151
|
+
'name': string;
|
|
5152
|
+
/**
|
|
5153
|
+
*
|
|
5154
|
+
* @type {number}
|
|
5155
|
+
* @memberof DiscountV2DTO
|
|
5156
|
+
*/
|
|
5157
|
+
'percentage': number;
|
|
5158
|
+
}
|
|
5116
5159
|
/**
|
|
5117
5160
|
*
|
|
5118
5161
|
* @export
|
|
@@ -11057,6 +11100,235 @@ export interface UndoResponseDTO {
|
|
|
11057
11100
|
*/
|
|
11058
11101
|
'message': string;
|
|
11059
11102
|
}
|
|
11103
|
+
/**
|
|
11104
|
+
*
|
|
11105
|
+
* @export
|
|
11106
|
+
* @interface UpdateRSVPEventV2DTO
|
|
11107
|
+
*/
|
|
11108
|
+
export interface UpdateRSVPEventV2DTO {
|
|
11109
|
+
/**
|
|
11110
|
+
*
|
|
11111
|
+
* @type {string}
|
|
11112
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11113
|
+
*/
|
|
11114
|
+
'title'?: string;
|
|
11115
|
+
/**
|
|
11116
|
+
*
|
|
11117
|
+
* @type {string}
|
|
11118
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11119
|
+
*/
|
|
11120
|
+
'description'?: string;
|
|
11121
|
+
/**
|
|
11122
|
+
*
|
|
11123
|
+
* @type {string}
|
|
11124
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11125
|
+
*/
|
|
11126
|
+
'photo'?: string;
|
|
11127
|
+
/**
|
|
11128
|
+
*
|
|
11129
|
+
* @type {Array<string>}
|
|
11130
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11131
|
+
*/
|
|
11132
|
+
'tags'?: Array<string>;
|
|
11133
|
+
/**
|
|
11134
|
+
*
|
|
11135
|
+
* @type {number}
|
|
11136
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11137
|
+
*/
|
|
11138
|
+
'totalCapacity'?: number;
|
|
11139
|
+
/**
|
|
11140
|
+
*
|
|
11141
|
+
* @type {number}
|
|
11142
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11143
|
+
*/
|
|
11144
|
+
'costPerPerson'?: number;
|
|
11145
|
+
/**
|
|
11146
|
+
*
|
|
11147
|
+
* @type {string}
|
|
11148
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11149
|
+
*/
|
|
11150
|
+
'currency'?: string;
|
|
11151
|
+
/**
|
|
11152
|
+
*
|
|
11153
|
+
* @type {string}
|
|
11154
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11155
|
+
*/
|
|
11156
|
+
'type'?: UpdateRSVPEventV2DTOTypeEnum;
|
|
11157
|
+
/**
|
|
11158
|
+
*
|
|
11159
|
+
* @type {string}
|
|
11160
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11161
|
+
*/
|
|
11162
|
+
'venue'?: string;
|
|
11163
|
+
/**
|
|
11164
|
+
*
|
|
11165
|
+
* @type {string}
|
|
11166
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11167
|
+
*/
|
|
11168
|
+
'business'?: string;
|
|
11169
|
+
/**
|
|
11170
|
+
*
|
|
11171
|
+
* @type {string}
|
|
11172
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11173
|
+
*/
|
|
11174
|
+
'timezone'?: string;
|
|
11175
|
+
/**
|
|
11176
|
+
*
|
|
11177
|
+
* @type {string}
|
|
11178
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11179
|
+
*/
|
|
11180
|
+
'theme'?: UpdateRSVPEventV2DTOThemeEnum;
|
|
11181
|
+
/**
|
|
11182
|
+
*
|
|
11183
|
+
* @type {string}
|
|
11184
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11185
|
+
*/
|
|
11186
|
+
'externalTicketingLink'?: string;
|
|
11187
|
+
/**
|
|
11188
|
+
*
|
|
11189
|
+
* @type {Array<string>}
|
|
11190
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11191
|
+
*/
|
|
11192
|
+
'otherLinks'?: Array<string>;
|
|
11193
|
+
/**
|
|
11194
|
+
*
|
|
11195
|
+
* @type {boolean}
|
|
11196
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11197
|
+
*/
|
|
11198
|
+
'hideGuestCount'?: boolean;
|
|
11199
|
+
/**
|
|
11200
|
+
*
|
|
11201
|
+
* @type {boolean}
|
|
11202
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11203
|
+
*/
|
|
11204
|
+
'hideLocation'?: boolean;
|
|
11205
|
+
/**
|
|
11206
|
+
*
|
|
11207
|
+
* @type {object}
|
|
11208
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11209
|
+
*/
|
|
11210
|
+
'location'?: object;
|
|
11211
|
+
/**
|
|
11212
|
+
*
|
|
11213
|
+
* @type {boolean}
|
|
11214
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11215
|
+
*/
|
|
11216
|
+
'isRecurring'?: boolean;
|
|
11217
|
+
/**
|
|
11218
|
+
*
|
|
11219
|
+
* @type {number}
|
|
11220
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11221
|
+
*/
|
|
11222
|
+
'duration'?: number;
|
|
11223
|
+
/**
|
|
11224
|
+
*
|
|
11225
|
+
* @type {string}
|
|
11226
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11227
|
+
*/
|
|
11228
|
+
'startDate'?: string;
|
|
11229
|
+
/**
|
|
11230
|
+
*
|
|
11231
|
+
* @type {string}
|
|
11232
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11233
|
+
*/
|
|
11234
|
+
'endDate'?: string;
|
|
11235
|
+
/**
|
|
11236
|
+
*
|
|
11237
|
+
* @type {string}
|
|
11238
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11239
|
+
*/
|
|
11240
|
+
'recurrenceEndDate'?: string;
|
|
11241
|
+
/**
|
|
11242
|
+
*
|
|
11243
|
+
* @type {string}
|
|
11244
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11245
|
+
*/
|
|
11246
|
+
'repeat'?: UpdateRSVPEventV2DTORepeatEnum;
|
|
11247
|
+
/**
|
|
11248
|
+
* Recurrence pattern string (RFC 5545)
|
|
11249
|
+
* @type {string}
|
|
11250
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11251
|
+
*/
|
|
11252
|
+
'pattern'?: string;
|
|
11253
|
+
/**
|
|
11254
|
+
* The method used to determine recurrence
|
|
11255
|
+
* @type {string}
|
|
11256
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11257
|
+
*/
|
|
11258
|
+
'repeatBy'?: UpdateRSVPEventV2DTORepeatByEnum;
|
|
11259
|
+
/**
|
|
11260
|
+
* Comma-separated days of the week (e.g., MO,WE,FR)
|
|
11261
|
+
* @type {string}
|
|
11262
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11263
|
+
*/
|
|
11264
|
+
'byDay'?: string;
|
|
11265
|
+
/**
|
|
11266
|
+
* Comma-separated days of the month (e.g., 1,15,31)
|
|
11267
|
+
* @type {string}
|
|
11268
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11269
|
+
*/
|
|
11270
|
+
'byMonthDay'?: string;
|
|
11271
|
+
/**
|
|
11272
|
+
* Comma-separated months of the year (1-12)
|
|
11273
|
+
* @type {string}
|
|
11274
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11275
|
+
*/
|
|
11276
|
+
'byMonth'?: string;
|
|
11277
|
+
/**
|
|
11278
|
+
*
|
|
11279
|
+
* @type {Array<HostV2DTO>}
|
|
11280
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11281
|
+
*/
|
|
11282
|
+
'hosts'?: Array<HostV2DTO>;
|
|
11283
|
+
/**
|
|
11284
|
+
*
|
|
11285
|
+
* @type {Array<InviteRSVPDTO>}
|
|
11286
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11287
|
+
*/
|
|
11288
|
+
'invites'?: Array<InviteRSVPDTO>;
|
|
11289
|
+
/**
|
|
11290
|
+
*
|
|
11291
|
+
* @type {Array<DiscountV2DTO>}
|
|
11292
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11293
|
+
*/
|
|
11294
|
+
'discounts'?: Array<DiscountV2DTO>;
|
|
11295
|
+
}
|
|
11296
|
+
|
|
11297
|
+
export const UpdateRSVPEventV2DTOTypeEnum = {
|
|
11298
|
+
Public: 'PUBLIC',
|
|
11299
|
+
Private: 'PRIVATE'
|
|
11300
|
+
} as const;
|
|
11301
|
+
|
|
11302
|
+
export type UpdateRSVPEventV2DTOTypeEnum = typeof UpdateRSVPEventV2DTOTypeEnum[keyof typeof UpdateRSVPEventV2DTOTypeEnum];
|
|
11303
|
+
export const UpdateRSVPEventV2DTOThemeEnum = {
|
|
11304
|
+
Blue: 'Blue',
|
|
11305
|
+
Pink: 'Pink',
|
|
11306
|
+
Green: 'Green',
|
|
11307
|
+
Purple: 'Purple',
|
|
11308
|
+
Sunset: 'Sunset',
|
|
11309
|
+
Beige: 'Beige',
|
|
11310
|
+
Black: 'Black',
|
|
11311
|
+
Red: 'Red'
|
|
11312
|
+
} as const;
|
|
11313
|
+
|
|
11314
|
+
export type UpdateRSVPEventV2DTOThemeEnum = typeof UpdateRSVPEventV2DTOThemeEnum[keyof typeof UpdateRSVPEventV2DTOThemeEnum];
|
|
11315
|
+
export const UpdateRSVPEventV2DTORepeatEnum = {
|
|
11316
|
+
None: 'NONE',
|
|
11317
|
+
Daily: 'DAILY',
|
|
11318
|
+
Weekly: 'WEEKLY',
|
|
11319
|
+
Monthly: 'MONTHLY',
|
|
11320
|
+
Year: 'YEAR'
|
|
11321
|
+
} as const;
|
|
11322
|
+
|
|
11323
|
+
export type UpdateRSVPEventV2DTORepeatEnum = typeof UpdateRSVPEventV2DTORepeatEnum[keyof typeof UpdateRSVPEventV2DTORepeatEnum];
|
|
11324
|
+
export const UpdateRSVPEventV2DTORepeatByEnum = {
|
|
11325
|
+
RepeatByDay: 'repeat_by_day',
|
|
11326
|
+
RepeatByWeekMonth: 'repeat_by_week_month',
|
|
11327
|
+
RepeatByLastWeekMonth: 'repeat_by_last_week_month'
|
|
11328
|
+
} as const;
|
|
11329
|
+
|
|
11330
|
+
export type UpdateRSVPEventV2DTORepeatByEnum = typeof UpdateRSVPEventV2DTORepeatByEnum[keyof typeof UpdateRSVPEventV2DTORepeatByEnum];
|
|
11331
|
+
|
|
11060
11332
|
/**
|
|
11061
11333
|
*
|
|
11062
11334
|
* @export
|
|
@@ -11325,6 +11597,12 @@ export interface UserEntity {
|
|
|
11325
11597
|
* @memberof UserEntity
|
|
11326
11598
|
*/
|
|
11327
11599
|
'isMobileVerified'?: boolean;
|
|
11600
|
+
/**
|
|
11601
|
+
*
|
|
11602
|
+
* @type {string}
|
|
11603
|
+
* @memberof UserEntity
|
|
11604
|
+
*/
|
|
11605
|
+
'accountId'?: string;
|
|
11328
11606
|
}
|
|
11329
11607
|
|
|
11330
11608
|
export const UserEntityRoleEnum = {
|
|
@@ -28224,6 +28502,120 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
28224
28502
|
|
|
28225
28503
|
|
|
28226
28504
|
|
|
28505
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28506
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28507
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28508
|
+
|
|
28509
|
+
return {
|
|
28510
|
+
url: toPathString(localVarUrlObj),
|
|
28511
|
+
options: localVarRequestOptions,
|
|
28512
|
+
};
|
|
28513
|
+
},
|
|
28514
|
+
/**
|
|
28515
|
+
*
|
|
28516
|
+
* @param {string} businessId
|
|
28517
|
+
* @param {number} page
|
|
28518
|
+
* @param {number} pageSize
|
|
28519
|
+
* @param {string} [search]
|
|
28520
|
+
* @param {string} [venue]
|
|
28521
|
+
* @param {*} [options] Override http request option.
|
|
28522
|
+
* @throws {RequiredError}
|
|
28523
|
+
*/
|
|
28524
|
+
rSVPV2ControllerGetEventsByBusiness: async (businessId: string, page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28525
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
28526
|
+
assertParamExists('rSVPV2ControllerGetEventsByBusiness', 'businessId', businessId)
|
|
28527
|
+
// verify required parameter 'page' is not null or undefined
|
|
28528
|
+
assertParamExists('rSVPV2ControllerGetEventsByBusiness', 'page', page)
|
|
28529
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
28530
|
+
assertParamExists('rSVPV2ControllerGetEventsByBusiness', 'pageSize', pageSize)
|
|
28531
|
+
const localVarPath = `/v1/rsvp/v2/events/business/{businessId}`
|
|
28532
|
+
.replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
|
|
28533
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28534
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28535
|
+
let baseOptions;
|
|
28536
|
+
if (configuration) {
|
|
28537
|
+
baseOptions = configuration.baseOptions;
|
|
28538
|
+
}
|
|
28539
|
+
|
|
28540
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28541
|
+
const localVarHeaderParameter = {} as any;
|
|
28542
|
+
const localVarQueryParameter = {} as any;
|
|
28543
|
+
|
|
28544
|
+
if (page !== undefined) {
|
|
28545
|
+
localVarQueryParameter['page'] = page;
|
|
28546
|
+
}
|
|
28547
|
+
|
|
28548
|
+
if (pageSize !== undefined) {
|
|
28549
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
28550
|
+
}
|
|
28551
|
+
|
|
28552
|
+
if (search !== undefined) {
|
|
28553
|
+
localVarQueryParameter['search'] = search;
|
|
28554
|
+
}
|
|
28555
|
+
|
|
28556
|
+
if (venue !== undefined) {
|
|
28557
|
+
localVarQueryParameter['venue'] = venue;
|
|
28558
|
+
}
|
|
28559
|
+
|
|
28560
|
+
|
|
28561
|
+
|
|
28562
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28563
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28564
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28565
|
+
|
|
28566
|
+
return {
|
|
28567
|
+
url: toPathString(localVarUrlObj),
|
|
28568
|
+
options: localVarRequestOptions,
|
|
28569
|
+
};
|
|
28570
|
+
},
|
|
28571
|
+
/**
|
|
28572
|
+
*
|
|
28573
|
+
* @param {string} venueId
|
|
28574
|
+
* @param {number} page
|
|
28575
|
+
* @param {number} pageSize
|
|
28576
|
+
* @param {string} [search]
|
|
28577
|
+
* @param {string} [venue]
|
|
28578
|
+
* @param {*} [options] Override http request option.
|
|
28579
|
+
* @throws {RequiredError}
|
|
28580
|
+
*/
|
|
28581
|
+
rSVPV2ControllerGetEventsByVenue: async (venueId: string, page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28582
|
+
// verify required parameter 'venueId' is not null or undefined
|
|
28583
|
+
assertParamExists('rSVPV2ControllerGetEventsByVenue', 'venueId', venueId)
|
|
28584
|
+
// verify required parameter 'page' is not null or undefined
|
|
28585
|
+
assertParamExists('rSVPV2ControllerGetEventsByVenue', 'page', page)
|
|
28586
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
28587
|
+
assertParamExists('rSVPV2ControllerGetEventsByVenue', 'pageSize', pageSize)
|
|
28588
|
+
const localVarPath = `/v1/rsvp/v2/events/venue/{venueId}`
|
|
28589
|
+
.replace(`{${"venueId"}}`, encodeURIComponent(String(venueId)));
|
|
28590
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28591
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28592
|
+
let baseOptions;
|
|
28593
|
+
if (configuration) {
|
|
28594
|
+
baseOptions = configuration.baseOptions;
|
|
28595
|
+
}
|
|
28596
|
+
|
|
28597
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28598
|
+
const localVarHeaderParameter = {} as any;
|
|
28599
|
+
const localVarQueryParameter = {} as any;
|
|
28600
|
+
|
|
28601
|
+
if (page !== undefined) {
|
|
28602
|
+
localVarQueryParameter['page'] = page;
|
|
28603
|
+
}
|
|
28604
|
+
|
|
28605
|
+
if (pageSize !== undefined) {
|
|
28606
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
28607
|
+
}
|
|
28608
|
+
|
|
28609
|
+
if (search !== undefined) {
|
|
28610
|
+
localVarQueryParameter['search'] = search;
|
|
28611
|
+
}
|
|
28612
|
+
|
|
28613
|
+
if (venue !== undefined) {
|
|
28614
|
+
localVarQueryParameter['venue'] = venue;
|
|
28615
|
+
}
|
|
28616
|
+
|
|
28617
|
+
|
|
28618
|
+
|
|
28227
28619
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28228
28620
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28229
28621
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -28468,6 +28860,49 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
28468
28860
|
options: localVarRequestOptions,
|
|
28469
28861
|
};
|
|
28470
28862
|
},
|
|
28863
|
+
/**
|
|
28864
|
+
*
|
|
28865
|
+
* @param {string} id
|
|
28866
|
+
* @param {UpdateRSVPEventV2DTO} updateRSVPEventV2DTO
|
|
28867
|
+
* @param {*} [options] Override http request option.
|
|
28868
|
+
* @throws {RequiredError}
|
|
28869
|
+
*/
|
|
28870
|
+
rSVPV2ControllerUpdateEvent: async (id: string, updateRSVPEventV2DTO: UpdateRSVPEventV2DTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28871
|
+
// verify required parameter 'id' is not null or undefined
|
|
28872
|
+
assertParamExists('rSVPV2ControllerUpdateEvent', 'id', id)
|
|
28873
|
+
// verify required parameter 'updateRSVPEventV2DTO' is not null or undefined
|
|
28874
|
+
assertParamExists('rSVPV2ControllerUpdateEvent', 'updateRSVPEventV2DTO', updateRSVPEventV2DTO)
|
|
28875
|
+
const localVarPath = `/v1/rsvp/v2/events/{id}`
|
|
28876
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
28877
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28878
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28879
|
+
let baseOptions;
|
|
28880
|
+
if (configuration) {
|
|
28881
|
+
baseOptions = configuration.baseOptions;
|
|
28882
|
+
}
|
|
28883
|
+
|
|
28884
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
28885
|
+
const localVarHeaderParameter = {} as any;
|
|
28886
|
+
const localVarQueryParameter = {} as any;
|
|
28887
|
+
|
|
28888
|
+
// authentication bearer required
|
|
28889
|
+
// http bearer authentication required
|
|
28890
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28891
|
+
|
|
28892
|
+
|
|
28893
|
+
|
|
28894
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28895
|
+
|
|
28896
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28897
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28898
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28899
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateRSVPEventV2DTO, localVarRequestOptions, configuration)
|
|
28900
|
+
|
|
28901
|
+
return {
|
|
28902
|
+
url: toPathString(localVarUrlObj),
|
|
28903
|
+
options: localVarRequestOptions,
|
|
28904
|
+
};
|
|
28905
|
+
},
|
|
28471
28906
|
/**
|
|
28472
28907
|
*
|
|
28473
28908
|
* @param {string} id
|
|
@@ -28572,6 +29007,38 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
|
|
|
28572
29007
|
const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetEventById']?.[localVarOperationServerIndex]?.url;
|
|
28573
29008
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28574
29009
|
},
|
|
29010
|
+
/**
|
|
29011
|
+
*
|
|
29012
|
+
* @param {string} businessId
|
|
29013
|
+
* @param {number} page
|
|
29014
|
+
* @param {number} pageSize
|
|
29015
|
+
* @param {string} [search]
|
|
29016
|
+
* @param {string} [venue]
|
|
29017
|
+
* @param {*} [options] Override http request option.
|
|
29018
|
+
* @throws {RequiredError}
|
|
29019
|
+
*/
|
|
29020
|
+
async rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
29021
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerGetEventsByBusiness(businessId, page, pageSize, search, venue, options);
|
|
29022
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29023
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetEventsByBusiness']?.[localVarOperationServerIndex]?.url;
|
|
29024
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29025
|
+
},
|
|
29026
|
+
/**
|
|
29027
|
+
*
|
|
29028
|
+
* @param {string} venueId
|
|
29029
|
+
* @param {number} page
|
|
29030
|
+
* @param {number} pageSize
|
|
29031
|
+
* @param {string} [search]
|
|
29032
|
+
* @param {string} [venue]
|
|
29033
|
+
* @param {*} [options] Override http request option.
|
|
29034
|
+
* @throws {RequiredError}
|
|
29035
|
+
*/
|
|
29036
|
+
async rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
29037
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerGetEventsByVenue(venueId, page, pageSize, search, venue, options);
|
|
29038
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29039
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetEventsByVenue']?.[localVarOperationServerIndex]?.url;
|
|
29040
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29041
|
+
},
|
|
28575
29042
|
/**
|
|
28576
29043
|
*
|
|
28577
29044
|
* @param {number} page
|
|
@@ -28640,6 +29107,19 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
|
|
|
28640
29107
|
const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerSetupPayment']?.[localVarOperationServerIndex]?.url;
|
|
28641
29108
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28642
29109
|
},
|
|
29110
|
+
/**
|
|
29111
|
+
*
|
|
29112
|
+
* @param {string} id
|
|
29113
|
+
* @param {UpdateRSVPEventV2DTO} updateRSVPEventV2DTO
|
|
29114
|
+
* @param {*} [options] Override http request option.
|
|
29115
|
+
* @throws {RequiredError}
|
|
29116
|
+
*/
|
|
29117
|
+
async rSVPV2ControllerUpdateEvent(id: string, updateRSVPEventV2DTO: UpdateRSVPEventV2DTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
29118
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerUpdateEvent(id, updateRSVPEventV2DTO, options);
|
|
29119
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29120
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerUpdateEvent']?.[localVarOperationServerIndex]?.url;
|
|
29121
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29122
|
+
},
|
|
28643
29123
|
/**
|
|
28644
29124
|
*
|
|
28645
29125
|
* @param {string} id
|
|
@@ -28702,6 +29182,32 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
|
|
|
28702
29182
|
rSVPV2ControllerGetEventById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
28703
29183
|
return localVarFp.rSVPV2ControllerGetEventById(id, options).then((request) => request(axios, basePath));
|
|
28704
29184
|
},
|
|
29185
|
+
/**
|
|
29186
|
+
*
|
|
29187
|
+
* @param {string} businessId
|
|
29188
|
+
* @param {number} page
|
|
29189
|
+
* @param {number} pageSize
|
|
29190
|
+
* @param {string} [search]
|
|
29191
|
+
* @param {string} [venue]
|
|
29192
|
+
* @param {*} [options] Override http request option.
|
|
29193
|
+
* @throws {RequiredError}
|
|
29194
|
+
*/
|
|
29195
|
+
rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
29196
|
+
return localVarFp.rSVPV2ControllerGetEventsByBusiness(businessId, page, pageSize, search, venue, options).then((request) => request(axios, basePath));
|
|
29197
|
+
},
|
|
29198
|
+
/**
|
|
29199
|
+
*
|
|
29200
|
+
* @param {string} venueId
|
|
29201
|
+
* @param {number} page
|
|
29202
|
+
* @param {number} pageSize
|
|
29203
|
+
* @param {string} [search]
|
|
29204
|
+
* @param {string} [venue]
|
|
29205
|
+
* @param {*} [options] Override http request option.
|
|
29206
|
+
* @throws {RequiredError}
|
|
29207
|
+
*/
|
|
29208
|
+
rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
29209
|
+
return localVarFp.rSVPV2ControllerGetEventsByVenue(venueId, page, pageSize, search, venue, options).then((request) => request(axios, basePath));
|
|
29210
|
+
},
|
|
28705
29211
|
/**
|
|
28706
29212
|
*
|
|
28707
29213
|
* @param {number} page
|
|
@@ -28755,6 +29261,16 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
|
|
|
28755
29261
|
rSVPV2ControllerSetupPayment(setupRSVPV2PaymentDTO: SetupRSVPV2PaymentDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
28756
29262
|
return localVarFp.rSVPV2ControllerSetupPayment(setupRSVPV2PaymentDTO, options).then((request) => request(axios, basePath));
|
|
28757
29263
|
},
|
|
29264
|
+
/**
|
|
29265
|
+
*
|
|
29266
|
+
* @param {string} id
|
|
29267
|
+
* @param {UpdateRSVPEventV2DTO} updateRSVPEventV2DTO
|
|
29268
|
+
* @param {*} [options] Override http request option.
|
|
29269
|
+
* @throws {RequiredError}
|
|
29270
|
+
*/
|
|
29271
|
+
rSVPV2ControllerUpdateEvent(id: string, updateRSVPEventV2DTO: UpdateRSVPEventV2DTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
29272
|
+
return localVarFp.rSVPV2ControllerUpdateEvent(id, updateRSVPEventV2DTO, options).then((request) => request(axios, basePath));
|
|
29273
|
+
},
|
|
28758
29274
|
/**
|
|
28759
29275
|
*
|
|
28760
29276
|
* @param {string} id
|
|
@@ -28822,6 +29338,36 @@ export class RSVPV2Api extends BaseAPI {
|
|
|
28822
29338
|
return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetEventById(id, options).then((request) => request(this.axios, this.basePath));
|
|
28823
29339
|
}
|
|
28824
29340
|
|
|
29341
|
+
/**
|
|
29342
|
+
*
|
|
29343
|
+
* @param {string} businessId
|
|
29344
|
+
* @param {number} page
|
|
29345
|
+
* @param {number} pageSize
|
|
29346
|
+
* @param {string} [search]
|
|
29347
|
+
* @param {string} [venue]
|
|
29348
|
+
* @param {*} [options] Override http request option.
|
|
29349
|
+
* @throws {RequiredError}
|
|
29350
|
+
* @memberof RSVPV2Api
|
|
29351
|
+
*/
|
|
29352
|
+
public rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
|
|
29353
|
+
return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetEventsByBusiness(businessId, page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
|
|
29354
|
+
}
|
|
29355
|
+
|
|
29356
|
+
/**
|
|
29357
|
+
*
|
|
29358
|
+
* @param {string} venueId
|
|
29359
|
+
* @param {number} page
|
|
29360
|
+
* @param {number} pageSize
|
|
29361
|
+
* @param {string} [search]
|
|
29362
|
+
* @param {string} [venue]
|
|
29363
|
+
* @param {*} [options] Override http request option.
|
|
29364
|
+
* @throws {RequiredError}
|
|
29365
|
+
* @memberof RSVPV2Api
|
|
29366
|
+
*/
|
|
29367
|
+
public rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
|
|
29368
|
+
return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetEventsByVenue(venueId, page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
|
|
29369
|
+
}
|
|
29370
|
+
|
|
28825
29371
|
/**
|
|
28826
29372
|
*
|
|
28827
29373
|
* @param {number} page
|
|
@@ -28885,6 +29431,18 @@ export class RSVPV2Api extends BaseAPI {
|
|
|
28885
29431
|
return RSVPV2ApiFp(this.configuration).rSVPV2ControllerSetupPayment(setupRSVPV2PaymentDTO, options).then((request) => request(this.axios, this.basePath));
|
|
28886
29432
|
}
|
|
28887
29433
|
|
|
29434
|
+
/**
|
|
29435
|
+
*
|
|
29436
|
+
* @param {string} id
|
|
29437
|
+
* @param {UpdateRSVPEventV2DTO} updateRSVPEventV2DTO
|
|
29438
|
+
* @param {*} [options] Override http request option.
|
|
29439
|
+
* @throws {RequiredError}
|
|
29440
|
+
* @memberof RSVPV2Api
|
|
29441
|
+
*/
|
|
29442
|
+
public rSVPV2ControllerUpdateEvent(id: string, updateRSVPEventV2DTO: UpdateRSVPEventV2DTO, options?: RawAxiosRequestConfig) {
|
|
29443
|
+
return RSVPV2ApiFp(this.configuration).rSVPV2ControllerUpdateEvent(id, updateRSVPEventV2DTO, options).then((request) => request(this.axios, this.basePath));
|
|
29444
|
+
}
|
|
29445
|
+
|
|
28888
29446
|
/**
|
|
28889
29447
|
*
|
|
28890
29448
|
* @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-04-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-04-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2026-04-09T08:58:55Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-04-09T08:58:55Z]
|
|
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-04-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-04-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-04-09T08:58:55Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-04-09T08:58:55Z]
|
|
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]
|
|
@@ -28,10 +28,14 @@ Name | Type | Description | Notes
|
|
|
28
28
|
**endDate** | **string** | | [default to undefined]
|
|
29
29
|
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
|
|
30
30
|
**repeat** | **string** | | [optional] [default to undefined]
|
|
31
|
-
**pattern** | **string** |
|
|
32
|
-
**repeatBy** | **string** |
|
|
31
|
+
**pattern** | **string** | Recurrence pattern string (RFC 5545) | [optional] [default to undefined]
|
|
32
|
+
**repeatBy** | **string** | The method used to determine recurrence | [optional] [default to undefined]
|
|
33
|
+
**byDay** | **string** | Comma-separated days of the week (e.g., MO,WE,FR) | [optional] [default to undefined]
|
|
34
|
+
**byMonthDay** | **string** | Comma-separated days of the month (e.g., 1,15,31) | [optional] [default to undefined]
|
|
35
|
+
**byMonth** | **string** | Comma-separated months of the year (1-12) | [optional] [default to undefined]
|
|
33
36
|
**hosts** | [**Array<HostV2DTO>**](HostV2DTO.md) | | [optional] [default to undefined]
|
|
34
37
|
**invites** | [**Array<InviteRSVPDTO>**](InviteRSVPDTO.md) | | [optional] [default to undefined]
|
|
38
|
+
**discounts** | [**Array<DiscountV2DTO>**](DiscountV2DTO.md) | | [optional] [default to undefined]
|
|
35
39
|
|
|
36
40
|
## Example
|
|
37
41
|
|
|
@@ -64,8 +68,12 @@ const instance: CreateRSVPEventV2DTO = {
|
|
|
64
68
|
repeat,
|
|
65
69
|
pattern,
|
|
66
70
|
repeatBy,
|
|
71
|
+
byDay,
|
|
72
|
+
byMonthDay,
|
|
73
|
+
byMonth,
|
|
67
74
|
hosts,
|
|
68
75
|
invites,
|
|
76
|
+
discounts,
|
|
69
77
|
};
|
|
70
78
|
```
|
|
71
79
|
|
|
@@ -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-04-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-04-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-04-09T08:58:55Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-04-09T08:58:55Z]
|
|
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]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# DiscountV2DTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [default to undefined]
|
|
9
|
+
**percentage** | **number** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { DiscountV2DTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: DiscountV2DTO = {
|
|
17
|
+
name,
|
|
18
|
+
percentage,
|
|
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)
|
|
@@ -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-04-
|
|
12
|
-
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-04-
|
|
11
|
+
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-04-09T08:58:53Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-04-09T08:58:53Z]
|
|
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/RSVPV2Api.md
CHANGED
|
@@ -8,11 +8,14 @@ All URIs are relative to *http://localhost:8080*
|
|
|
8
8
|
|[**rSVPV2ControllerCreateEvent**](#rsvpv2controllercreateevent) | **POST** /v1/rsvp/v2/events | |
|
|
9
9
|
|[**rSVPV2ControllerGetAttendees**](#rsvpv2controllergetattendees) | **GET** /v1/rsvp/v2/events/{id}/attendees | |
|
|
10
10
|
|[**rSVPV2ControllerGetEventById**](#rsvpv2controllergeteventbyid) | **GET** /v1/rsvp/v2/events/{id} | |
|
|
11
|
+
|[**rSVPV2ControllerGetEventsByBusiness**](#rsvpv2controllergeteventsbybusiness) | **GET** /v1/rsvp/v2/events/business/{businessId} | |
|
|
12
|
+
|[**rSVPV2ControllerGetEventsByVenue**](#rsvpv2controllergeteventsbyvenue) | **GET** /v1/rsvp/v2/events/venue/{venueId} | |
|
|
11
13
|
|[**rSVPV2ControllerGetHostEvents**](#rsvpv2controllergethostevents) | **GET** /v1/rsvp/v2/host/events | |
|
|
12
14
|
|[**rSVPV2ControllerGetMyEvents**](#rsvpv2controllergetmyevents) | **GET** /v1/rsvp/v2/my/events | |
|
|
13
15
|
|[**rSVPV2ControllerInvite**](#rsvpv2controllerinvite) | **POST** /v1/rsvp/v2/events/{id}/invite | |
|
|
14
16
|
|[**rSVPV2ControllerJoinEvent**](#rsvpv2controllerjoinevent) | **POST** /v1/rsvp/v2/events/{id}/join | |
|
|
15
17
|
|[**rSVPV2ControllerSetupPayment**](#rsvpv2controllersetuppayment) | **POST** /v1/rsvp/v2/attendees/payment/setup | |
|
|
18
|
+
|[**rSVPV2ControllerUpdateEvent**](#rsvpv2controllerupdateevent) | **PUT** /v1/rsvp/v2/events/{id} | |
|
|
16
19
|
|[**rSVPV2ControllerUpdateStatus**](#rsvpv2controllerupdatestatus) | **PUT** /v1/rsvp/v2/attendees/{id}/status | |
|
|
17
20
|
|
|
18
21
|
# **rSVPV2ControllerConfirmPayment**
|
|
@@ -226,6 +229,130 @@ No authorization required
|
|
|
226
229
|
|
|
227
230
|
[[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)
|
|
228
231
|
|
|
232
|
+
# **rSVPV2ControllerGetEventsByBusiness**
|
|
233
|
+
> rSVPV2ControllerGetEventsByBusiness()
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
### Example
|
|
237
|
+
|
|
238
|
+
```typescript
|
|
239
|
+
import {
|
|
240
|
+
RSVPV2Api,
|
|
241
|
+
Configuration
|
|
242
|
+
} from './api';
|
|
243
|
+
|
|
244
|
+
const configuration = new Configuration();
|
|
245
|
+
const apiInstance = new RSVPV2Api(configuration);
|
|
246
|
+
|
|
247
|
+
let businessId: string; // (default to undefined)
|
|
248
|
+
let page: number; // (default to undefined)
|
|
249
|
+
let pageSize: number; // (default to undefined)
|
|
250
|
+
let search: string; // (optional) (default to undefined)
|
|
251
|
+
let venue: string; // (optional) (default to undefined)
|
|
252
|
+
|
|
253
|
+
const { status, data } = await apiInstance.rSVPV2ControllerGetEventsByBusiness(
|
|
254
|
+
businessId,
|
|
255
|
+
page,
|
|
256
|
+
pageSize,
|
|
257
|
+
search,
|
|
258
|
+
venue
|
|
259
|
+
);
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
### Parameters
|
|
263
|
+
|
|
264
|
+
|Name | Type | Description | Notes|
|
|
265
|
+
|------------- | ------------- | ------------- | -------------|
|
|
266
|
+
| **businessId** | [**string**] | | defaults to undefined|
|
|
267
|
+
| **page** | [**number**] | | defaults to undefined|
|
|
268
|
+
| **pageSize** | [**number**] | | defaults to undefined|
|
|
269
|
+
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
270
|
+
| **venue** | [**string**] | | (optional) defaults to undefined|
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
### Return type
|
|
274
|
+
|
|
275
|
+
void (empty response body)
|
|
276
|
+
|
|
277
|
+
### Authorization
|
|
278
|
+
|
|
279
|
+
No authorization required
|
|
280
|
+
|
|
281
|
+
### HTTP request headers
|
|
282
|
+
|
|
283
|
+
- **Content-Type**: Not defined
|
|
284
|
+
- **Accept**: Not defined
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
### HTTP response details
|
|
288
|
+
| Status code | Description | Response headers |
|
|
289
|
+
|-------------|-------------|------------------|
|
|
290
|
+
|**200** | Get list of events for a specific business | - |
|
|
291
|
+
|
|
292
|
+
[[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)
|
|
293
|
+
|
|
294
|
+
# **rSVPV2ControllerGetEventsByVenue**
|
|
295
|
+
> rSVPV2ControllerGetEventsByVenue()
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
### Example
|
|
299
|
+
|
|
300
|
+
```typescript
|
|
301
|
+
import {
|
|
302
|
+
RSVPV2Api,
|
|
303
|
+
Configuration
|
|
304
|
+
} from './api';
|
|
305
|
+
|
|
306
|
+
const configuration = new Configuration();
|
|
307
|
+
const apiInstance = new RSVPV2Api(configuration);
|
|
308
|
+
|
|
309
|
+
let venueId: string; // (default to undefined)
|
|
310
|
+
let page: number; // (default to undefined)
|
|
311
|
+
let pageSize: number; // (default to undefined)
|
|
312
|
+
let search: string; // (optional) (default to undefined)
|
|
313
|
+
let venue: string; // (optional) (default to undefined)
|
|
314
|
+
|
|
315
|
+
const { status, data } = await apiInstance.rSVPV2ControllerGetEventsByVenue(
|
|
316
|
+
venueId,
|
|
317
|
+
page,
|
|
318
|
+
pageSize,
|
|
319
|
+
search,
|
|
320
|
+
venue
|
|
321
|
+
);
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
### Parameters
|
|
325
|
+
|
|
326
|
+
|Name | Type | Description | Notes|
|
|
327
|
+
|------------- | ------------- | ------------- | -------------|
|
|
328
|
+
| **venueId** | [**string**] | | defaults to undefined|
|
|
329
|
+
| **page** | [**number**] | | defaults to undefined|
|
|
330
|
+
| **pageSize** | [**number**] | | defaults to undefined|
|
|
331
|
+
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
332
|
+
| **venue** | [**string**] | | (optional) defaults to undefined|
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
### Return type
|
|
336
|
+
|
|
337
|
+
void (empty response body)
|
|
338
|
+
|
|
339
|
+
### Authorization
|
|
340
|
+
|
|
341
|
+
No authorization required
|
|
342
|
+
|
|
343
|
+
### HTTP request headers
|
|
344
|
+
|
|
345
|
+
- **Content-Type**: Not defined
|
|
346
|
+
- **Accept**: Not defined
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
### HTTP response details
|
|
350
|
+
| Status code | Description | Response headers |
|
|
351
|
+
|-------------|-------------|------------------|
|
|
352
|
+
|**200** | Get list of events for a specific venue | - |
|
|
353
|
+
|
|
354
|
+
[[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)
|
|
355
|
+
|
|
229
356
|
# **rSVPV2ControllerGetHostEvents**
|
|
230
357
|
> rSVPV2ControllerGetHostEvents()
|
|
231
358
|
|
|
@@ -503,6 +630,60 @@ No authorization required
|
|
|
503
630
|
|
|
504
631
|
[[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)
|
|
505
632
|
|
|
633
|
+
# **rSVPV2ControllerUpdateEvent**
|
|
634
|
+
> rSVPV2ControllerUpdateEvent(updateRSVPEventV2DTO)
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
### Example
|
|
638
|
+
|
|
639
|
+
```typescript
|
|
640
|
+
import {
|
|
641
|
+
RSVPV2Api,
|
|
642
|
+
Configuration,
|
|
643
|
+
UpdateRSVPEventV2DTO
|
|
644
|
+
} from './api';
|
|
645
|
+
|
|
646
|
+
const configuration = new Configuration();
|
|
647
|
+
const apiInstance = new RSVPV2Api(configuration);
|
|
648
|
+
|
|
649
|
+
let id: string; // (default to undefined)
|
|
650
|
+
let updateRSVPEventV2DTO: UpdateRSVPEventV2DTO; //
|
|
651
|
+
|
|
652
|
+
const { status, data } = await apiInstance.rSVPV2ControllerUpdateEvent(
|
|
653
|
+
id,
|
|
654
|
+
updateRSVPEventV2DTO
|
|
655
|
+
);
|
|
656
|
+
```
|
|
657
|
+
|
|
658
|
+
### Parameters
|
|
659
|
+
|
|
660
|
+
|Name | Type | Description | Notes|
|
|
661
|
+
|------------- | ------------- | ------------- | -------------|
|
|
662
|
+
| **updateRSVPEventV2DTO** | **UpdateRSVPEventV2DTO**| | |
|
|
663
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
### Return type
|
|
667
|
+
|
|
668
|
+
void (empty response body)
|
|
669
|
+
|
|
670
|
+
### Authorization
|
|
671
|
+
|
|
672
|
+
[bearer](../README.md#bearer)
|
|
673
|
+
|
|
674
|
+
### HTTP request headers
|
|
675
|
+
|
|
676
|
+
- **Content-Type**: application/json
|
|
677
|
+
- **Accept**: Not defined
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
### HTTP response details
|
|
681
|
+
| Status code | Description | Response headers |
|
|
682
|
+
|-------------|-------------|------------------|
|
|
683
|
+
|**200** | Update an existing RSVP event | - |
|
|
684
|
+
|
|
685
|
+
[[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)
|
|
686
|
+
|
|
506
687
|
# **rSVPV2ControllerUpdateStatus**
|
|
507
688
|
> rSVPV2ControllerUpdateStatus(updateRSVPStatusDTO)
|
|
508
689
|
|
|
@@ -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-04-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2026-04-09T08:58:55Z]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**notes** | **string** | | [optional] [default to undefined]
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# UpdateRSVPEventV2DTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**photo** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
12
|
+
**totalCapacity** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**costPerPerson** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**currency** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**venue** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**business** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**timezone** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**theme** | **string** | | [optional] [default to undefined]
|
|
20
|
+
**externalTicketingLink** | **string** | | [optional] [default to undefined]
|
|
21
|
+
**otherLinks** | **Array<string>** | | [optional] [default to undefined]
|
|
22
|
+
**hideGuestCount** | **boolean** | | [optional] [default to undefined]
|
|
23
|
+
**hideLocation** | **boolean** | | [optional] [default to undefined]
|
|
24
|
+
**location** | **object** | | [optional] [default to undefined]
|
|
25
|
+
**isRecurring** | **boolean** | | [optional] [default to undefined]
|
|
26
|
+
**duration** | **number** | | [optional] [default to undefined]
|
|
27
|
+
**startDate** | **string** | | [optional] [default to undefined]
|
|
28
|
+
**endDate** | **string** | | [optional] [default to undefined]
|
|
29
|
+
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
|
|
30
|
+
**repeat** | **string** | | [optional] [default to undefined]
|
|
31
|
+
**pattern** | **string** | Recurrence pattern string (RFC 5545) | [optional] [default to undefined]
|
|
32
|
+
**repeatBy** | **string** | The method used to determine recurrence | [optional] [default to undefined]
|
|
33
|
+
**byDay** | **string** | Comma-separated days of the week (e.g., MO,WE,FR) | [optional] [default to undefined]
|
|
34
|
+
**byMonthDay** | **string** | Comma-separated days of the month (e.g., 1,15,31) | [optional] [default to undefined]
|
|
35
|
+
**byMonth** | **string** | Comma-separated months of the year (1-12) | [optional] [default to undefined]
|
|
36
|
+
**hosts** | [**Array<HostV2DTO>**](HostV2DTO.md) | | [optional] [default to undefined]
|
|
37
|
+
**invites** | [**Array<InviteRSVPDTO>**](InviteRSVPDTO.md) | | [optional] [default to undefined]
|
|
38
|
+
**discounts** | [**Array<DiscountV2DTO>**](DiscountV2DTO.md) | | [optional] [default to undefined]
|
|
39
|
+
|
|
40
|
+
## Example
|
|
41
|
+
|
|
42
|
+
```typescript
|
|
43
|
+
import { UpdateRSVPEventV2DTO } from './api';
|
|
44
|
+
|
|
45
|
+
const instance: UpdateRSVPEventV2DTO = {
|
|
46
|
+
title,
|
|
47
|
+
description,
|
|
48
|
+
photo,
|
|
49
|
+
tags,
|
|
50
|
+
totalCapacity,
|
|
51
|
+
costPerPerson,
|
|
52
|
+
currency,
|
|
53
|
+
type,
|
|
54
|
+
venue,
|
|
55
|
+
business,
|
|
56
|
+
timezone,
|
|
57
|
+
theme,
|
|
58
|
+
externalTicketingLink,
|
|
59
|
+
otherLinks,
|
|
60
|
+
hideGuestCount,
|
|
61
|
+
hideLocation,
|
|
62
|
+
location,
|
|
63
|
+
isRecurring,
|
|
64
|
+
duration,
|
|
65
|
+
startDate,
|
|
66
|
+
endDate,
|
|
67
|
+
recurrenceEndDate,
|
|
68
|
+
repeat,
|
|
69
|
+
pattern,
|
|
70
|
+
repeatBy,
|
|
71
|
+
byDay,
|
|
72
|
+
byMonthDay,
|
|
73
|
+
byMonth,
|
|
74
|
+
hosts,
|
|
75
|
+
invites,
|
|
76
|
+
discounts,
|
|
77
|
+
};
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/UserEntity.md
CHANGED
|
@@ -38,6 +38,7 @@ Name | Type | Description | Notes
|
|
|
38
38
|
**timezone** | **string** | | [optional] [default to undefined]
|
|
39
39
|
**chatToken** | **string** | | [optional] [default to undefined]
|
|
40
40
|
**isMobileVerified** | **boolean** | | [optional] [default to undefined]
|
|
41
|
+
**accountId** | **string** | | [optional] [default to undefined]
|
|
41
42
|
|
|
42
43
|
## Example
|
|
43
44
|
|
|
@@ -78,6 +79,7 @@ const instance: UserEntity = {
|
|
|
78
79
|
timezone,
|
|
79
80
|
chatToken,
|
|
80
81
|
isMobileVerified,
|
|
82
|
+
accountId,
|
|
81
83
|
};
|
|
82
84
|
```
|
|
83
85
|
|
|
@@ -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-04-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2026-04-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2026-04-09T08:58:55Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2026-04-09T09:58:55Z]
|
|
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]
|