Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Jun 22, 2024
1 parent bc7fb99 commit 61f2cc8
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 232 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 7
configured_endpoints: 6
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-3c09ec2f8c094abffea8b1f8d2f410de855fd69e855be9f4823fb7b9eda7a3db.yml
10 changes: 0 additions & 10 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,3 @@ Types:
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) -> ArrivalsAndDeparturesForStopRetrieveResponse</code>
4 changes: 0 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ export class OnebusawaySDK extends Core.APIClient {
currentTime: API.CurrentTime = new API.CurrentTime(this);
stopsForLocation: API.StopsForLocation = new API.StopsForLocation(this);
arrivalAndDepartureForStop: API.ArrivalAndDepartureForStop = new API.ArrivalAndDepartureForStop(this);
arrivalsAndDeparturesForStop: API.ArrivalsAndDeparturesForStop = new API.ArrivalsAndDeparturesForStop(this);

protected override defaultQuery(): Core.DefaultQuery | undefined {
return {
Expand Down Expand Up @@ -205,9 +204,6 @@ export namespace OnebusawaySDK {
export import ArrivalAndDepartureForStopRetrieveResponse = API.ArrivalAndDepartureForStopRetrieveResponse;
export import ArrivalAndDepartureForStopRetrieveParams = API.ArrivalAndDepartureForStopRetrieveParams;

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

export import References = API.References;
export import ResponseWrapper = API.ResponseWrapper;
}
Expand Down
184 changes: 0 additions & 184 deletions src/resources/arrivals-and-departures-for-stop.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ export {
ArrivalAndDepartureForStopRetrieveParams,
ArrivalAndDepartureForStop,
} from './arrival-and-departure-for-stop';
export {
ArrivalsAndDeparturesForStopRetrieveResponse,
ArrivalsAndDeparturesForStop,
} from './arrivals-and-departures-for-stop';
export { ConfigRetrieveResponse, Config } from './config';
export { CurrentTimeRetrieveResponse, CurrentTime } from './current-time';
export {
Expand Down
29 changes: 0 additions & 29 deletions tests/api-resources/arrivals-and-departures-for-stop.test.ts

This file was deleted.

0 comments on commit 61f2cc8

Please sign in to comment.