Skip to content
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
@SOG-web

Description

@SOG-web

@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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions