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

release: 1.2.2 #236

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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.2.1"
".": "1.2.2"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.2.2 (2024-10-25)

Full Changelog: [v1.2.1...v1.2.2](https://github.com/OneBusAway/js-sdk/compare/v1.2.1...v1.2.2)

### Chores

* rebuild project due to codegen change ([#235](https://github.com/OneBusAway/js-sdk/issues/235)) ([b47e40e](https://github.com/OneBusAway/js-sdk/commit/b47e40ef047f93dfe3c4ca7a964af39885a8b3e4))

## 1.2.1 (2024-10-25)

Full Changelog: [v1.2.0...v1.2.1](https://github.com/OneBusAway/js-sdk/compare/v1.2.0...v1.2.1)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "onebusaway-sdk",
"version": "1.2.1",
"version": "1.2.2",
"description": "The official TypeScript library for the Onebusaway SDK API",
"author": "Onebusaway SDK <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
90 changes: 45 additions & 45 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,106 +206,106 @@ export import toFile = Uploads.toFile;
export import fileFromPath = Uploads.fileFromPath;

export namespace OnebusawaySDK {
export type RequestOptions = Core.RequestOptions;
export import RequestOptions = Core.RequestOptions;

export import AgenciesWithCoverage = API.AgenciesWithCoverage;
export type AgenciesWithCoverageListResponse = API.AgenciesWithCoverageListResponse;
export import AgenciesWithCoverageListResponse = API.AgenciesWithCoverageListResponse;

export import Agency = API.Agency;
export type AgencyRetrieveResponse = API.AgencyRetrieveResponse;
export import AgencyRetrieveResponse = API.AgencyRetrieveResponse;

export import VehiclesForAgency = API.VehiclesForAgency;
export type VehiclesForAgencyListResponse = API.VehiclesForAgencyListResponse;
export type VehiclesForAgencyListParams = API.VehiclesForAgencyListParams;
export import VehiclesForAgencyListResponse = API.VehiclesForAgencyListResponse;
export import VehiclesForAgencyListParams = API.VehiclesForAgencyListParams;

export import Config = API.Config;
export type ConfigRetrieveResponse = API.ConfigRetrieveResponse;
export import ConfigRetrieveResponse = API.ConfigRetrieveResponse;

export import CurrentTime = API.CurrentTime;
export type CurrentTimeRetrieveResponse = API.CurrentTimeRetrieveResponse;
export import CurrentTimeRetrieveResponse = API.CurrentTimeRetrieveResponse;

export import StopsForLocation = API.StopsForLocation;
export type StopsForLocationListResponse = API.StopsForLocationListResponse;
export type StopsForLocationListParams = API.StopsForLocationListParams;
export import StopsForLocationListResponse = API.StopsForLocationListResponse;
export import StopsForLocationListParams = API.StopsForLocationListParams;

export import StopsForRoute = API.StopsForRoute;
export type StopsForRouteListResponse = API.StopsForRouteListResponse;
export type StopsForRouteListParams = API.StopsForRouteListParams;
export import StopsForRouteListResponse = API.StopsForRouteListResponse;
export import StopsForRouteListParams = API.StopsForRouteListParams;

export import Stop = API.Stop;
export type StopRetrieveResponse = API.StopRetrieveResponse;
export import StopRetrieveResponse = API.StopRetrieveResponse;

export import StopIDsForAgency = API.StopIDsForAgency;
export type StopIDsForAgencyListResponse = API.StopIDsForAgencyListResponse;
export import StopIDsForAgencyListResponse = API.StopIDsForAgencyListResponse;

export import ScheduleForStop = API.ScheduleForStop;
export type ScheduleForStopRetrieveResponse = API.ScheduleForStopRetrieveResponse;
export type ScheduleForStopRetrieveParams = API.ScheduleForStopRetrieveParams;
export import ScheduleForStopRetrieveResponse = API.ScheduleForStopRetrieveResponse;
export import ScheduleForStopRetrieveParams = API.ScheduleForStopRetrieveParams;

export import Route = API.Route;
export type RouteRetrieveResponse = API.RouteRetrieveResponse;
export import RouteRetrieveResponse = API.RouteRetrieveResponse;

export import RouteIDsForAgency = API.RouteIDsForAgency;
export type RouteIDsForAgencyListResponse = API.RouteIDsForAgencyListResponse;
export import RouteIDsForAgencyListResponse = API.RouteIDsForAgencyListResponse;

export import RoutesForLocation = API.RoutesForLocation;
export type RoutesForLocationListResponse = API.RoutesForLocationListResponse;
export type RoutesForLocationListParams = API.RoutesForLocationListParams;
export import RoutesForLocationListResponse = API.RoutesForLocationListResponse;
export import RoutesForLocationListParams = API.RoutesForLocationListParams;

export import RoutesForAgency = API.RoutesForAgency;
export type RoutesForAgencyListResponse = API.RoutesForAgencyListResponse;
export import RoutesForAgencyListResponse = API.RoutesForAgencyListResponse;

export import ScheduleForRoute = API.ScheduleForRoute;
export type ScheduleForRouteRetrieveResponse = API.ScheduleForRouteRetrieveResponse;
export type ScheduleForRouteRetrieveParams = API.ScheduleForRouteRetrieveParams;
export import ScheduleForRouteRetrieveResponse = API.ScheduleForRouteRetrieveResponse;
export import ScheduleForRouteRetrieveParams = API.ScheduleForRouteRetrieveParams;

export import ArrivalAndDeparture = API.ArrivalAndDeparture;
export type ArrivalAndDepartureRetrieveResponse = API.ArrivalAndDepartureRetrieveResponse;
export type ArrivalAndDepartureListResponse = API.ArrivalAndDepartureListResponse;
export type ArrivalAndDepartureRetrieveParams = API.ArrivalAndDepartureRetrieveParams;
export type ArrivalAndDepartureListParams = API.ArrivalAndDepartureListParams;
export import ArrivalAndDepartureRetrieveResponse = API.ArrivalAndDepartureRetrieveResponse;
export import ArrivalAndDepartureListResponse = API.ArrivalAndDepartureListResponse;
export import ArrivalAndDepartureRetrieveParams = API.ArrivalAndDepartureRetrieveParams;
export import ArrivalAndDepartureListParams = API.ArrivalAndDepartureListParams;

export import Trip = API.Trip;
export type TripRetrieveResponse = API.TripRetrieveResponse;
export import TripRetrieveResponse = API.TripRetrieveResponse;

export import TripsForLocation = API.TripsForLocation;
export type TripsForLocationListResponse = API.TripsForLocationListResponse;
export type TripsForLocationListParams = API.TripsForLocationListParams;
export import TripsForLocationListResponse = API.TripsForLocationListResponse;
export import TripsForLocationListParams = API.TripsForLocationListParams;

export import TripDetails = API.TripDetails;
export type TripDetailRetrieveResponse = API.TripDetailRetrieveResponse;
export type TripDetailRetrieveParams = API.TripDetailRetrieveParams;
export import TripDetailRetrieveResponse = API.TripDetailRetrieveResponse;
export import TripDetailRetrieveParams = API.TripDetailRetrieveParams;

export import TripForVehicle = API.TripForVehicle;
export type TripForVehicleRetrieveResponse = API.TripForVehicleRetrieveResponse;
export type TripForVehicleRetrieveParams = API.TripForVehicleRetrieveParams;
export import TripForVehicleRetrieveResponse = API.TripForVehicleRetrieveResponse;
export import TripForVehicleRetrieveParams = API.TripForVehicleRetrieveParams;

export import TripsForRoute = API.TripsForRoute;
export type TripsForRouteListResponse = API.TripsForRouteListResponse;
export type TripsForRouteListParams = API.TripsForRouteListParams;
export import TripsForRouteListResponse = API.TripsForRouteListResponse;
export import TripsForRouteListParams = API.TripsForRouteListParams;

export import ReportProblemWithStop = API.ReportProblemWithStop;
export type ReportProblemWithStopRetrieveParams = API.ReportProblemWithStopRetrieveParams;
export import ReportProblemWithStopRetrieveParams = API.ReportProblemWithStopRetrieveParams;

export import ReportProblemWithTrip = API.ReportProblemWithTrip;
export type ReportProblemWithTripRetrieveParams = API.ReportProblemWithTripRetrieveParams;
export import ReportProblemWithTripRetrieveParams = API.ReportProblemWithTripRetrieveParams;

export import SearchForStop = API.SearchForStop;
export type SearchForStopListResponse = API.SearchForStopListResponse;
export type SearchForStopListParams = API.SearchForStopListParams;
export import SearchForStopListResponse = API.SearchForStopListResponse;
export import SearchForStopListParams = API.SearchForStopListParams;

export import SearchForRoute = API.SearchForRoute;
export type SearchForRouteListResponse = API.SearchForRouteListResponse;
export type SearchForRouteListParams = API.SearchForRouteListParams;
export import SearchForRouteListResponse = API.SearchForRouteListResponse;
export import SearchForRouteListParams = API.SearchForRouteListParams;

export import Block = API.Block;
export type BlockRetrieveResponse = API.BlockRetrieveResponse;
export import BlockRetrieveResponse = API.BlockRetrieveResponse;

export import Shape = API.Shape;
export type ShapeRetrieveResponse = API.ShapeRetrieveResponse;
export import ShapeRetrieveResponse = API.ShapeRetrieveResponse;

export type References = API.References;
export type ResponseWrapper = API.ResponseWrapper;
export import References = API.References;
export import ResponseWrapper = API.ResponseWrapper;
}

export default OnebusawaySDK;
2 changes: 1 addition & 1 deletion src/resources/agencies-with-coverage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ export namespace AgenciesWithCoverageListResponse {
}

export namespace AgenciesWithCoverage {
export type AgenciesWithCoverageListResponse = AgenciesWithCoverageAPI.AgenciesWithCoverageListResponse;
export import AgenciesWithCoverageListResponse = AgenciesWithCoverageAPI.AgenciesWithCoverageListResponse;
}
2 changes: 1 addition & 1 deletion src/resources/agency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ export namespace AgencyRetrieveResponse {
}

export namespace Agency {
export type AgencyRetrieveResponse = AgencyAPI.AgencyRetrieveResponse;
export import AgencyRetrieveResponse = AgencyAPI.AgencyRetrieveResponse;
}
9 changes: 4 additions & 5 deletions src/resources/arrival-and-departure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -827,9 +827,8 @@ export interface ArrivalAndDepartureListParams {
}

export namespace ArrivalAndDeparture {
export type ArrivalAndDepartureRetrieveResponse =
ArrivalAndDepartureAPI.ArrivalAndDepartureRetrieveResponse;
export type ArrivalAndDepartureListResponse = ArrivalAndDepartureAPI.ArrivalAndDepartureListResponse;
export type ArrivalAndDepartureRetrieveParams = ArrivalAndDepartureAPI.ArrivalAndDepartureRetrieveParams;
export type ArrivalAndDepartureListParams = ArrivalAndDepartureAPI.ArrivalAndDepartureListParams;
export import ArrivalAndDepartureRetrieveResponse = ArrivalAndDepartureAPI.ArrivalAndDepartureRetrieveResponse;
export import ArrivalAndDepartureListResponse = ArrivalAndDepartureAPI.ArrivalAndDepartureListResponse;
export import ArrivalAndDepartureRetrieveParams = ArrivalAndDepartureAPI.ArrivalAndDepartureRetrieveParams;
export import ArrivalAndDepartureListParams = ArrivalAndDepartureAPI.ArrivalAndDepartureListParams;
}
2 changes: 1 addition & 1 deletion src/resources/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ export namespace BlockRetrieveResponse {
}

export namespace Block {
export type BlockRetrieveResponse = BlockAPI.BlockRetrieveResponse;
export import BlockRetrieveResponse = BlockAPI.BlockRetrieveResponse;
}
2 changes: 1 addition & 1 deletion src/resources/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@ export namespace ConfigRetrieveResponse {
}

export namespace Config {
export type ConfigRetrieveResponse = ConfigAPI.ConfigRetrieveResponse;
export import ConfigRetrieveResponse = ConfigAPI.ConfigRetrieveResponse;
}
2 changes: 1 addition & 1 deletion src/resources/current-time.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ export namespace CurrentTimeRetrieveResponse {
}

export namespace CurrentTime {
export type CurrentTimeRetrieveResponse = CurrentTimeAPI.CurrentTimeRetrieveResponse;
export import CurrentTimeRetrieveResponse = CurrentTimeAPI.CurrentTimeRetrieveResponse;
}
90 changes: 37 additions & 53 deletions src/resources/index.ts
Original file line number Diff line number Diff line change
@@ -1,80 +1,64 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

export * from './shared';
export { AgenciesWithCoverage, type AgenciesWithCoverageListResponse } from './agencies-with-coverage';
export { Agency, type AgencyRetrieveResponse } from './agency';
export { AgenciesWithCoverageListResponse, AgenciesWithCoverage } from './agencies-with-coverage';
export { AgencyRetrieveResponse, Agency } from './agency';
export {
ArrivalAndDepartureRetrieveResponse,
ArrivalAndDepartureListResponse,
ArrivalAndDepartureRetrieveParams,
ArrivalAndDepartureListParams,
ArrivalAndDeparture,
type ArrivalAndDepartureRetrieveResponse,
type ArrivalAndDepartureListResponse,
type ArrivalAndDepartureRetrieveParams,
type ArrivalAndDepartureListParams,
} from './arrival-and-departure';
export { Block, type BlockRetrieveResponse } from './block';
export { Config, type ConfigRetrieveResponse } from './config';
export { CurrentTime, type CurrentTimeRetrieveResponse } from './current-time';
export { ReportProblemWithStop, type ReportProblemWithStopRetrieveParams } from './report-problem-with-stop';
export { ReportProblemWithTrip, type ReportProblemWithTripRetrieveParams } from './report-problem-with-trip';
export { Route, type RouteRetrieveResponse } from './route';
export { RouteIDsForAgency, type RouteIDsForAgencyListResponse } from './route-ids-for-agency';
export { RoutesForAgency, type RoutesForAgencyListResponse } from './routes-for-agency';
export { BlockRetrieveResponse, Block } from './block';
export { ConfigRetrieveResponse, Config } from './config';
export { CurrentTimeRetrieveResponse, CurrentTime } from './current-time';
export { ReportProblemWithStopRetrieveParams, ReportProblemWithStop } from './report-problem-with-stop';
export { ReportProblemWithTripRetrieveParams, ReportProblemWithTrip } from './report-problem-with-trip';
export { RouteIDsForAgencyListResponse, RouteIDsForAgency } from './route-ids-for-agency';
export { RouteRetrieveResponse, Route } from './route';
export { RoutesForAgencyListResponse, RoutesForAgency } from './routes-for-agency';
export {
RoutesForLocationListResponse,
RoutesForLocationListParams,
RoutesForLocation,
type RoutesForLocationListResponse,
type RoutesForLocationListParams,
} from './routes-for-location';
export {
ScheduleForRouteRetrieveResponse,
ScheduleForRouteRetrieveParams,
ScheduleForRoute,
type ScheduleForRouteRetrieveResponse,
type ScheduleForRouteRetrieveParams,
} from './schedule-for-route';
export {
ScheduleForStopRetrieveResponse,
ScheduleForStopRetrieveParams,
ScheduleForStop,
type ScheduleForStopRetrieveResponse,
type ScheduleForStopRetrieveParams,
} from './schedule-for-stop';
export { SearchForRouteListResponse, SearchForRouteListParams, SearchForRoute } from './search-for-route';
export { SearchForStopListResponse, SearchForStopListParams, SearchForStop } from './search-for-stop';
export { ShapeRetrieveResponse, Shape } from './shape';
export { StopIDsForAgencyListResponse, StopIDsForAgency } from './stop-ids-for-agency';
export { StopRetrieveResponse, Stop } from './stop';
export {
SearchForRoute,
type SearchForRouteListResponse,
type SearchForRouteListParams,
} from './search-for-route';
export {
SearchForStop,
type SearchForStopListResponse,
type SearchForStopListParams,
} from './search-for-stop';
export { Shape, type ShapeRetrieveResponse } from './shape';
export { Stop, type StopRetrieveResponse } from './stop';
export { StopIDsForAgency, type StopIDsForAgencyListResponse } from './stop-ids-for-agency';
export {
StopsForLocationListResponse,
StopsForLocationListParams,
StopsForLocation,
type StopsForLocationListResponse,
type StopsForLocationListParams,
} from './stops-for-location';
export { StopsForRouteListResponse, StopsForRouteListParams, StopsForRoute } from './stops-for-route';
export { TripDetailRetrieveResponse, TripDetailRetrieveParams, TripDetails } from './trip-details';
export {
StopsForRoute,
type StopsForRouteListResponse,
type StopsForRouteListParams,
} from './stops-for-route';
export { Trip, type TripRetrieveResponse } from './trip';
export { TripDetails, type TripDetailRetrieveResponse, type TripDetailRetrieveParams } from './trip-details';
export {
TripForVehicleRetrieveResponse,
TripForVehicleRetrieveParams,
TripForVehicle,
type TripForVehicleRetrieveResponse,
type TripForVehicleRetrieveParams,
} from './trip-for-vehicle';
export { TripRetrieveResponse, Trip } from './trip';
export {
TripsForLocationListResponse,
TripsForLocationListParams,
TripsForLocation,
type TripsForLocationListResponse,
type TripsForLocationListParams,
} from './trips-for-location';
export { TripsForRouteListResponse, TripsForRouteListParams, TripsForRoute } from './trips-for-route';
export {
TripsForRoute,
type TripsForRouteListResponse,
type TripsForRouteListParams,
} from './trips-for-route';
export {
VehiclesForAgencyListResponse,
VehiclesForAgencyListParams,
VehiclesForAgency,
type VehiclesForAgencyListResponse,
type VehiclesForAgencyListParams,
} from './vehicles-for-agency';
3 changes: 1 addition & 2 deletions src/resources/report-problem-with-stop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,5 @@ export interface ReportProblemWithStopRetrieveParams {
}

export namespace ReportProblemWithStop {
export type ReportProblemWithStopRetrieveParams =
ReportProblemWithStopAPI.ReportProblemWithStopRetrieveParams;
export import ReportProblemWithStopRetrieveParams = ReportProblemWithStopAPI.ReportProblemWithStopRetrieveParams;
}
3 changes: 1 addition & 2 deletions src/resources/report-problem-with-trip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,5 @@ export interface ReportProblemWithTripRetrieveParams {
}

export namespace ReportProblemWithTrip {
export type ReportProblemWithTripRetrieveParams =
ReportProblemWithTripAPI.ReportProblemWithTripRetrieveParams;
export import ReportProblemWithTripRetrieveParams = ReportProblemWithTripAPI.ReportProblemWithTripRetrieveParams;
}
2 changes: 1 addition & 1 deletion src/resources/route-ids-for-agency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ export namespace RouteIDsForAgencyListResponse {
}

export namespace RouteIDsForAgency {
export type RouteIDsForAgencyListResponse = RouteIDsForAgencyAPI.RouteIDsForAgencyListResponse;
export import RouteIDsForAgencyListResponse = RouteIDsForAgencyAPI.RouteIDsForAgencyListResponse;
}
2 changes: 1 addition & 1 deletion src/resources/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ export namespace RouteRetrieveResponse {
}

export namespace Route {
export type RouteRetrieveResponse = RouteAPI.RouteRetrieveResponse;
export import RouteRetrieveResponse = RouteAPI.RouteRetrieveResponse;
}
2 changes: 1 addition & 1 deletion src/resources/routes-for-agency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ export namespace RoutesForAgencyListResponse {
}

export namespace RoutesForAgency {
export type RoutesForAgencyListResponse = RoutesForAgencyAPI.RoutesForAgencyListResponse;
export import RoutesForAgencyListResponse = RoutesForAgencyAPI.RoutesForAgencyListResponse;
}
Loading