jonyw4 / pagarme-js-types

📖 A simple typescript definition file for pagarme-js repository
Apache License 2.0
45 stars 14 forks source link

fix: Customer interface #92

Closed abrantesarthur closed 3 years ago

abrantesarthur commented 3 years ago

O que esse PR faz? (Obrigatório)

Add missing fields to Customer and Document interfaces. Hotfix CustomerCreateOptions.

Link / Imagem para referencias (Obrigatório)

At "criando-um-cliente" there are more fields in the customer response than were specified in the Customer interface. Moreover, Document interface is missing object and id fields which are present in response to customer creation. Finally, birthday field in CustomerCreateOptions may be null in response if a birthday is not specified during customer creation.

github-actions[bot] commented 3 years ago

:tada: This PR is included in version 2.9.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 3 years ago

:tada: This PR is included in version 2.9.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: