@opentripplanner/core-utils 14.0.0-alpha.2 → 14.0.1
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/README.md +0 -4
- package/esm/itinerary.js +70 -32
- package/esm/itinerary.js.map +1 -1
- package/esm/otpSchema.json +7321 -5821
- package/esm/planQuery.graphql +12 -0
- package/esm/profile.js +1 -1
- package/esm/profile.js.map +1 -1
- package/esm/query-gen.js +2 -2
- package/esm/query-gen.js.map +1 -1
- package/esm/query-params.js +2 -2
- package/esm/query-params.js.map +1 -1
- package/esm/query.js +2 -5
- package/esm/query.js.map +1 -1
- package/esm/storage.js +2 -6
- package/esm/storage.js.map +1 -1
- package/esm/time.js +1 -2
- package/esm/time.js.map +1 -1
- package/lib/index.js +50 -35
- package/lib/index.js.map +1 -1
- package/lib/itinerary.d.ts +25 -8
- package/lib/itinerary.d.ts.map +1 -1
- package/lib/itinerary.js +524 -495
- package/lib/itinerary.js.map +1 -1
- package/lib/map.js +40 -39
- package/lib/map.js.map +1 -1
- package/lib/otpSchema.json +7321 -5821
- package/lib/planQuery.graphql +12 -0
- package/lib/profile.js +1 -1
- package/lib/profile.js.map +1 -1
- package/lib/query-gen.js +134 -138
- package/lib/query-gen.js.map +1 -1
- package/lib/query-params.js +2 -2
- package/lib/query-params.js.map +1 -1
- package/lib/query.js +3 -6
- package/lib/query.js.map +1 -1
- package/lib/route.js +230 -248
- package/lib/route.js.map +1 -1
- package/lib/storage.d.ts.map +1 -1
- package/lib/storage.js +22 -28
- package/lib/storage.js.map +1 -1
- package/lib/suspense.js +28 -16
- package/lib/suspense.js.map +1 -1
- package/lib/time.js +36 -49
- package/lib/time.js.map +1 -1
- package/lib/ui.js +33 -36
- package/lib/ui.js.map +1 -1
- package/package.json +3 -3
- package/src/__tests__/__snapshots__/query-params.ts.snap +203 -203
- package/src/__tests__/__snapshots__/query.js.snap +28 -28
- package/src/__tests__/__snapshots__/route.js.snap +76 -76
- package/src/__tests__/__snapshots__/time.js.snap +2 -2
- package/src/__tests__/itinerary.ts +108 -23
- package/src/__tests__/query.js +1 -1
- package/src/__tests__/route.js +1 -1
- package/src/core-utils.story.tsx +34 -23
- package/src/itinerary.ts +85 -37
- package/src/otpSchema.json +7321 -5821
- package/src/planQuery.graphql +12 -0
- package/src/profile.js +1 -1
- package/src/query-gen.ts +1 -1
- package/src/query-params.jsx +2 -2
- package/src/query.js +2 -5
- package/src/storage.ts +5 -9
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,226 +1,226 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
2
|
|
|
3
3
|
exports[`query-params getCustomQueryParams should return queryParams with customizations 1`] = `
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
[
|
|
5
|
+
{
|
|
6
6
|
"default": null,
|
|
7
7
|
"itineraryRewrite": [Function],
|
|
8
8
|
"name": "from",
|
|
9
9
|
"profileRewrite": [Function],
|
|
10
|
-
"routingTypes":
|
|
10
|
+
"routingTypes": [
|
|
11
11
|
"ITINERARY",
|
|
12
12
|
"PROFILE",
|
|
13
13
|
],
|
|
14
14
|
},
|
|
15
|
-
|
|
15
|
+
{
|
|
16
16
|
"default": null,
|
|
17
17
|
"itineraryRewrite": [Function],
|
|
18
18
|
"name": "to",
|
|
19
19
|
"profileRewrite": [Function],
|
|
20
|
-
"routingTypes":
|
|
20
|
+
"routingTypes": [
|
|
21
21
|
"ITINERARY",
|
|
22
22
|
"PROFILE",
|
|
23
23
|
],
|
|
24
24
|
},
|
|
25
|
-
|
|
25
|
+
{
|
|
26
26
|
"default": [Function],
|
|
27
27
|
"name": "date",
|
|
28
|
-
"routingTypes":
|
|
28
|
+
"routingTypes": [
|
|
29
29
|
"ITINERARY",
|
|
30
30
|
"PROFILE",
|
|
31
31
|
],
|
|
32
32
|
},
|
|
33
|
-
|
|
33
|
+
{
|
|
34
34
|
"default": [Function],
|
|
35
35
|
"name": "time",
|
|
36
|
-
"routingTypes":
|
|
36
|
+
"routingTypes": [
|
|
37
37
|
"ITINERARY",
|
|
38
38
|
],
|
|
39
39
|
},
|
|
40
|
-
|
|
40
|
+
{
|
|
41
41
|
"default": "NOW",
|
|
42
42
|
"itineraryRewrite": [Function],
|
|
43
43
|
"name": "departArrive",
|
|
44
|
-
"routingTypes":
|
|
44
|
+
"routingTypes": [
|
|
45
45
|
"ITINERARY",
|
|
46
46
|
],
|
|
47
47
|
},
|
|
48
|
-
|
|
48
|
+
{
|
|
49
49
|
"default": "07:00",
|
|
50
50
|
"name": "startTime",
|
|
51
|
-
"routingTypes":
|
|
51
|
+
"routingTypes": [
|
|
52
52
|
"PROFILE",
|
|
53
53
|
],
|
|
54
54
|
},
|
|
55
|
-
|
|
55
|
+
{
|
|
56
56
|
"default": "09:00",
|
|
57
57
|
"name": "endTime",
|
|
58
|
-
"routingTypes":
|
|
58
|
+
"routingTypes": [
|
|
59
59
|
"PROFILE",
|
|
60
60
|
],
|
|
61
61
|
},
|
|
62
|
-
|
|
62
|
+
{
|
|
63
63
|
"default": "WALK,TRANSIT",
|
|
64
64
|
"name": "mode",
|
|
65
65
|
"profileRewrite": [Function],
|
|
66
|
-
"routingTypes":
|
|
66
|
+
"routingTypes": [
|
|
67
67
|
"ITINERARY",
|
|
68
68
|
"PROFILE",
|
|
69
69
|
],
|
|
70
70
|
},
|
|
71
|
-
|
|
71
|
+
{
|
|
72
72
|
"default": true,
|
|
73
73
|
"name": "showIntermediateStops",
|
|
74
|
-
"routingTypes":
|
|
74
|
+
"routingTypes": [
|
|
75
75
|
"ITINERARY",
|
|
76
76
|
],
|
|
77
77
|
},
|
|
78
|
-
|
|
78
|
+
{
|
|
79
79
|
"applicable": [Function],
|
|
80
80
|
"default": 1609,
|
|
81
81
|
"label": "Max Walk Distance In Meters",
|
|
82
82
|
"name": "maxWalkDistance",
|
|
83
|
-
"options":
|
|
84
|
-
|
|
83
|
+
"options": [
|
|
84
|
+
{
|
|
85
85
|
"text": "200 m",
|
|
86
86
|
"value": 200,
|
|
87
87
|
},
|
|
88
|
-
|
|
88
|
+
{
|
|
89
89
|
"text": "500 m",
|
|
90
90
|
"value": 500,
|
|
91
91
|
},
|
|
92
92
|
],
|
|
93
|
-
"routingTypes":
|
|
93
|
+
"routingTypes": [
|
|
94
94
|
"ITINERARY",
|
|
95
95
|
],
|
|
96
96
|
"selector": "DROPDOWN",
|
|
97
97
|
},
|
|
98
|
-
|
|
98
|
+
{
|
|
99
99
|
"applicable": [Function],
|
|
100
100
|
"default": 4828,
|
|
101
101
|
"itineraryRewrite": [Function],
|
|
102
102
|
"label": "Maximum Bike",
|
|
103
103
|
"name": "maxBikeDistance",
|
|
104
|
-
"options":
|
|
105
|
-
|
|
104
|
+
"options": [
|
|
105
|
+
{
|
|
106
106
|
"text": "1/4 mile",
|
|
107
107
|
"value": 402.3,
|
|
108
108
|
},
|
|
109
|
-
|
|
109
|
+
{
|
|
110
110
|
"text": "1/2 mile",
|
|
111
111
|
"value": 804.7,
|
|
112
112
|
},
|
|
113
|
-
|
|
113
|
+
{
|
|
114
114
|
"text": "3/4 mile",
|
|
115
115
|
"value": 1207,
|
|
116
116
|
},
|
|
117
|
-
|
|
117
|
+
{
|
|
118
118
|
"text": "1 mile",
|
|
119
119
|
"value": 1609,
|
|
120
120
|
},
|
|
121
|
-
|
|
121
|
+
{
|
|
122
122
|
"text": "2 miles",
|
|
123
123
|
"value": 3219,
|
|
124
124
|
},
|
|
125
|
-
|
|
125
|
+
{
|
|
126
126
|
"text": "3 miles",
|
|
127
127
|
"value": 4828,
|
|
128
128
|
},
|
|
129
|
-
|
|
129
|
+
{
|
|
130
130
|
"text": "5 miles",
|
|
131
131
|
"value": 8047,
|
|
132
132
|
},
|
|
133
|
-
|
|
133
|
+
{
|
|
134
134
|
"text": "10 miles",
|
|
135
135
|
"value": 16093,
|
|
136
136
|
},
|
|
137
|
-
|
|
137
|
+
{
|
|
138
138
|
"text": "20 miles",
|
|
139
139
|
"value": 32187,
|
|
140
140
|
},
|
|
141
|
-
|
|
141
|
+
{
|
|
142
142
|
"text": "30 miles",
|
|
143
143
|
"value": 48280,
|
|
144
144
|
},
|
|
145
145
|
],
|
|
146
|
-
"routingTypes":
|
|
146
|
+
"routingTypes": [
|
|
147
147
|
"ITINERARY",
|
|
148
148
|
],
|
|
149
149
|
"selector": "DROPDOWN",
|
|
150
150
|
},
|
|
151
|
-
|
|
151
|
+
{
|
|
152
152
|
"applicable": [Function],
|
|
153
153
|
"default": "QUICK",
|
|
154
154
|
"label": "Optimize for",
|
|
155
155
|
"name": "optimize",
|
|
156
|
-
"options":
|
|
157
|
-
|
|
156
|
+
"options": [
|
|
157
|
+
{
|
|
158
158
|
"text": "Speed",
|
|
159
159
|
"value": "QUICK",
|
|
160
160
|
},
|
|
161
|
-
|
|
161
|
+
{
|
|
162
162
|
"text": "Fewest Transfers",
|
|
163
163
|
"value": "TRANSFERS",
|
|
164
164
|
},
|
|
165
165
|
],
|
|
166
|
-
"routingTypes":
|
|
166
|
+
"routingTypes": [
|
|
167
167
|
"ITINERARY",
|
|
168
168
|
],
|
|
169
169
|
"selector": "DROPDOWN",
|
|
170
170
|
},
|
|
171
|
-
|
|
171
|
+
{
|
|
172
172
|
"applicable": [Function],
|
|
173
173
|
"default": "SAFE",
|
|
174
174
|
"itineraryRewrite": [Function],
|
|
175
175
|
"label": "Optimize for",
|
|
176
176
|
"name": "optimizeBike",
|
|
177
177
|
"options": [Function],
|
|
178
|
-
"routingTypes":
|
|
178
|
+
"routingTypes": [
|
|
179
179
|
"ITINERARY",
|
|
180
180
|
],
|
|
181
181
|
"selector": "DROPDOWN",
|
|
182
182
|
},
|
|
183
|
-
|
|
183
|
+
{
|
|
184
184
|
"applicable": [Function],
|
|
185
185
|
"default": 15,
|
|
186
186
|
"label": "Max Walk Time",
|
|
187
187
|
"name": "maxWalkTime",
|
|
188
|
-
"options":
|
|
189
|
-
|
|
188
|
+
"options": [
|
|
189
|
+
{
|
|
190
190
|
"text": "5 minutes",
|
|
191
191
|
"value": 5,
|
|
192
192
|
},
|
|
193
|
-
|
|
193
|
+
{
|
|
194
194
|
"text": "10 minutes",
|
|
195
195
|
"value": 10,
|
|
196
196
|
},
|
|
197
|
-
|
|
197
|
+
{
|
|
198
198
|
"text": "15 minutes",
|
|
199
199
|
"value": 15,
|
|
200
200
|
},
|
|
201
|
-
|
|
201
|
+
{
|
|
202
202
|
"text": "20 minutes",
|
|
203
203
|
"value": 20,
|
|
204
204
|
},
|
|
205
|
-
|
|
205
|
+
{
|
|
206
206
|
"text": "30 minutes",
|
|
207
207
|
"value": 30,
|
|
208
208
|
},
|
|
209
|
-
|
|
209
|
+
{
|
|
210
210
|
"text": "45 minutes",
|
|
211
211
|
"value": 45,
|
|
212
212
|
},
|
|
213
|
-
|
|
213
|
+
{
|
|
214
214
|
"text": "1 hour",
|
|
215
215
|
"value": 60,
|
|
216
216
|
},
|
|
217
217
|
],
|
|
218
|
-
"routingTypes":
|
|
218
|
+
"routingTypes": [
|
|
219
219
|
"PROFILE",
|
|
220
220
|
],
|
|
221
221
|
"selector": "DROPDOWN",
|
|
222
222
|
},
|
|
223
|
-
|
|
223
|
+
{
|
|
224
224
|
"applicable": [Function],
|
|
225
225
|
"high": 10,
|
|
226
226
|
"label": "walk reluctance",
|
|
@@ -228,491 +228,491 @@ Array [
|
|
|
228
228
|
"labelLow": "More Walking",
|
|
229
229
|
"low": 1,
|
|
230
230
|
"name": "walkReluctance",
|
|
231
|
-
"routingTypes":
|
|
231
|
+
"routingTypes": [
|
|
232
232
|
"ITINERARY",
|
|
233
233
|
"PROFILE",
|
|
234
234
|
],
|
|
235
235
|
"selector": "SLIDER",
|
|
236
236
|
"step": 0.5,
|
|
237
237
|
},
|
|
238
|
-
|
|
238
|
+
{
|
|
239
239
|
"applicable": [Function],
|
|
240
240
|
"default": 20,
|
|
241
241
|
"label": "Max Bike Time",
|
|
242
242
|
"name": "maxBikeTime",
|
|
243
|
-
"options":
|
|
244
|
-
|
|
243
|
+
"options": [
|
|
244
|
+
{
|
|
245
245
|
"text": "5 minutes",
|
|
246
246
|
"value": 5,
|
|
247
247
|
},
|
|
248
|
-
|
|
248
|
+
{
|
|
249
249
|
"text": "10 minutes",
|
|
250
250
|
"value": 10,
|
|
251
251
|
},
|
|
252
|
-
|
|
252
|
+
{
|
|
253
253
|
"text": "15 minutes",
|
|
254
254
|
"value": 15,
|
|
255
255
|
},
|
|
256
|
-
|
|
256
|
+
{
|
|
257
257
|
"text": "20 minutes",
|
|
258
258
|
"value": 20,
|
|
259
259
|
},
|
|
260
|
-
|
|
260
|
+
{
|
|
261
261
|
"text": "30 minutes",
|
|
262
262
|
"value": 30,
|
|
263
263
|
},
|
|
264
|
-
|
|
264
|
+
{
|
|
265
265
|
"text": "45 minutes",
|
|
266
266
|
"value": 45,
|
|
267
267
|
},
|
|
268
|
-
|
|
268
|
+
{
|
|
269
269
|
"text": "1 hour",
|
|
270
270
|
"value": 60,
|
|
271
271
|
},
|
|
272
272
|
],
|
|
273
|
-
"routingTypes":
|
|
273
|
+
"routingTypes": [
|
|
274
274
|
"PROFILE",
|
|
275
275
|
],
|
|
276
276
|
"selector": "DROPDOWN",
|
|
277
277
|
},
|
|
278
|
-
|
|
278
|
+
{
|
|
279
279
|
"applicable": [Function],
|
|
280
280
|
"default": 3.58,
|
|
281
281
|
"label": "Bicycle Speed",
|
|
282
282
|
"name": "bikeSpeed",
|
|
283
|
-
"options":
|
|
284
|
-
|
|
283
|
+
"options": [
|
|
284
|
+
{
|
|
285
285
|
"text": "6 MPH",
|
|
286
286
|
"value": 2.68,
|
|
287
287
|
},
|
|
288
|
-
|
|
288
|
+
{
|
|
289
289
|
"text": "8 MPH",
|
|
290
290
|
"value": 3.58,
|
|
291
291
|
},
|
|
292
|
-
|
|
292
|
+
{
|
|
293
293
|
"text": "10 MPH",
|
|
294
294
|
"value": 4.47,
|
|
295
295
|
},
|
|
296
|
-
|
|
296
|
+
{
|
|
297
297
|
"text": "12 MPH",
|
|
298
298
|
"value": 5.36,
|
|
299
299
|
},
|
|
300
300
|
],
|
|
301
|
-
"routingTypes":
|
|
301
|
+
"routingTypes": [
|
|
302
302
|
"ITINERARY",
|
|
303
303
|
"PROFILE",
|
|
304
304
|
],
|
|
305
305
|
"selector": "DROPDOWN",
|
|
306
306
|
},
|
|
307
|
-
|
|
307
|
+
{
|
|
308
308
|
"applicable": [Function],
|
|
309
309
|
"default": 4828,
|
|
310
310
|
"itineraryRewrite": [Function],
|
|
311
311
|
"label": "Maximum E-scooter Distance",
|
|
312
312
|
"name": "maxEScooterDistance",
|
|
313
|
-
"options":
|
|
314
|
-
|
|
313
|
+
"options": [
|
|
314
|
+
{
|
|
315
315
|
"text": "1/4 mile",
|
|
316
316
|
"value": 402.3,
|
|
317
317
|
},
|
|
318
|
-
|
|
318
|
+
{
|
|
319
319
|
"text": "1/2 mile",
|
|
320
320
|
"value": 804.7,
|
|
321
321
|
},
|
|
322
|
-
|
|
322
|
+
{
|
|
323
323
|
"text": "3/4 mile",
|
|
324
324
|
"value": 1207,
|
|
325
325
|
},
|
|
326
|
-
|
|
326
|
+
{
|
|
327
327
|
"text": "1 mile",
|
|
328
328
|
"value": 1609,
|
|
329
329
|
},
|
|
330
|
-
|
|
330
|
+
{
|
|
331
331
|
"text": "2 miles",
|
|
332
332
|
"value": 3219,
|
|
333
333
|
},
|
|
334
|
-
|
|
334
|
+
{
|
|
335
335
|
"text": "3 miles",
|
|
336
336
|
"value": 4828,
|
|
337
337
|
},
|
|
338
|
-
|
|
338
|
+
{
|
|
339
339
|
"text": "5 miles",
|
|
340
340
|
"value": 8047,
|
|
341
341
|
},
|
|
342
|
-
|
|
342
|
+
{
|
|
343
343
|
"text": "10 miles",
|
|
344
344
|
"value": 16093,
|
|
345
345
|
},
|
|
346
|
-
|
|
346
|
+
{
|
|
347
347
|
"text": "20 miles",
|
|
348
348
|
"value": 32187,
|
|
349
349
|
},
|
|
350
|
-
|
|
350
|
+
{
|
|
351
351
|
"text": "30 miles",
|
|
352
352
|
"value": 48280,
|
|
353
353
|
},
|
|
354
354
|
],
|
|
355
|
-
"routingTypes":
|
|
355
|
+
"routingTypes": [
|
|
356
356
|
"ITINERARY",
|
|
357
357
|
],
|
|
358
358
|
"selector": "DROPDOWN",
|
|
359
359
|
},
|
|
360
|
-
|
|
360
|
+
{
|
|
361
361
|
"applicable": [Function],
|
|
362
362
|
"default": 250,
|
|
363
363
|
"itineraryRewrite": [Function],
|
|
364
364
|
"label": "E-scooter Power",
|
|
365
365
|
"name": "watts",
|
|
366
|
-
"options":
|
|
367
|
-
|
|
366
|
+
"options": [
|
|
367
|
+
{
|
|
368
368
|
"text": "Kid's hoverboard (6mph)",
|
|
369
369
|
"value": 125,
|
|
370
370
|
},
|
|
371
|
-
|
|
371
|
+
{
|
|
372
372
|
"text": "Entry-level scooter (11mph)",
|
|
373
373
|
"value": 250,
|
|
374
374
|
},
|
|
375
|
-
|
|
375
|
+
{
|
|
376
376
|
"text": "Robust E-scooter (18mph)",
|
|
377
377
|
"value": 500,
|
|
378
378
|
},
|
|
379
|
-
|
|
379
|
+
{
|
|
380
380
|
"text": "Powerful E-scooter (24mph)",
|
|
381
381
|
"value": 1500,
|
|
382
382
|
},
|
|
383
383
|
],
|
|
384
|
-
"routingTypes":
|
|
384
|
+
"routingTypes": [
|
|
385
385
|
"ITINERARY",
|
|
386
386
|
"PROFILE",
|
|
387
387
|
],
|
|
388
388
|
"selector": "DROPDOWN",
|
|
389
389
|
},
|
|
390
|
-
|
|
390
|
+
{
|
|
391
391
|
"default": false,
|
|
392
392
|
"name": "ignoreRealtimeUpdates",
|
|
393
|
-
"routingTypes":
|
|
393
|
+
"routingTypes": [
|
|
394
394
|
"ITINERARY",
|
|
395
395
|
],
|
|
396
396
|
},
|
|
397
|
-
|
|
397
|
+
{
|
|
398
398
|
"name": "companies",
|
|
399
|
-
"routingTypes":
|
|
399
|
+
"routingTypes": [
|
|
400
400
|
"ITINERARY",
|
|
401
401
|
],
|
|
402
402
|
},
|
|
403
|
-
|
|
403
|
+
{
|
|
404
404
|
"applicable": [Function],
|
|
405
405
|
"default": false,
|
|
406
406
|
"icon": <ForwardRef(Wheelchair) />,
|
|
407
407
|
"label": "Prefer Wheelchair Accessible Routes",
|
|
408
408
|
"name": "wheelchair",
|
|
409
|
-
"routingTypes":
|
|
409
|
+
"routingTypes": [
|
|
410
410
|
"ITINERARY",
|
|
411
411
|
"PROFILE",
|
|
412
412
|
],
|
|
413
413
|
"selector": "CHECKBOX",
|
|
414
414
|
},
|
|
415
|
-
|
|
416
|
-
"name": "
|
|
417
|
-
"routingTypes":
|
|
415
|
+
{
|
|
416
|
+
"name": "banned",
|
|
417
|
+
"routingTypes": [
|
|
418
418
|
"ITINERARY",
|
|
419
419
|
],
|
|
420
420
|
},
|
|
421
|
-
|
|
421
|
+
{
|
|
422
422
|
"default": 3,
|
|
423
423
|
"name": "numItineraries",
|
|
424
|
-
"routingTypes":
|
|
424
|
+
"routingTypes": [
|
|
425
425
|
"ITINERARY",
|
|
426
426
|
],
|
|
427
427
|
},
|
|
428
|
-
|
|
429
|
-
"default":
|
|
428
|
+
{
|
|
429
|
+
"default": [],
|
|
430
430
|
"itineraryRewrite": [Function],
|
|
431
431
|
"name": "intermediatePlaces",
|
|
432
|
-
"routingTypes":
|
|
432
|
+
"routingTypes": [
|
|
433
433
|
"ITINERARY",
|
|
434
434
|
],
|
|
435
435
|
},
|
|
436
|
-
|
|
436
|
+
{
|
|
437
437
|
"default": 900,
|
|
438
438
|
"name": "otherThanPreferredRoutesPenalty",
|
|
439
|
-
"routingTypes":
|
|
439
|
+
"routingTypes": [
|
|
440
440
|
"ITINERARY",
|
|
441
441
|
],
|
|
442
442
|
},
|
|
443
|
-
|
|
444
|
-
"name": "
|
|
445
|
-
"routingTypes":
|
|
443
|
+
{
|
|
444
|
+
"name": "preferred",
|
|
445
|
+
"routingTypes": [
|
|
446
446
|
"ITINERARY",
|
|
447
447
|
],
|
|
448
448
|
},
|
|
449
|
-
|
|
449
|
+
{
|
|
450
450
|
"name": "maxPreTransitTime",
|
|
451
|
-
"routingTypes":
|
|
451
|
+
"routingTypes": [
|
|
452
452
|
"ITINERARY",
|
|
453
453
|
],
|
|
454
454
|
},
|
|
455
|
-
|
|
455
|
+
{
|
|
456
456
|
"name": "waitReluctance",
|
|
457
|
-
"routingTypes":
|
|
457
|
+
"routingTypes": [
|
|
458
458
|
"ITINERARY",
|
|
459
459
|
],
|
|
460
460
|
},
|
|
461
|
-
|
|
461
|
+
{
|
|
462
462
|
"name": "driveDistanceReluctance",
|
|
463
|
-
"routingTypes":
|
|
463
|
+
"routingTypes": [
|
|
464
464
|
"ITINERARY",
|
|
465
465
|
],
|
|
466
466
|
},
|
|
467
|
-
|
|
467
|
+
{
|
|
468
468
|
"name": "driveTimeReluctance",
|
|
469
|
-
"routingTypes":
|
|
469
|
+
"routingTypes": [
|
|
470
470
|
"ITINERARY",
|
|
471
471
|
],
|
|
472
472
|
},
|
|
473
|
-
|
|
473
|
+
{
|
|
474
474
|
"name": "waitAtBeginningFactor",
|
|
475
|
-
"routingTypes":
|
|
475
|
+
"routingTypes": [
|
|
476
476
|
"ITINERARY",
|
|
477
477
|
],
|
|
478
478
|
},
|
|
479
|
-
|
|
479
|
+
{
|
|
480
480
|
"name": "bikeSwitchTime",
|
|
481
|
-
"routingTypes":
|
|
481
|
+
"routingTypes": [
|
|
482
482
|
"ITINERARY",
|
|
483
483
|
],
|
|
484
484
|
},
|
|
485
|
-
|
|
485
|
+
{
|
|
486
486
|
"name": "bikeSwitchCost",
|
|
487
|
-
"routingTypes":
|
|
487
|
+
"routingTypes": [
|
|
488
488
|
"ITINERARY",
|
|
489
489
|
],
|
|
490
490
|
},
|
|
491
|
-
|
|
491
|
+
{
|
|
492
492
|
"name": "minTransferTime",
|
|
493
|
-
"routingTypes":
|
|
493
|
+
"routingTypes": [
|
|
494
494
|
"ITINERARY",
|
|
495
495
|
],
|
|
496
496
|
},
|
|
497
|
-
|
|
497
|
+
{
|
|
498
498
|
"name": "preferredAgencies",
|
|
499
|
-
"routingTypes":
|
|
499
|
+
"routingTypes": [
|
|
500
500
|
"ITINERARY",
|
|
501
501
|
],
|
|
502
502
|
},
|
|
503
|
-
|
|
503
|
+
{
|
|
504
504
|
"name": "unpreferredRoutes",
|
|
505
|
-
"routingTypes":
|
|
505
|
+
"routingTypes": [
|
|
506
506
|
"ITINERARY",
|
|
507
507
|
],
|
|
508
508
|
},
|
|
509
|
-
|
|
509
|
+
{
|
|
510
510
|
"name": "unpreferredAgencies",
|
|
511
|
-
"routingTypes":
|
|
511
|
+
"routingTypes": [
|
|
512
512
|
"ITINERARY",
|
|
513
513
|
],
|
|
514
514
|
},
|
|
515
|
-
|
|
515
|
+
{
|
|
516
516
|
"name": "walkBoardCost",
|
|
517
|
-
"routingTypes":
|
|
517
|
+
"routingTypes": [
|
|
518
518
|
"ITINERARY",
|
|
519
519
|
],
|
|
520
520
|
},
|
|
521
|
-
|
|
521
|
+
{
|
|
522
522
|
"name": "bikeBoardCost",
|
|
523
|
-
"routingTypes":
|
|
523
|
+
"routingTypes": [
|
|
524
524
|
"ITINERARY",
|
|
525
525
|
],
|
|
526
526
|
},
|
|
527
|
-
|
|
527
|
+
{
|
|
528
528
|
"name": "whiteListedRoutes",
|
|
529
|
-
"routingTypes":
|
|
529
|
+
"routingTypes": [
|
|
530
530
|
"ITINERARY",
|
|
531
531
|
],
|
|
532
532
|
},
|
|
533
|
-
|
|
533
|
+
{
|
|
534
534
|
"name": "bannedAgencies",
|
|
535
|
-
"routingTypes":
|
|
535
|
+
"routingTypes": [
|
|
536
536
|
"ITINERARY",
|
|
537
537
|
],
|
|
538
538
|
},
|
|
539
|
-
|
|
539
|
+
{
|
|
540
540
|
"name": "whiteListedAgencies",
|
|
541
|
-
"routingTypes":
|
|
541
|
+
"routingTypes": [
|
|
542
542
|
"ITINERARY",
|
|
543
543
|
],
|
|
544
544
|
},
|
|
545
|
-
|
|
545
|
+
{
|
|
546
546
|
"name": "bannedTrips",
|
|
547
|
-
"routingTypes":
|
|
547
|
+
"routingTypes": [
|
|
548
548
|
"ITINERARY",
|
|
549
549
|
],
|
|
550
550
|
},
|
|
551
|
-
|
|
551
|
+
{
|
|
552
552
|
"name": "bannedStops",
|
|
553
|
-
"routingTypes":
|
|
553
|
+
"routingTypes": [
|
|
554
554
|
"ITINERARY",
|
|
555
555
|
],
|
|
556
556
|
},
|
|
557
|
-
|
|
557
|
+
{
|
|
558
558
|
"name": "bannedStopsHard",
|
|
559
|
-
"routingTypes":
|
|
559
|
+
"routingTypes": [
|
|
560
560
|
"ITINERARY",
|
|
561
561
|
],
|
|
562
562
|
},
|
|
563
|
-
|
|
563
|
+
{
|
|
564
564
|
"name": "transferPenalty",
|
|
565
|
-
"routingTypes":
|
|
565
|
+
"routingTypes": [
|
|
566
566
|
"ITINERARY",
|
|
567
567
|
],
|
|
568
568
|
},
|
|
569
|
-
|
|
569
|
+
{
|
|
570
570
|
"name": "nonpreferredTransferPenalty",
|
|
571
|
-
"routingTypes":
|
|
571
|
+
"routingTypes": [
|
|
572
572
|
"ITINERARY",
|
|
573
573
|
],
|
|
574
574
|
},
|
|
575
|
-
|
|
575
|
+
{
|
|
576
576
|
"name": "maxTransfers",
|
|
577
|
-
"routingTypes":
|
|
577
|
+
"routingTypes": [
|
|
578
578
|
"ITINERARY",
|
|
579
579
|
],
|
|
580
580
|
},
|
|
581
|
-
|
|
581
|
+
{
|
|
582
582
|
"name": "batch",
|
|
583
|
-
"routingTypes":
|
|
583
|
+
"routingTypes": [
|
|
584
584
|
"ITINERARY",
|
|
585
585
|
],
|
|
586
586
|
},
|
|
587
|
-
|
|
587
|
+
{
|
|
588
588
|
"name": "startTransitStopId",
|
|
589
|
-
"routingTypes":
|
|
589
|
+
"routingTypes": [
|
|
590
590
|
"ITINERARY",
|
|
591
591
|
],
|
|
592
592
|
},
|
|
593
|
-
|
|
593
|
+
{
|
|
594
594
|
"name": "startTransitTripId",
|
|
595
|
-
"routingTypes":
|
|
595
|
+
"routingTypes": [
|
|
596
596
|
"ITINERARY",
|
|
597
597
|
],
|
|
598
598
|
},
|
|
599
|
-
|
|
599
|
+
{
|
|
600
600
|
"name": "clampInitialWait",
|
|
601
|
-
"routingTypes":
|
|
601
|
+
"routingTypes": [
|
|
602
602
|
"ITINERARY",
|
|
603
603
|
],
|
|
604
604
|
},
|
|
605
|
-
|
|
605
|
+
{
|
|
606
606
|
"name": "reverseOptimizeOnTheFly",
|
|
607
|
-
"routingTypes":
|
|
607
|
+
"routingTypes": [
|
|
608
608
|
"ITINERARY",
|
|
609
609
|
],
|
|
610
610
|
},
|
|
611
|
-
|
|
611
|
+
{
|
|
612
612
|
"name": "boardSlack",
|
|
613
|
-
"routingTypes":
|
|
613
|
+
"routingTypes": [
|
|
614
614
|
"ITINERARY",
|
|
615
615
|
],
|
|
616
616
|
},
|
|
617
|
-
|
|
617
|
+
{
|
|
618
618
|
"name": "alightSlack",
|
|
619
|
-
"routingTypes":
|
|
619
|
+
"routingTypes": [
|
|
620
620
|
"ITINERARY",
|
|
621
621
|
],
|
|
622
622
|
},
|
|
623
|
-
|
|
623
|
+
{
|
|
624
624
|
"name": "locale",
|
|
625
|
-
"routingTypes":
|
|
625
|
+
"routingTypes": [
|
|
626
626
|
"ITINERARY",
|
|
627
627
|
],
|
|
628
628
|
},
|
|
629
|
-
|
|
629
|
+
{
|
|
630
630
|
"name": "disableRemainingWeightHeuristic",
|
|
631
|
-
"routingTypes":
|
|
631
|
+
"routingTypes": [
|
|
632
632
|
"ITINERARY",
|
|
633
633
|
],
|
|
634
634
|
},
|
|
635
|
-
|
|
635
|
+
{
|
|
636
636
|
"name": "flexFlagStopBufferSize",
|
|
637
|
-
"routingTypes":
|
|
637
|
+
"routingTypes": [
|
|
638
638
|
"ITINERARY",
|
|
639
639
|
],
|
|
640
640
|
},
|
|
641
|
-
|
|
641
|
+
{
|
|
642
642
|
"name": "flexUseReservationServices",
|
|
643
|
-
"routingTypes":
|
|
643
|
+
"routingTypes": [
|
|
644
644
|
"ITINERARY",
|
|
645
645
|
],
|
|
646
646
|
},
|
|
647
|
-
|
|
647
|
+
{
|
|
648
648
|
"name": "flexUseEligibilityServices",
|
|
649
|
-
"routingTypes":
|
|
649
|
+
"routingTypes": [
|
|
650
650
|
"ITINERARY",
|
|
651
651
|
],
|
|
652
652
|
},
|
|
653
|
-
|
|
653
|
+
{
|
|
654
654
|
"name": "flexIgnoreDrtAdvanceBookMin",
|
|
655
|
-
"routingTypes":
|
|
655
|
+
"routingTypes": [
|
|
656
656
|
"ITINERARY",
|
|
657
657
|
],
|
|
658
658
|
},
|
|
659
|
-
|
|
659
|
+
{
|
|
660
660
|
"name": "maxHours",
|
|
661
|
-
"routingTypes":
|
|
661
|
+
"routingTypes": [
|
|
662
662
|
"ITINERARY",
|
|
663
663
|
],
|
|
664
664
|
},
|
|
665
|
-
|
|
665
|
+
{
|
|
666
666
|
"name": "useRequestedDateTimeInMaxHours",
|
|
667
|
-
"routingTypes":
|
|
667
|
+
"routingTypes": [
|
|
668
668
|
"ITINERARY",
|
|
669
669
|
],
|
|
670
670
|
},
|
|
671
|
-
|
|
671
|
+
{
|
|
672
672
|
"name": "disableAlertFiltering",
|
|
673
|
-
"routingTypes":
|
|
673
|
+
"routingTypes": [
|
|
674
674
|
"ITINERARY",
|
|
675
675
|
],
|
|
676
676
|
},
|
|
677
|
-
|
|
677
|
+
{
|
|
678
678
|
"name": "geoidElevation",
|
|
679
|
-
"routingTypes":
|
|
679
|
+
"routingTypes": [
|
|
680
680
|
"ITINERARY",
|
|
681
681
|
],
|
|
682
682
|
},
|
|
683
|
-
|
|
683
|
+
{
|
|
684
684
|
"name": "invalidDateStrategy",
|
|
685
|
-
"routingTypes":
|
|
685
|
+
"routingTypes": [
|
|
686
686
|
"ITINERARY",
|
|
687
687
|
],
|
|
688
688
|
},
|
|
689
|
-
|
|
689
|
+
{
|
|
690
690
|
"name": "minTransitDistance",
|
|
691
|
-
"routingTypes":
|
|
691
|
+
"routingTypes": [
|
|
692
692
|
"ITINERARY",
|
|
693
693
|
],
|
|
694
694
|
},
|
|
695
|
-
|
|
695
|
+
{
|
|
696
696
|
"name": "searchTimeout",
|
|
697
|
-
"routingTypes":
|
|
697
|
+
"routingTypes": [
|
|
698
698
|
"ITINERARY",
|
|
699
699
|
],
|
|
700
700
|
},
|
|
701
|
-
|
|
701
|
+
{
|
|
702
702
|
"name": "pathComparator",
|
|
703
|
-
"routingTypes":
|
|
703
|
+
"routingTypes": [
|
|
704
704
|
"ITINERARY",
|
|
705
705
|
],
|
|
706
706
|
},
|
|
707
|
-
|
|
707
|
+
{
|
|
708
708
|
"name": "onlyTransitTrips",
|
|
709
|
-
"routingTypes":
|
|
709
|
+
"routingTypes": [
|
|
710
710
|
"ITINERARY",
|
|
711
711
|
],
|
|
712
712
|
},
|
|
713
|
-
|
|
713
|
+
{
|
|
714
714
|
"name": "minimumMicromobilitySpeed",
|
|
715
|
-
"routingTypes":
|
|
715
|
+
"routingTypes": [
|
|
716
716
|
"ITINERARY",
|
|
717
717
|
],
|
|
718
718
|
},
|