mts-booking-library 2.4.8 → 2.4.9

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.
@@ -20,7 +20,7 @@ export type CreateUpdateCartRequest = {
20
20
  returnCartBooking?: CartBooking;
21
21
  /** Whether the buyer has opposed to the collection of the SSN for this cart (possible in TPL). */
22
22
  noSSN?: boolean;
23
- /** The payment method that the final customer is using to pay the reseller. Required when using {@link CreateUpdateCartRequest.noSSN} */
23
+ /** The payment method that the final customer is using to pay. Required when using {@link CreateUpdateCartRequest.noSSN} */
24
24
  customerPaymentMethod?: PaymentMethods.CASH | PaymentMethods.CARD;
25
25
  };
26
26
  export type CartBooking = {
@@ -126,6 +126,10 @@ export type Cart = {
126
126
  * The first element of the list is the default cash in method (and the preferred by the seller).
127
127
  */
128
128
  cashInMethods: PaymentMethods[];
129
+ /**
130
+ * Whether the cart is not associated with a specific SSN.
131
+ */
132
+ noSSN: boolean;
129
133
  };
130
134
  /** The type that {@link Cart.stepsToStatus} assumes once parsed to a map */
131
135
  export type processedStepsToStatus = Map<Booking.BookingSteps, [boolean, boolean, boolean]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mts-booking-library",
3
- "version": "2.4.8",
3
+ "version": "2.4.9",
4
4
  "description": "Library for using MyTicketSolution Booking API",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",