ti2 1.0.109-beta.0 → 1.0.111

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.
@@ -1,3 +1,6 @@
1
+ /**
2
+ * SDL + document for ti2 plugins
3
+ */
1
4
  const typeDefs = `
2
5
  type Passenger {
3
6
  firstName: String
@@ -16,8 +19,15 @@ const typeDefs = `
16
19
  passengers: [Passenger]
17
20
  }
18
21
 
22
+ type PuDoInfo {
23
+ date: String
24
+ time: String
25
+ remarks: String
26
+ }
27
+
19
28
  type ServiceLine {
20
29
  serviceLineId: ID!
30
+ serviceLineUpdateCount: Int
21
31
  optionId: String!
22
32
  optionName: String
23
33
  linePrice: String
@@ -28,14 +38,20 @@ const typeDefs = `
28
38
  paxList: [Passenger]
29
39
  paxConfigs: [PaxConfig]
30
40
  status: String
41
+ puInfo: PuDoInfo
42
+ doInfo: PuDoInfo
31
43
  }
32
44
 
33
45
  type Query {
34
46
  bookingId: ID!
35
47
  name: String!
36
48
  bookingStatus: String
49
+ bookingStatusId: String
50
+ isBooking: Boolean
51
+ bookingAgent: String
37
52
  ref: String!
38
53
  agentRef: String
54
+ agentId: String
39
55
  totalPrice: String!
40
56
  currency: String!
41
57
  travelDate: String!
@@ -49,8 +65,12 @@ const query = `{
49
65
  name
50
66
  bookingId
51
67
  bookingStatus
68
+ bookingStatusId
69
+ isBooking
70
+ bookingAgent
52
71
  ref
53
72
  agentRef
73
+ agentId
54
74
  totalPrice
55
75
  currency
56
76
  travelDate
@@ -58,15 +78,25 @@ const query = `{
58
78
  canEdit
59
79
  serviceLines {
60
80
  serviceLineId
81
+ serviceLineUpdateCount
61
82
  linePrice
62
83
  quantity
63
84
  optionId
64
85
  optionName
65
86
  supplierId
66
87
  supplierName
67
- supplierId
68
88
  startDate
69
89
  status
90
+ puInfo {
91
+ date
92
+ time
93
+ remarks
94
+ }
95
+ doInfo {
96
+ date
97
+ time
98
+ remarks
99
+ }
70
100
  paxConfigs {
71
101
  roomType
72
102
  adults
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ti2",
3
- "version": "1.0.109-beta.0",
3
+ "version": "1.0.111",
4
4
  "description": "Tourist Industry Exchange (TI2)",
5
5
  "main": "index.js",
6
6
  "scripts": {