Skip to content
On this page

@shaggytools/nhtsa-api-wrapper - v3.0.4 / Exports / api/types

Module: api/types

Table of contents

References

Type Aliases

References

CreateUrlOptions

Re-exports CreateUrlOptions


DecodeVinExtendedResults

Re-exports DecodeVinExtendedResults


DecodeVinExtendedVariable

Re-exports DecodeVinExtendedVariable


DecodeVinResults

Re-exports DecodeVinResults


DecodeVinValuesBatchResults

Re-exports DecodeVinValuesBatchResults


DecodeVinValuesExtendedResults

Re-exports DecodeVinValuesExtendedResults


DecodeVinValuesResults

Re-exports DecodeVinValuesResults


DecodeVinVariable

Re-exports DecodeVinVariable


DecodeWMIResults

Re-exports DecodeWMIResults


GetAllMakesResults

Re-exports GetAllMakesResults


GetAllManufacturersResults

Re-exports GetAllManufacturersResults


GetCanadianVehicleSpecificationsResults

Re-exports GetCanadianVehicleSpecificationsResults


GetEquipmentPlantCodesParams

Re-exports GetEquipmentPlantCodesParams


GetEquipmentPlantCodesResults

Re-exports GetEquipmentPlantCodesResults


GetMakeForManufacturerResults

Re-exports GetMakeForManufacturerResults


GetMakesForManufacturerAndYearResults

Re-exports GetMakesForManufacturerAndYearResults


GetMakesForVehicleTypeResults

Re-exports GetMakesForVehicleTypeResults


GetManufacturerDetailsResults

Re-exports GetManufacturerDetailsResults


GetModelsForMakeIdResults

Re-exports GetModelsForMakeIdResults


GetModelsForMakeIdYearResults

Re-exports GetModelsForMakeIdYearResults


GetModelsForMakeResults

Re-exports GetModelsForMakeResults


GetModelsForMakeYearResults

Re-exports GetModelsForMakeYearResults


GetPartsResults

Re-exports GetPartsResults


GetVehicleTypesForMakeIdResults

Re-exports GetVehicleTypesForMakeIdResults


GetVehicleTypesForMakeResults

Re-exports GetVehicleTypesForMakeResults


GetVehicleVariableListResults

Re-exports GetVehicleVariableListResults


GetVehicleVariableValuesListResults

Re-exports GetVehicleVariableValuesListResults


GetWMIsForManufacturerResults

Re-exports GetWMIsForManufacturerResults

Type Aliases

NhtsaResponse

Ƭ NhtsaResponse<T>: Object

Response data returned from the NHTSA VPIC API. Results key will be an array of objects of type "T"

Type parameters

Name
T

Type declaration

NameTypeDescription
CountnumberThe number of items returned in the Results object. Will = 0 if no Results
MessagestringA message describing the Results. If Count is 0 check the Message for helpful info
ResultsT[]An array of objects returned by NHTSA VPIC API, specific to each individual API Action.
SearchCriteriastring | nullSearch terms (VIN, WMI, etc) used in the request URL.

Defined in

api/types.ts:12

Released under the MIT License.