@gooday_corp/gooday-api-client 1.2.98 → 1.2.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +36 -37
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -681,6 +681,12 @@ export interface BookingEntity {
|
|
|
681
681
|
* @memberof BookingEntity
|
|
682
682
|
*/
|
|
683
683
|
'staffs': Array<BusinessStaffEntity>;
|
|
684
|
+
/**
|
|
685
|
+
* Staff members involved in the booking
|
|
686
|
+
* @type {BusinessStaffEntity}
|
|
687
|
+
* @memberof BookingEntity
|
|
688
|
+
*/
|
|
689
|
+
'selectedStaff': BusinessStaffEntity;
|
|
684
690
|
/**
|
|
685
691
|
* Space for the booking
|
|
686
692
|
* @type {string}
|
|
@@ -746,13 +752,13 @@ export interface BookingEntity {
|
|
|
746
752
|
* @type {number}
|
|
747
753
|
* @memberof BookingEntity
|
|
748
754
|
*/
|
|
749
|
-
'
|
|
755
|
+
'quantity': number;
|
|
750
756
|
/**
|
|
751
757
|
*
|
|
752
|
-
* @type {
|
|
758
|
+
* @type {PrepaidServiceEntity}
|
|
753
759
|
* @memberof BookingEntity
|
|
754
760
|
*/
|
|
755
|
-
'
|
|
761
|
+
'serviceId': PrepaidServiceEntity;
|
|
756
762
|
/**
|
|
757
763
|
*
|
|
758
764
|
* @type {StripeSetupIntentPaymentResponse}
|
|
@@ -924,13 +930,13 @@ export interface BookingResponse {
|
|
|
924
930
|
* @type {number}
|
|
925
931
|
* @memberof BookingResponse
|
|
926
932
|
*/
|
|
927
|
-
'
|
|
933
|
+
'quantity': number;
|
|
928
934
|
/**
|
|
929
935
|
*
|
|
930
|
-
* @type {
|
|
936
|
+
* @type {PrepaidServiceEntity}
|
|
931
937
|
* @memberof BookingResponse
|
|
932
938
|
*/
|
|
933
|
-
'
|
|
939
|
+
'serviceId': PrepaidServiceEntity;
|
|
934
940
|
/**
|
|
935
941
|
*
|
|
936
942
|
* @type {StripeSetupIntentPaymentResponse}
|
|
@@ -943,6 +949,12 @@ export interface BookingResponse {
|
|
|
943
949
|
* @memberof BookingResponse
|
|
944
950
|
*/
|
|
945
951
|
'whatsOn': string;
|
|
952
|
+
/**
|
|
953
|
+
* Staff members involved in the booking
|
|
954
|
+
* @type {BusinessStaffEntity}
|
|
955
|
+
* @memberof BookingResponse
|
|
956
|
+
*/
|
|
957
|
+
'selectedStaff': BusinessStaffEntity;
|
|
946
958
|
}
|
|
947
959
|
|
|
948
960
|
export const BookingResponseMethodEnum = {
|
|
@@ -1021,31 +1033,6 @@ export interface BookingRulesPayloadDTO {
|
|
|
1021
1033
|
*/
|
|
1022
1034
|
'finalBookingTimeAbsolute': string;
|
|
1023
1035
|
}
|
|
1024
|
-
/**
|
|
1025
|
-
*
|
|
1026
|
-
* @export
|
|
1027
|
-
* @interface BookingServicePayload
|
|
1028
|
-
*/
|
|
1029
|
-
export interface BookingServicePayload {
|
|
1030
|
-
/**
|
|
1031
|
-
*
|
|
1032
|
-
* @type {string}
|
|
1033
|
-
* @memberof BookingServicePayload
|
|
1034
|
-
*/
|
|
1035
|
-
'staff': string;
|
|
1036
|
-
/**
|
|
1037
|
-
*
|
|
1038
|
-
* @type {number}
|
|
1039
|
-
* @memberof BookingServicePayload
|
|
1040
|
-
*/
|
|
1041
|
-
'quantity': number;
|
|
1042
|
-
/**
|
|
1043
|
-
*
|
|
1044
|
-
* @type {string}
|
|
1045
|
-
* @memberof BookingServicePayload
|
|
1046
|
-
*/
|
|
1047
|
-
'serviceId': string;
|
|
1048
|
-
}
|
|
1049
1036
|
/**
|
|
1050
1037
|
*
|
|
1051
1038
|
* @export
|
|
@@ -2574,6 +2561,12 @@ export interface CreateBookingPayload {
|
|
|
2574
2561
|
* @memberof CreateBookingPayload
|
|
2575
2562
|
*/
|
|
2576
2563
|
'staffs': Array<string>;
|
|
2564
|
+
/**
|
|
2565
|
+
*
|
|
2566
|
+
* @type {string}
|
|
2567
|
+
* @memberof CreateBookingPayload
|
|
2568
|
+
*/
|
|
2569
|
+
'selectedStaff': string;
|
|
2577
2570
|
/**
|
|
2578
2571
|
*
|
|
2579
2572
|
* @type {Array<string>}
|
|
@@ -2585,13 +2578,13 @@ export interface CreateBookingPayload {
|
|
|
2585
2578
|
* @type {number}
|
|
2586
2579
|
* @memberof CreateBookingPayload
|
|
2587
2580
|
*/
|
|
2588
|
-
'
|
|
2581
|
+
'quantity': number;
|
|
2589
2582
|
/**
|
|
2590
2583
|
*
|
|
2591
|
-
* @type {
|
|
2584
|
+
* @type {string}
|
|
2592
2585
|
* @memberof CreateBookingPayload
|
|
2593
2586
|
*/
|
|
2594
|
-
'
|
|
2587
|
+
'serviceId': string;
|
|
2595
2588
|
/**
|
|
2596
2589
|
*
|
|
2597
2590
|
* @type {StripeSetupIntentPaymentResponse}
|
|
@@ -7110,6 +7103,12 @@ export interface WhatsOnAvailabilityPayloadDTO {
|
|
|
7110
7103
|
* @memberof WhatsOnAvailabilityPayloadDTO
|
|
7111
7104
|
*/
|
|
7112
7105
|
'endDate': string;
|
|
7106
|
+
/**
|
|
7107
|
+
* Staff id for this event
|
|
7108
|
+
* @type {string}
|
|
7109
|
+
* @memberof WhatsOnAvailabilityPayloadDTO
|
|
7110
|
+
*/
|
|
7111
|
+
'staff'?: string;
|
|
7113
7112
|
/**
|
|
7114
7113
|
* No of people for this booking
|
|
7115
7114
|
* @type {number}
|
|
@@ -7130,11 +7129,11 @@ export interface WhatsOnAvailabilityPayloadDTO {
|
|
|
7130
7129
|
*/
|
|
7131
7130
|
export interface WhatsOnAvailabilityResponseDTO {
|
|
7132
7131
|
/**
|
|
7133
|
-
*
|
|
7134
|
-
* @type {
|
|
7132
|
+
* Flag to indicate whether user can do booking or not
|
|
7133
|
+
* @type {boolean}
|
|
7135
7134
|
* @memberof WhatsOnAvailabilityResponseDTO
|
|
7136
7135
|
*/
|
|
7137
|
-
'
|
|
7136
|
+
'isBookingAllowed': boolean;
|
|
7138
7137
|
}
|
|
7139
7138
|
/**
|
|
7140
7139
|
*
|