/** * This module was automatically generated by `ts-interface-builder` */ import * as t from "ts-interface-checker"; // tslint:disable:object-literal-key-quotes export const SystemPricingPlans = t.iface([], { "data": "Data", "last_updated": "string", "ttl": "number", "version": "Version", [t.indexKey]: "any", }); export const Data = t.iface([], { "plans": t.array("Plan"), [t.indexKey]: "any", }); export const Plan = t.iface([], { "currency": "string", "description": t.array("Description"), "fare_capping": t.opt("FareCapping"), "is_taxable": "boolean", "name": t.array("Name"), "per_km_pricing": t.opt(t.array("PerKMPricing")), "per_min_pricing": t.opt(t.array("PerMinPricing")), "plan_id": "string", "price": "number", "reservation_price_flat_rate": t.opt("number"), "reservation_price_per_min": t.opt("number"), "surge_pricing": t.opt("boolean"), "url": t.opt("string"), [t.indexKey]: "any", }); export const Description = t.iface([], { "language": "string", "text": "string", [t.indexKey]: "any", }); export const FareCapping = t.iface([], { "duration": "number", "price": "number", [t.indexKey]: "any", }); export const Name = t.iface([], { "language": "string", "text": "string", [t.indexKey]: "any", }); export const PerKMPricing = t.iface([], { "end": t.opt("number"), "interval": "number", "rate": "number", "start": "number", [t.indexKey]: "any", }); export const PerMinPricing = t.iface([], { "end": t.opt("number"), "interval": "number", "rate": "number", "start": "number", [t.indexKey]: "any", }); export const Version = t.lit("3.1-RC3"); const exportedTypeSuite: t.ITypeSuite = { SystemPricingPlans, Data, Plan, Description, FareCapping, Name, PerKMPricing, PerMinPricing, Version, }; export default exportedTypeSuite;