sm-types 1.11.101 → 1.11.102
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/common/index.d.ts +13 -1
- package/common/index.js +10 -1
- package/package.json +1 -1
package/common/index.d.ts
CHANGED
|
@@ -479,12 +479,24 @@ export interface ITransferContractDetails {
|
|
|
479
479
|
currency: string;
|
|
480
480
|
freeCancellationUntil?: Date;
|
|
481
481
|
}
|
|
482
|
+
export declare enum TransferVehicleType {
|
|
483
|
+
SEDAN = "SEDAN",
|
|
484
|
+
EXECUTIVE = "EXECUTIVE",
|
|
485
|
+
SUV = "SUV",
|
|
486
|
+
VAN = "VAN",
|
|
487
|
+
MINIBUS = "MINIBUS",
|
|
488
|
+
BUS = "BUS"
|
|
489
|
+
}
|
|
490
|
+
export interface ITransferVehicle {
|
|
491
|
+
type: TransferVehicleType;
|
|
492
|
+
imageUrl: string;
|
|
493
|
+
}
|
|
482
494
|
export interface ITransferJSON {
|
|
483
495
|
search: IOfferSearch;
|
|
484
496
|
international: boolean;
|
|
485
497
|
origin: ITransferLocation;
|
|
486
498
|
destination: ITransferLocation;
|
|
487
|
-
|
|
499
|
+
vehicle: ITransferVehicle;
|
|
488
500
|
driver: ITransferDriver;
|
|
489
501
|
contractDetails: ITransferContractDetails;
|
|
490
502
|
}
|
package/common/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.CABIN_CLASS_TYPES = exports.TravelerSelection = exports.AmenitiesPreference = exports.AllowRoundtripChoice = exports.RoundTripPreference = exports.InsuranceTypePreference = exports.InsuranceSelectionPreference = exports.FieldVisibility = void 0;
|
|
17
|
+
exports.TransferVehicleType = exports.CABIN_CLASS_TYPES = exports.TravelerSelection = exports.AmenitiesPreference = exports.AllowRoundtripChoice = exports.RoundTripPreference = exports.InsuranceTypePreference = exports.InsuranceSelectionPreference = exports.FieldVisibility = void 0;
|
|
18
18
|
__exportStar(require("./enums"), exports);
|
|
19
19
|
var FieldVisibility;
|
|
20
20
|
(function (FieldVisibility) {
|
|
@@ -61,3 +61,12 @@ exports.CABIN_CLASS_TYPES = {
|
|
|
61
61
|
BUSINESS: { name: "Business", value: "business" },
|
|
62
62
|
FIRST: { name: "Primeira classe", value: "first" },
|
|
63
63
|
};
|
|
64
|
+
var TransferVehicleType;
|
|
65
|
+
(function (TransferVehicleType) {
|
|
66
|
+
TransferVehicleType["SEDAN"] = "SEDAN";
|
|
67
|
+
TransferVehicleType["EXECUTIVE"] = "EXECUTIVE";
|
|
68
|
+
TransferVehicleType["SUV"] = "SUV";
|
|
69
|
+
TransferVehicleType["VAN"] = "VAN";
|
|
70
|
+
TransferVehicleType["MINIBUS"] = "MINIBUS";
|
|
71
|
+
TransferVehicleType["BUS"] = "BUS";
|
|
72
|
+
})(TransferVehicleType = exports.TransferVehicleType || (exports.TransferVehicleType = {}));
|