Interfaces inferred from JSON Schemas. To be used in TS middleware projects
npm install @rapharacing/interfacesMiddleware Interfaces

Generated by typedoc
Unfortunately quicktype-core can not infer definition files properly. It also gives useless errors for debugging InputData.
To Generate CC Interfaces run the following commands:
1. Convert OpenApi to JSON Schema
``sh`
$ openapi2jsonschema https://api.c616d-rapharaci1-d1-public.model-t.cc.commerce.ondemand.com/rest/v2/api-docs -o src/schemas
2. Convert JSON Schemas to TS Interfaces
`sh`
generate:interfaces
3. Transpile the package
`sh`
$ yarn build
`js
import { Address } from "@rapharacing/interfaces";
const Address = ({ data }: Address) => {};
``