ti2 1.0.84 → 1.0.85
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.
|
@@ -36,6 +36,7 @@ const typeDefs = `
|
|
|
36
36
|
ref: String!
|
|
37
37
|
agentRef: String
|
|
38
38
|
totalPrice: String!
|
|
39
|
+
currency: String!
|
|
39
40
|
travelDate: String!
|
|
40
41
|
enteredDate: String!
|
|
41
42
|
canEdit: Boolean!
|
|
@@ -50,6 +51,7 @@ const query = `{
|
|
|
50
51
|
ref
|
|
51
52
|
agentRef
|
|
52
53
|
totalPrice
|
|
54
|
+
currency
|
|
53
55
|
travelDate
|
|
54
56
|
enteredDate
|
|
55
57
|
canEdit
|
|
@@ -37,6 +37,7 @@ const typeDefs = `
|
|
|
37
37
|
type ProductOption {
|
|
38
38
|
optionId: ID!
|
|
39
39
|
optionName: String!
|
|
40
|
+
comment: String
|
|
40
41
|
lastUpdateTimestamp: Int
|
|
41
42
|
serviceType: String
|
|
42
43
|
extras: [Extra]
|
|
@@ -63,6 +64,7 @@ const query = `{
|
|
|
63
64
|
options {
|
|
64
65
|
optionId
|
|
65
66
|
optionName
|
|
67
|
+
comment
|
|
66
68
|
lastUpdateTimestamp
|
|
67
69
|
serviceType
|
|
68
70
|
extras {
|
package/package.json
CHANGED
package/test/plugin.js
CHANGED
|
@@ -562,6 +562,7 @@ class Plugin {
|
|
|
562
562
|
* @typedef {Object} ItineraryProductOption
|
|
563
563
|
* @property {string} optionId - Option identifier, this identifier should be unique in a sense that it should be able to represent the option and the product. For example, if in your system the option identifier are 1, 2, 3, say the productId is '123', the optionId you provided to us should be something like '123-1' or '123-2' etc.
|
|
564
564
|
* @property {string} optionName - Option name
|
|
565
|
+
* @property {string} comment - Option comment
|
|
565
566
|
* @property {number} [lastUpdateTimestamp] - Last update time
|
|
566
567
|
* @property {string} serviceType - Type of service, one of 'Accommodation', 'Activity', 'Transfer'
|
|
567
568
|
* @property {Array<Extra>} extras - Extras allowed for this product option
|
|
@@ -621,6 +622,7 @@ class Plugin {
|
|
|
621
622
|
* @property {string} ref - Booking reference
|
|
622
623
|
* @property {string} agentRef - external booking reference
|
|
623
624
|
* @property {string} totalPrice - Total price of the booking
|
|
625
|
+
* @property {string} currency - Currency of the booking
|
|
624
626
|
* @property {string} travelDate - Start Date of travel (YYYY-MM-DD)
|
|
625
627
|
* @property {string} enteredDate - Date of booking (YYYY-MM-DD)
|
|
626
628
|
* @property {boolean} canEdit - Whether the booking can be edited
|
|
@@ -75,6 +75,7 @@ No, we don't have a specific test scenarios, but we recommend you to cover the f
|
|
|
75
75
|
{
|
|
76
76
|
"extras": [],
|
|
77
77
|
"lastUpdateTimestamp": 1586595549,
|
|
78
|
+
"comment": "This is a comment",
|
|
78
79
|
"optionId": "106784",
|
|
79
80
|
"optionName": "Bed and English Breakfast-Executive Room",
|
|
80
81
|
"restrictions": {
|
|
@@ -161,6 +162,7 @@ No, we don't have a specific test scenarios, but we recommend you to cover the f
|
|
|
161
162
|
{
|
|
162
163
|
"extras": [],
|
|
163
164
|
"lastUpdateTimestamp": 1700750093,
|
|
165
|
+
"comment": "This is a comment",
|
|
164
166
|
"optionId": "LONTRDAVIDSHDWBVC",
|
|
165
167
|
"optionName": "Half-Day Warner Bros Studios (6-Hours)-FIT- V- Class (1-5 Pax)",
|
|
166
168
|
"restrictions": {
|
|
@@ -385,6 +387,7 @@ No, we don't have a specific test scenarios, but we recommend you to cover the f
|
|
|
385
387
|
},
|
|
386
388
|
],
|
|
387
389
|
"totalPrice": "187795",
|
|
390
|
+
"currency": "USD",
|
|
388
391
|
"travelDate": "2025-08-13",
|
|
389
392
|
},
|
|
390
393
|
],
|