@motis-project/motis-client 2.5.0 → 2.7.3
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 +4 -2
- package/dist/{chunk-5QEG6DOF.js → chunk-47ZS6OWZ.js} +543 -40
- package/dist/{chunk-ZSHHWD3H.js → chunk-FDF4H3WD.js} +7 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +22 -2
- package/dist/schemas.gen.d.ts +460 -8
- package/dist/schemas.gen.js +19 -1
- package/dist/services.gen.d.ts +22 -2
- package/dist/services.gen.js +3 -1
- package/dist/types.gen.d.ts +544 -46
- package/package.json +3 -3
- package/dist/chunk-35GMB6DP.js +0 -1232
- package/dist/chunk-7PIP6KRC.js +0 -1300
- package/dist/chunk-7UKCGCXT.js +0 -1247
- package/dist/chunk-CAW6R2LI.js +0 -1285
- package/dist/chunk-EM7IAOVY.js +0 -91
- package/dist/chunk-IHFNO6R3.js +0 -91
- package/dist/chunk-IYBFZNEH.js +0 -1224
- package/dist/chunk-QM2K42W7.js +0 -91
- package/dist/chunk-RM52T2X5.js +0 -1293
- package/dist/chunk-VOTN5CAZ.js +0 -91
- package/dist/chunk-ZBHU6VX2.js +0 -1291
package/dist/chunk-EM7IAOVY.js
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
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/v3/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/v2/trip'
|
|
38
|
-
});
|
|
39
|
-
};
|
|
40
|
-
var stoptimes = (options) => {
|
|
41
|
-
return (options?.client ?? client).get({
|
|
42
|
-
...options,
|
|
43
|
-
url: '/api/v1/stoptimes'
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
|
-
var trips = (options) => {
|
|
47
|
-
return (options?.client ?? client).get({
|
|
48
|
-
...options,
|
|
49
|
-
url: '/api/v1/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
|
-
};
|