@gooday_corp/gooday-api-client 4.5.73 → 4.5.76
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 +195 -7
- 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 +6 -0
- package/docs/RSVPEventApi.md +52 -0
- package/docs/RSVPEventEntity.md +2 -0
- package/docs/RSVPEventLocationDTO.md +2 -2
- package/docs/RSVPEventMetaDTO.md +1 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnLocationDTO.md +3 -3
- package/docs/WhatsOnLocationMetaDTO.md +1 -1
- 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,12 @@ 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>;
|
|
3954
|
+
'theme'?: string;
|
|
3925
3955
|
}
|
|
3926
3956
|
|
|
3927
3957
|
export const RSVPEvenPayloadDTORepeatEnum = {
|
|
@@ -4025,6 +4055,10 @@ export interface RSVPEventEntity {
|
|
|
4025
4055
|
'discounts'?: Array<object>;
|
|
4026
4056
|
'reminder'?: boolean;
|
|
4027
4057
|
'calendar'?: boolean;
|
|
4058
|
+
/**
|
|
4059
|
+
* The list of collaborators associated with the booking
|
|
4060
|
+
*/
|
|
4061
|
+
'collaborators'?: Array<CreateRSVPCollaboratorPayload>;
|
|
4028
4062
|
}
|
|
4029
4063
|
|
|
4030
4064
|
export const RSVPEventEntityRepeatEnum = {
|
|
@@ -4084,8 +4118,8 @@ export const RSVPEventFindDTOTypeEnum = {
|
|
|
4084
4118
|
export type RSVPEventFindDTOTypeEnum = typeof RSVPEventFindDTOTypeEnum[keyof typeof RSVPEventFindDTOTypeEnum];
|
|
4085
4119
|
|
|
4086
4120
|
export interface RSVPEventLocationDTO {
|
|
4087
|
-
'type'
|
|
4088
|
-
'coordinates'
|
|
4121
|
+
'type'?: RSVPEventLocationDTOTypeEnum;
|
|
4122
|
+
'coordinates'?: Array<number>;
|
|
4089
4123
|
/**
|
|
4090
4124
|
* Optional distance from a reference point.
|
|
4091
4125
|
*/
|
|
@@ -4104,7 +4138,7 @@ export type RSVPEventLocationDTOTypeEnum = typeof RSVPEventLocationDTOTypeEnum[k
|
|
|
4104
4138
|
|
|
4105
4139
|
export interface RSVPEventMetaDTO {
|
|
4106
4140
|
'formattedAddress'?: string;
|
|
4107
|
-
'shortFormattedAddress'
|
|
4141
|
+
'shortFormattedAddress'?: string;
|
|
4108
4142
|
}
|
|
4109
4143
|
export interface RSVPEventMetaDataDTO {
|
|
4110
4144
|
'email'?: string;
|
|
@@ -5391,8 +5425,8 @@ export interface WhatsOnFindDTO {
|
|
|
5391
5425
|
'category'?: string;
|
|
5392
5426
|
}
|
|
5393
5427
|
export interface WhatsOnLocationDTO {
|
|
5394
|
-
'type'
|
|
5395
|
-
'coordinates'
|
|
5428
|
+
'type'?: WhatsOnLocationDTOTypeEnum;
|
|
5429
|
+
'coordinates'?: Array<number>;
|
|
5396
5430
|
/**
|
|
5397
5431
|
* Optional distance from a reference point.
|
|
5398
5432
|
*/
|
|
@@ -5400,7 +5434,7 @@ export interface WhatsOnLocationDTO {
|
|
|
5400
5434
|
/**
|
|
5401
5435
|
* Meta information about the location.
|
|
5402
5436
|
*/
|
|
5403
|
-
'meta'
|
|
5437
|
+
'meta'?: WhatsOnLocationMetaDTO;
|
|
5404
5438
|
}
|
|
5405
5439
|
|
|
5406
5440
|
export const WhatsOnLocationDTOTypeEnum = {
|
|
@@ -5411,7 +5445,7 @@ export type WhatsOnLocationDTOTypeEnum = typeof WhatsOnLocationDTOTypeEnum[keyof
|
|
|
5411
5445
|
|
|
5412
5446
|
export interface WhatsOnLocationMetaDTO {
|
|
5413
5447
|
'formattedAddress'?: string;
|
|
5414
|
-
'shortFormattedAddress'
|
|
5448
|
+
'shortFormattedAddress'?: string;
|
|
5415
5449
|
}
|
|
5416
5450
|
export interface WhatsOnPayloadDTO {
|
|
5417
5451
|
/**
|
|
@@ -9096,6 +9130,54 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9096
9130
|
options: localVarRequestOptions,
|
|
9097
9131
|
};
|
|
9098
9132
|
},
|
|
9133
|
+
/**
|
|
9134
|
+
*
|
|
9135
|
+
* @param {number} page
|
|
9136
|
+
* @param {number} pageSize
|
|
9137
|
+
* @param {string} [query]
|
|
9138
|
+
* @param {*} [options] Override http request option.
|
|
9139
|
+
* @throws {RequiredError}
|
|
9140
|
+
*/
|
|
9141
|
+
businessControllerFindBusiness: async (page: number, pageSize: number, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9142
|
+
// verify required parameter 'page' is not null or undefined
|
|
9143
|
+
assertParamExists('businessControllerFindBusiness', 'page', page)
|
|
9144
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
9145
|
+
assertParamExists('businessControllerFindBusiness', 'pageSize', pageSize)
|
|
9146
|
+
const localVarPath = `/v1/business/hosts`;
|
|
9147
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9148
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9149
|
+
let baseOptions;
|
|
9150
|
+
if (configuration) {
|
|
9151
|
+
baseOptions = configuration.baseOptions;
|
|
9152
|
+
}
|
|
9153
|
+
|
|
9154
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9155
|
+
const localVarHeaderParameter = {} as any;
|
|
9156
|
+
const localVarQueryParameter = {} as any;
|
|
9157
|
+
|
|
9158
|
+
if (query !== undefined) {
|
|
9159
|
+
localVarQueryParameter['query'] = query;
|
|
9160
|
+
}
|
|
9161
|
+
|
|
9162
|
+
if (page !== undefined) {
|
|
9163
|
+
localVarQueryParameter['page'] = page;
|
|
9164
|
+
}
|
|
9165
|
+
|
|
9166
|
+
if (pageSize !== undefined) {
|
|
9167
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
9168
|
+
}
|
|
9169
|
+
|
|
9170
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
9171
|
+
|
|
9172
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9174
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9175
|
+
|
|
9176
|
+
return {
|
|
9177
|
+
url: toPathString(localVarUrlObj),
|
|
9178
|
+
options: localVarRequestOptions,
|
|
9179
|
+
};
|
|
9180
|
+
},
|
|
9099
9181
|
/**
|
|
9100
9182
|
*
|
|
9101
9183
|
* @param {*} [options] Override http request option.
|
|
@@ -10209,6 +10291,20 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
10209
10291
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
10210
10292
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10211
10293
|
},
|
|
10294
|
+
/**
|
|
10295
|
+
*
|
|
10296
|
+
* @param {number} page
|
|
10297
|
+
* @param {number} pageSize
|
|
10298
|
+
* @param {string} [query]
|
|
10299
|
+
* @param {*} [options] Override http request option.
|
|
10300
|
+
* @throws {RequiredError}
|
|
10301
|
+
*/
|
|
10302
|
+
async businessControllerFindBusiness(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserEntity>>> {
|
|
10303
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerFindBusiness(page, pageSize, query, options);
|
|
10304
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10305
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerFindBusiness']?.[localVarOperationServerIndex]?.url;
|
|
10306
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10307
|
+
},
|
|
10212
10308
|
/**
|
|
10213
10309
|
*
|
|
10214
10310
|
* @param {*} [options] Override http request option.
|
|
@@ -10592,6 +10688,17 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
10592
10688
|
businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
10593
10689
|
return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
|
|
10594
10690
|
},
|
|
10691
|
+
/**
|
|
10692
|
+
*
|
|
10693
|
+
* @param {number} page
|
|
10694
|
+
* @param {number} pageSize
|
|
10695
|
+
* @param {string} [query]
|
|
10696
|
+
* @param {*} [options] Override http request option.
|
|
10697
|
+
* @throws {RequiredError}
|
|
10698
|
+
*/
|
|
10699
|
+
businessControllerFindBusiness(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserEntity>> {
|
|
10700
|
+
return localVarFp.businessControllerFindBusiness(page, pageSize, query, options).then((request) => request(axios, basePath));
|
|
10701
|
+
},
|
|
10595
10702
|
/**
|
|
10596
10703
|
*
|
|
10597
10704
|
* @param {*} [options] Override http request option.
|
|
@@ -10885,6 +10992,18 @@ export class BusinessApi extends BaseAPI {
|
|
|
10885
10992
|
return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
10886
10993
|
}
|
|
10887
10994
|
|
|
10995
|
+
/**
|
|
10996
|
+
*
|
|
10997
|
+
* @param {number} page
|
|
10998
|
+
* @param {number} pageSize
|
|
10999
|
+
* @param {string} [query]
|
|
11000
|
+
* @param {*} [options] Override http request option.
|
|
11001
|
+
* @throws {RequiredError}
|
|
11002
|
+
*/
|
|
11003
|
+
public businessControllerFindBusiness(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig) {
|
|
11004
|
+
return BusinessApiFp(this.configuration).businessControllerFindBusiness(page, pageSize, query, options).then((request) => request(this.axios, this.basePath));
|
|
11005
|
+
}
|
|
11006
|
+
|
|
10888
11007
|
/**
|
|
10889
11008
|
*
|
|
10890
11009
|
* @param {*} [options] Override http request option.
|
|
@@ -18902,6 +19021,44 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18902
19021
|
options: localVarRequestOptions,
|
|
18903
19022
|
};
|
|
18904
19023
|
},
|
|
19024
|
+
/**
|
|
19025
|
+
*
|
|
19026
|
+
* @param {RSVPEventFindDTO} rSVPEventFindDTO
|
|
19027
|
+
* @param {*} [options] Override http request option.
|
|
19028
|
+
* @throws {RequiredError}
|
|
19029
|
+
*/
|
|
19030
|
+
rSVPControllerHostEvents: async (rSVPEventFindDTO: RSVPEventFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19031
|
+
// verify required parameter 'rSVPEventFindDTO' is not null or undefined
|
|
19032
|
+
assertParamExists('rSVPControllerHostEvents', 'rSVPEventFindDTO', rSVPEventFindDTO)
|
|
19033
|
+
const localVarPath = `/v1/rsvp/host/events`;
|
|
19034
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19035
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19036
|
+
let baseOptions;
|
|
19037
|
+
if (configuration) {
|
|
19038
|
+
baseOptions = configuration.baseOptions;
|
|
19039
|
+
}
|
|
19040
|
+
|
|
19041
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
19042
|
+
const localVarHeaderParameter = {} as any;
|
|
19043
|
+
const localVarQueryParameter = {} as any;
|
|
19044
|
+
|
|
19045
|
+
// authentication bearer required
|
|
19046
|
+
// http bearer authentication required
|
|
19047
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19048
|
+
|
|
19049
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19050
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
19051
|
+
|
|
19052
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19053
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19054
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19055
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rSVPEventFindDTO, localVarRequestOptions, configuration)
|
|
19056
|
+
|
|
19057
|
+
return {
|
|
19058
|
+
url: toPathString(localVarUrlObj),
|
|
19059
|
+
options: localVarRequestOptions,
|
|
19060
|
+
};
|
|
19061
|
+
},
|
|
18905
19062
|
/**
|
|
18906
19063
|
*
|
|
18907
19064
|
* @param {string} id
|
|
@@ -19257,6 +19414,18 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
|
|
|
19257
19414
|
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerFavoriteRSVPEventById']?.[localVarOperationServerIndex]?.url;
|
|
19258
19415
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19259
19416
|
},
|
|
19417
|
+
/**
|
|
19418
|
+
*
|
|
19419
|
+
* @param {RSVPEventFindDTO} rSVPEventFindDTO
|
|
19420
|
+
* @param {*} [options] Override http request option.
|
|
19421
|
+
* @throws {RequiredError}
|
|
19422
|
+
*/
|
|
19423
|
+
async rSVPControllerHostEvents(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
|
|
19424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerHostEvents(rSVPEventFindDTO, options);
|
|
19425
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19426
|
+
const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerHostEvents']?.[localVarOperationServerIndex]?.url;
|
|
19427
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19428
|
+
},
|
|
19260
19429
|
/**
|
|
19261
19430
|
*
|
|
19262
19431
|
* @param {string} id
|
|
@@ -19408,6 +19577,15 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
|
|
|
19408
19577
|
rSVPControllerFavoriteRSVPEventById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventFavoriteResponsedDTO> {
|
|
19409
19578
|
return localVarFp.rSVPControllerFavoriteRSVPEventById(id, options).then((request) => request(axios, basePath));
|
|
19410
19579
|
},
|
|
19580
|
+
/**
|
|
19581
|
+
*
|
|
19582
|
+
* @param {RSVPEventFindDTO} rSVPEventFindDTO
|
|
19583
|
+
* @param {*} [options] Override http request option.
|
|
19584
|
+
* @throws {RequiredError}
|
|
19585
|
+
*/
|
|
19586
|
+
rSVPControllerHostEvents(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
|
|
19587
|
+
return localVarFp.rSVPControllerHostEvents(rSVPEventFindDTO, options).then((request) => request(axios, basePath));
|
|
19588
|
+
},
|
|
19411
19589
|
/**
|
|
19412
19590
|
*
|
|
19413
19591
|
* @param {string} id
|
|
@@ -19538,6 +19716,16 @@ export class RSVPEventApi extends BaseAPI {
|
|
|
19538
19716
|
return RSVPEventApiFp(this.configuration).rSVPControllerFavoriteRSVPEventById(id, options).then((request) => request(this.axios, this.basePath));
|
|
19539
19717
|
}
|
|
19540
19718
|
|
|
19719
|
+
/**
|
|
19720
|
+
*
|
|
19721
|
+
* @param {RSVPEventFindDTO} rSVPEventFindDTO
|
|
19722
|
+
* @param {*} [options] Override http request option.
|
|
19723
|
+
* @throws {RequiredError}
|
|
19724
|
+
*/
|
|
19725
|
+
public rSVPControllerHostEvents(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig) {
|
|
19726
|
+
return RSVPEventApiFp(this.configuration).rSVPControllerHostEvents(rSVPEventFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19727
|
+
}
|
|
19728
|
+
|
|
19541
19729
|
/**
|
|
19542
19730
|
*
|
|
19543
19731
|
* @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-17T14:50:25Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-03-17T14:50:25Z]
|
|
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-17T14:50:25Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-03-17T14:50:25Z]
|
|
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-17T14:50:25Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-03-17T14:50:25Z]
|
|
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-17T14:50:22Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-03-17T14:50:22Z]
|
|
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,9 @@ 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]
|
|
42
|
+
**theme** | **string** | | [optional] [default to undefined]
|
|
40
43
|
|
|
41
44
|
## Example
|
|
42
45
|
|
|
@@ -76,6 +79,9 @@ const instance: RSVPEvenPayloadDTO = {
|
|
|
76
79
|
discounts,
|
|
77
80
|
meta,
|
|
78
81
|
stripeProduct,
|
|
82
|
+
collaboratorUsers,
|
|
83
|
+
calendars,
|
|
84
|
+
theme,
|
|
79
85
|
};
|
|
80
86
|
```
|
|
81
87
|
|
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
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**type** | **string** | | [default to undefined]
|
|
9
|
-
**coordinates** | **Array<number>** | | [default to undefined]
|
|
8
|
+
**type** | **string** | | [optional] [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
|
|
package/docs/RSVPEventMetaDTO.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**formattedAddress** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**shortFormattedAddress** | **string** | | [default to undefined]
|
|
9
|
+
**shortFormattedAddress** | **string** | | [optional] [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
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-17T14:50:25Z]
|
|
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-17T14:50:25Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2026-03-17T15:50:25Z]
|
|
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]
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**type** | **string** | | [default to undefined]
|
|
9
|
-
**coordinates** | **Array<number>** | | [default to undefined]
|
|
8
|
+
**type** | **string** | | [optional] [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
|
-
**meta** | [**WhatsOnLocationMetaDTO**](WhatsOnLocationMetaDTO.md) | Meta information about the location. | [default to undefined]
|
|
11
|
+
**meta** | [**WhatsOnLocationMetaDTO**](WhatsOnLocationMetaDTO.md) | Meta information about the location. | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**formattedAddress** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**shortFormattedAddress** | **string** | | [default to undefined]
|
|
9
|
+
**shortFormattedAddress** | **string** | | [optional] [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|