hvv-client 0.2.1 → 0.3.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/CHANGELOG.md +14 -0
- package/build/src/converters/routePoint.converter.js +4 -1
- package/build/src/converters/routePoint.converter.js.map +1 -1
- package/build/src/models/routePoint.d.ts +3 -0
- package/build/src/utils/lineColor.d.ts +2 -4
- package/build/src/utils/lineColor.js.map +1 -1
- package/build/src/validators/apiResponse/gtiCheckName.d.ts +88 -88
- package/build/src/validators/apiResponse/gtiDepartureCourse.d.ts +50 -50
- package/build/src/validators/gtiCourseElement.d.ts +34 -34
- package/build/src/validators/gtiCourseElement.js +2 -2
- package/build/src/validators/gtiCourseElement.js.map +1 -1
- package/build/src/validators/gtiSDName.d.ts +48 -48
- package/build/src/validators/gtiSDName.js +1 -1
- package/build/src/validators/gtiSDName.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.0](https://github.com/alexregier/hvv-client/compare/v0.2.2...v0.3.0) (2025-01-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* new type for getLineColor ([ad38bdb](https://github.com/alexregier/hvv-client/commit/ad38bdbf176b108d478316f6ffd09415caed7efe))
|
|
9
|
+
|
|
10
|
+
## [0.2.2](https://github.com/alexregier/hvv-client/compare/v0.2.1...v0.2.2) (2025-01-05)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* make depDelay and arrDelay optional in validator ([edfaf2b](https://github.com/alexregier/hvv-client/commit/edfaf2b32b40600bacc8ce7015c7eb0312c45d19))
|
|
16
|
+
|
|
3
17
|
## [0.2.1](https://github.com/alexregier/hvv-client/compare/v0.2.0...v0.2.1) (2025-01-04)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.routePointConverter = void 0;
|
|
4
4
|
const gtiSDName_1 = require("../validators/gtiSDName");
|
|
5
|
+
const coordinate_converter_1 = require("./coordinate.converter");
|
|
5
6
|
function getServiceImageUrl(serviceTypes) {
|
|
6
7
|
// TODO: check which are actually used
|
|
7
8
|
const supported = serviceTypes.filter(s => [
|
|
@@ -42,6 +43,7 @@ function stationToDto(gti) {
|
|
|
42
43
|
type: 'station',
|
|
43
44
|
services: gti.serviceTypes,
|
|
44
45
|
servicesIconUrl: getServiceImageUrl((_a = gti.serviceTypes) !== null && _a !== void 0 ? _a : []),
|
|
46
|
+
coordinate: coordinate_converter_1.coordinateConverter.toDto(gti.coordinate),
|
|
45
47
|
};
|
|
46
48
|
return dto;
|
|
47
49
|
}
|
|
@@ -52,10 +54,11 @@ function toDto(gti) {
|
|
|
52
54
|
}
|
|
53
55
|
case 'ADDRESS': {
|
|
54
56
|
const dto = {
|
|
57
|
+
type: 'address',
|
|
55
58
|
id: gti.id,
|
|
56
59
|
name: gti.combinedName,
|
|
57
60
|
city: gti.city,
|
|
58
|
-
|
|
61
|
+
coordinate: coordinate_converter_1.coordinateConverter.toDto(gti.coordinate),
|
|
59
62
|
};
|
|
60
63
|
return dto;
|
|
61
64
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routePoint.converter.js","sourceRoot":"","sources":["../../../src/converters/routePoint.converter.ts"],"names":[],"mappings":";;;AAMA,uDAKiC;
|
|
1
|
+
{"version":3,"file":"routePoint.converter.js","sourceRoot":"","sources":["../../../src/converters/routePoint.converter.ts"],"names":[],"mappings":";;;AAMA,uDAKiC;AACjC,iEAA2D;AAE3D,SAAS,kBAAkB,CAAC,YAAsB;IAChD,sCAAsC;IACtC,MAAM,SAAS,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CACxC;QACE,OAAO;QACP,GAAG;QACH,OAAO;QACP,GAAG;QACH,OAAO;QACP,GAAG;QACH,OAAO;QACP,GAAG;QACH,OAAO;QACP,OAAO;QACP,KAAK;QACL,QAAQ;QACR,MAAM;QACN,KAAK;QACL,MAAM;QACN,IAAI;QACJ,IAAI;QACJ,YAAY;QACZ,YAAY;QACZ,KAAK;QACL,KAAK;QACL,SAAS;KACV,CAAC,QAAQ,CAAC,CAAC,CAAC,CACd,CAAC;IAEF,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,8CAA8C,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,yBAAyB,CAAC;AACpG,CAAC;AAED,SAAS,YAAY,CAAC,GAAqB;;IACzC,MAAM,GAAG,GAAsB;QAC7B,EAAE,EAAE,GAAG,CAAC,EAAE;QACV,IAAI,EAAE,GAAG,CAAC,YAAY;QACtB,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,GAAG,CAAC,YAAY;QAC1B,eAAe,EAAE,kBAAkB,CAAC,MAAA,GAAG,CAAC,YAAY,mCAAI,EAAE,CAAC;QAC3D,UAAU,EAAE,0CAAmB,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC;KACtD,CAAC;IACF,OAAO,GAAG,CAAC;AACb,CAAC;AAED,SAAS,KAAK,CAAC,GAAc;IAC3B,QAAQ,GAAG,CAAC,IAAI,EAAE,CAAC;QACjB,KAAK,SAAS,CAAC,CAAC,CAAC;YACf,OAAO,YAAY,CAAC,GAAG,CAAC,CAAC;QAC3B,CAAC;QACD,KAAK,SAAS,CAAC,CAAC,CAAC;YACf,MAAM,GAAG,GAAsB;gBAC7B,IAAI,EAAE,SAAS;gBACf,EAAE,EAAE,GAAG,CAAC,EAAE;gBACV,IAAI,EAAE,GAAG,CAAC,YAAY;gBACtB,IAAI,EAAE,GAAG,CAAC,IAAI;gBACd,UAAU,EAAE,0CAAmB,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC;aACtD,CAAC;YACF,OAAO,GAAG,CAAC;QACb,CAAC;QACD;YACE,MAAM,IAAI,KAAK,CAAC,6BAA6B,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;IAC7D,CAAC;AACH,CAAC;AAEY,QAAA,mBAAmB,GAAG;IACjC,YAAY;IACZ,KAAK;IAEL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsDE;IAEF,QAAQ,CAAC,GAAyC;QAChD,QAAQ,GAAG,CAAC,IAAI,EAAE,CAAC;YACjB,KAAK,SAAS;gBACZ,OAAO;oBACL,EAAE,EAAE,GAAG,CAAC,EAAE;oBACV,IAAI,EAAE,GAAG,CAAC,IAAI;oBACd,IAAI,EAAE,GAAG,CAAC,IAAI;oBACd,IAAI,EAAE,qBAAS,CAAC,OAAO;iBACxB,CAAC;YACJ,KAAK,SAAS;gBACZ,OAAO;oBACL,EAAE,EAAE,GAAG,CAAC,EAAE;oBACV,IAAI,EAAE,GAAG,CAAC,IAAI;oBACd,IAAI,EAAE,GAAG,CAAC,IAAI;oBACd,IAAI,EAAE,qBAAS,CAAC,OAAO;iBACxB,CAAC;QACN,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Service } from './service';
|
|
2
|
+
import { Coordinate } from './coordinate';
|
|
2
3
|
export type RoutePointStationSimple = {
|
|
3
4
|
type: 'station';
|
|
4
5
|
id: string;
|
|
@@ -12,12 +13,14 @@ export type RoutePointStation = {
|
|
|
12
13
|
city: string;
|
|
13
14
|
services: Service[];
|
|
14
15
|
servicesIconUrl: string | null;
|
|
16
|
+
coordinate: Coordinate;
|
|
15
17
|
};
|
|
16
18
|
export type RoutePointAddress = {
|
|
17
19
|
type: 'address';
|
|
18
20
|
id: string;
|
|
19
21
|
name: string;
|
|
20
22
|
city: string;
|
|
23
|
+
coordinate: Coordinate;
|
|
21
24
|
};
|
|
22
25
|
/**
|
|
23
26
|
* Representing a single point in a route, e.g. a station or an address.
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
+
import { LinePublicTransport } from '../models';
|
|
1
2
|
/**
|
|
2
3
|
* Returns the color of a line.
|
|
3
4
|
*
|
|
4
5
|
* Returns `null` if the requested line is invalid.
|
|
5
6
|
*/
|
|
6
|
-
export declare function getLineColor(line:
|
|
7
|
-
type: 'bus' | 'train' | 'ship';
|
|
8
|
-
name: string;
|
|
9
|
-
}): string;
|
|
7
|
+
export declare function getLineColor(line: Pick<LinePublicTransport, 'type' | 'name'>): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lineColor.js","sourceRoot":"","sources":["../../../src/utils/lineColor.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"lineColor.js","sourceRoot":"","sources":["../../../src/utils/lineColor.ts"],"names":[],"mappings":";;AA8BA,oCAsBC;AAlDD,MAAM,YAAY,GAA2B;IAC3C,GAAG,EAAE,SAAS;IACd,SAAS,EAAE,SAAS;IACpB,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,SAAS;IAEf,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IAEb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,MAAM;IACV,EAAE,EAAE,SAAS;IAEb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;CACd,CAAC;AAEF;;;;GAIG;AACH,SAAgB,YAAY,CAC1B,IAAgD;;IAEhD,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,KAAK,CAAC,CAAC,CAAC;YACX,IAAI,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC9B,OAAO,YAAY,CAAC,SAAS,CAAC;YAChC,CAAC;YACD,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;gBACxD,OAAO,YAAY,CAAC,QAAQ,CAAC;YAC/B,CAAC;YACD,OAAO,YAAY,CAAC,GAAG,CAAC;QAC1B,CAAC;QAED,KAAK,OAAO,CAAC,CAAC,CAAC;YACb,OAAO,MAAA,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,mCAAI,YAAY,CAAC,KAAK,CAAC;QACvD,CAAC;QAED,KAAK,MAAM,CAAC,CAAC,CAAC;YACZ,OAAO,YAAY,CAAC,IAAI,CAAC;QAC3B,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -4,7 +4,7 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
4
4
|
combinedName: z.ZodString;
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
city: z.ZodString;
|
|
7
|
-
coordinate: z.
|
|
7
|
+
coordinate: z.ZodObject<{
|
|
8
8
|
x: z.ZodNumber;
|
|
9
9
|
y: z.ZodNumber;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13,7 +13,7 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
13
13
|
}, {
|
|
14
14
|
x: number;
|
|
15
15
|
y: number;
|
|
16
|
-
}
|
|
16
|
+
}>;
|
|
17
17
|
layer: z.ZodOptional<z.ZodNumber>;
|
|
18
18
|
tariffDetails: z.ZodOptional<z.ZodObject<{
|
|
19
19
|
innerCity: z.ZodBoolean;
|
|
@@ -69,11 +69,11 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
69
69
|
combinedName: string;
|
|
70
70
|
serviceTypes: ("a" | "s" | "u" | "r" | "train" | "bus" | "faehre" | "ship" | "ast" | "fbus")[];
|
|
71
71
|
city: string;
|
|
72
|
-
|
|
73
|
-
coordinate?: {
|
|
72
|
+
coordinate: {
|
|
74
73
|
x: number;
|
|
75
74
|
y: number;
|
|
76
|
-
}
|
|
75
|
+
};
|
|
76
|
+
address?: string | undefined;
|
|
77
77
|
layer?: number | undefined;
|
|
78
78
|
tariffDetails?: {
|
|
79
79
|
innerCity: boolean;
|
|
@@ -98,11 +98,11 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
98
98
|
combinedName: string;
|
|
99
99
|
serviceTypes: ("a" | "s" | "u" | "r" | "train" | "bus" | "faehre" | "ship" | "ast" | "fbus")[];
|
|
100
100
|
city: string;
|
|
101
|
-
|
|
102
|
-
coordinate?: {
|
|
101
|
+
coordinate: {
|
|
103
102
|
x: number;
|
|
104
103
|
y: number;
|
|
105
|
-
}
|
|
104
|
+
};
|
|
105
|
+
address?: string | undefined;
|
|
106
106
|
layer?: number | undefined;
|
|
107
107
|
tariffDetails?: {
|
|
108
108
|
innerCity: boolean;
|
|
@@ -124,7 +124,7 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
124
124
|
combinedName: z.ZodString;
|
|
125
125
|
name: z.ZodString;
|
|
126
126
|
city: z.ZodString;
|
|
127
|
-
coordinate: z.
|
|
127
|
+
coordinate: z.ZodObject<{
|
|
128
128
|
x: z.ZodNumber;
|
|
129
129
|
y: z.ZodNumber;
|
|
130
130
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -133,7 +133,7 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
133
133
|
}, {
|
|
134
134
|
x: number;
|
|
135
135
|
y: number;
|
|
136
|
-
}
|
|
136
|
+
}>;
|
|
137
137
|
layer: z.ZodOptional<z.ZodNumber>;
|
|
138
138
|
tariffDetails: z.ZodOptional<z.ZodObject<{
|
|
139
139
|
innerCity: z.ZodBoolean;
|
|
@@ -185,11 +185,11 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
185
185
|
name: string;
|
|
186
186
|
combinedName: string;
|
|
187
187
|
city: string;
|
|
188
|
-
|
|
189
|
-
coordinate?: {
|
|
188
|
+
coordinate: {
|
|
190
189
|
x: number;
|
|
191
190
|
y: number;
|
|
192
|
-
}
|
|
191
|
+
};
|
|
192
|
+
address?: string | undefined;
|
|
193
193
|
layer?: number | undefined;
|
|
194
194
|
tariffDetails?: {
|
|
195
195
|
innerCity: boolean;
|
|
@@ -211,11 +211,11 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
211
211
|
name: string;
|
|
212
212
|
combinedName: string;
|
|
213
213
|
city: string;
|
|
214
|
-
|
|
215
|
-
coordinate?: {
|
|
214
|
+
coordinate: {
|
|
216
215
|
x: number;
|
|
217
216
|
y: number;
|
|
218
|
-
}
|
|
217
|
+
};
|
|
218
|
+
address?: string | undefined;
|
|
219
219
|
layer?: number | undefined;
|
|
220
220
|
tariffDetails?: {
|
|
221
221
|
innerCity: boolean;
|
|
@@ -235,7 +235,7 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
235
235
|
combinedName: z.ZodString;
|
|
236
236
|
name: z.ZodString;
|
|
237
237
|
city: z.ZodString;
|
|
238
|
-
coordinate: z.
|
|
238
|
+
coordinate: z.ZodObject<{
|
|
239
239
|
x: z.ZodNumber;
|
|
240
240
|
y: z.ZodNumber;
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -244,7 +244,7 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
244
244
|
}, {
|
|
245
245
|
x: number;
|
|
246
246
|
y: number;
|
|
247
|
-
}
|
|
247
|
+
}>;
|
|
248
248
|
layer: z.ZodOptional<z.ZodNumber>;
|
|
249
249
|
tariffDetails: z.ZodOptional<z.ZodObject<{
|
|
250
250
|
innerCity: z.ZodBoolean;
|
|
@@ -294,11 +294,11 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
294
294
|
name: string;
|
|
295
295
|
combinedName: string;
|
|
296
296
|
city: string;
|
|
297
|
-
|
|
298
|
-
coordinate?: {
|
|
297
|
+
coordinate: {
|
|
299
298
|
x: number;
|
|
300
299
|
y: number;
|
|
301
|
-
}
|
|
300
|
+
};
|
|
301
|
+
address?: string | undefined;
|
|
302
302
|
layer?: number | undefined;
|
|
303
303
|
tariffDetails?: {
|
|
304
304
|
innerCity: boolean;
|
|
@@ -319,11 +319,11 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
319
319
|
name: string;
|
|
320
320
|
combinedName: string;
|
|
321
321
|
city: string;
|
|
322
|
-
|
|
323
|
-
coordinate?: {
|
|
322
|
+
coordinate: {
|
|
324
323
|
x: number;
|
|
325
324
|
y: number;
|
|
326
|
-
}
|
|
325
|
+
};
|
|
326
|
+
address?: string | undefined;
|
|
327
327
|
layer?: number | undefined;
|
|
328
328
|
tariffDetails?: {
|
|
329
329
|
innerCity: boolean;
|
|
@@ -348,11 +348,11 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
348
348
|
combinedName: string;
|
|
349
349
|
serviceTypes: ("a" | "s" | "u" | "r" | "train" | "bus" | "faehre" | "ship" | "ast" | "fbus")[];
|
|
350
350
|
city: string;
|
|
351
|
-
|
|
352
|
-
coordinate?: {
|
|
351
|
+
coordinate: {
|
|
353
352
|
x: number;
|
|
354
353
|
y: number;
|
|
355
|
-
}
|
|
354
|
+
};
|
|
355
|
+
address?: string | undefined;
|
|
356
356
|
layer?: number | undefined;
|
|
357
357
|
tariffDetails?: {
|
|
358
358
|
innerCity: boolean;
|
|
@@ -376,11 +376,11 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
376
376
|
name: string;
|
|
377
377
|
combinedName: string;
|
|
378
378
|
city: string;
|
|
379
|
-
|
|
380
|
-
coordinate?: {
|
|
379
|
+
coordinate: {
|
|
381
380
|
x: number;
|
|
382
381
|
y: number;
|
|
383
|
-
}
|
|
382
|
+
};
|
|
383
|
+
address?: string | undefined;
|
|
384
384
|
layer?: number | undefined;
|
|
385
385
|
tariffDetails?: {
|
|
386
386
|
innerCity: boolean;
|
|
@@ -401,11 +401,11 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
401
401
|
name: string;
|
|
402
402
|
combinedName: string;
|
|
403
403
|
city: string;
|
|
404
|
-
|
|
405
|
-
coordinate?: {
|
|
404
|
+
coordinate: {
|
|
406
405
|
x: number;
|
|
407
406
|
y: number;
|
|
408
|
-
}
|
|
407
|
+
};
|
|
408
|
+
address?: string | undefined;
|
|
409
409
|
layer?: number | undefined;
|
|
410
410
|
tariffDetails?: {
|
|
411
411
|
innerCity: boolean;
|
|
@@ -430,11 +430,11 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
430
430
|
combinedName: string;
|
|
431
431
|
serviceTypes: ("a" | "s" | "u" | "r" | "train" | "bus" | "faehre" | "ship" | "ast" | "fbus")[];
|
|
432
432
|
city: string;
|
|
433
|
-
|
|
434
|
-
coordinate?: {
|
|
433
|
+
coordinate: {
|
|
435
434
|
x: number;
|
|
436
435
|
y: number;
|
|
437
|
-
}
|
|
436
|
+
};
|
|
437
|
+
address?: string | undefined;
|
|
438
438
|
layer?: number | undefined;
|
|
439
439
|
tariffDetails?: {
|
|
440
440
|
innerCity: boolean;
|
|
@@ -458,11 +458,11 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
458
458
|
name: string;
|
|
459
459
|
combinedName: string;
|
|
460
460
|
city: string;
|
|
461
|
-
|
|
462
|
-
coordinate?: {
|
|
461
|
+
coordinate: {
|
|
463
462
|
x: number;
|
|
464
463
|
y: number;
|
|
465
|
-
}
|
|
464
|
+
};
|
|
465
|
+
address?: string | undefined;
|
|
466
466
|
layer?: number | undefined;
|
|
467
467
|
tariffDetails?: {
|
|
468
468
|
innerCity: boolean;
|
|
@@ -483,11 +483,11 @@ export declare const gtiCheckNameResponseSchema: z.ZodObject<{
|
|
|
483
483
|
name: string;
|
|
484
484
|
combinedName: string;
|
|
485
485
|
city: string;
|
|
486
|
-
|
|
487
|
-
coordinate?: {
|
|
486
|
+
coordinate: {
|
|
488
487
|
x: number;
|
|
489
488
|
y: number;
|
|
490
|
-
}
|
|
489
|
+
};
|
|
490
|
+
address?: string | undefined;
|
|
491
491
|
layer?: number | undefined;
|
|
492
492
|
tariffDetails?: {
|
|
493
493
|
innerCity: boolean;
|
|
@@ -510,7 +510,7 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
510
510
|
combinedName: z.ZodString;
|
|
511
511
|
name: z.ZodString;
|
|
512
512
|
city: z.ZodString;
|
|
513
|
-
coordinate: z.
|
|
513
|
+
coordinate: z.ZodObject<{
|
|
514
514
|
x: z.ZodNumber;
|
|
515
515
|
y: z.ZodNumber;
|
|
516
516
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -519,7 +519,7 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
519
519
|
}, {
|
|
520
520
|
x: number;
|
|
521
521
|
y: number;
|
|
522
|
-
}
|
|
522
|
+
}>;
|
|
523
523
|
layer: z.ZodOptional<z.ZodNumber>;
|
|
524
524
|
tariffDetails: z.ZodOptional<z.ZodObject<{
|
|
525
525
|
innerCity: z.ZodBoolean;
|
|
@@ -579,12 +579,12 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
579
579
|
combinedName: string;
|
|
580
580
|
serviceTypes: ("a" | "s" | "u" | "r" | "train" | "bus" | "faehre" | "ship" | "ast" | "fbus")[];
|
|
581
581
|
city: string;
|
|
582
|
-
|
|
583
|
-
address?: string | undefined;
|
|
584
|
-
coordinate?: {
|
|
582
|
+
coordinate: {
|
|
585
583
|
x: number;
|
|
586
584
|
y: number;
|
|
587
|
-
}
|
|
585
|
+
};
|
|
586
|
+
distance: number;
|
|
587
|
+
address?: string | undefined;
|
|
588
588
|
layer?: number | undefined;
|
|
589
589
|
tariffDetails?: {
|
|
590
590
|
innerCity: boolean;
|
|
@@ -610,12 +610,12 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
610
610
|
combinedName: string;
|
|
611
611
|
serviceTypes: ("a" | "s" | "u" | "r" | "train" | "bus" | "faehre" | "ship" | "ast" | "fbus")[];
|
|
612
612
|
city: string;
|
|
613
|
-
|
|
614
|
-
address?: string | undefined;
|
|
615
|
-
coordinate?: {
|
|
613
|
+
coordinate: {
|
|
616
614
|
x: number;
|
|
617
615
|
y: number;
|
|
618
|
-
}
|
|
616
|
+
};
|
|
617
|
+
distance: number;
|
|
618
|
+
address?: string | undefined;
|
|
619
619
|
layer?: number | undefined;
|
|
620
620
|
tariffDetails?: {
|
|
621
621
|
innerCity: boolean;
|
|
@@ -637,7 +637,7 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
637
637
|
combinedName: z.ZodString;
|
|
638
638
|
name: z.ZodString;
|
|
639
639
|
city: z.ZodString;
|
|
640
|
-
coordinate: z.
|
|
640
|
+
coordinate: z.ZodObject<{
|
|
641
641
|
x: z.ZodNumber;
|
|
642
642
|
y: z.ZodNumber;
|
|
643
643
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -646,7 +646,7 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
646
646
|
}, {
|
|
647
647
|
x: number;
|
|
648
648
|
y: number;
|
|
649
|
-
}
|
|
649
|
+
}>;
|
|
650
650
|
layer: z.ZodOptional<z.ZodNumber>;
|
|
651
651
|
tariffDetails: z.ZodOptional<z.ZodObject<{
|
|
652
652
|
innerCity: z.ZodBoolean;
|
|
@@ -698,11 +698,11 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
698
698
|
name: string;
|
|
699
699
|
combinedName: string;
|
|
700
700
|
city: string;
|
|
701
|
-
|
|
702
|
-
coordinate?: {
|
|
701
|
+
coordinate: {
|
|
703
702
|
x: number;
|
|
704
703
|
y: number;
|
|
705
|
-
}
|
|
704
|
+
};
|
|
705
|
+
address?: string | undefined;
|
|
706
706
|
layer?: number | undefined;
|
|
707
707
|
tariffDetails?: {
|
|
708
708
|
innerCity: boolean;
|
|
@@ -724,11 +724,11 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
724
724
|
name: string;
|
|
725
725
|
combinedName: string;
|
|
726
726
|
city: string;
|
|
727
|
-
|
|
728
|
-
coordinate?: {
|
|
727
|
+
coordinate: {
|
|
729
728
|
x: number;
|
|
730
729
|
y: number;
|
|
731
|
-
}
|
|
730
|
+
};
|
|
731
|
+
address?: string | undefined;
|
|
732
732
|
layer?: number | undefined;
|
|
733
733
|
tariffDetails?: {
|
|
734
734
|
innerCity: boolean;
|
|
@@ -748,7 +748,7 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
748
748
|
combinedName: z.ZodString;
|
|
749
749
|
name: z.ZodString;
|
|
750
750
|
city: z.ZodString;
|
|
751
|
-
coordinate: z.
|
|
751
|
+
coordinate: z.ZodObject<{
|
|
752
752
|
x: z.ZodNumber;
|
|
753
753
|
y: z.ZodNumber;
|
|
754
754
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -757,7 +757,7 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
757
757
|
}, {
|
|
758
758
|
x: number;
|
|
759
759
|
y: number;
|
|
760
|
-
}
|
|
760
|
+
}>;
|
|
761
761
|
layer: z.ZodOptional<z.ZodNumber>;
|
|
762
762
|
tariffDetails: z.ZodOptional<z.ZodObject<{
|
|
763
763
|
innerCity: z.ZodBoolean;
|
|
@@ -807,11 +807,11 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
807
807
|
name: string;
|
|
808
808
|
combinedName: string;
|
|
809
809
|
city: string;
|
|
810
|
-
|
|
811
|
-
coordinate?: {
|
|
810
|
+
coordinate: {
|
|
812
811
|
x: number;
|
|
813
812
|
y: number;
|
|
814
|
-
}
|
|
813
|
+
};
|
|
814
|
+
address?: string | undefined;
|
|
815
815
|
layer?: number | undefined;
|
|
816
816
|
tariffDetails?: {
|
|
817
817
|
innerCity: boolean;
|
|
@@ -832,11 +832,11 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
832
832
|
name: string;
|
|
833
833
|
combinedName: string;
|
|
834
834
|
city: string;
|
|
835
|
-
|
|
836
|
-
coordinate?: {
|
|
835
|
+
coordinate: {
|
|
837
836
|
x: number;
|
|
838
837
|
y: number;
|
|
839
|
-
}
|
|
838
|
+
};
|
|
839
|
+
address?: string | undefined;
|
|
840
840
|
layer?: number | undefined;
|
|
841
841
|
tariffDetails?: {
|
|
842
842
|
innerCity: boolean;
|
|
@@ -860,11 +860,11 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
860
860
|
name: string;
|
|
861
861
|
combinedName: string;
|
|
862
862
|
city: string;
|
|
863
|
-
|
|
864
|
-
coordinate?: {
|
|
863
|
+
coordinate: {
|
|
865
864
|
x: number;
|
|
866
865
|
y: number;
|
|
867
|
-
}
|
|
866
|
+
};
|
|
867
|
+
address?: string | undefined;
|
|
868
868
|
layer?: number | undefined;
|
|
869
869
|
tariffDetails?: {
|
|
870
870
|
innerCity: boolean;
|
|
@@ -885,11 +885,11 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
885
885
|
name: string;
|
|
886
886
|
combinedName: string;
|
|
887
887
|
city: string;
|
|
888
|
-
|
|
889
|
-
coordinate?: {
|
|
888
|
+
coordinate: {
|
|
890
889
|
x: number;
|
|
891
890
|
y: number;
|
|
892
|
-
}
|
|
891
|
+
};
|
|
892
|
+
address?: string | undefined;
|
|
893
893
|
layer?: number | undefined;
|
|
894
894
|
tariffDetails?: {
|
|
895
895
|
innerCity: boolean;
|
|
@@ -913,12 +913,12 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
913
913
|
combinedName: string;
|
|
914
914
|
serviceTypes: ("a" | "s" | "u" | "r" | "train" | "bus" | "faehre" | "ship" | "ast" | "fbus")[];
|
|
915
915
|
city: string;
|
|
916
|
-
|
|
917
|
-
address?: string | undefined;
|
|
918
|
-
coordinate?: {
|
|
916
|
+
coordinate: {
|
|
919
917
|
x: number;
|
|
920
918
|
y: number;
|
|
921
|
-
}
|
|
919
|
+
};
|
|
920
|
+
distance: number;
|
|
921
|
+
address?: string | undefined;
|
|
922
922
|
layer?: number | undefined;
|
|
923
923
|
tariffDetails?: {
|
|
924
924
|
innerCity: boolean;
|
|
@@ -944,11 +944,11 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
944
944
|
name: string;
|
|
945
945
|
combinedName: string;
|
|
946
946
|
city: string;
|
|
947
|
-
|
|
948
|
-
coordinate?: {
|
|
947
|
+
coordinate: {
|
|
949
948
|
x: number;
|
|
950
949
|
y: number;
|
|
951
|
-
}
|
|
950
|
+
};
|
|
951
|
+
address?: string | undefined;
|
|
952
952
|
layer?: number | undefined;
|
|
953
953
|
tariffDetails?: {
|
|
954
954
|
innerCity: boolean;
|
|
@@ -969,11 +969,11 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
969
969
|
name: string;
|
|
970
970
|
combinedName: string;
|
|
971
971
|
city: string;
|
|
972
|
-
|
|
973
|
-
coordinate?: {
|
|
972
|
+
coordinate: {
|
|
974
973
|
x: number;
|
|
975
974
|
y: number;
|
|
976
|
-
}
|
|
975
|
+
};
|
|
976
|
+
address?: string | undefined;
|
|
977
977
|
layer?: number | undefined;
|
|
978
978
|
tariffDetails?: {
|
|
979
979
|
innerCity: boolean;
|
|
@@ -997,12 +997,12 @@ export declare const gtiCheckNameCoordinatesResponseSchema: z.ZodObject<{
|
|
|
997
997
|
combinedName: string;
|
|
998
998
|
serviceTypes: ("a" | "s" | "u" | "r" | "train" | "bus" | "faehre" | "ship" | "ast" | "fbus")[];
|
|
999
999
|
city: string;
|
|
1000
|
-
|
|
1001
|
-
address?: string | undefined;
|
|
1002
|
-
coordinate?: {
|
|
1000
|
+
coordinate: {
|
|
1003
1001
|
x: number;
|
|
1004
1002
|
y: number;
|
|
1005
|
-
}
|
|
1003
|
+
};
|
|
1004
|
+
distance: number;
|
|
1005
|
+
address?: string | undefined;
|
|
1006
1006
|
layer?: number | undefined;
|
|
1007
1007
|
tariffDetails?: {
|
|
1008
1008
|
innerCity: boolean;
|