@pax2pay/client 0.1.13 → 0.1.14
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.
|
@@ -3,13 +3,13 @@ export var FiveFieldsBookingInfoResponse;
|
|
|
3
3
|
function is(value) {
|
|
4
4
|
return (typeof value == "object" &&
|
|
5
5
|
value.type == "FIVE_FIELDS" &&
|
|
6
|
-
typeof value.bookingInfoIdentifier == "string" &&
|
|
7
|
-
(value.agentBookingReference == undefined || typeof value.agentBookingReference
|
|
8
|
-
(value.departureDate == undefined || typeof value.departureDate
|
|
9
|
-
(value.supplierBookingReference == undefined || typeof value.supplierBookingReference
|
|
10
|
-
(value.leadPassengerName == undefined || typeof value.leadPassengerName
|
|
11
|
-
(value.supplierCode == undefined || typeof value.supplierCode
|
|
12
|
-
(value.trackingId == undefined || typeof value.trackingId
|
|
6
|
+
(value.bookingInfoIdentifier == undefined || typeof value.bookingInfoIdentifier == "string") &&
|
|
7
|
+
(value.agentBookingReference == undefined || typeof value.agentBookingReference == "string") &&
|
|
8
|
+
(value.departureDate == undefined || typeof value.departureDate == "string") &&
|
|
9
|
+
(value.supplierBookingReference == undefined || typeof value.supplierBookingReference == "string") &&
|
|
10
|
+
(value.leadPassengerName == undefined || typeof value.leadPassengerName == "string") &&
|
|
11
|
+
(value.supplierCode == undefined || typeof value.supplierCode == "string") &&
|
|
12
|
+
(value.trackingId == undefined || typeof value.trackingId == "string"));
|
|
13
13
|
}
|
|
14
14
|
FiveFieldsBookingInfoResponse.is = is;
|
|
15
15
|
})(FiveFieldsBookingInfoResponse || (FiveFieldsBookingInfoResponse = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiveFieldsBookingInfoResponse.js","sourceRoot":"../","sources":["model/FiveFieldsBookingInfoResponse.ts"],"names":[],"mappings":"AAWA,MAAM,KAAW,6BAA6B,CAc7C;AAdD,WAAiB,6BAA6B;IAC7C,SAAgB,EAAE,CAAC,KAA0C;Q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|
2
2
|
type: "FIVE_FIELDS"
|
|
3
|
-
bookingInfoIdentifier
|
|
3
|
+
bookingInfoIdentifier?: string
|
|
4
4
|
agentBookingReference?: string
|
|
5
5
|
departureDate?: string
|
|
6
6
|
supplierBookingReference?: string
|
|
@@ -14,13 +14,13 @@ export namespace FiveFieldsBookingInfoResponse {
|
|
|
14
14
|
return (
|
|
15
15
|
typeof value == "object" &&
|
|
16
16
|
value.type == "FIVE_FIELDS" &&
|
|
17
|
-
typeof value.bookingInfoIdentifier == "string" &&
|
|
18
|
-
(value.agentBookingReference == undefined || typeof value.agentBookingReference
|
|
19
|
-
(value.departureDate == undefined || typeof value.departureDate
|
|
20
|
-
(value.supplierBookingReference == undefined || typeof value.supplierBookingReference
|
|
21
|
-
(value.leadPassengerName == undefined || typeof value.leadPassengerName
|
|
22
|
-
(value.supplierCode == undefined || typeof value.supplierCode
|
|
23
|
-
(value.trackingId == undefined || typeof value.trackingId
|
|
17
|
+
(value.bookingInfoIdentifier == undefined || typeof value.bookingInfoIdentifier == "string") &&
|
|
18
|
+
(value.agentBookingReference == undefined || typeof value.agentBookingReference == "string") &&
|
|
19
|
+
(value.departureDate == undefined || typeof value.departureDate == "string") &&
|
|
20
|
+
(value.supplierBookingReference == undefined || typeof value.supplierBookingReference == "string") &&
|
|
21
|
+
(value.leadPassengerName == undefined || typeof value.leadPassengerName == "string") &&
|
|
22
|
+
(value.supplierCode == undefined || typeof value.supplierCode == "string") &&
|
|
23
|
+
(value.trackingId == undefined || typeof value.trackingId == "string")
|
|
24
24
|
)
|
|
25
25
|
}
|
|
26
26
|
}
|