Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stainless Bot committed Jun 26, 2024
1 parent 01e92d9 commit 99d55f2
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 233 deletions.
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-3c09ec2f8c094abffea8b1f8d2f410de855fd69e855be9f4823fb7b9eda7a3db.yml
configured_endpoints: 6
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-e2d8fe6ddeac1c6c1069b561d47fb0a2a5c821fe2840c734238e050d73fe211b.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 @@ -125,7 +125,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 @@ -208,9 +207,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 99d55f2

Please sign in to comment.