@gooday_corp/gooday-api-client 4.5.73 → 4.5.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -0
- package/api.ts +188 -1
- package/docs/BusinessApi.md +57 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPCollaboratorPayload.md +32 -0
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/PaymentDetailsPayload.md +2 -2
- package/docs/RSVPEvenPayloadDTO.md +4 -0
- package/docs/RSVPEventApi.md +52 -0
- package/docs/RSVPEventEntity.md +2 -0
- package/docs/RSVPEventLocationDTO.md +1 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -133,6 +133,7 @@ docs/CreateCustomerPayloadDTO.md
|
|
|
133
133
|
docs/CreateEventCollaboratorPayload.md
|
|
134
134
|
docs/CreateEventPayloadDTO.md
|
|
135
135
|
docs/CreatePaymentLinkDTO.md
|
|
136
|
+
docs/CreateRSVPCollaboratorPayload.md
|
|
136
137
|
docs/CreateRSVPEventBookingPayload.md
|
|
137
138
|
docs/CreateTaskPayload.md
|
|
138
139
|
docs/CreateTodoPayload.md
|
package/api.ts
CHANGED
|
@@ -2038,6 +2038,30 @@ export interface CreatePaymentLinkDTO {
|
|
|
2038
2038
|
*/
|
|
2039
2039
|
'productID': string;
|
|
2040
2040
|
}
|
|
2041
|
+
export interface CreateRSVPCollaboratorPayload {
|
|
2042
|
+
/**
|
|
2043
|
+
* The unique identifier of the customer
|
|
2044
|
+
*/
|
|
2045
|
+
'_id'?: string;
|
|
2046
|
+
/**
|
|
2047
|
+
* The name of the customer
|
|
2048
|
+
*/
|
|
2049
|
+
'name'?: string;
|
|
2050
|
+
'firstName'?: string;
|
|
2051
|
+
'lastName'?: string;
|
|
2052
|
+
/**
|
|
2053
|
+
* The mobile phone number of the customer
|
|
2054
|
+
*/
|
|
2055
|
+
'mobile'?: string;
|
|
2056
|
+
/**
|
|
2057
|
+
* The email address of the customer
|
|
2058
|
+
*/
|
|
2059
|
+
'email'?: string;
|
|
2060
|
+
/**
|
|
2061
|
+
* The goodayId for the customer
|
|
2062
|
+
*/
|
|
2063
|
+
'goodayId'?: string;
|
|
2064
|
+
}
|
|
2041
2065
|
export interface CreateRSVPEventBookingPayload {
|
|
2042
2066
|
/**
|
|
2043
2067
|
* The title of the booking
|
|
@@ -3922,6 +3946,11 @@ export interface RSVPEvenPayloadDTO {
|
|
|
3922
3946
|
*/
|
|
3923
3947
|
'meta'?: RSVPEventMetaDataDTO;
|
|
3924
3948
|
'stripeProduct'?: string;
|
|
3949
|
+
/**
|
|
3950
|
+
* The list of collaborators associated with the booking
|
|
3951
|
+
*/
|
|
3952
|
+
'collaboratorUsers'?: Array<CreateRSVPCollaboratorPayload>;
|
|
3953
|
+
'calendars'?: Array<string>;
|
|
3925
3954
|
}
|
|
3926
3955
|
|
|
3927
3956
|
export const RSVPEvenPayloadDTORepeatEnum = {
|
|
@@ -4025,6 +4054,10 @@ export interface RSVPEventEntity {
|
|
|
4025
4054
|
'discounts'?: Array<object>;
|
|
4026
4055
|
'reminder'?: boolean;
|
|
4027
4056
|
'calendar'?: boolean;
|
|
4057
|
+
/**
|
|
4058
|
+
* The list of collaborators associated with the booking
|
|
4059
|
+
*/
|
|
4060
|
+
'collaborators'?: Array<CreateRSVPCollaboratorPayload>;
|
|
4028
4061
|
}
|
|
4029
4062
|
|
|
4030
4063
|
export const RSVPEventEntityRepeatEnum = {
|
|
@@ -4085,7 +4118,7 @@ export type RSVPEventFindDTOTypeEnum = typeof RSVPEventFindDTOTypeEnum[keyof typ
|
|
|
4085
4118
|
|
|
4086
4119
|
export interface RSVPEventLocationDTO {
|
|
4087
4120
|
'type': RSVPEventLocationDTOTypeEnum;
|
|
4088
|
-
'coordinates'
|
|
4121
|
+
'coordinates'?: Array<number>;
|
|
4089
4122
|
/**
|
|
4090
4123
|
* Optional distance from a reference point.
|
|
4091
4124
|
*/
|
|
@@ -9096,6 +9129,54 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9096
9129
|
options: localVarRequestOptions,
|
|
9097
9130
|
};
|
|
9098
9131
|
},
|
|
9132
|
+
/**
|
|
9133
|
+
*
|
|
9134
|
+
* @param {number} page
|
|
9135
|
+
* @param {number} pageSize
|
|
9136
|
+
* @param {string} [query]
|
|
9137
|
+
* @param {*} [options] Override http request option.
|
|
9138
|
+
* @throws {RequiredError}
|
|
9139
|
+
*/
|
|
9140
|
+
businessControllerFindBusiness: async (page: number, pageSize: number, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9141
|
+
// verify required parameter 'page' is not null or undefined
|
|
9142
|
+
assertParamExists('businessControllerFindBusiness', 'page', page)
|
|
9143
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
9144
|
+
assertParamExists('businessControllerFindBusiness', 'pageSize', pageSize)
|
|
9145
|
+
const localVarPath = `/v1/business/hosts`;
|
|
9146
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9147
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9148
|
+
let baseOptions;
|
|
9149
|
+
if (configuration) {
|
|
9150
|
+
baseOptions = configuration.baseOptions;
|
|
9151
|
+
}
|
|
9152
|
+
|
|
9153
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9154
|
+
const localVarHeaderParameter = {} as any;
|
|
9155
|
+
const localVarQueryParameter = {} as any;
|
|
9156
|
+
|
|
9157
|
+
if (query !== undefined) {
|
|
9158
|
+
localVarQueryParameter['query'] = query;
|
|
9159
|
+
}
|
|
9160
|
+
|
|
9161
|
+
if (page !== undefined) {
|
|
9162
|
+
localVarQueryParameter['page'] = page;
|
|
9163
|
+
}
|
|
9164
|
+
|
|
9165
|
+
if (pageSize !== undefined) {
|
|
9166
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
9167
|
+
}
|
|
9168
|
+
|
|
9169
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
9170
|
+
|
|
9171
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9172
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9173
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9174
|
+
|
|
9175
|
+
return {
|
|
9176
|
+
url: toPathString(localVarUrlObj),
|
|
9177
|
+
options: localVarRequestOptions,
|
|
9178
|
+
};
|
|
9179
|
+
},
|
|
9099
9180
|
/**
|
|
9100
9181
|
*
|
|
9101
9182
|
* @param {*} [options] Override http request option.
|
|
@@ -10209,6 +10290,20 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
10209
10290
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
10210
10291
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10211
10292
|
},
|
|
10293
|
+
/**
|
|
10294
|
+
*
|
|
10295
|
+
* @param {number} page
|
|
10296
|
+
* @param {number} pageSize
|
|
10297
|
+
* @param {string} [query]
|
|
10298
|
+
* @param {*} [options] Override http request option.
|
|
10299
|
+
* @throws {RequiredError}
|
|
10300
|
+
*/
|
|
10301
|
+
async businessControllerFindBusiness(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserEntity>>> {
|
|
10302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerFindBusiness(page, pageSize, query, options);
|
|
10303
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10304
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerFindBusiness']?.[localVarOperationServerIndex]?.url;
|
|
10305
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10306
|
+
},
|
|
10212
10307
|
/**
|
|
10213
10308
|
*
|
|
10214
10309
|
* @param {*} [options] Override http request option.
|
|
@@ -10592,6 +10687,17 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
10592
10687
|
businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
10593
10688
|
return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
|
|
10594
10689
|
},
|
|
10690
|
+
/**
|
|
10691
|
+
*
|
|
10692
|
+
* @param {number} page
|
|
10693
|
+
* @param {number} pageSize
|
|
10694
|
+
* @param {string} [query]
|
|
10695
|
+
* @param {*} [options] Override http request option.
|
|
10696
|
+
* @throws {RequiredError}
|
|
10697
|
+
*/
|
|
10698
|
+
businessControllerFindBusiness(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserEntity>> {
|
|
10699
|
+
return localVarFp.businessControllerFindBusiness(page, pageSize, query, options).then((request) => request(axios, basePath));
|
|
10700
|
+
},
|
|
10595
10701
|
/**
|
|
10596
10702
|
*
|
|
10597
10703
|
* @param {*} [options] Override http request option.
|
|
@@ -10885,6 +10991,18 @@ export class BusinessApi extends BaseAPI {
|
|
|
10885
10991
|
return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
10886
10992
|
}
|
|
10887
10993
|
|
|
10994
|
+
/**
|
|
10995
|
+
*
|
|
10996
|
+
* @param {number} page
|
|
10997
|
+
* @param {number} pageSize
|
|
10998
|
+
* @param {string} [query]
|
|
10999
|
+
* @param {*} [options] Override http request option.
|
|
11000
|
+
* @throws {RequiredError}
|
|
11001
|
+
*/
|
|
11002
|
+
public businessControllerFindBusiness(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig) {
|
|
11003
|
+
return BusinessApiFp(this.configuration).businessControllerFindBusiness(page, pageSize, query, options).then((request) => request(this.axios, this.basePath));
|
|
11004
|
+
}
|
|
11005
|
+
|
|
10888
11006
|
/**
|
|
10889
11007
|
*
|
|
10890
11008
|
* @param {*} [options] Override http request option.
|
|
@@ -18902,6 +19020,44 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18902
19020
|
options: localVarRequestOptions,
|
|
18903
19021
|
};
|
|
18904
19022
|
},
|
|
19023
|
+
/**
|
|
19024
|
+
*
|
|
19025
|
+
* @param {RSVPEventFindDTO} rSVPEventFindDTO
|
|
19026
|
+
* @param {*} [options] Override http request option.
|
|
19027
|
+
* @throws {RequiredError}
|
|
19028
|
+
*/
|
|
19029
|
+
rSVPControllerHostEvents: async (rSVPEventFindDTO: RSVPEventFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19030
|
+
// verify required parameter 'rSVPEventFindDTO' is not null or undefined
|
|
19031
|
+
assertParamExists('rSVPControllerHostEvents', 'rSVPEventFindDTO', rSVPEventFindDTO)
|
|
19032
|
+
const localVarPath = `/v1/rsvp/host/events`;
|
|
19033
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19034
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19035
|
+
let baseOptions;
|
|
19036
|
+
if (configuration) {
|
|
19037
|
+
baseOptions = configuration.baseOptions;
|
|
19038
|
+
}
|
|
19039
|
+
|
|
19040
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
19041
|
+
const localVarHeaderParameter = {} as any;
|
|
19042
|
+
const localVarQueryParameter = {} as any;
|
|
19043
|
+
|
|
19044
|
+
// authentication bearer required
|
|
19045
|
+
// http bearer authentication required
|
|
19046
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19047
|
+
|
|
19048
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19049
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
19050
|
+
|
|
19051
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19052
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19053
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19054
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rSVPEventFindDTO, localVarRequestOptions, configuration)
|
|
19055
|
+
|
|
19056
|
+
return {
|
|
19057
|
+
url: toPathString(localVarUrlObj),
|
|
19058
|
+
options: localVarRequestOptions,
|
|
19059
|
+
};
|
|
19060
|
+
},
|
|
18905
19061
|
/**
|
|
18906
19062
|
*
|
|
18907
19063
|
* @param {string} id
|
|
@@ -19257,6 +19413,18 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
|
|
|
19257
19413
|
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerFavoriteRSVPEventById']?.[localVarOperationServerIndex]?.url;
|
|
19258
19414
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19259
19415
|
},
|
|
19416
|
+
/**
|
|
19417
|
+
*
|
|
19418
|
+
* @param {RSVPEventFindDTO} rSVPEventFindDTO
|
|
19419
|
+
* @param {*} [options] Override http request option.
|
|
19420
|
+
* @throws {RequiredError}
|
|
19421
|
+
*/
|
|
19422
|
+
async rSVPControllerHostEvents(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
|
|
19423
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerHostEvents(rSVPEventFindDTO, options);
|
|
19424
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19425
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerHostEvents']?.[localVarOperationServerIndex]?.url;
|
|
19426
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19427
|
+
},
|
|
19260
19428
|
/**
|
|
19261
19429
|
*
|
|
19262
19430
|
* @param {string} id
|
|
@@ -19408,6 +19576,15 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
|
|
|
19408
19576
|
rSVPControllerFavoriteRSVPEventById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventFavoriteResponsedDTO> {
|
|
19409
19577
|
return localVarFp.rSVPControllerFavoriteRSVPEventById(id, options).then((request) => request(axios, basePath));
|
|
19410
19578
|
},
|
|
19579
|
+
/**
|
|
19580
|
+
*
|
|
19581
|
+
* @param {RSVPEventFindDTO} rSVPEventFindDTO
|
|
19582
|
+
* @param {*} [options] Override http request option.
|
|
19583
|
+
* @throws {RequiredError}
|
|
19584
|
+
*/
|
|
19585
|
+
rSVPControllerHostEvents(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
|
|
19586
|
+
return localVarFp.rSVPControllerHostEvents(rSVPEventFindDTO, options).then((request) => request(axios, basePath));
|
|
19587
|
+
},
|
|
19411
19588
|
/**
|
|
19412
19589
|
*
|
|
19413
19590
|
* @param {string} id
|
|
@@ -19538,6 +19715,16 @@ export class RSVPEventApi extends BaseAPI {
|
|
|
19538
19715
|
return RSVPEventApiFp(this.configuration).rSVPControllerFavoriteRSVPEventById(id, options).then((request) => request(this.axios, this.basePath));
|
|
19539
19716
|
}
|
|
19540
19717
|
|
|
19718
|
+
/**
|
|
19719
|
+
*
|
|
19720
|
+
* @param {RSVPEventFindDTO} rSVPEventFindDTO
|
|
19721
|
+
* @param {*} [options] Override http request option.
|
|
19722
|
+
* @throws {RequiredError}
|
|
19723
|
+
*/
|
|
19724
|
+
public rSVPControllerHostEvents(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig) {
|
|
19725
|
+
return RSVPEventApiFp(this.configuration).rSVPControllerHostEvents(rSVPEventFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19726
|
+
}
|
|
19727
|
+
|
|
19541
19728
|
/**
|
|
19542
19729
|
*
|
|
19543
19730
|
* @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
|
+
|[**businessControllerFindBusiness**](#businesscontrollerfindbusiness) | **GET** /v1/business/hosts | |
|
|
9
10
|
|[**businessControllerGetMe**](#businesscontrollergetme) | **GET** /v1/business/me | |
|
|
10
11
|
|[**businessControllerListBusinesses**](#businesscontrollerlistbusinesses) | **GET** /v1/business | |
|
|
11
12
|
|[**businessControllerUpdateBusinessDetails**](#businesscontrollerupdatebusinessdetails) | **PUT** /v1/business/business-details | |
|
|
@@ -140,6 +141,62 @@ const { status, data } = await apiInstance.businessControllerBusinessOnboarding(
|
|
|
140
141
|
|
|
141
142
|
[[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)
|
|
142
143
|
|
|
144
|
+
# **businessControllerFindBusiness**
|
|
145
|
+
> Array<UserEntity> businessControllerFindBusiness()
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
### Example
|
|
149
|
+
|
|
150
|
+
```typescript
|
|
151
|
+
import {
|
|
152
|
+
BusinessApi,
|
|
153
|
+
Configuration
|
|
154
|
+
} from './api';
|
|
155
|
+
|
|
156
|
+
const configuration = new Configuration();
|
|
157
|
+
const apiInstance = new BusinessApi(configuration);
|
|
158
|
+
|
|
159
|
+
let page: number; // (default to undefined)
|
|
160
|
+
let pageSize: number; // (default to undefined)
|
|
161
|
+
let query: string; // (optional) (default to undefined)
|
|
162
|
+
|
|
163
|
+
const { status, data } = await apiInstance.businessControllerFindBusiness(
|
|
164
|
+
page,
|
|
165
|
+
pageSize,
|
|
166
|
+
query
|
|
167
|
+
);
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### Parameters
|
|
171
|
+
|
|
172
|
+
|Name | Type | Description | Notes|
|
|
173
|
+
|------------- | ------------- | ------------- | -------------|
|
|
174
|
+
| **page** | [**number**] | | defaults to undefined|
|
|
175
|
+
| **pageSize** | [**number**] | | defaults to undefined|
|
|
176
|
+
| **query** | [**string**] | | (optional) defaults to undefined|
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
### Return type
|
|
180
|
+
|
|
181
|
+
**Array<UserEntity>**
|
|
182
|
+
|
|
183
|
+
### Authorization
|
|
184
|
+
|
|
185
|
+
No authorization required
|
|
186
|
+
|
|
187
|
+
### HTTP request headers
|
|
188
|
+
|
|
189
|
+
- **Content-Type**: Not defined
|
|
190
|
+
- **Accept**: application/json
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
### HTTP response details
|
|
194
|
+
| Status code | Description | Response headers |
|
|
195
|
+
|-------------|-------------|------------------|
|
|
196
|
+
|**200** | | - |
|
|
197
|
+
|
|
198
|
+
[[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)
|
|
199
|
+
|
|
143
200
|
# **businessControllerGetMe**
|
|
144
201
|
> BusinessOnBoardingResponseDTO businessControllerGetMe()
|
|
145
202
|
|
|
@@ -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-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2026-03-10T05:16:20Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-03-10T05:16:20Z]
|
|
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]
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# CreateRSVPCollaboratorPayload
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**_id** | **string** | The unique identifier of the customer | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | The name of the customer | [optional] [default to 'John Doe']
|
|
10
|
+
**firstName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**lastName** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**mobile** | **string** | The mobile phone number of the customer | [optional] [default to '+11234567890']
|
|
13
|
+
**email** | **string** | The email address of the customer | [optional] [default to 'example@example.com']
|
|
14
|
+
**goodayId** | **string** | The goodayId for the customer | [optional] [default to 'default-gooday-id']
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { CreateRSVPCollaboratorPayload } from './api';
|
|
20
|
+
|
|
21
|
+
const instance: CreateRSVPCollaboratorPayload = {
|
|
22
|
+
_id,
|
|
23
|
+
name,
|
|
24
|
+
firstName,
|
|
25
|
+
lastName,
|
|
26
|
+
mobile,
|
|
27
|
+
email,
|
|
28
|
+
goodayId,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -6,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-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-03-10T05:16:20Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-03-10T05:16:20Z]
|
|
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]
|
|
@@ -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-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-03-10T05:16:20Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-03-10T05:16:20Z]
|
|
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-
|
|
12
|
-
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-
|
|
11
|
+
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-03-10T05:16:17Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-03-10T05:16:17Z]
|
|
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]
|
|
@@ -37,6 +37,8 @@ Name | Type | Description | Notes
|
|
|
37
37
|
**discounts** | **Array<object>** | | [optional] [default to undefined]
|
|
38
38
|
**meta** | [**RSVPEventMetaDataDTO**](RSVPEventMetaDataDTO.md) | Meta information about the location. | [optional] [default to undefined]
|
|
39
39
|
**stripeProduct** | **string** | | [optional] [default to undefined]
|
|
40
|
+
**collaboratorUsers** | [**Array<CreateRSVPCollaboratorPayload>**](CreateRSVPCollaboratorPayload.md) | The list of collaborators associated with the booking | [optional] [default to undefined]
|
|
41
|
+
**calendars** | **Array<string>** | | [optional] [default to undefined]
|
|
40
42
|
|
|
41
43
|
## Example
|
|
42
44
|
|
|
@@ -76,6 +78,8 @@ const instance: RSVPEvenPayloadDTO = {
|
|
|
76
78
|
discounts,
|
|
77
79
|
meta,
|
|
78
80
|
stripeProduct,
|
|
81
|
+
collaboratorUsers,
|
|
82
|
+
calendars,
|
|
79
83
|
};
|
|
80
84
|
```
|
|
81
85
|
|
package/docs/RSVPEventApi.md
CHANGED
|
@@ -9,6 +9,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
9
9
|
|[**rSVPControllerDeleteRSVPEvent**](#rsvpcontrollerdeletersvpevent) | **DELETE** /v1/rsvp | |
|
|
10
10
|
|[**rSVPControllerDeleteRSVPFavorites**](#rsvpcontrollerdeletersvpfavorites) | **DELETE** /v1/rsvp/event/unfavorite | |
|
|
11
11
|
|[**rSVPControllerFavoriteRSVPEventById**](#rsvpcontrollerfavoritersvpeventbyid) | **GET** /v1/rsvp/favoriteId/{id} | |
|
|
12
|
+
|[**rSVPControllerHostEvents**](#rsvpcontrollerhostevents) | **POST** /v1/rsvp/host/events | |
|
|
12
13
|
|[**rSVPControllerReminderEventCalendar**](#rsvpcontrollerremindereventcalendar) | **PUT** /v1/rsvp/remindar/{id} | |
|
|
13
14
|
|[**rSVPControllerRsvpEventById**](#rsvpcontrollerrsvpeventbyid) | **GET** /v1/rsvp/{id} | |
|
|
14
15
|
|[**rSVPControllerRsvpEvents**](#rsvpcontrollerrsvpevents) | **POST** /v1/rsvp/rsvp/event | |
|
|
@@ -264,6 +265,57 @@ const { status, data } = await apiInstance.rSVPControllerFavoriteRSVPEventById(
|
|
|
264
265
|
- **Accept**: application/json
|
|
265
266
|
|
|
266
267
|
|
|
268
|
+
### HTTP response details
|
|
269
|
+
| Status code | Description | Response headers |
|
|
270
|
+
|-------------|-------------|------------------|
|
|
271
|
+
|**200** | | - |
|
|
272
|
+
|
|
273
|
+
[[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)
|
|
274
|
+
|
|
275
|
+
# **rSVPControllerHostEvents**
|
|
276
|
+
> RSVPEventResponseDTO rSVPControllerHostEvents(rSVPEventFindDTO)
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
### Example
|
|
280
|
+
|
|
281
|
+
```typescript
|
|
282
|
+
import {
|
|
283
|
+
RSVPEventApi,
|
|
284
|
+
Configuration,
|
|
285
|
+
RSVPEventFindDTO
|
|
286
|
+
} from './api';
|
|
287
|
+
|
|
288
|
+
const configuration = new Configuration();
|
|
289
|
+
const apiInstance = new RSVPEventApi(configuration);
|
|
290
|
+
|
|
291
|
+
let rSVPEventFindDTO: RSVPEventFindDTO; //
|
|
292
|
+
|
|
293
|
+
const { status, data } = await apiInstance.rSVPControllerHostEvents(
|
|
294
|
+
rSVPEventFindDTO
|
|
295
|
+
);
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
### Parameters
|
|
299
|
+
|
|
300
|
+
|Name | Type | Description | Notes|
|
|
301
|
+
|------------- | ------------- | ------------- | -------------|
|
|
302
|
+
| **rSVPEventFindDTO** | **RSVPEventFindDTO**| | |
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
### Return type
|
|
306
|
+
|
|
307
|
+
**RSVPEventResponseDTO**
|
|
308
|
+
|
|
309
|
+
### Authorization
|
|
310
|
+
|
|
311
|
+
[bearer](../README.md#bearer)
|
|
312
|
+
|
|
313
|
+
### HTTP request headers
|
|
314
|
+
|
|
315
|
+
- **Content-Type**: application/json
|
|
316
|
+
- **Accept**: application/json
|
|
317
|
+
|
|
318
|
+
|
|
267
319
|
### HTTP response details
|
|
268
320
|
| Status code | Description | Response headers |
|
|
269
321
|
|-------------|-------------|------------------|
|
package/docs/RSVPEventEntity.md
CHANGED
|
@@ -40,6 +40,7 @@ Name | Type | Description | Notes
|
|
|
40
40
|
**discounts** | **Array<object>** | | [optional] [default to undefined]
|
|
41
41
|
**reminder** | **boolean** | | [optional] [default to undefined]
|
|
42
42
|
**calendar** | **boolean** | | [optional] [default to undefined]
|
|
43
|
+
**collaborators** | [**Array<CreateRSVPCollaboratorPayload>**](CreateRSVPCollaboratorPayload.md) | The list of collaborators associated with the booking | [optional] [default to undefined]
|
|
43
44
|
|
|
44
45
|
## Example
|
|
45
46
|
|
|
@@ -82,6 +83,7 @@ const instance: RSVPEventEntity = {
|
|
|
82
83
|
discounts,
|
|
83
84
|
reminder,
|
|
84
85
|
calendar,
|
|
86
|
+
collaborators,
|
|
85
87
|
};
|
|
86
88
|
```
|
|
87
89
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**type** | **string** | | [default to undefined]
|
|
9
|
-
**coordinates** | **Array<number>** | | [default to undefined]
|
|
9
|
+
**coordinates** | **Array<number>** | | [optional] [default to undefined]
|
|
10
10
|
**distance** | **string** | Optional distance from a reference point. | [optional] [default to undefined]
|
|
11
11
|
**meta** | [**RSVPEventMetaDTO**](RSVPEventMetaDTO.md) | Meta information about the location. | [optional] [default to undefined]
|
|
12
12
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**date** | **string** | The start date of the booking | [default to 2026-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2026-03-10T05:16:20Z]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**notes** | **string** | | [optional] [default to undefined]
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**startDate** | **string** | The start date of the waitlist | [default to 2026-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2026-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2026-03-10T05:16:20Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2026-03-10T06:16:20Z]
|
|
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]
|