0.0.1 • Published 3 years ago
@djheru/cert-report v0.0.1
cert-report CLI
A CLI to generate Cert reports for LeaseLock
Installation
Publishing to NPM
To package your CLI up for NPM, do this:
$ npm login
$ npm whoami
$ npm lint
$ npm test
(if typescript, run `npm run build` here)
$ npm publish
License
MIT - see LICENSE
Notes
Example Responses:
/companies/:id
{
"status": "success",
"company": {
"id": "1",
"name": "Foo PMC"
}
}
/companies/:id/certs
{
"status": "success",
"certs": [
{
"id": "1",
"property_id": "1",
"product_id": "a",
"down_payment": 120,
"installment_payment": 9,
"monthly_fee": 1
},
{
"id": "2",
"property_id": "1",
"product_id": "b",
"down_payment": 240,
"installment_payment": 18,
"monthly_fee": 2
},
{
"id": "3",
"property_id": "3",
"product_id": "c",
"down_payment": 500,
"installment_payment": 0,
"monthly_fee": 0
},
{
"id": "4",
"property_id": "4",
"product_id": "b",
"down_payment": 240,
"installment_payment": 18,
"monthly_fee": 2
}
]
}
/companies/:id/properties
{
"status": "success",
"properties": [
{
"id": "1",
"units": 2,
"type": "PAY_IN_FULL"
},
{
"id": "2",
"units": 3,
"type": "PAY_IN_FULL"
},
{
"id": "3",
"units": 5,
"type": "PAY_IN_FULL"
},
{
"id": "4",
"units": 1,
"type": "INSTALLMENTS"
}
]
}
0.0.1
3 years ago