Update Square connect type definitions (v20190508) + improvements (#36067)

* Add Square dev as a reviewer + add ApiClient, EmployeesApi and InventoryApi definitions

* Update Square connect type definitions (v20190508)

* Fix ENUM naming (to be as in swagger)
This commit is contained in:
Dmitri Dimitrioglo
2019-06-11 01:59:43 -07:00
committed by Ron Buckton
parent e94ce0261e
commit 64fb247206
2 changed files with 1406 additions and 435 deletions
+23
View File
@@ -0,0 +1,23 @@
# Type definitions for square-connect
This is an unofficial package of type definitions for [square-connect][1] which is _mostly_ generated automatically by [swagger-codegen][2].
In case you are facing some issues - feel free to contribute or open an issue.
# Installation
`npm i @types/square-connect`
> make sure that `square-connect` package is installed too
# Contribution
* Clone the [DefinitelyTyped][3] project
* or update if you already have it (`git fetch upstream && git reset --hard upstream/master`)
* Add your changes and commit them (in case of error in [api.json][4] too, let the Square team know about it)
* Test your changes:
* `npm run lint square-connect`
* `npm run test`
[1]: https://docs.connect.squareup.com
[2]: https://github.com/swagger-api/swagger-codegen
[3]: https://github.com/DefinitelyTyped/DefinitelyTyped
[4]: https://github.com/square/connect-api-specification/blob/master/api.json
+1383 -435
View File
File diff suppressed because it is too large Load Diff