sm-types 1.11.25 → 1.11.26
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/enums.d.ts +0 -5
- package/common/enums.js +1 -7
- package/package.json +1 -1
- package/sm-rails/index.d.ts +5 -8
package/common/enums.d.ts
CHANGED
|
@@ -121,11 +121,6 @@ export declare enum BookingConfirmationStatus {
|
|
|
121
121
|
FAILED = "FAILED",
|
|
122
122
|
NOT_SURE = "NOT_SURE"
|
|
123
123
|
}
|
|
124
|
-
export declare enum RailClass {
|
|
125
|
-
FIRST_CLASS = "First class",
|
|
126
|
-
SECOND_CLASS = "Second class",
|
|
127
|
-
CONVENTIONAL = "Conventional"
|
|
128
|
-
}
|
|
129
124
|
export declare enum TripLink {
|
|
130
125
|
CONNECTION = "connection",
|
|
131
126
|
DIRECT = "direct"
|
package/common/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TripLink = exports.
|
|
3
|
+
exports.TripLink = exports.BookingConfirmationStatus = exports.CredentialTypeEnum = exports.OfferStatus = exports.ServiceType = exports.BookingStatus = exports.NavanStatus = exports.BookingFeeStatus = exports.EmailType = exports.IndicationStatus = exports.IndicationRewardStatus = exports.JustificationPolicy = exports.CabinClass = exports.DealOwnerEnum = exports.SuppliersEnum = exports.RentabilityTypeEnum = exports.TravelCustomFieldEnum = void 0;
|
|
4
4
|
var TravelCustomFieldEnum;
|
|
5
5
|
(function (TravelCustomFieldEnum) {
|
|
6
6
|
TravelCustomFieldEnum["TRIP_PURPOSE"] = "TRIP_PURPOSE";
|
|
@@ -115,12 +115,6 @@ var BookingConfirmationStatus;
|
|
|
115
115
|
BookingConfirmationStatus["FAILED"] = "FAILED";
|
|
116
116
|
BookingConfirmationStatus["NOT_SURE"] = "NOT_SURE";
|
|
117
117
|
})(BookingConfirmationStatus = exports.BookingConfirmationStatus || (exports.BookingConfirmationStatus = {}));
|
|
118
|
-
var RailClass;
|
|
119
|
-
(function (RailClass) {
|
|
120
|
-
RailClass["FIRST_CLASS"] = "First class";
|
|
121
|
-
RailClass["SECOND_CLASS"] = "Second class";
|
|
122
|
-
RailClass["CONVENTIONAL"] = "Conventional";
|
|
123
|
-
})(RailClass = exports.RailClass || (exports.RailClass = {}));
|
|
124
118
|
var TripLink;
|
|
125
119
|
(function (TripLink) {
|
|
126
120
|
TripLink["CONNECTION"] = "connection";
|
package/package.json
CHANGED
package/sm-rails/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TripLink } from "../common";
|
|
2
2
|
export interface IRailTripSchedule {
|
|
3
3
|
place: string;
|
|
4
4
|
date: string;
|
|
@@ -34,9 +34,10 @@ export interface IRailPolicy {
|
|
|
34
34
|
interface IRailTicket {
|
|
35
35
|
station: string;
|
|
36
36
|
company: string;
|
|
37
|
+
terminal: string;
|
|
37
38
|
railNumber: string;
|
|
38
|
-
|
|
39
|
-
class:
|
|
39
|
+
fareCategory: string;
|
|
40
|
+
class: string;
|
|
40
41
|
seatPreferences: SeatPreference;
|
|
41
42
|
cancelPolicy: IRailPolicy;
|
|
42
43
|
changePolicy: IRailPolicy;
|
|
@@ -49,9 +50,8 @@ export interface IRailTripPart {
|
|
|
49
50
|
departure: {
|
|
50
51
|
place: {
|
|
51
52
|
station: string;
|
|
53
|
+
terminal: string;
|
|
52
54
|
city: string;
|
|
53
|
-
state: string;
|
|
54
|
-
country: string;
|
|
55
55
|
};
|
|
56
56
|
schedule: {
|
|
57
57
|
date: string;
|
|
@@ -62,8 +62,6 @@ export interface IRailTripPart {
|
|
|
62
62
|
place: {
|
|
63
63
|
station: string;
|
|
64
64
|
city: string;
|
|
65
|
-
state: string;
|
|
66
|
-
country: string;
|
|
67
65
|
};
|
|
68
66
|
schedule: {
|
|
69
67
|
date: string;
|
|
@@ -71,7 +69,6 @@ export interface IRailTripPart {
|
|
|
71
69
|
};
|
|
72
70
|
};
|
|
73
71
|
baggage: boolean;
|
|
74
|
-
boardingPass: boolean;
|
|
75
72
|
electronicBoardingPass: boolean;
|
|
76
73
|
}
|
|
77
74
|
export {};
|