This repository was archived by the owner on Apr 25, 2024. It is now read-only.
This repository was archived by the owner on Apr 25, 2024. It is now read-only.
@types/shippo is not thesame with the docs and postman collection #80
Open
Description
@types/shippo in not the same with docs.
Example
Docs and API response:
shippo.address.create({
"name":"Shawn Ippotle",
"company":"Shippo",
"street1":"215 Clayton St.",
"city":"San Francisco",
"state":"CA",
"zip":"94117",
"country":"US",
"email":"shippotle@goshippo.com",
"validate": true
}, function(err, address) {
// asynchronously called
});
@types/shippo:
this.shippo.address
.create({
name: 'Shawn Ippotle',
street1: '215 Clayton St.',
city: 'San Francisco',
state: 'CA',
zip: '94117',
country: 'US',
validate: true,
})
.then(async (res) => {
.........
when I try to include other values, it brings value does not exist on type create e.g email and company does exist on the type
Metadata
Metadata
Assignees
Labels
No labels