seatsio 72.6.0 → 72.7.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seatsio",
3
- "version": "72.6.0",
3
+ "version": "72.7.0",
4
4
  "main": "index.js",
5
5
  "description": "Official JavaScript and Node.JS client library for the Seats.io REST API",
6
6
  "license": "MIT",
@@ -13,16 +13,16 @@
13
13
  "url": "https://github.com/seatsio/seatsio-js"
14
14
  },
15
15
  "dependencies": {
16
- "axios": "1.3.4"
16
+ "axios": "1.4.0"
17
17
  },
18
18
  "devDependencies": {
19
- "eslint": "8.35.0",
19
+ "eslint": "8.39.0",
20
20
  "eslint-config-standard": "17.0.0",
21
21
  "eslint-plugin-import": "2.27.5",
22
- "eslint-plugin-n": "15.6.1",
22
+ "eslint-plugin-n": "15.7.0",
23
23
  "eslint-plugin-promise": "6.1.1",
24
- "jest": "29.4.3",
25
- "jest-cli": "29.4.3",
24
+ "jest": "29.5.0",
25
+ "jest-cli": "29.5.0",
26
26
  "uuid": "9.0.0"
27
27
  }
28
28
  }
@@ -455,8 +455,8 @@ class Events {
455
455
  * @param {?string[]} channelKeys
456
456
  * @returns {Promise<BestAvailableObjects>}
457
457
  */
458
- bookBestAvailable (eventKey, number, categories = null, holdToken = null, extraData = null, ticketTypes = null, orderId = null, keepExtraData = null, ignoreChannels = null, channelKeys = null) {
459
- return this.changeBestAvailableObjectStatus(encodeURIComponent(eventKey), number, EventObjectInfo.BOOKED, categories, holdToken, extraData, ticketTypes, orderId, keepExtraData, ignoreChannels, channelKeys)
458
+ bookBestAvailable (eventKey, number, categories = null, holdToken = null, extraData = null, ticketTypes = null, orderId = null, keepExtraData = null, ignoreChannels = null, channelKeys = null, tryToPreventOrphanSeats = null) {
459
+ return this.changeBestAvailableObjectStatus(encodeURIComponent(eventKey), number, EventObjectInfo.BOOKED, categories, holdToken, extraData, ticketTypes, orderId, keepExtraData, ignoreChannels, channelKeys, tryToPreventOrphanSeats)
460
460
  }
461
461
 
462
462
  /**
@@ -502,8 +502,8 @@ class Events {
502
502
  * @param {?string[]} ticketTypes
503
503
  * @returns {Promise<BestAvailableObjects>}
504
504
  */
505
- holdBestAvailable (eventKey, number, holdToken, categories = null, extraData = null, ticketTypes = null, orderId = null, keepExtraData = null, ignoreChannels = null, channelKeys = null) {
506
- return this.changeBestAvailableObjectStatus(encodeURIComponent(eventKey), number, EventObjectInfo.HELD, categories, holdToken, extraData, ticketTypes, orderId, keepExtraData, ignoreChannels, channelKeys)
505
+ holdBestAvailable (eventKey, number, holdToken, categories = null, extraData = null, ticketTypes = null, orderId = null, keepExtraData = null, ignoreChannels = null, channelKeys = null, tryToPreventOrphanSeats = null) {
506
+ return this.changeBestAvailableObjectStatus(encodeURIComponent(eventKey), number, EventObjectInfo.HELD, categories, holdToken, extraData, ticketTypes, orderId, keepExtraData, ignoreChannels, channelKeys, tryToPreventOrphanSeats)
507
507
  }
508
508
 
509
509
  /**
@@ -520,7 +520,7 @@ class Events {
520
520
  * @param {?string[]} channelKeys
521
521
  * @returns {Promise<BestAvailableObjects>}
522
522
  */
523
- changeBestAvailableObjectStatus (eventKey, number, status, categories = null, holdToken = null, extraData = null, ticketTypes = null, orderId = null, keepExtraData = null, ignoreChannels = null, channelKeys = null) {
523
+ changeBestAvailableObjectStatus (eventKey, number, status, categories = null, holdToken = null, extraData = null, ticketTypes = null, orderId = null, keepExtraData = null, ignoreChannels = null, channelKeys = null, tryToPreventOrphanSeats = null) {
524
524
  const requestParameters = {}
525
525
  const bestAvailable = {}
526
526
  requestParameters.status = status
@@ -540,6 +540,9 @@ class Events {
540
540
  if (ticketTypes !== null) {
541
541
  bestAvailable.ticketTypes = ticketTypes
542
542
  }
543
+ if (tryToPreventOrphanSeats !== null) {
544
+ bestAvailable.tryToPreventOrphanSeats = tryToPreventOrphanSeats
545
+ }
543
546
  if (keepExtraData !== null) {
544
547
  requestParameters.keepExtraData = keepExtraData
545
548
  }
@@ -10,7 +10,7 @@ test('should change best available object status', async () => {
10
10
  const bestAvailableObjs = await client.events.changeBestAvailableObjectStatus(event.key, 2, 'lolzor')
11
11
 
12
12
  expect(bestAvailableObjs.nextToEachOther).toBe(true)
13
- expect(bestAvailableObjs.objects.sort()).toEqual(['B-4', 'B-5'])
13
+ expect(bestAvailableObjs.objects.sort()).toEqual(['A-4', 'A-5'])
14
14
  })
15
15
 
16
16
  test('should change best available object status with categories', async () => {
@@ -32,9 +32,9 @@ test('should change best available object status with extra data', async () => {
32
32
 
33
33
  const bestAvailableObjs = await client.events.changeBestAvailableObjectStatus(event.key, 2, 'lolzor', null, null, extraData)
34
34
 
35
- const objectInfo4 = await client.events.retrieveObjectInfo(event.key, 'B-4')
36
- const objectInfo5 = await client.events.retrieveObjectInfo(event.key, 'B-5')
37
- expect(bestAvailableObjs.objects.sort()).toEqual(['B-4', 'B-5'])
35
+ const objectInfo4 = await client.events.retrieveObjectInfo(event.key, 'A-4')
36
+ const objectInfo5 = await client.events.retrieveObjectInfo(event.key, 'A-5')
37
+ expect(bestAvailableObjs.objects.sort()).toEqual(['A-4', 'A-5'])
38
38
  expect(objectInfo4.extraData).toEqual(extraData[0])
39
39
  expect(objectInfo5.extraData).toEqual(extraData[1])
40
40
  })
@@ -75,7 +75,19 @@ test('should book best available object with extra data', async () => {
75
75
  const bestAvailableObjs = await client.events.bookBestAvailable(event.key, 3, null, null, extraData)
76
76
 
77
77
  expect(bestAvailableObjs.nextToEachOther).toBe(true)
78
- expect(bestAvailableObjs.objects).toEqual(['B-4', 'B-5', 'B-6'])
78
+ expect(bestAvailableObjs.objects).toEqual(['A-4', 'A-5', 'A-6'])
79
+ })
80
+
81
+ test('should book best available while leaving orphan seats', async () => {
82
+ const { client, user } = await testUtils.createTestUserAndClient()
83
+ const chartKey = testUtils.getChartKey()
84
+ await testUtils.createTestChart(chartKey, user.secretKey)
85
+ const event = await client.events.create(chartKey)
86
+ await client.events.book(event.key, ['A-4', 'A-5'])
87
+
88
+ const bestAvailableObjs = await client.events.bookBestAvailable(event.key, 2, null, null, null, null, null, null, null, null, false)
89
+
90
+ expect(bestAvailableObjs.objects).toEqual(['A-2', 'A-3'])
79
91
  })
80
92
 
81
93
  test('should book best available object', async () => {
@@ -87,7 +99,7 @@ test('should book best available object', async () => {
87
99
  const bestAvailableObjs = await client.events.bookBestAvailable(event.key, 3)
88
100
 
89
101
  expect(bestAvailableObjs.nextToEachOther).toBe(true)
90
- expect(bestAvailableObjs.objects).toEqual(['B-4', 'B-5', 'B-6'])
102
+ expect(bestAvailableObjs.objects).toEqual(['A-4', 'A-5', 'A-6'])
91
103
  })
92
104
 
93
105
  test('should hold best available object ', async () => {
@@ -139,11 +151,11 @@ test('should respect keepExtraData=true', async () => {
139
151
  const chartKey = testUtils.getChartKey()
140
152
  await testUtils.createTestChart(chartKey, user.secretKey)
141
153
  const event = await client.events.create(chartKey)
142
- await client.events.updateExtraData(event.key, 'B-5', { foo: 'bar' })
154
+ await client.events.updateExtraData(event.key, 'A-5', { foo: 'bar' })
143
155
 
144
156
  await client.events.changeBestAvailableObjectStatus(event.key, 1, 'someStatus', null, null, null, null, null, true)
145
157
 
146
- const status = await client.events.retrieveObjectInfo(event.key, 'B-5')
158
+ const status = await client.events.retrieveObjectInfo(event.key, 'A-5')
147
159
  expect(status.extraData).toEqual({ foo: 'bar' })
148
160
  })
149
161
 
@@ -152,11 +164,11 @@ test('should respect keepExtraData=false', async () => {
152
164
  const chartKey = testUtils.getChartKey()
153
165
  await testUtils.createTestChart(chartKey, user.secretKey)
154
166
  const event = await client.events.create(chartKey)
155
- await client.events.updateExtraData(event.key, 'B-5', { foo: 'bar' })
167
+ await client.events.updateExtraData(event.key, 'A-5', { foo: 'bar' })
156
168
 
157
169
  await client.events.changeBestAvailableObjectStatus(event.key, 1, 'someStatus', null, null, null, null, null, false)
158
170
 
159
- const status = await client.events.retrieveObjectInfo(event.key, 'B-5')
171
+ const status = await client.events.retrieveObjectInfo(event.key, 'A-5')
160
172
  expect(status.extraData).toBeFalsy()
161
173
  })
162
174
 
@@ -165,11 +177,11 @@ test('should respect no keepExtraData', async () => {
165
177
  const chartKey = testUtils.getChartKey()
166
178
  await testUtils.createTestChart(chartKey, user.secretKey)
167
179
  const event = await client.events.create(chartKey)
168
- await client.events.updateExtraData(event.key, 'B-5', { foo: 'bar' })
180
+ await client.events.updateExtraData(event.key, 'A-5', { foo: 'bar' })
169
181
 
170
182
  await client.events.changeBestAvailableObjectStatus(event.key, 1, 'someStatus')
171
183
 
172
- const status = await client.events.retrieveObjectInfo(event.key, 'B-5')
184
+ const status = await client.events.retrieveObjectInfo(event.key, 'A-5')
173
185
  expect(status.extraData).toBeFalsy()
174
186
  })
175
187
 
@@ -181,11 +193,11 @@ test('should accept channel keys', async () => {
181
193
  await client.events.channels.replace(event.key, {
182
194
  channelKey1: { name: 'channel 1', color: '#FFAABB', index: 1 }
183
195
  })
184
- await client.events.channels.setObjects(event.key, { channelKey1: ['B-6'] })
196
+ await client.events.channels.setObjects(event.key, { channelKey1: ['A-6'] })
185
197
 
186
198
  const bestAvailableObjs = await client.events.changeBestAvailableObjectStatus(event.key, 1, 'lolzor', null, null, null, null, null, null, null, ['channelKey1'])
187
199
 
188
- expect(bestAvailableObjs.objects).toEqual(['B-6'])
200
+ expect(bestAvailableObjs.objects).toEqual(['A-6'])
189
201
  })
190
202
 
191
203
  test('should accept ignoreChannels', async () => {
@@ -200,5 +212,5 @@ test('should accept ignoreChannels', async () => {
200
212
 
201
213
  const bestAvailableObjs = await client.events.changeBestAvailableObjectStatus(event.key, 1, 'lolzor', null, null, null, null, null, null, true)
202
214
 
203
- expect(bestAvailableObjs.objects).toEqual(['B-5'])
215
+ expect(bestAvailableObjs.objects).toEqual(['A-5'])
204
216
  })
@@ -29,7 +29,7 @@ test('should change object status', async () => {
29
29
  isAvailable: false,
30
30
  availabilityReason: 'lolzor',
31
31
  isDisabledBySocialDistancing: false,
32
- distanceToFocalPoint: 79.43847425150014
32
+ distanceToFocalPoint: 98.67842540608864
33
33
  }
34
34
  })
35
35
  })
@@ -62,9 +62,9 @@ test('should change object status with GA', async () => {
62
62
  await testUtils.createTestChart(chartKey, user.secretKey)
63
63
  const event = await client.events.create(chartKey)
64
64
 
65
- const result = await client.events.changeObjectStatus(event.key, '34', 'lolzor')
65
+ const result = await client.events.changeObjectStatus(event.key, 'GA2', 'lolzor')
66
66
 
67
- expect(Object.keys(result.objects)).toEqual(['34'])
67
+ expect(Object.keys(result.objects)).toEqual(['GA2'])
68
68
  })
69
69
 
70
70
  test('should change object status with GA and quantity', async () => {
@@ -101,13 +101,13 @@ test('should change object status for multiple objects with quantity', async ()
101
101
  const event = await client.events.create(chartKey)
102
102
  const objects = [
103
103
  (new ObjectProperties('GA1')).setQuantity(5),
104
- (new ObjectProperties('34')).setQuantity(10)
104
+ (new ObjectProperties('GA2')).setQuantity(10)
105
105
  ]
106
106
 
107
107
  await client.events.changeObjectStatus(event.key, objects, 'lolzor')
108
108
 
109
109
  const status1 = await client.events.retrieveObjectInfo(event.key, 'GA1')
110
- const status2 = await client.events.retrieveObjectInfo(event.key, '34')
110
+ const status2 = await client.events.retrieveObjectInfo(event.key, 'GA2')
111
111
  expect(status1.numBooked).toBe(5)
112
112
  expect(status2.numBooked).toBe(10)
113
113
  })
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "Sample chart",
3
3
  "tablesLabelCounter": 3,
4
- "uuidCounter": 369,
4
+ "uuidCounter": 371,
5
5
  "categories": {
6
6
  "list": [
7
7
  {
@@ -25,433 +25,694 @@
25
25
  ],
26
26
  "maxCategoryKey": 10
27
27
  },
28
- "version": 17,
28
+ "rowSpacing": 14,
29
+ "rowChairSpacing": 5,
30
+ "colorScheme": "light",
31
+ "version": 19,
29
32
  "venueType": "ROWS_WITHOUT_SECTIONS",
30
- "showAllButtons": false,
31
33
  "sectionScaleFactor": 100,
34
+ "referenceChartVisible": true,
32
35
  "subChart": {
33
- "height": 95,
34
- "width": 442,
36
+ "height": 186,
37
+ "width": 442.44,
35
38
  "tables": [],
36
39
  "texts": [],
40
+ "imageObjects": [],
37
41
  "rows": [
38
42
  {
39
43
  "label": "A",
44
+ "displayLabel": null,
45
+ "sectionLabel": null,
46
+ "sectionDisplayedLabel": null,
47
+ "rowLabelPosition": "label-position-invisible",
40
48
  "seatLabeling": {
41
49
  "algoName": "SimpleNumbers",
42
50
  "startAtIndex": 0,
43
- "isInverted": false
51
+ "isInverted": false,
52
+ "useEndAt": false
44
53
  },
45
54
  "objectLabeling": {
46
55
  "algoName": "SimpleLettersUppercase",
47
56
  "prefix": "",
48
- "startAtIndex": 0
57
+ "startAtIndex": 0,
58
+ "skippedCharacters": []
49
59
  },
50
60
  "seats": [
51
61
  {
52
62
  "x": 151.94,
53
- "y": 9,
63
+ "y": 99.56,
54
64
  "label": "1",
55
65
  "categoryLabel": "Cat1",
56
66
  "categoryAccessible": false,
57
67
  "categoryKey": 9,
58
- "uuid": "uuid288"
68
+ "restrictedView": false,
69
+ "accessible": false,
70
+ "companionSeat": false,
71
+ "disabledBySocialDistancingRules": false,
72
+ "uuid": "uuid288",
73
+ "published": true
59
74
  },
60
75
  {
61
76
  "x": 171.94,
62
- "y": 9,
77
+ "y": 99.56,
63
78
  "label": "2",
64
79
  "categoryLabel": "Cat1",
65
80
  "categoryAccessible": false,
66
81
  "categoryKey": 9,
67
- "uuid": "uuid289"
82
+ "restrictedView": false,
83
+ "accessible": false,
84
+ "companionSeat": false,
85
+ "disabledBySocialDistancingRules": false,
86
+ "uuid": "uuid289",
87
+ "published": true
68
88
  },
69
89
  {
70
90
  "x": 191.94,
71
- "y": 9,
91
+ "y": 99.56,
72
92
  "label": "3",
73
93
  "categoryLabel": "Cat1",
74
94
  "categoryAccessible": false,
75
95
  "categoryKey": 9,
76
- "uuid": "uuid290"
96
+ "restrictedView": false,
97
+ "accessible": false,
98
+ "companionSeat": false,
99
+ "disabledBySocialDistancingRules": false,
100
+ "uuid": "uuid290",
101
+ "published": true
77
102
  },
78
103
  {
79
104
  "x": 211.94,
80
- "y": 9,
105
+ "y": 99.56,
81
106
  "label": "4",
82
107
  "categoryLabel": "Cat1",
83
108
  "categoryAccessible": false,
84
109
  "categoryKey": 9,
85
- "uuid": "uuid291"
110
+ "restrictedView": false,
111
+ "accessible": false,
112
+ "companionSeat": false,
113
+ "disabledBySocialDistancingRules": false,
114
+ "uuid": "uuid291",
115
+ "published": true
86
116
  },
87
117
  {
88
118
  "x": 231.94,
89
- "y": 9,
119
+ "y": 99.56,
90
120
  "label": "5",
91
121
  "categoryLabel": "Cat1",
92
122
  "categoryAccessible": false,
93
123
  "categoryKey": 9,
94
- "uuid": "uuid292"
124
+ "restrictedView": false,
125
+ "accessible": false,
126
+ "companionSeat": false,
127
+ "disabledBySocialDistancingRules": false,
128
+ "uuid": "uuid292",
129
+ "published": true
95
130
  },
96
131
  {
97
132
  "x": 251.94,
98
- "y": 9,
133
+ "y": 99.56,
99
134
  "label": "6",
100
135
  "categoryLabel": "Cat1",
101
136
  "categoryAccessible": false,
102
137
  "categoryKey": 9,
103
- "uuid": "uuid293"
138
+ "restrictedView": false,
139
+ "accessible": false,
140
+ "companionSeat": false,
141
+ "disabledBySocialDistancingRules": false,
142
+ "uuid": "uuid293",
143
+ "published": true
104
144
  },
105
145
  {
106
146
  "x": 271.94,
107
- "y": 9,
147
+ "y": 99.56,
108
148
  "label": "7",
109
149
  "categoryLabel": "Cat1",
110
150
  "categoryAccessible": false,
111
151
  "categoryKey": 9,
112
- "uuid": "uuid294"
152
+ "restrictedView": false,
153
+ "accessible": false,
154
+ "companionSeat": false,
155
+ "disabledBySocialDistancingRules": false,
156
+ "uuid": "uuid294",
157
+ "published": true
113
158
  },
114
159
  {
115
160
  "x": 291.94,
116
- "y": 9,
161
+ "y": 99.56,
117
162
  "label": "8",
118
163
  "categoryLabel": "Cat1",
119
164
  "categoryAccessible": false,
120
165
  "categoryKey": 9,
121
- "uuid": "uuid295"
166
+ "restrictedView": false,
167
+ "accessible": false,
168
+ "companionSeat": false,
169
+ "disabledBySocialDistancingRules": false,
170
+ "uuid": "uuid295",
171
+ "published": true
122
172
  }
123
173
  ],
124
174
  "curve": 0,
125
175
  "chairSpacing": 4,
176
+ "verticalRowLabelDirection": "BASELINE_LEFT",
177
+ "displayObjectType": "row",
126
178
  "objectType": "row",
127
- "uuid": "uuid297"
179
+ "uuid": "uuid297",
180
+ "points": null,
181
+ "rowLabelDisabled": false,
182
+ "published": true
128
183
  },
129
184
  {
130
185
  "label": "B",
186
+ "displayLabel": null,
187
+ "sectionLabel": null,
188
+ "sectionDisplayedLabel": null,
189
+ "rowLabelPosition": "label-position-invisible",
131
190
  "seatLabeling": {
132
191
  "algoName": "SimpleNumbers",
133
192
  "startAtIndex": 0,
134
- "isInverted": false
193
+ "isInverted": false,
194
+ "useEndAt": false
135
195
  },
136
196
  "objectLabeling": {
137
197
  "algoName": "SimpleLettersUppercase",
138
198
  "prefix": "",
139
- "startAtIndex": 0
199
+ "startAtIndex": 0,
200
+ "skippedCharacters": []
140
201
  },
141
202
  "seats": [
142
203
  {
143
204
  "x": 151.94,
144
- "y": 33,
205
+ "y": 123.56,
145
206
  "label": "1",
146
207
  "categoryLabel": "Cat1",
147
208
  "categoryAccessible": false,
148
209
  "categoryKey": 9,
149
- "uuid": "uuid298"
210
+ "restrictedView": false,
211
+ "accessible": false,
212
+ "companionSeat": false,
213
+ "disabledBySocialDistancingRules": false,
214
+ "uuid": "uuid298",
215
+ "published": true
150
216
  },
151
217
  {
152
218
  "x": 171.94,
153
- "y": 33,
219
+ "y": 123.56,
154
220
  "label": "2",
155
221
  "categoryLabel": "Cat1",
156
222
  "categoryAccessible": false,
157
223
  "categoryKey": 9,
158
- "uuid": "uuid299"
224
+ "restrictedView": false,
225
+ "accessible": false,
226
+ "companionSeat": false,
227
+ "disabledBySocialDistancingRules": false,
228
+ "uuid": "uuid299",
229
+ "published": true
159
230
  },
160
231
  {
161
232
  "x": 191.94,
162
- "y": 33,
233
+ "y": 123.56,
163
234
  "label": "3",
164
235
  "categoryLabel": "Cat1",
165
236
  "categoryAccessible": false,
166
237
  "categoryKey": 9,
167
- "uuid": "uuid300"
238
+ "restrictedView": false,
239
+ "accessible": false,
240
+ "companionSeat": false,
241
+ "disabledBySocialDistancingRules": false,
242
+ "uuid": "uuid300",
243
+ "published": true
168
244
  },
169
245
  {
170
246
  "x": 211.94,
171
- "y": 33,
247
+ "y": 123.56,
172
248
  "label": "4",
173
249
  "categoryLabel": "Cat1",
174
250
  "categoryAccessible": false,
175
251
  "categoryKey": 9,
176
- "uuid": "uuid301"
252
+ "restrictedView": false,
253
+ "accessible": false,
254
+ "companionSeat": false,
255
+ "disabledBySocialDistancingRules": false,
256
+ "uuid": "uuid301",
257
+ "published": true
177
258
  },
178
259
  {
179
260
  "x": 231.94,
180
- "y": 33,
261
+ "y": 123.56,
181
262
  "label": "5",
182
263
  "categoryLabel": "Cat1",
183
264
  "categoryAccessible": false,
184
265
  "categoryKey": 9,
185
- "uuid": "uuid302"
266
+ "restrictedView": false,
267
+ "accessible": false,
268
+ "companionSeat": false,
269
+ "disabledBySocialDistancingRules": false,
270
+ "uuid": "uuid302",
271
+ "published": true
186
272
  },
187
273
  {
188
274
  "x": 251.94,
189
- "y": 33,
275
+ "y": 123.56,
190
276
  "label": "6",
191
277
  "categoryLabel": "Cat1",
192
278
  "categoryAccessible": false,
193
279
  "categoryKey": 9,
194
- "uuid": "uuid303"
280
+ "restrictedView": false,
281
+ "accessible": false,
282
+ "companionSeat": false,
283
+ "disabledBySocialDistancingRules": false,
284
+ "uuid": "uuid303",
285
+ "published": true
195
286
  },
196
287
  {
197
288
  "x": 271.94,
198
- "y": 33,
289
+ "y": 123.56,
199
290
  "label": "7",
200
291
  "categoryLabel": "Cat1",
201
292
  "categoryAccessible": false,
202
293
  "categoryKey": 9,
203
- "uuid": "uuid304"
294
+ "restrictedView": false,
295
+ "accessible": false,
296
+ "companionSeat": false,
297
+ "disabledBySocialDistancingRules": false,
298
+ "uuid": "uuid304",
299
+ "published": true
204
300
  },
205
301
  {
206
302
  "x": 291.94,
207
- "y": 33,
303
+ "y": 123.56,
208
304
  "label": "8",
209
305
  "categoryLabel": "Cat1",
210
306
  "categoryAccessible": false,
211
307
  "categoryKey": 9,
212
- "uuid": "uuid305"
308
+ "restrictedView": false,
309
+ "accessible": false,
310
+ "companionSeat": false,
311
+ "disabledBySocialDistancingRules": false,
312
+ "uuid": "uuid305",
313
+ "published": true
213
314
  }
214
315
  ],
215
316
  "curve": 0,
216
317
  "chairSpacing": 4,
318
+ "verticalRowLabelDirection": "BASELINE_LEFT",
319
+ "displayObjectType": "row",
217
320
  "objectType": "row",
218
- "uuid": "uuid307"
321
+ "uuid": "uuid307",
322
+ "points": null,
323
+ "rowLabelDisabled": false,
324
+ "published": true
219
325
  },
220
326
  {
221
327
  "label": "C",
328
+ "displayLabel": null,
329
+ "sectionLabel": null,
330
+ "sectionDisplayedLabel": null,
331
+ "rowLabelPosition": "label-position-invisible",
222
332
  "seatLabeling": {
223
333
  "algoName": "SimpleNumbers",
224
334
  "startAtIndex": 0,
225
- "isInverted": false
335
+ "isInverted": false,
336
+ "useEndAt": false
226
337
  },
227
338
  "objectLabeling": {
228
339
  "algoName": "SimpleLettersUppercase",
229
340
  "prefix": "",
230
- "startAtIndex": 0
341
+ "startAtIndex": 0,
342
+ "skippedCharacters": []
231
343
  },
232
344
  "seats": [
233
345
  {
234
346
  "x": 151.94,
235
- "y": 57,
347
+ "y": 147.56,
236
348
  "label": "1",
237
349
  "categoryLabel": "Cat2",
238
350
  "categoryAccessible": false,
239
351
  "categoryKey": 10,
240
- "uuid": "uuid308"
352
+ "restrictedView": false,
353
+ "accessible": false,
354
+ "companionSeat": false,
355
+ "disabledBySocialDistancingRules": false,
356
+ "uuid": "uuid308",
357
+ "published": true
241
358
  },
242
359
  {
243
360
  "x": 171.94,
244
- "y": 57,
361
+ "y": 147.56,
245
362
  "label": "2",
246
363
  "categoryLabel": "Cat2",
247
364
  "categoryAccessible": false,
248
365
  "categoryKey": 10,
249
- "uuid": "uuid309"
366
+ "restrictedView": false,
367
+ "accessible": false,
368
+ "companionSeat": false,
369
+ "disabledBySocialDistancingRules": false,
370
+ "uuid": "uuid309",
371
+ "published": true
250
372
  },
251
373
  {
252
374
  "x": 191.94,
253
- "y": 57,
375
+ "y": 147.56,
254
376
  "label": "3",
255
377
  "categoryLabel": "Cat2",
256
378
  "categoryAccessible": false,
257
379
  "categoryKey": 10,
258
- "uuid": "uuid310"
380
+ "restrictedView": false,
381
+ "accessible": false,
382
+ "companionSeat": false,
383
+ "disabledBySocialDistancingRules": false,
384
+ "uuid": "uuid310",
385
+ "published": true
259
386
  },
260
387
  {
261
388
  "x": 211.94,
262
- "y": 57,
389
+ "y": 147.56,
263
390
  "label": "4",
264
391
  "categoryLabel": "Cat2",
265
392
  "categoryAccessible": false,
266
393
  "categoryKey": 10,
267
- "uuid": "uuid311"
394
+ "restrictedView": false,
395
+ "accessible": false,
396
+ "companionSeat": false,
397
+ "disabledBySocialDistancingRules": false,
398
+ "uuid": "uuid311",
399
+ "published": true
268
400
  },
269
401
  {
270
402
  "x": 231.94,
271
- "y": 57,
403
+ "y": 147.56,
272
404
  "label": "5",
273
405
  "categoryLabel": "Cat2",
274
406
  "categoryAccessible": false,
275
407
  "categoryKey": 10,
276
- "uuid": "uuid312"
408
+ "restrictedView": false,
409
+ "accessible": false,
410
+ "companionSeat": false,
411
+ "disabledBySocialDistancingRules": false,
412
+ "uuid": "uuid312",
413
+ "published": true
277
414
  },
278
415
  {
279
416
  "x": 251.94,
280
- "y": 57,
417
+ "y": 147.56,
281
418
  "label": "6",
282
419
  "categoryLabel": "Cat2",
283
420
  "categoryAccessible": false,
284
421
  "categoryKey": 10,
285
- "uuid": "uuid313"
422
+ "restrictedView": false,
423
+ "accessible": false,
424
+ "companionSeat": false,
425
+ "disabledBySocialDistancingRules": false,
426
+ "uuid": "uuid313",
427
+ "published": true
286
428
  },
287
429
  {
288
430
  "x": 271.94,
289
- "y": 57,
431
+ "y": 147.56,
290
432
  "label": "7",
291
433
  "categoryLabel": "Cat2",
292
434
  "categoryAccessible": false,
293
435
  "categoryKey": 10,
294
- "uuid": "uuid314"
436
+ "restrictedView": false,
437
+ "accessible": false,
438
+ "companionSeat": false,
439
+ "disabledBySocialDistancingRules": false,
440
+ "uuid": "uuid314",
441
+ "published": true
295
442
  },
296
443
  {
297
444
  "x": 291.94,
298
- "y": 57,
445
+ "y": 147.56,
299
446
  "label": "8",
300
447
  "categoryLabel": "Cat2",
301
448
  "categoryAccessible": false,
302
449
  "categoryKey": 10,
303
- "uuid": "uuid315"
450
+ "restrictedView": false,
451
+ "accessible": false,
452
+ "companionSeat": false,
453
+ "disabledBySocialDistancingRules": false,
454
+ "uuid": "uuid315",
455
+ "published": true
304
456
  }
305
457
  ],
306
458
  "curve": 0,
307
459
  "chairSpacing": 4,
460
+ "verticalRowLabelDirection": "BASELINE_LEFT",
461
+ "displayObjectType": "row",
308
462
  "objectType": "row",
309
- "uuid": "uuid317"
463
+ "uuid": "uuid317",
464
+ "points": null,
465
+ "rowLabelDisabled": false,
466
+ "published": true
310
467
  },
311
468
  {
312
469
  "label": "D",
470
+ "displayLabel": null,
471
+ "sectionLabel": null,
472
+ "sectionDisplayedLabel": null,
473
+ "rowLabelPosition": "label-position-invisible",
313
474
  "seatLabeling": {
314
475
  "algoName": "SimpleNumbers",
315
476
  "startAtIndex": 0,
316
- "isInverted": false
477
+ "isInverted": false,
478
+ "useEndAt": false
317
479
  },
318
480
  "objectLabeling": {
319
481
  "algoName": "SimpleLettersUppercase",
320
482
  "prefix": "",
321
- "startAtIndex": 0
483
+ "startAtIndex": 0,
484
+ "skippedCharacters": []
322
485
  },
323
486
  "seats": [
324
487
  {
325
488
  "x": 151.94,
326
- "y": 81,
489
+ "y": 171.56,
327
490
  "label": "1",
328
491
  "categoryLabel": "Cat2",
329
492
  "categoryAccessible": false,
330
493
  "categoryKey": 10,
331
- "uuid": "uuid318"
494
+ "restrictedView": false,
495
+ "accessible": false,
496
+ "companionSeat": false,
497
+ "disabledBySocialDistancingRules": false,
498
+ "uuid": "uuid318",
499
+ "published": true
332
500
  },
333
501
  {
334
502
  "x": 171.94,
335
- "y": 81,
503
+ "y": 171.56,
336
504
  "label": "2",
337
505
  "categoryLabel": "Cat2",
338
506
  "categoryAccessible": false,
339
507
  "categoryKey": 10,
340
- "uuid": "uuid319"
508
+ "restrictedView": false,
509
+ "accessible": false,
510
+ "companionSeat": false,
511
+ "disabledBySocialDistancingRules": false,
512
+ "uuid": "uuid319",
513
+ "published": true
341
514
  },
342
515
  {
343
516
  "x": 191.94,
344
- "y": 81,
517
+ "y": 171.56,
345
518
  "label": "3",
346
519
  "categoryLabel": "Cat2",
347
520
  "categoryAccessible": false,
348
521
  "categoryKey": 10,
349
- "uuid": "uuid320"
522
+ "restrictedView": false,
523
+ "accessible": false,
524
+ "companionSeat": false,
525
+ "disabledBySocialDistancingRules": false,
526
+ "uuid": "uuid320",
527
+ "published": true
350
528
  },
351
529
  {
352
530
  "x": 211.94,
353
- "y": 81,
531
+ "y": 171.56,
354
532
  "label": "4",
355
533
  "categoryLabel": "Cat2",
356
534
  "categoryAccessible": false,
357
535
  "categoryKey": 10,
358
- "uuid": "uuid321"
536
+ "restrictedView": false,
537
+ "accessible": false,
538
+ "companionSeat": false,
539
+ "disabledBySocialDistancingRules": false,
540
+ "uuid": "uuid321",
541
+ "published": true
359
542
  },
360
543
  {
361
544
  "x": 231.94,
362
- "y": 81,
545
+ "y": 171.56,
363
546
  "label": "5",
364
547
  "categoryLabel": "Cat2",
365
548
  "categoryAccessible": false,
366
549
  "categoryKey": 10,
367
- "uuid": "uuid322"
550
+ "restrictedView": false,
551
+ "accessible": false,
552
+ "companionSeat": false,
553
+ "disabledBySocialDistancingRules": false,
554
+ "uuid": "uuid322",
555
+ "published": true
368
556
  },
369
557
  {
370
558
  "x": 251.94,
371
- "y": 81,
559
+ "y": 171.56,
372
560
  "label": "6",
373
561
  "categoryLabel": "Cat2",
374
562
  "categoryAccessible": false,
375
563
  "categoryKey": 10,
376
- "uuid": "uuid323"
564
+ "restrictedView": false,
565
+ "accessible": false,
566
+ "companionSeat": false,
567
+ "disabledBySocialDistancingRules": false,
568
+ "uuid": "uuid323",
569
+ "published": true
377
570
  },
378
571
  {
379
572
  "x": 271.94,
380
- "y": 81,
573
+ "y": 171.56,
381
574
  "label": "7",
382
575
  "categoryLabel": "Cat2",
383
576
  "categoryAccessible": false,
384
577
  "categoryKey": 10,
385
- "uuid": "uuid324"
578
+ "restrictedView": false,
579
+ "accessible": false,
580
+ "companionSeat": false,
581
+ "disabledBySocialDistancingRules": false,
582
+ "uuid": "uuid324",
583
+ "published": true
386
584
  },
387
585
  {
388
586
  "x": 291.94,
389
- "y": 81,
587
+ "y": 171.56,
390
588
  "label": "8",
391
589
  "categoryLabel": "Cat2",
392
590
  "categoryAccessible": false,
393
591
  "categoryKey": 10,
394
- "uuid": "uuid325"
592
+ "restrictedView": false,
593
+ "accessible": false,
594
+ "companionSeat": false,
595
+ "disabledBySocialDistancingRules": false,
596
+ "uuid": "uuid325",
597
+ "published": true
395
598
  }
396
599
  ],
397
600
  "curve": 0,
398
601
  "chairSpacing": 4,
602
+ "verticalRowLabelDirection": "BASELINE_LEFT",
603
+ "displayObjectType": "row",
399
604
  "objectType": "row",
400
- "uuid": "uuid327"
605
+ "uuid": "uuid327",
606
+ "points": null,
607
+ "rowLabelDisabled": false,
608
+ "published": true
609
+ }
610
+ ],
611
+ "shapes": [
612
+ {
613
+ "uuid": "uuid371",
614
+ "objectType": "shape",
615
+ "label": "Stage",
616
+ "smartType": "stage",
617
+ "smartTypeVariation": null,
618
+ "fillColor": "#D0D1D2",
619
+ "strokeColor": "#E8E8E9",
620
+ "strokeWidth": 0,
621
+ "autoStroke": false,
622
+ "labelSize": 16,
623
+ "icon": "stage",
624
+ "labelHorizontalOffset": 0,
625
+ "labelVerticalOffset": 0,
626
+ "type": "rectangle",
627
+ "center": {
628
+ "x": 218.94,
629
+ "y": 30.56
630
+ },
631
+ "rotationAngle": 0,
632
+ "width": 245.55555555555475,
633
+ "height": 61.11111111111131,
634
+ "cornerRadius": 8,
635
+ "foreground": false
401
636
  }
402
637
  ],
403
- "shapes": [],
404
638
  "booths": [],
639
+ "icons": [],
405
640
  "generalAdmissionAreas": [
406
641
  {
407
642
  "categoryLabel": "Cat1",
408
643
  "categoryKey": 9,
409
644
  "capacity": 100,
410
645
  "label": "GA1",
646
+ "objectLabeling": {
647
+ "algoName": null,
648
+ "prefix": null,
649
+ "startAtIndex": null,
650
+ "skippedCharacters": []
651
+ },
411
652
  "labelSize": 24,
412
653
  "labelShown": true,
413
654
  "labelHorizontalOffset": 0,
414
655
  "labelVerticalOffset": 0,
415
656
  "objectType": "generalAdmission",
416
657
  "uuid": "uuid368",
658
+ "translucent": false,
659
+ "bookAsAWhole": false,
660
+ "variableOccupancy": false,
661
+ "minOccupancy": 1,
662
+ "published": true,
417
663
  "type": "circle",
418
664
  "center": {
419
665
  "x": 53.22,
420
- "y": 48.89
666
+ "y": 139.45
421
667
  },
422
668
  "rotationAngle": 0,
423
669
  "radius1": 52.222222222222626,
424
- "radius2": 45.55555555555566
670
+ "radius2": 45.55555555555566,
671
+ "foreground": false
425
672
  },
426
673
  {
427
674
  "categoryLabel": "Cat2",
428
675
  "categoryKey": 10,
429
676
  "capacity": 100,
430
- "label": "34",
677
+ "label": "GA2",
678
+ "objectLabeling": {
679
+ "algoName": null,
680
+ "prefix": null,
681
+ "startAtIndex": null,
682
+ "skippedCharacters": []
683
+ },
431
684
  "labelSize": 24,
432
685
  "labelShown": true,
433
686
  "labelHorizontalOffset": 0,
434
687
  "labelVerticalOffset": 0,
435
688
  "objectType": "generalAdmission",
436
689
  "uuid": "uuid369",
690
+ "translucent": false,
691
+ "bookAsAWhole": false,
692
+ "variableOccupancy": false,
693
+ "minOccupancy": 1,
694
+ "published": true,
437
695
  "type": "circle",
438
696
  "center": {
439
697
  "x": 389.22,
440
- "y": 48.89
698
+ "y": 139.45
441
699
  },
442
700
  "rotationAngle": 0,
443
701
  "radius1": 52.222222222222626,
444
- "radius2": 45.55555555555566
702
+ "radius2": 45.55555555555566,
703
+ "foreground": false
445
704
  }
446
705
  ],
447
706
  "sections": [],
448
707
  "focalPoint": {
449
- "x": 223.89,
450
- "y": 42.67
708
+ "x": 225,
709
+ "y": 33.23
451
710
  },
711
+ "backgroundImage": null,
712
+ "referenceChart": null,
452
713
  "snapOffset": {
453
714
  "x": 0.06,
454
- "y": 3
715
+ "y": 0.44
455
716
  }
456
717
  }
457
718
  }