@gooday_corp/gooday-api-client 1.2.99 → 1.2.101
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 +30 -12
- 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 = {
|
|
@@ -1032,7 +1044,7 @@ export interface BookingServicePayload {
|
|
|
1032
1044
|
* @type {string}
|
|
1033
1045
|
* @memberof BookingServicePayload
|
|
1034
1046
|
*/
|
|
1035
|
-
'
|
|
1047
|
+
'selectedStaff': string;
|
|
1036
1048
|
/**
|
|
1037
1049
|
*
|
|
1038
1050
|
* @type {number}
|
|
@@ -2574,6 +2586,12 @@ export interface CreateBookingPayload {
|
|
|
2574
2586
|
* @memberof CreateBookingPayload
|
|
2575
2587
|
*/
|
|
2576
2588
|
'staffs': Array<string>;
|
|
2589
|
+
/**
|
|
2590
|
+
*
|
|
2591
|
+
* @type {string}
|
|
2592
|
+
* @memberof CreateBookingPayload
|
|
2593
|
+
*/
|
|
2594
|
+
'selectedStaff': string;
|
|
2577
2595
|
/**
|
|
2578
2596
|
*
|
|
2579
2597
|
* @type {Array<string>}
|
|
@@ -2585,13 +2603,13 @@ export interface CreateBookingPayload {
|
|
|
2585
2603
|
* @type {number}
|
|
2586
2604
|
* @memberof CreateBookingPayload
|
|
2587
2605
|
*/
|
|
2588
|
-
'
|
|
2606
|
+
'quantity': number;
|
|
2589
2607
|
/**
|
|
2590
2608
|
*
|
|
2591
|
-
* @type {
|
|
2609
|
+
* @type {string}
|
|
2592
2610
|
* @memberof CreateBookingPayload
|
|
2593
2611
|
*/
|
|
2594
|
-
'
|
|
2612
|
+
'serviceId': string;
|
|
2595
2613
|
/**
|
|
2596
2614
|
*
|
|
2597
2615
|
* @type {StripeSetupIntentPaymentResponse}
|
|
@@ -5849,10 +5867,10 @@ export interface StripePlanUpsertResponseDTO {
|
|
|
5849
5867
|
export interface StripeSetupIntentPaymentPayloadDTO {
|
|
5850
5868
|
/**
|
|
5851
5869
|
*
|
|
5852
|
-
* @type {
|
|
5870
|
+
* @type {BookingServicePayload}
|
|
5853
5871
|
* @memberof StripeSetupIntentPaymentPayloadDTO
|
|
5854
5872
|
*/
|
|
5855
|
-
'service'?:
|
|
5873
|
+
'service'?: BookingServicePayload;
|
|
5856
5874
|
/**
|
|
5857
5875
|
*
|
|
5858
5876
|
* @type {string}
|