@ohm-vision/kiwi-tequila-api
Version:
Unofficial wrapper for Kiwi (tequila) API
27 lines (26 loc) • 1.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DocumentNeed = void 0;
var DocumentNeed;
(function (DocumentNeed) {
/**
* No need to document details at all.
*/
DocumentNeed[DocumentNeed["NONE"] = 0] = "NONE";
/**
* In case of B2B cooperation, we need document
* details at the time of booking, otherwise we
* do not need document details right now but they
* will be requested later (in standard flow,
* after booking confirmation, we are sending email
* with link to our Manage My Booking section on Kiwi.com
* where customer fills passport details).
*/
DocumentNeed[DocumentNeed["REQUESTED_LATER"] = 1] = "REQUESTED_LATER";
/**
* Document details have to be provided in
* save_booking request. Indicate IDs without
* expiration date as null in expiration.
*/
DocumentNeed[DocumentNeed["REQUIRED"] = 2] = "REQUIRED";
})(DocumentNeed = exports.DocumentNeed || (exports.DocumentNeed = {}));