@gooday_corp/gooday-api-client 4.5.100 → 4.5.106
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 +215 -0
- package/docs/BusinessApi.md +44 -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 +51 -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 = {
|
|
@@ -16776,6 +16860,39 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16776
16860
|
options: localVarRequestOptions,
|
|
16777
16861
|
};
|
|
16778
16862
|
},
|
|
16863
|
+
/**
|
|
16864
|
+
*
|
|
16865
|
+
* @param {*} [options] Override http request option.
|
|
16866
|
+
* @throws {RequiredError}
|
|
16867
|
+
*/
|
|
16868
|
+
businessControllerDisconnectStripe: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16869
|
+
const localVarPath = `/v1/business/stripe/disconnect`;
|
|
16870
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16871
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16872
|
+
let baseOptions;
|
|
16873
|
+
if (configuration) {
|
|
16874
|
+
baseOptions = configuration.baseOptions;
|
|
16875
|
+
}
|
|
16876
|
+
|
|
16877
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16878
|
+
const localVarHeaderParameter = {} as any;
|
|
16879
|
+
const localVarQueryParameter = {} as any;
|
|
16880
|
+
|
|
16881
|
+
// authentication bearer required
|
|
16882
|
+
// http bearer authentication required
|
|
16883
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16884
|
+
|
|
16885
|
+
|
|
16886
|
+
|
|
16887
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16888
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16889
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16890
|
+
|
|
16891
|
+
return {
|
|
16892
|
+
url: toPathString(localVarUrlObj),
|
|
16893
|
+
options: localVarRequestOptions,
|
|
16894
|
+
};
|
|
16895
|
+
},
|
|
16779
16896
|
/**
|
|
16780
16897
|
*
|
|
16781
16898
|
* @param {number} page
|
|
@@ -17946,6 +18063,17 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
17946
18063
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
17947
18064
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17948
18065
|
},
|
|
18066
|
+
/**
|
|
18067
|
+
*
|
|
18068
|
+
* @param {*} [options] Override http request option.
|
|
18069
|
+
* @throws {RequiredError}
|
|
18070
|
+
*/
|
|
18071
|
+
async businessControllerDisconnectStripe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18072
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerDisconnectStripe(options);
|
|
18073
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18074
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerDisconnectStripe']?.[localVarOperationServerIndex]?.url;
|
|
18075
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18076
|
+
},
|
|
17949
18077
|
/**
|
|
17950
18078
|
*
|
|
17951
18079
|
* @param {number} page
|
|
@@ -18343,6 +18471,14 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
18343
18471
|
businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
18344
18472
|
return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
|
|
18345
18473
|
},
|
|
18474
|
+
/**
|
|
18475
|
+
*
|
|
18476
|
+
* @param {*} [options] Override http request option.
|
|
18477
|
+
* @throws {RequiredError}
|
|
18478
|
+
*/
|
|
18479
|
+
businessControllerDisconnectStripe(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18480
|
+
return localVarFp.businessControllerDisconnectStripe(options).then((request) => request(axios, basePath));
|
|
18481
|
+
},
|
|
18346
18482
|
/**
|
|
18347
18483
|
*
|
|
18348
18484
|
* @param {number} page
|
|
@@ -18651,6 +18787,16 @@ export class BusinessApi extends BaseAPI {
|
|
|
18651
18787
|
return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
18652
18788
|
}
|
|
18653
18789
|
|
|
18790
|
+
/**
|
|
18791
|
+
*
|
|
18792
|
+
* @param {*} [options] Override http request option.
|
|
18793
|
+
* @throws {RequiredError}
|
|
18794
|
+
* @memberof BusinessApi
|
|
18795
|
+
*/
|
|
18796
|
+
public businessControllerDisconnectStripe(options?: RawAxiosRequestConfig) {
|
|
18797
|
+
return BusinessApiFp(this.configuration).businessControllerDisconnectStripe(options).then((request) => request(this.axios, this.basePath));
|
|
18798
|
+
}
|
|
18799
|
+
|
|
18654
18800
|
/**
|
|
18655
18801
|
*
|
|
18656
18802
|
* @param {number} page
|
|
@@ -28430,6 +28576,43 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
28430
28576
|
options: localVarRequestOptions,
|
|
28431
28577
|
};
|
|
28432
28578
|
},
|
|
28579
|
+
/**
|
|
28580
|
+
*
|
|
28581
|
+
* @param {string} id
|
|
28582
|
+
* @param {*} [options] Override http request option.
|
|
28583
|
+
* @throws {RequiredError}
|
|
28584
|
+
*/
|
|
28585
|
+
rSVPV2ControllerDeleteEvent: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28586
|
+
// verify required parameter 'id' is not null or undefined
|
|
28587
|
+
assertParamExists('rSVPV2ControllerDeleteEvent', 'id', id)
|
|
28588
|
+
const localVarPath = `/v1/rsvp/v2/events/{id}`
|
|
28589
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
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: 'DELETE', ...baseOptions, ...options};
|
|
28598
|
+
const localVarHeaderParameter = {} as any;
|
|
28599
|
+
const localVarQueryParameter = {} as any;
|
|
28600
|
+
|
|
28601
|
+
// authentication bearer required
|
|
28602
|
+
// http bearer authentication required
|
|
28603
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28604
|
+
|
|
28605
|
+
|
|
28606
|
+
|
|
28607
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28608
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28609
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28610
|
+
|
|
28611
|
+
return {
|
|
28612
|
+
url: toPathString(localVarUrlObj),
|
|
28613
|
+
options: localVarRequestOptions,
|
|
28614
|
+
};
|
|
28615
|
+
},
|
|
28433
28616
|
/**
|
|
28434
28617
|
*
|
|
28435
28618
|
* @param {string} id
|
|
@@ -28980,6 +29163,18 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
|
|
|
28980
29163
|
const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerCreateEvent']?.[localVarOperationServerIndex]?.url;
|
|
28981
29164
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28982
29165
|
},
|
|
29166
|
+
/**
|
|
29167
|
+
*
|
|
29168
|
+
* @param {string} id
|
|
29169
|
+
* @param {*} [options] Override http request option.
|
|
29170
|
+
* @throws {RequiredError}
|
|
29171
|
+
*/
|
|
29172
|
+
async rSVPV2ControllerDeleteEvent(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
29173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerDeleteEvent(id, options);
|
|
29174
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29175
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerDeleteEvent']?.[localVarOperationServerIndex]?.url;
|
|
29176
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29177
|
+
},
|
|
28983
29178
|
/**
|
|
28984
29179
|
*
|
|
28985
29180
|
* @param {string} id
|
|
@@ -29161,6 +29356,15 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
|
|
|
29161
29356
|
rSVPV2ControllerCreateEvent(createRSVPEventV2DTO: CreateRSVPEventV2DTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
29162
29357
|
return localVarFp.rSVPV2ControllerCreateEvent(createRSVPEventV2DTO, options).then((request) => request(axios, basePath));
|
|
29163
29358
|
},
|
|
29359
|
+
/**
|
|
29360
|
+
*
|
|
29361
|
+
* @param {string} id
|
|
29362
|
+
* @param {*} [options] Override http request option.
|
|
29363
|
+
* @throws {RequiredError}
|
|
29364
|
+
*/
|
|
29365
|
+
rSVPV2ControllerDeleteEvent(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
29366
|
+
return localVarFp.rSVPV2ControllerDeleteEvent(id, options).then((request) => request(axios, basePath));
|
|
29367
|
+
},
|
|
29164
29368
|
/**
|
|
29165
29369
|
*
|
|
29166
29370
|
* @param {string} id
|
|
@@ -29313,6 +29517,17 @@ export class RSVPV2Api extends BaseAPI {
|
|
|
29313
29517
|
return RSVPV2ApiFp(this.configuration).rSVPV2ControllerCreateEvent(createRSVPEventV2DTO, options).then((request) => request(this.axios, this.basePath));
|
|
29314
29518
|
}
|
|
29315
29519
|
|
|
29520
|
+
/**
|
|
29521
|
+
*
|
|
29522
|
+
* @param {string} id
|
|
29523
|
+
* @param {*} [options] Override http request option.
|
|
29524
|
+
* @throws {RequiredError}
|
|
29525
|
+
* @memberof RSVPV2Api
|
|
29526
|
+
*/
|
|
29527
|
+
public rSVPV2ControllerDeleteEvent(id: string, options?: RawAxiosRequestConfig) {
|
|
29528
|
+
return RSVPV2ApiFp(this.configuration).rSVPV2ControllerDeleteEvent(id, options).then((request) => request(this.axios, this.basePath));
|
|
29529
|
+
}
|
|
29530
|
+
|
|
29316
29531
|
/**
|
|
29317
29532
|
*
|
|
29318
29533
|
* @param {string} id
|
package/docs/BusinessApi.md
CHANGED
|
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**businessControllerBusinessBookingFeeUpdate**](#businesscontrollerbusinessbookingfeeupdate) | **PUT** /v1/business/booking/fee | |
|
|
8
8
|
|[**businessControllerBusinessOnboarding**](#businesscontrollerbusinessonboarding) | **POST** /v1/business/onboarding | |
|
|
9
|
+
|[**businessControllerDisconnectStripe**](#businesscontrollerdisconnectstripe) | **POST** /v1/business/stripe/disconnect | |
|
|
9
10
|
|[**businessControllerFindBusiness**](#businesscontrollerfindbusiness) | **GET** /v1/business/hosts | |
|
|
10
11
|
|[**businessControllerGetMe**](#businesscontrollergetme) | **GET** /v1/business/me | |
|
|
11
12
|
|[**businessControllerListBusinesses**](#businesscontrollerlistbusinesses) | **GET** /v1/business | |
|
|
@@ -141,6 +142,49 @@ const { status, data } = await apiInstance.businessControllerBusinessOnboarding(
|
|
|
141
142
|
|
|
142
143
|
[[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)
|
|
143
144
|
|
|
145
|
+
# **businessControllerDisconnectStripe**
|
|
146
|
+
> businessControllerDisconnectStripe()
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### Example
|
|
150
|
+
|
|
151
|
+
```typescript
|
|
152
|
+
import {
|
|
153
|
+
BusinessApi,
|
|
154
|
+
Configuration
|
|
155
|
+
} from './api';
|
|
156
|
+
|
|
157
|
+
const configuration = new Configuration();
|
|
158
|
+
const apiInstance = new BusinessApi(configuration);
|
|
159
|
+
|
|
160
|
+
const { status, data } = await apiInstance.businessControllerDisconnectStripe();
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Parameters
|
|
164
|
+
This endpoint does not have any parameters.
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
### Return type
|
|
168
|
+
|
|
169
|
+
void (empty response body)
|
|
170
|
+
|
|
171
|
+
### Authorization
|
|
172
|
+
|
|
173
|
+
[bearer](../README.md#bearer)
|
|
174
|
+
|
|
175
|
+
### HTTP request headers
|
|
176
|
+
|
|
177
|
+
- **Content-Type**: Not defined
|
|
178
|
+
- **Accept**: Not defined
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
### HTTP response details
|
|
182
|
+
| Status code | Description | Response headers |
|
|
183
|
+
|-------------|-------------|------------------|
|
|
184
|
+
|**200** | Stripe account disconnected successfully | - |
|
|
185
|
+
|
|
186
|
+
[[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)
|
|
187
|
+
|
|
144
188
|
# **businessControllerFindBusiness**
|
|
145
189
|
> Array<UserEntity> businessControllerFindBusiness()
|
|
146
190
|
|
|
@@ -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-09T12:27:31Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-04-09T12:27:31Z]
|
|
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-09T12:27:31Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-04-09T12:27:31Z]
|
|
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-09T12:27:31Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-04-09T12:27:31Z]
|
|
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-09T12:27:28Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-04-09T12:27:28Z]
|
|
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
|
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**rSVPV2ControllerConfirmPayment**](#rsvpv2controllerconfirmpayment) | **POST** /v1/rsvp/v2/attendees/payment/confirm | |
|
|
8
8
|
|[**rSVPV2ControllerCreateEvent**](#rsvpv2controllercreateevent) | **POST** /v1/rsvp/v2/events | |
|
|
9
|
+
|[**rSVPV2ControllerDeleteEvent**](#rsvpv2controllerdeleteevent) | **DELETE** /v1/rsvp/v2/events/{id} | |
|
|
9
10
|
|[**rSVPV2ControllerGetAttendees**](#rsvpv2controllergetattendees) | **GET** /v1/rsvp/v2/events/{id}/attendees | |
|
|
10
11
|
|[**rSVPV2ControllerGetEventById**](#rsvpv2controllergeteventbyid) | **GET** /v1/rsvp/v2/events/{id} | |
|
|
11
12
|
|[**rSVPV2ControllerGetEventsByBusiness**](#rsvpv2controllergeteventsbybusiness) | **GET** /v1/rsvp/v2/events/business/{businessId} | |
|
|
@@ -120,6 +121,56 @@ No authorization required
|
|
|
120
121
|
|
|
121
122
|
[[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)
|
|
122
123
|
|
|
124
|
+
# **rSVPV2ControllerDeleteEvent**
|
|
125
|
+
> rSVPV2ControllerDeleteEvent()
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
### Example
|
|
129
|
+
|
|
130
|
+
```typescript
|
|
131
|
+
import {
|
|
132
|
+
RSVPV2Api,
|
|
133
|
+
Configuration
|
|
134
|
+
} from './api';
|
|
135
|
+
|
|
136
|
+
const configuration = new Configuration();
|
|
137
|
+
const apiInstance = new RSVPV2Api(configuration);
|
|
138
|
+
|
|
139
|
+
let id: string; // (default to undefined)
|
|
140
|
+
|
|
141
|
+
const { status, data } = await apiInstance.rSVPV2ControllerDeleteEvent(
|
|
142
|
+
id
|
|
143
|
+
);
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Parameters
|
|
147
|
+
|
|
148
|
+
|Name | Type | Description | Notes|
|
|
149
|
+
|------------- | ------------- | ------------- | -------------|
|
|
150
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
### Return type
|
|
154
|
+
|
|
155
|
+
void (empty response body)
|
|
156
|
+
|
|
157
|
+
### Authorization
|
|
158
|
+
|
|
159
|
+
[bearer](../README.md#bearer)
|
|
160
|
+
|
|
161
|
+
### HTTP request headers
|
|
162
|
+
|
|
163
|
+
- **Content-Type**: Not defined
|
|
164
|
+
- **Accept**: Not defined
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
### HTTP response details
|
|
168
|
+
| Status code | Description | Response headers |
|
|
169
|
+
|-------------|-------------|------------------|
|
|
170
|
+
|**200** | Delete an existing RSVP event and purge its data | - |
|
|
171
|
+
|
|
172
|
+
[[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)
|
|
173
|
+
|
|
123
174
|
# **rSVPV2ControllerGetAttendees**
|
|
124
175
|
> rSVPV2ControllerGetAttendees()
|
|
125
176
|
|
|
@@ -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-09T12:27:31Z]
|
|
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-09T12:27:31Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2026-04-09T13:27:31Z]
|
|
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]
|