@gooday_corp/gooday-api-client 4.5.72 → 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.
@@ -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
@@ -1 +1 @@
1
- 7.19.0
1
+ 7.20.0
package/api.ts CHANGED
@@ -990,6 +990,10 @@ export interface BusinessOnBoardingDTO {
990
990
  * Business Category
991
991
  */
992
992
  'businessCategory'?: string;
993
+ /**
994
+ * Business Category
995
+ */
996
+ 'businessCategoryCustom'?: string;
993
997
  /**
994
998
  * Assistant ID
995
999
  */
@@ -2034,6 +2038,30 @@ export interface CreatePaymentLinkDTO {
2034
2038
  */
2035
2039
  'productID': string;
2036
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
+ }
2037
2065
  export interface CreateRSVPEventBookingPayload {
2038
2066
  /**
2039
2067
  * The title of the booking
@@ -3918,6 +3946,11 @@ export interface RSVPEvenPayloadDTO {
3918
3946
  */
3919
3947
  'meta'?: RSVPEventMetaDataDTO;
3920
3948
  'stripeProduct'?: string;
3949
+ /**
3950
+ * The list of collaborators associated with the booking
3951
+ */
3952
+ 'collaboratorUsers'?: Array<CreateRSVPCollaboratorPayload>;
3953
+ 'calendars'?: Array<string>;
3921
3954
  }
3922
3955
 
3923
3956
  export const RSVPEvenPayloadDTORepeatEnum = {
@@ -4021,6 +4054,10 @@ export interface RSVPEventEntity {
4021
4054
  'discounts'?: Array<object>;
4022
4055
  'reminder'?: boolean;
4023
4056
  'calendar'?: boolean;
4057
+ /**
4058
+ * The list of collaborators associated with the booking
4059
+ */
4060
+ 'collaborators'?: Array<CreateRSVPCollaboratorPayload>;
4024
4061
  }
4025
4062
 
4026
4063
  export const RSVPEventEntityRepeatEnum = {
@@ -4081,7 +4118,7 @@ export type RSVPEventFindDTOTypeEnum = typeof RSVPEventFindDTOTypeEnum[keyof typ
4081
4118
 
4082
4119
  export interface RSVPEventLocationDTO {
4083
4120
  'type': RSVPEventLocationDTOTypeEnum;
4084
- 'coordinates': Array<number>;
4121
+ 'coordinates'?: Array<number>;
4085
4122
  /**
4086
4123
  * Optional distance from a reference point.
4087
4124
  */
@@ -4361,6 +4398,10 @@ export interface SignupDto {
4361
4398
  * User Profile Name
4362
4399
  */
4363
4400
  'password': string;
4401
+ /**
4402
+ * Phone No
4403
+ */
4404
+ 'mobileNumber'?: string;
4364
4405
  'planId'?: string;
4365
4406
  'isApp'?: boolean;
4366
4407
  }
@@ -9088,6 +9129,54 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
9088
9129
  options: localVarRequestOptions,
9089
9130
  };
9090
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
+ },
9091
9180
  /**
9092
9181
  *
9093
9182
  * @param {*} [options] Override http request option.
@@ -10201,6 +10290,20 @@ export const BusinessApiFp = function(configuration?: Configuration) {
10201
10290
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
10202
10291
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10203
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
+ },
10204
10307
  /**
10205
10308
  *
10206
10309
  * @param {*} [options] Override http request option.
@@ -10584,6 +10687,17 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
10584
10687
  businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
10585
10688
  return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
10586
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
+ },
10587
10701
  /**
10588
10702
  *
10589
10703
  * @param {*} [options] Override http request option.
@@ -10877,6 +10991,18 @@ export class BusinessApi extends BaseAPI {
10877
10991
  return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
10878
10992
  }
10879
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
+
10880
11006
  /**
10881
11007
  *
10882
11008
  * @param {*} [options] Override http request option.
@@ -18894,6 +19020,44 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
18894
19020
  options: localVarRequestOptions,
18895
19021
  };
18896
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
+ },
18897
19061
  /**
18898
19062
  *
18899
19063
  * @param {string} id
@@ -19249,6 +19413,18 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
19249
19413
  const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerFavoriteRSVPEventById']?.[localVarOperationServerIndex]?.url;
19250
19414
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19251
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
+ },
19252
19428
  /**
19253
19429
  *
19254
19430
  * @param {string} id
@@ -19400,6 +19576,15 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
19400
19576
  rSVPControllerFavoriteRSVPEventById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventFavoriteResponsedDTO> {
19401
19577
  return localVarFp.rSVPControllerFavoriteRSVPEventById(id, options).then((request) => request(axios, basePath));
19402
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
+ },
19403
19588
  /**
19404
19589
  *
19405
19590
  * @param {string} id
@@ -19530,6 +19715,16 @@ export class RSVPEventApi extends BaseAPI {
19530
19715
  return RSVPEventApiFp(this.configuration).rSVPControllerFavoriteRSVPEventById(id, options).then((request) => request(this.axios, this.basePath));
19531
19716
  }
19532
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
+
19533
19728
  /**
19534
19729
  *
19535
19730
  * @param {string} id
package/common.ts CHANGED
@@ -96,7 +96,8 @@ export const setSearchParams = function (url: URL, ...objects: any[]) {
96
96
  * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
97
97
  * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
98
98
  */
99
- export const replaceWithSerializableTypeIfNeeded = function(key: any, value: any) {
99
+ // @ts-ignore
100
+ export const replaceWithSerializableTypeIfNeeded = function(key: string, value: any) {
100
101
  if (value instanceof Set) {
101
102
  return Array.from(value);
102
103
  } else {
@@ -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
 
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
13
13
  **businessCountry** | **string** | Business Country | [optional] [default to undefined]
14
14
  **businessType** | **string** | Business Type | [optional] [default to undefined]
15
15
  **businessCategory** | **string** | Business Category | [optional] [default to undefined]
16
+ **businessCategoryCustom** | **string** | Business Category | [optional] [default to undefined]
16
17
  **assistant** | **string** | Assistant ID | [optional] [default to undefined]
17
18
  **cancellationDuration** | **string** | | [optional] [default to undefined]
18
19
 
@@ -30,6 +31,7 @@ const instance: BusinessOnBoardingDTO = {
30
31
  businessCountry,
31
32
  businessType,
32
33
  businessCategory,
34
+ businessCategoryCustom,
33
35
  assistant,
34
36
  cancellationDuration,
35
37
  };
@@ -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-02-06T13:05:49Z]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-02-06T13:05:49Z]
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-02-06T13:05:49Z]
10
- **endDate** | **string** | The start date of the booking | [default to 2026-02-06T13:05:49Z]
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&lt;string&gt;** | 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-02-06T13:05:49Z]
10
- **endDate** | **string** | The start date of the booking | [default to 2026-02-06T13:05:49Z]
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&lt;string&gt;** | 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-02-06T13:05:47Z]
12
- **endDate** | **string** | The end date of the booking | [optional] [default to 2026-02-06T13:05:47Z]
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&lt;object&gt;** | | [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&lt;CreateRSVPCollaboratorPayload&gt;**](CreateRSVPCollaboratorPayload.md) | The list of collaborators associated with the booking | [optional] [default to undefined]
41
+ **calendars** | **Array&lt;string&gt;** | | [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
 
@@ -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
  |-------------|-------------|------------------|
@@ -40,6 +40,7 @@ Name | Type | Description | Notes
40
40
  **discounts** | **Array&lt;object&gt;** | | [optional] [default to undefined]
41
41
  **reminder** | **boolean** | | [optional] [default to undefined]
42
42
  **calendar** | **boolean** | | [optional] [default to undefined]
43
+ **collaborators** | [**Array&lt;CreateRSVPCollaboratorPayload&gt;**](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&lt;number&gt;** | | [default to undefined]
9
+ **coordinates** | **Array&lt;number&gt;** | | [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-02-06T13:05:49Z]
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]
package/docs/SignupDto.md CHANGED
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **email** | **string** | The email of the user | [default to undefined]
9
9
  **password** | **string** | User Profile Name | [default to undefined]
10
+ **mobileNumber** | **string** | Phone No | [optional] [default to undefined]
10
11
  **planId** | **string** | | [optional] [default to undefined]
11
12
  **isApp** | **boolean** | | [optional] [default to true]
12
13
 
@@ -18,6 +19,7 @@ import { SignupDto } from './api';
18
19
  const instance: SignupDto = {
19
20
  email,
20
21
  password,
22
+ mobileNumber,
21
23
  planId,
22
24
  isApp,
23
25
  };
@@ -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-02-06T13:05:49Z]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2026-02-06T14:05:49Z]
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&lt;CreateWaitlistBookingCollaboratorPayload&gt;**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "4.5.72",
3
+ "version": "4.5.74",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},