@gooday_corp/gooday-api-client 4.5.98 → 4.5.102
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/api.ts +286 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateRSVPEventV2DTO.md +14 -0
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/PaymentDetailsPayload.md +2 -2
- package/docs/RSVPV2Api.md +126 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/UpdateRSVPEventV2DTO.md +14 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4645,6 +4645,48 @@ export interface CreateRSVPEventV2DTO {
|
|
|
4645
4645
|
* @memberof CreateRSVPEventV2DTO
|
|
4646
4646
|
*/
|
|
4647
4647
|
'discounts'?: Array<DiscountV2DTO>;
|
|
4648
|
+
/**
|
|
4649
|
+
*
|
|
4650
|
+
* @type {string}
|
|
4651
|
+
* @memberof CreateRSVPEventV2DTO
|
|
4652
|
+
*/
|
|
4653
|
+
'firstName'?: string;
|
|
4654
|
+
/**
|
|
4655
|
+
*
|
|
4656
|
+
* @type {string}
|
|
4657
|
+
* @memberof CreateRSVPEventV2DTO
|
|
4658
|
+
*/
|
|
4659
|
+
'lastName'?: string;
|
|
4660
|
+
/**
|
|
4661
|
+
*
|
|
4662
|
+
* @type {string}
|
|
4663
|
+
* @memberof CreateRSVPEventV2DTO
|
|
4664
|
+
*/
|
|
4665
|
+
'email'?: string;
|
|
4666
|
+
/**
|
|
4667
|
+
*
|
|
4668
|
+
* @type {string}
|
|
4669
|
+
* @memberof CreateRSVPEventV2DTO
|
|
4670
|
+
*/
|
|
4671
|
+
'mobileNumber'?: string;
|
|
4672
|
+
/**
|
|
4673
|
+
*
|
|
4674
|
+
* @type {string}
|
|
4675
|
+
* @memberof CreateRSVPEventV2DTO
|
|
4676
|
+
*/
|
|
4677
|
+
'countryCode'?: string;
|
|
4678
|
+
/**
|
|
4679
|
+
*
|
|
4680
|
+
* @type {string}
|
|
4681
|
+
* @memberof CreateRSVPEventV2DTO
|
|
4682
|
+
*/
|
|
4683
|
+
'hostBy'?: string;
|
|
4684
|
+
/**
|
|
4685
|
+
*
|
|
4686
|
+
* @type {string}
|
|
4687
|
+
* @memberof CreateRSVPEventV2DTO
|
|
4688
|
+
*/
|
|
4689
|
+
'hostImage'?: string;
|
|
4648
4690
|
}
|
|
4649
4691
|
|
|
4650
4692
|
export const CreateRSVPEventV2DTOTypeEnum = {
|
|
@@ -11292,6 +11334,48 @@ export interface UpdateRSVPEventV2DTO {
|
|
|
11292
11334
|
* @memberof UpdateRSVPEventV2DTO
|
|
11293
11335
|
*/
|
|
11294
11336
|
'discounts'?: Array<DiscountV2DTO>;
|
|
11337
|
+
/**
|
|
11338
|
+
*
|
|
11339
|
+
* @type {string}
|
|
11340
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11341
|
+
*/
|
|
11342
|
+
'firstName'?: string;
|
|
11343
|
+
/**
|
|
11344
|
+
*
|
|
11345
|
+
* @type {string}
|
|
11346
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11347
|
+
*/
|
|
11348
|
+
'lastName'?: string;
|
|
11349
|
+
/**
|
|
11350
|
+
*
|
|
11351
|
+
* @type {string}
|
|
11352
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11353
|
+
*/
|
|
11354
|
+
'email'?: string;
|
|
11355
|
+
/**
|
|
11356
|
+
*
|
|
11357
|
+
* @type {string}
|
|
11358
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11359
|
+
*/
|
|
11360
|
+
'mobileNumber'?: string;
|
|
11361
|
+
/**
|
|
11362
|
+
*
|
|
11363
|
+
* @type {string}
|
|
11364
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11365
|
+
*/
|
|
11366
|
+
'countryCode'?: string;
|
|
11367
|
+
/**
|
|
11368
|
+
*
|
|
11369
|
+
* @type {string}
|
|
11370
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11371
|
+
*/
|
|
11372
|
+
'hostBy'?: string;
|
|
11373
|
+
/**
|
|
11374
|
+
*
|
|
11375
|
+
* @type {string}
|
|
11376
|
+
* @memberof UpdateRSVPEventV2DTO
|
|
11377
|
+
*/
|
|
11378
|
+
'hostImage'?: string;
|
|
11295
11379
|
}
|
|
11296
11380
|
|
|
11297
11381
|
export const UpdateRSVPEventV2DTOTypeEnum = {
|
|
@@ -28502,6 +28586,120 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
28502
28586
|
|
|
28503
28587
|
|
|
28504
28588
|
|
|
28589
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28590
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28591
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28592
|
+
|
|
28593
|
+
return {
|
|
28594
|
+
url: toPathString(localVarUrlObj),
|
|
28595
|
+
options: localVarRequestOptions,
|
|
28596
|
+
};
|
|
28597
|
+
},
|
|
28598
|
+
/**
|
|
28599
|
+
*
|
|
28600
|
+
* @param {string} businessId
|
|
28601
|
+
* @param {number} page
|
|
28602
|
+
* @param {number} pageSize
|
|
28603
|
+
* @param {string} [search]
|
|
28604
|
+
* @param {string} [venue]
|
|
28605
|
+
* @param {*} [options] Override http request option.
|
|
28606
|
+
* @throws {RequiredError}
|
|
28607
|
+
*/
|
|
28608
|
+
rSVPV2ControllerGetEventsByBusiness: async (businessId: string, page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28609
|
+
// verify required parameter 'businessId' is not null or undefined
|
|
28610
|
+
assertParamExists('rSVPV2ControllerGetEventsByBusiness', 'businessId', businessId)
|
|
28611
|
+
// verify required parameter 'page' is not null or undefined
|
|
28612
|
+
assertParamExists('rSVPV2ControllerGetEventsByBusiness', 'page', page)
|
|
28613
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
28614
|
+
assertParamExists('rSVPV2ControllerGetEventsByBusiness', 'pageSize', pageSize)
|
|
28615
|
+
const localVarPath = `/v1/rsvp/v2/events/business/{businessId}`
|
|
28616
|
+
.replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
|
|
28617
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28618
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28619
|
+
let baseOptions;
|
|
28620
|
+
if (configuration) {
|
|
28621
|
+
baseOptions = configuration.baseOptions;
|
|
28622
|
+
}
|
|
28623
|
+
|
|
28624
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28625
|
+
const localVarHeaderParameter = {} as any;
|
|
28626
|
+
const localVarQueryParameter = {} as any;
|
|
28627
|
+
|
|
28628
|
+
if (page !== undefined) {
|
|
28629
|
+
localVarQueryParameter['page'] = page;
|
|
28630
|
+
}
|
|
28631
|
+
|
|
28632
|
+
if (pageSize !== undefined) {
|
|
28633
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
28634
|
+
}
|
|
28635
|
+
|
|
28636
|
+
if (search !== undefined) {
|
|
28637
|
+
localVarQueryParameter['search'] = search;
|
|
28638
|
+
}
|
|
28639
|
+
|
|
28640
|
+
if (venue !== undefined) {
|
|
28641
|
+
localVarQueryParameter['venue'] = venue;
|
|
28642
|
+
}
|
|
28643
|
+
|
|
28644
|
+
|
|
28645
|
+
|
|
28646
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28647
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28648
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28649
|
+
|
|
28650
|
+
return {
|
|
28651
|
+
url: toPathString(localVarUrlObj),
|
|
28652
|
+
options: localVarRequestOptions,
|
|
28653
|
+
};
|
|
28654
|
+
},
|
|
28655
|
+
/**
|
|
28656
|
+
*
|
|
28657
|
+
* @param {string} venueId
|
|
28658
|
+
* @param {number} page
|
|
28659
|
+
* @param {number} pageSize
|
|
28660
|
+
* @param {string} [search]
|
|
28661
|
+
* @param {string} [venue]
|
|
28662
|
+
* @param {*} [options] Override http request option.
|
|
28663
|
+
* @throws {RequiredError}
|
|
28664
|
+
*/
|
|
28665
|
+
rSVPV2ControllerGetEventsByVenue: async (venueId: string, page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28666
|
+
// verify required parameter 'venueId' is not null or undefined
|
|
28667
|
+
assertParamExists('rSVPV2ControllerGetEventsByVenue', 'venueId', venueId)
|
|
28668
|
+
// verify required parameter 'page' is not null or undefined
|
|
28669
|
+
assertParamExists('rSVPV2ControllerGetEventsByVenue', 'page', page)
|
|
28670
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
28671
|
+
assertParamExists('rSVPV2ControllerGetEventsByVenue', 'pageSize', pageSize)
|
|
28672
|
+
const localVarPath = `/v1/rsvp/v2/events/venue/{venueId}`
|
|
28673
|
+
.replace(`{${"venueId"}}`, encodeURIComponent(String(venueId)));
|
|
28674
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28675
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28676
|
+
let baseOptions;
|
|
28677
|
+
if (configuration) {
|
|
28678
|
+
baseOptions = configuration.baseOptions;
|
|
28679
|
+
}
|
|
28680
|
+
|
|
28681
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28682
|
+
const localVarHeaderParameter = {} as any;
|
|
28683
|
+
const localVarQueryParameter = {} as any;
|
|
28684
|
+
|
|
28685
|
+
if (page !== undefined) {
|
|
28686
|
+
localVarQueryParameter['page'] = page;
|
|
28687
|
+
}
|
|
28688
|
+
|
|
28689
|
+
if (pageSize !== undefined) {
|
|
28690
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
28691
|
+
}
|
|
28692
|
+
|
|
28693
|
+
if (search !== undefined) {
|
|
28694
|
+
localVarQueryParameter['search'] = search;
|
|
28695
|
+
}
|
|
28696
|
+
|
|
28697
|
+
if (venue !== undefined) {
|
|
28698
|
+
localVarQueryParameter['venue'] = venue;
|
|
28699
|
+
}
|
|
28700
|
+
|
|
28701
|
+
|
|
28702
|
+
|
|
28505
28703
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28506
28704
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28507
28705
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -28893,6 +29091,38 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
|
|
|
28893
29091
|
const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetEventById']?.[localVarOperationServerIndex]?.url;
|
|
28894
29092
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28895
29093
|
},
|
|
29094
|
+
/**
|
|
29095
|
+
*
|
|
29096
|
+
* @param {string} businessId
|
|
29097
|
+
* @param {number} page
|
|
29098
|
+
* @param {number} pageSize
|
|
29099
|
+
* @param {string} [search]
|
|
29100
|
+
* @param {string} [venue]
|
|
29101
|
+
* @param {*} [options] Override http request option.
|
|
29102
|
+
* @throws {RequiredError}
|
|
29103
|
+
*/
|
|
29104
|
+
async rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
29105
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerGetEventsByBusiness(businessId, page, pageSize, search, venue, options);
|
|
29106
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29107
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetEventsByBusiness']?.[localVarOperationServerIndex]?.url;
|
|
29108
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29109
|
+
},
|
|
29110
|
+
/**
|
|
29111
|
+
*
|
|
29112
|
+
* @param {string} venueId
|
|
29113
|
+
* @param {number} page
|
|
29114
|
+
* @param {number} pageSize
|
|
29115
|
+
* @param {string} [search]
|
|
29116
|
+
* @param {string} [venue]
|
|
29117
|
+
* @param {*} [options] Override http request option.
|
|
29118
|
+
* @throws {RequiredError}
|
|
29119
|
+
*/
|
|
29120
|
+
async rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
29121
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerGetEventsByVenue(venueId, page, pageSize, search, venue, options);
|
|
29122
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29123
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetEventsByVenue']?.[localVarOperationServerIndex]?.url;
|
|
29124
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29125
|
+
},
|
|
28896
29126
|
/**
|
|
28897
29127
|
*
|
|
28898
29128
|
* @param {number} page
|
|
@@ -29036,6 +29266,32 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
|
|
|
29036
29266
|
rSVPV2ControllerGetEventById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
29037
29267
|
return localVarFp.rSVPV2ControllerGetEventById(id, options).then((request) => request(axios, basePath));
|
|
29038
29268
|
},
|
|
29269
|
+
/**
|
|
29270
|
+
*
|
|
29271
|
+
* @param {string} businessId
|
|
29272
|
+
* @param {number} page
|
|
29273
|
+
* @param {number} pageSize
|
|
29274
|
+
* @param {string} [search]
|
|
29275
|
+
* @param {string} [venue]
|
|
29276
|
+
* @param {*} [options] Override http request option.
|
|
29277
|
+
* @throws {RequiredError}
|
|
29278
|
+
*/
|
|
29279
|
+
rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
29280
|
+
return localVarFp.rSVPV2ControllerGetEventsByBusiness(businessId, page, pageSize, search, venue, options).then((request) => request(axios, basePath));
|
|
29281
|
+
},
|
|
29282
|
+
/**
|
|
29283
|
+
*
|
|
29284
|
+
* @param {string} venueId
|
|
29285
|
+
* @param {number} page
|
|
29286
|
+
* @param {number} pageSize
|
|
29287
|
+
* @param {string} [search]
|
|
29288
|
+
* @param {string} [venue]
|
|
29289
|
+
* @param {*} [options] Override http request option.
|
|
29290
|
+
* @throws {RequiredError}
|
|
29291
|
+
*/
|
|
29292
|
+
rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
29293
|
+
return localVarFp.rSVPV2ControllerGetEventsByVenue(venueId, page, pageSize, search, venue, options).then((request) => request(axios, basePath));
|
|
29294
|
+
},
|
|
29039
29295
|
/**
|
|
29040
29296
|
*
|
|
29041
29297
|
* @param {number} page
|
|
@@ -29166,6 +29422,36 @@ export class RSVPV2Api extends BaseAPI {
|
|
|
29166
29422
|
return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetEventById(id, options).then((request) => request(this.axios, this.basePath));
|
|
29167
29423
|
}
|
|
29168
29424
|
|
|
29425
|
+
/**
|
|
29426
|
+
*
|
|
29427
|
+
* @param {string} businessId
|
|
29428
|
+
* @param {number} page
|
|
29429
|
+
* @param {number} pageSize
|
|
29430
|
+
* @param {string} [search]
|
|
29431
|
+
* @param {string} [venue]
|
|
29432
|
+
* @param {*} [options] Override http request option.
|
|
29433
|
+
* @throws {RequiredError}
|
|
29434
|
+
* @memberof RSVPV2Api
|
|
29435
|
+
*/
|
|
29436
|
+
public rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
|
|
29437
|
+
return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetEventsByBusiness(businessId, page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
|
|
29438
|
+
}
|
|
29439
|
+
|
|
29440
|
+
/**
|
|
29441
|
+
*
|
|
29442
|
+
* @param {string} venueId
|
|
29443
|
+
* @param {number} page
|
|
29444
|
+
* @param {number} pageSize
|
|
29445
|
+
* @param {string} [search]
|
|
29446
|
+
* @param {string} [venue]
|
|
29447
|
+
* @param {*} [options] Override http request option.
|
|
29448
|
+
* @throws {RequiredError}
|
|
29449
|
+
* @memberof RSVPV2Api
|
|
29450
|
+
*/
|
|
29451
|
+
public rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
|
|
29452
|
+
return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetEventsByVenue(venueId, page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
|
|
29453
|
+
}
|
|
29454
|
+
|
|
29169
29455
|
/**
|
|
29170
29456
|
*
|
|
29171
29457
|
* @param {number} page
|
|
@@ -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-09T09:31:01Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-04-09T09:31:01Z]
|
|
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-09T09:31:01Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-04-09T09:31:01Z]
|
|
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]
|
|
@@ -36,6 +36,13 @@ Name | Type | Description | Notes
|
|
|
36
36
|
**hosts** | [**Array<HostV2DTO>**](HostV2DTO.md) | | [optional] [default to undefined]
|
|
37
37
|
**invites** | [**Array<InviteRSVPDTO>**](InviteRSVPDTO.md) | | [optional] [default to undefined]
|
|
38
38
|
**discounts** | [**Array<DiscountV2DTO>**](DiscountV2DTO.md) | | [optional] [default to undefined]
|
|
39
|
+
**firstName** | **string** | | [optional] [default to undefined]
|
|
40
|
+
**lastName** | **string** | | [optional] [default to undefined]
|
|
41
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
42
|
+
**mobileNumber** | **string** | | [optional] [default to undefined]
|
|
43
|
+
**countryCode** | **string** | | [optional] [default to undefined]
|
|
44
|
+
**hostBy** | **string** | | [optional] [default to undefined]
|
|
45
|
+
**hostImage** | **string** | | [optional] [default to undefined]
|
|
39
46
|
|
|
40
47
|
## Example
|
|
41
48
|
|
|
@@ -74,6 +81,13 @@ const instance: CreateRSVPEventV2DTO = {
|
|
|
74
81
|
hosts,
|
|
75
82
|
invites,
|
|
76
83
|
discounts,
|
|
84
|
+
firstName,
|
|
85
|
+
lastName,
|
|
86
|
+
email,
|
|
87
|
+
mobileNumber,
|
|
88
|
+
countryCode,
|
|
89
|
+
hostBy,
|
|
90
|
+
hostImage,
|
|
77
91
|
};
|
|
78
92
|
```
|
|
79
93
|
|
|
@@ -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-09T09:31:01Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-04-09T09:31:01Z]
|
|
11
11
|
**note** | **string** | Notes attached with booking | [optional] [default to undefined]
|
|
12
12
|
**occasion** | **string** | Occasion id | [optional] [default to undefined]
|
|
13
13
|
**calendar** | **Array<string>** | Calendar attached with booking | [optional] [default to undefined]
|
|
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**whatsOnId** | **string** | Event ID | [optional] [default to undefined]
|
|
9
9
|
**serviceId** | **string** | Service ID | [optional] [default to undefined]
|
|
10
10
|
**rsvpId** | **string** | RSVP ID | [optional] [default to undefined]
|
|
11
|
-
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-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-09T09:30:59Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-04-09T09:30:59Z]
|
|
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,6 +8,8 @@ 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 | |
|
|
@@ -227,6 +229,130 @@ No authorization required
|
|
|
227
229
|
|
|
228
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)
|
|
229
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
|
+
|
|
230
356
|
# **rSVPV2ControllerGetHostEvents**
|
|
231
357
|
> rSVPV2ControllerGetHostEvents()
|
|
232
358
|
|
|
@@ -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-09T09:31:01Z]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**notes** | **string** | | [optional] [default to undefined]
|
|
@@ -36,6 +36,13 @@ Name | Type | Description | Notes
|
|
|
36
36
|
**hosts** | [**Array<HostV2DTO>**](HostV2DTO.md) | | [optional] [default to undefined]
|
|
37
37
|
**invites** | [**Array<InviteRSVPDTO>**](InviteRSVPDTO.md) | | [optional] [default to undefined]
|
|
38
38
|
**discounts** | [**Array<DiscountV2DTO>**](DiscountV2DTO.md) | | [optional] [default to undefined]
|
|
39
|
+
**firstName** | **string** | | [optional] [default to undefined]
|
|
40
|
+
**lastName** | **string** | | [optional] [default to undefined]
|
|
41
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
42
|
+
**mobileNumber** | **string** | | [optional] [default to undefined]
|
|
43
|
+
**countryCode** | **string** | | [optional] [default to undefined]
|
|
44
|
+
**hostBy** | **string** | | [optional] [default to undefined]
|
|
45
|
+
**hostImage** | **string** | | [optional] [default to undefined]
|
|
39
46
|
|
|
40
47
|
## Example
|
|
41
48
|
|
|
@@ -74,6 +81,13 @@ const instance: UpdateRSVPEventV2DTO = {
|
|
|
74
81
|
hosts,
|
|
75
82
|
invites,
|
|
76
83
|
discounts,
|
|
84
|
+
firstName,
|
|
85
|
+
lastName,
|
|
86
|
+
email,
|
|
87
|
+
mobileNumber,
|
|
88
|
+
countryCode,
|
|
89
|
+
hostBy,
|
|
90
|
+
hostImage,
|
|
77
91
|
};
|
|
78
92
|
```
|
|
79
93
|
|
|
@@ -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-09T09:31:01Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2026-04-09T10:31:01Z]
|
|
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]
|