Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stainless Bot committed Jul 4, 2024
1 parent 4220db4 commit 4243c6e
Show file tree
Hide file tree
Showing 7 changed files with 457 additions and 496 deletions.
12 changes: 2 additions & 10 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,12 @@ Methods:
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>

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>

# ArrivalsAndDeparturesForStop

Types:

- <code><a href="./src/resources/arrivals-and-departures-for-stop.ts">ArrivalsAndDeparturesForStopRetrieveResponse</a></code>

Methods:

- <code title="get /api/where/arrivals-and-departures-for-stop/{stopID}.json">client.arrivalsAndDeparturesForStop.<a href="./src/resources/arrivals-and-departures-for-stop.ts">retrieve</a>(stopId, { ...params }) -> ArrivalsAndDeparturesForStopRetrieveResponse</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>

# Trip

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

Expand Down Expand Up @@ -211,11 +210,9 @@ export namespace OnebusawaySDK {

export import ArrivalAndDepartureForStop = API.ArrivalAndDepartureForStop;
export import ArrivalAndDepartureForStopRetrieveResponse = API.ArrivalAndDepartureForStopRetrieveResponse;
export import ArrivalAndDepartureForStopSearchResponse = API.ArrivalAndDepartureForStopSearchResponse;
export import ArrivalAndDepartureForStopRetrieveParams = API.ArrivalAndDepartureForStopRetrieveParams;

export import ArrivalsAndDeparturesForStop = API.ArrivalsAndDeparturesForStop;
export import ArrivalsAndDeparturesForStopRetrieveResponse = API.ArrivalsAndDeparturesForStopRetrieveResponse;
export import ArrivalsAndDeparturesForStopRetrieveParams = API.ArrivalsAndDeparturesForStopRetrieveParams;
export import ArrivalAndDepartureForStopSearchParams = API.ArrivalAndDepartureForStopSearchParams;

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

0 comments on commit 4243c6e

Please sign in to comment.