@motis-project/motis-client 2.0.98 → 2.5.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/dist/chunk-35GMB6DP.js +1232 -0
- package/dist/chunk-5QEG6DOF.js +1247 -0
- package/dist/chunk-7PIP6KRC.js +1300 -0
- package/dist/chunk-7UKCGCXT.js +1247 -0
- package/dist/chunk-EM7IAOVY.js +91 -0
- package/dist/chunk-IHFNO6R3.js +62 -62
- package/dist/chunk-RM52T2X5.js +1056 -917
- package/dist/chunk-ZSHHWD3H.js +91 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -2
- package/dist/schemas.gen.d.ts +89 -15
- package/dist/schemas.gen.js +7 -1
- package/dist/services.gen.d.ts +11 -11
- package/dist/services.gen.js +1 -1
- package/dist/types.gen.d.ts +171 -27
- package/package.json +1 -1
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
// openapi/services.gen.ts
|
|
2
|
+
import { createClient, createConfig } from "@hey-api/client-fetch";
|
|
3
|
+
var client = createClient(createConfig());
|
|
4
|
+
var plan = (options) => {
|
|
5
|
+
return (options?.client ?? client).get({
|
|
6
|
+
...options,
|
|
7
|
+
url: "/api/v4/plan"
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
var oneToMany = (options) => {
|
|
11
|
+
return (options?.client ?? client).get({
|
|
12
|
+
...options,
|
|
13
|
+
url: "/api/v1/one-to-many"
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
var oneToAll = (options) => {
|
|
17
|
+
return (options?.client ?? client).get({
|
|
18
|
+
...options,
|
|
19
|
+
url: "/api/v1/one-to-all"
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
var reverseGeocode = (options) => {
|
|
23
|
+
return (options?.client ?? client).get({
|
|
24
|
+
...options,
|
|
25
|
+
url: "/api/v1/reverse-geocode"
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
var geocode = (options) => {
|
|
29
|
+
return (options?.client ?? client).get({
|
|
30
|
+
...options,
|
|
31
|
+
url: "/api/v1/geocode"
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
var trip = (options) => {
|
|
35
|
+
return (options?.client ?? client).get({
|
|
36
|
+
...options,
|
|
37
|
+
url: "/api/v4/trip"
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
var stoptimes = (options) => {
|
|
41
|
+
return (options?.client ?? client).get({
|
|
42
|
+
...options,
|
|
43
|
+
url: "/api/v4/stoptimes"
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
var trips = (options) => {
|
|
47
|
+
return (options?.client ?? client).get({
|
|
48
|
+
...options,
|
|
49
|
+
url: "/api/v4/map/trips"
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
var initial = (options) => {
|
|
53
|
+
return (options?.client ?? client).get({
|
|
54
|
+
...options,
|
|
55
|
+
url: "/api/v1/map/initial"
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
var stops = (options) => {
|
|
59
|
+
return (options?.client ?? client).get({
|
|
60
|
+
...options,
|
|
61
|
+
url: "/api/v1/map/stops"
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
var levels = (options) => {
|
|
65
|
+
return (options?.client ?? client).get({
|
|
66
|
+
...options,
|
|
67
|
+
url: "/api/v1/map/levels"
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
var transfers = (options) => {
|
|
71
|
+
return (options?.client ?? client).get({
|
|
72
|
+
...options,
|
|
73
|
+
url: "/api/debug/transfers"
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
export {
|
|
78
|
+
client,
|
|
79
|
+
plan,
|
|
80
|
+
oneToMany,
|
|
81
|
+
oneToAll,
|
|
82
|
+
reverseGeocode,
|
|
83
|
+
geocode,
|
|
84
|
+
trip,
|
|
85
|
+
stoptimes,
|
|
86
|
+
trips,
|
|
87
|
+
initial,
|
|
88
|
+
stops,
|
|
89
|
+
levels,
|
|
90
|
+
transfers
|
|
91
|
+
};
|
package/dist/chunk-IHFNO6R3.js
CHANGED
|
@@ -1,91 +1,91 @@
|
|
|
1
1
|
// openapi/services.gen.ts
|
|
2
|
-
import { createClient, createConfig } from
|
|
2
|
+
import { createClient, createConfig } from '@hey-api/client-fetch';
|
|
3
3
|
var client = createClient(createConfig());
|
|
4
4
|
var plan = (options) => {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
return (options?.client ?? client).get({
|
|
6
|
+
...options,
|
|
7
|
+
url: '/api/v3/plan'
|
|
8
|
+
});
|
|
9
9
|
};
|
|
10
10
|
var oneToMany = (options) => {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
return (options?.client ?? client).get({
|
|
12
|
+
...options,
|
|
13
|
+
url: '/api/v1/one-to-many'
|
|
14
|
+
});
|
|
15
15
|
};
|
|
16
16
|
var oneToAll = (options) => {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
return (options?.client ?? client).get({
|
|
18
|
+
...options,
|
|
19
|
+
url: '/api/v1/one-to-all'
|
|
20
|
+
});
|
|
21
21
|
};
|
|
22
22
|
var reverseGeocode = (options) => {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
return (options?.client ?? client).get({
|
|
24
|
+
...options,
|
|
25
|
+
url: '/api/v1/reverse-geocode'
|
|
26
|
+
});
|
|
27
27
|
};
|
|
28
28
|
var geocode = (options) => {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
return (options?.client ?? client).get({
|
|
30
|
+
...options,
|
|
31
|
+
url: '/api/v1/geocode'
|
|
32
|
+
});
|
|
33
33
|
};
|
|
34
34
|
var trip = (options) => {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
return (options?.client ?? client).get({
|
|
36
|
+
...options,
|
|
37
|
+
url: '/api/v2/trip'
|
|
38
|
+
});
|
|
39
39
|
};
|
|
40
40
|
var stoptimes = (options) => {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
return (options?.client ?? client).get({
|
|
42
|
+
...options,
|
|
43
|
+
url: '/api/v1/stoptimes'
|
|
44
|
+
});
|
|
45
45
|
};
|
|
46
46
|
var trips = (options) => {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
return (options?.client ?? client).get({
|
|
48
|
+
...options,
|
|
49
|
+
url: '/api/v1/map/trips'
|
|
50
|
+
});
|
|
51
51
|
};
|
|
52
52
|
var initial = (options) => {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
return (options?.client ?? client).get({
|
|
54
|
+
...options,
|
|
55
|
+
url: '/api/v1/map/initial'
|
|
56
|
+
});
|
|
57
57
|
};
|
|
58
58
|
var stops = (options) => {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
return (options?.client ?? client).get({
|
|
60
|
+
...options,
|
|
61
|
+
url: '/api/v1/map/stops'
|
|
62
|
+
});
|
|
63
63
|
};
|
|
64
64
|
var levels = (options) => {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
return (options?.client ?? client).get({
|
|
66
|
+
...options,
|
|
67
|
+
url: '/api/v1/map/levels'
|
|
68
|
+
});
|
|
69
69
|
};
|
|
70
70
|
var transfers = (options) => {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
return (options?.client ?? client).get({
|
|
72
|
+
...options,
|
|
73
|
+
url: '/api/debug/transfers'
|
|
74
|
+
});
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
export {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
78
|
+
client,
|
|
79
|
+
plan,
|
|
80
|
+
oneToMany,
|
|
81
|
+
oneToAll,
|
|
82
|
+
reverseGeocode,
|
|
83
|
+
geocode,
|
|
84
|
+
trip,
|
|
85
|
+
stoptimes,
|
|
86
|
+
trips,
|
|
87
|
+
initial,
|
|
88
|
+
stops,
|
|
89
|
+
levels,
|
|
90
|
+
transfers
|
|
91
91
|
};
|