@gooday_corp/gooday-api-client 4.5.72 → 4.5.73
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/VERSION +1 -1
- package/api.ts +8 -0
- package/common.ts +2 -1
- package/docs/BusinessOnBoardingDTO.md +2 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateRSVPEventBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +2 -2
- package/docs/PaymentDetailsPayload.md +2 -2
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/SignupDto.md +2 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
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
|
*/
|
|
@@ -4361,6 +4365,10 @@ export interface SignupDto {
|
|
|
4361
4365
|
* User Profile Name
|
|
4362
4366
|
*/
|
|
4363
4367
|
'password': string;
|
|
4368
|
+
/**
|
|
4369
|
+
* Phone No
|
|
4370
|
+
*/
|
|
4371
|
+
'mobileNumber'?: string;
|
|
4364
4372
|
'planId'?: string;
|
|
4365
4373
|
'isApp'?: boolean;
|
|
4366
4374
|
}
|
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
|
-
|
|
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 {
|
|
@@ -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-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-02-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2026-02-24T05:36:38Z]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-02-24T05:36:38Z]
|
|
11
11
|
**from** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**to** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**venue** | **string** | The venue of the booking | [default to undefined]
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**title** | **string** | The title of the booking | [default to 'Default Booking Title']
|
|
9
|
-
**startDate** | **string** | The start date of the booking | [default to 2026-02-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-02-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-02-24T05:36:38Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-02-24T05:36:38Z]
|
|
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-02-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2026-02-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2026-02-24T05:36:38Z]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2026-02-24T05:36:38Z]
|
|
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-02-
|
|
12
|
-
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-02-
|
|
11
|
+
**startDate** | **string** | The start date of the booking | [optional] [default to 2026-02-24T05:36:36Z]
|
|
12
|
+
**endDate** | **string** | The end date of the booking | [optional] [default to 2026-02-24T05:36:36Z]
|
|
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]
|
|
@@ -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-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2026-02-24T05:36:38Z]
|
|
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-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2026-02-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2026-02-24T05:36:38Z]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2026-02-24T06:36:38Z]
|
|
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]
|