mts-booking-library 2.4.6 → 2.4.7
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.
@@ -124,7 +124,7 @@ export declare class TplBooking extends Booking {
|
|
124
124
|
* with the subscription. This parameter is required if the cart contains a subscription.
|
125
125
|
* @returns An {@link ErrorResponse} object in case of error, true otherwise.
|
126
126
|
*/
|
127
|
-
updateBuyerPassengersDetails(buyerDetails: PersonDetails | null, subscriptionPersonCode?: string, options?: ApiCallOptions): Promise<ErrorResponse | boolean>;
|
127
|
+
updateBuyerPassengersDetails(buyerDetails: PersonDetails | null, subscriptionPersonCode?: string, noSSN?: boolean, options?: ApiCallOptions): Promise<ErrorResponse | boolean>;
|
128
128
|
/**
|
129
129
|
* @description This method allows to add a reduction to the whole cart or to a single trip in the cart.
|
130
130
|
* @param request The information about the reduction to add
|
@@ -440,7 +440,7 @@ var TplBooking = /** @class */ (function (_super) {
|
|
440
440
|
* with the subscription. This parameter is required if the cart contains a subscription.
|
441
441
|
* @returns An {@link ErrorResponse} object in case of error, true otherwise.
|
442
442
|
*/
|
443
|
-
TplBooking.prototype.updateBuyerPassengersDetails = function (buyerDetails, subscriptionPersonCode, options) {
|
443
|
+
TplBooking.prototype.updateBuyerPassengersDetails = function (buyerDetails, subscriptionPersonCode, noSSN, options) {
|
444
444
|
return __awaiter(this, void 0, void 0, function () {
|
445
445
|
var buyerPassengersDetails, request, url;
|
446
446
|
var _this = this;
|
@@ -466,7 +466,8 @@ var TplBooking = /** @class */ (function (_super) {
|
|
466
466
|
personCode: subscriptionPersonCode
|
467
467
|
}
|
468
468
|
]
|
469
|
-
: []
|
469
|
+
: [],
|
470
|
+
noSSN: noSSN !== null && noSSN !== void 0 ? noSSN : false
|
470
471
|
};
|
471
472
|
url = "".concat(this.config.API_ENDPOINT, "/v3_booking/carts/details");
|
472
473
|
return [2 /*return*/, this.callPostApi(url, request, options).then(function (response) {
|