@gooday_corp/gooday-api-client 1.2.114 → 1.2.115

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.
Files changed (2) hide show
  1. package/api.ts +13 -51
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -566,6 +566,7 @@ export const BookingConfirmPayloadStatusEnum = {
566
566
  Rescheduled: 'RESCHEDULED',
567
567
  NoShow: 'NO_SHOW',
568
568
  Rejected: 'REJECTED',
569
+ Pending: 'PENDING',
569
570
  Cancelled: 'CANCELLED'
570
571
  } as const;
571
572
 
@@ -786,6 +787,7 @@ export const BookingEntityStatusEnum = {
786
787
  Rescheduled: 'RESCHEDULED',
787
788
  NoShow: 'NO_SHOW',
788
789
  Rejected: 'REJECTED',
790
+ Pending: 'PENDING',
789
791
  Cancelled: 'CANCELLED'
790
792
  } as const;
791
793
 
@@ -971,6 +973,7 @@ export const BookingResponseStatusEnum = {
971
973
  Rescheduled: 'RESCHEDULED',
972
974
  NoShow: 'NO_SHOW',
973
975
  Rejected: 'REJECTED',
976
+ Pending: 'PENDING',
974
977
  Cancelled: 'CANCELLED'
975
978
  } as const;
976
979
 
@@ -1033,31 +1036,6 @@ export interface BookingRulesPayloadDTO {
1033
1036
  */
1034
1037
  'finalBookingTimeAbsolute': string;
1035
1038
  }
1036
- /**
1037
- *
1038
- * @export
1039
- * @interface BookingServicePayload
1040
- */
1041
- export interface BookingServicePayload {
1042
- /**
1043
- *
1044
- * @type {string}
1045
- * @memberof BookingServicePayload
1046
- */
1047
- 'selectedStaff': string;
1048
- /**
1049
- *
1050
- * @type {number}
1051
- * @memberof BookingServicePayload
1052
- */
1053
- 'quantity': number;
1054
- /**
1055
- *
1056
- * @type {string}
1057
- * @memberof BookingServicePayload
1058
- */
1059
- 'serviceId': string;
1060
- }
1061
1039
  /**
1062
1040
  *
1063
1041
  * @export
@@ -2668,6 +2646,12 @@ export interface CreateBookingPayload {
2668
2646
  * @memberof CreateBookingPayload
2669
2647
  */
2670
2648
  'paymentMethod'?: StripeSetupIntentPaymentResponse;
2649
+ /**
2650
+ *
2651
+ * @type {string}
2652
+ * @memberof CreateBookingPayload
2653
+ */
2654
+ 'discountId'?: string;
2671
2655
  }
2672
2656
  /**
2673
2657
  *
@@ -3013,6 +2997,7 @@ export const CreateWaitlistBookingCollaboratorPayloadStatusEnum = {
3013
2997
  Rescheduled: 'RESCHEDULED',
3014
2998
  NoShow: 'NO_SHOW',
3015
2999
  Rejected: 'REJECTED',
3000
+ Pending: 'PENDING',
3016
3001
  Cancelled: 'CANCELLED'
3017
3002
  } as const;
3018
3003
 
@@ -3559,6 +3544,7 @@ export const FindBookingPayloadStatusEnum = {
3559
3544
  Rescheduled: 'RESCHEDULED',
3560
3545
  NoShow: 'NO_SHOW',
3561
3546
  Rejected: 'REJECTED',
3547
+ Pending: 'PENDING',
3562
3548
  Cancelled: 'CANCELLED'
3563
3549
  } as const;
3564
3550
 
@@ -6041,24 +6027,12 @@ export interface StandardBookingSlotsPayload {
6041
6027
  * @interface StripeBookingPayloadDTO
6042
6028
  */
6043
6029
  export interface StripeBookingPayloadDTO {
6044
- /**
6045
- *
6046
- * @type {number}
6047
- * @memberof StripeBookingPayloadDTO
6048
- */
6049
- 'quantity': number;
6050
6030
  /**
6051
6031
  *
6052
6032
  * @type {string}
6053
6033
  * @memberof StripeBookingPayloadDTO
6054
6034
  */
6055
- 'serviceId': string;
6056
- /**
6057
- *
6058
- * @type {string}
6059
- * @memberof StripeBookingPayloadDTO
6060
- */
6061
- 'staff': string;
6035
+ 'bookingId': string;
6062
6036
  }
6063
6037
  /**
6064
6038
  *
@@ -6104,24 +6078,12 @@ export interface StripePlanUpsertResponseDTO {
6104
6078
  * @interface StripeSetupIntentPaymentPayloadDTO
6105
6079
  */
6106
6080
  export interface StripeSetupIntentPaymentPayloadDTO {
6107
- /**
6108
- *
6109
- * @type {BookingServicePayload}
6110
- * @memberof StripeSetupIntentPaymentPayloadDTO
6111
- */
6112
- 'service'?: BookingServicePayload;
6113
6081
  /**
6114
6082
  *
6115
6083
  * @type {string}
6116
6084
  * @memberof StripeSetupIntentPaymentPayloadDTO
6117
6085
  */
6118
- 'eventId'?: string;
6119
- /**
6120
- *
6121
- * @type {string}
6122
- * @memberof StripeSetupIntentPaymentPayloadDTO
6123
- */
6124
- 'discountId'?: string;
6086
+ 'bookingId'?: string;
6125
6087
  }
6126
6088
  /**
6127
6089
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.2.114",
3
+ "version": "1.2.115",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},