I audited the request/responses for each API endpoint for V1.2, and updated the JSON mocks to use the real request/responses.
I also update the models to match what is shown in V1.2. This adds things like Flat Fares, etc.
I also change some stringly-typed enums in the API into actual enums in the SDK, instead of strings.
As a part of this migration, RidesClient.fetchCheapestProduct was removed as we don't expose pricing structure for products with Upfront Fares anymore.
I audited the request/responses for each API endpoint for V1.2, and updated the JSON mocks to use the real request/responses.
I also update the models to match what is shown in V1.2. This adds things like Flat Fares, etc.
I also change some stringly-typed enums in the API into actual enums in the SDK, instead of strings.
As a part of this migration,
RidesClient.fetchCheapestProduct
was removed as we don't expose pricing structure for products with Upfront Fares anymore.