Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): update via SDK Studio #92

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ Methods:

- <code title="get /api/where/route/{routeID}.json">client.route.<a href="./src/resources/route.ts">retrieve</a>(routeId) -> RouteRetrieveResponse</code>

# ArrivalAndDepartureForStop
# ArrivalAndDeparture

Types:

- <code><a href="./src/resources/arrival-and-departure-for-stop.ts">ArrivalAndDepartureForStopRetrieveResponse</a></code>
- <code><a href="./src/resources/arrival-and-departure-for-stop.ts">ArrivalAndDepartureForStopSearchResponse</a></code>
- <code><a href="./src/resources/arrival-and-departure.ts">ArrivalAndDepartureSearchAllForStopResponse</a></code>
- <code><a href="./src/resources/arrival-and-departure.ts">ArrivalAndDepartureSearchForStopResponse</a></code>

Methods:

- <code title="get /api/where/arrival-and-departure-for-stop/{stopID}.json">client.arrivalAndDepartureForStop.<a href="./src/resources/arrival-and-departure-for-stop.ts">retrieve</a>(stopId, { ...params }) -> ArrivalAndDepartureForStopRetrieveResponse</code>
- <code title="get /api/where/arrivals-and-departures-for-stop/{stopID}.json">client.arrivalAndDepartureForStop.<a href="./src/resources/arrival-and-departure-for-stop.ts">search</a>(stopId, { ...params }) -> ArrivalAndDepartureForStopSearchResponse</code>
- <code title="get /api/where/arrivals-and-departures-for-stop/{stopID}.json">client.arrivalAndDeparture.<a href="./src/resources/arrival-and-departure.ts">searchAllForStop</a>(stopId, { ...params }) -> ArrivalAndDepartureSearchAllForStopResponse</code>
- <code title="get /api/where/arrival-and-departure-for-stop/{stopID}.json">client.arrivalAndDeparture.<a href="./src/resources/arrival-and-departure.ts">searchForStop</a>(stopId, { ...params }) -> ArrivalAndDepartureSearchForStopResponse</code>

# Trip

Expand Down
12 changes: 6 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class OnebusawaySDK extends Core.APIClient {
currentTime: API.CurrentTime = new API.CurrentTime(this);
stopsForLocation: API.StopsForLocation = new API.StopsForLocation(this);
route: API.Route = new API.Route(this);
arrivalAndDepartureForStop: API.ArrivalAndDepartureForStop = new API.ArrivalAndDepartureForStop(this);
arrivalAndDeparture: API.ArrivalAndDeparture = new API.ArrivalAndDeparture(this);
trip: API.Trip = new API.Trip(this);
tripsForLocation: API.TripsForLocation = new API.TripsForLocation(this);

Expand Down Expand Up @@ -208,11 +208,11 @@ export namespace OnebusawaySDK {
export import Route = API.Route;
export import RouteRetrieveResponse = API.RouteRetrieveResponse;

export import ArrivalAndDepartureForStop = API.ArrivalAndDepartureForStop;
export import ArrivalAndDepartureForStopRetrieveResponse = API.ArrivalAndDepartureForStopRetrieveResponse;
export import ArrivalAndDepartureForStopSearchResponse = API.ArrivalAndDepartureForStopSearchResponse;
export import ArrivalAndDepartureForStopRetrieveParams = API.ArrivalAndDepartureForStopRetrieveParams;
export import ArrivalAndDepartureForStopSearchParams = API.ArrivalAndDepartureForStopSearchParams;
export import ArrivalAndDeparture = API.ArrivalAndDeparture;
export import ArrivalAndDepartureSearchAllForStopResponse = API.ArrivalAndDepartureSearchAllForStopResponse;
export import ArrivalAndDepartureSearchForStopResponse = API.ArrivalAndDepartureSearchForStopResponse;
export import ArrivalAndDepartureSearchAllForStopParams = API.ArrivalAndDepartureSearchAllForStopParams;
export import ArrivalAndDepartureSearchForStopParams = API.ArrivalAndDepartureSearchForStopParams;

export import Trip = API.Trip;
export import TripRetrieveResponse = API.TripRetrieveResponse;
Expand Down
Loading