* Updated code generation
* Switched request and response generics position
* Updated test
* API generation
* Removed unused generics
* Test type definitions for callback style API as well
* Fix comments
* Fix conflict
* API generation
* Updated type def
* Updated abort behavior
- Support for aborting a request with the promise api
- Aborting a request will cause a RequestAbortedError
- Normalized Connection class errors, now every error returned is
wrapped by the client errors constructors
* Updated test
* Updated docs
* Updated code generation script
* Renamed test
* Code coverage
* Avoid calling twice transport.request
* Updated types generation script
* Refactored api method definitions
* Updated test
- Removed old test code
- Added tsd dev dependency
- Rewritten test with tsd
* Removed unused dependencies
* Fixed definition
* Updated test
* Updated docs
* Improved events type definitions
* Updated test
* Minor fixes in the type definitons
* More type test
* Improved Transport type definitions
* Updated test
* Addressed comments
* Code generation
* Use RequestBody, Response and Context everywhere, also default Context to unknown
* Updated test
* body -> hasBody
* Fixed conflicts
* Updated code generation
* Improved request body type definition
* Updated code generation
* Use BodyType for both request and reponses generics
- Use extends for defining the RequestBody generic to force the user
following the same shape.
- BodyType and NDBodyType now accepts a generics to allow injecting
more specific types in the future
* API generation
* Updated test
* Updated docs
* Use BodyType also in ReponseError
* Removed useless client generics
* Renamed generics and types
- prefixed all generics with a T
- BodyType => RequestBody
- NDBodyType => RequestNDBody
- Added ResponseBody
* Updated test
* Updated docs
* Test ResponseBody as well
* Simplify overloads
* API generation
* Updated test
* Updated error types
* Updated examples urls
* Added links to examples
* Updated docs generation script to include code examples
* Fixes
* Skip index api
* Fix link
* Fix url generation
* API generation
* Fix new line
* API generation
* Fix leftover
* API generation
* CI: Added junit plugin
* Updated .gitignore
* Added integration test reporter
* Updated integration testing suite
* Updated ci config
* Updated report file path
* Use refresh 'true' instead of 'wait_for'
* Disable junit reporting
* Refresh one single time
* Update security index name
* Updated skip test handling and use class syntax
* Updated test script
* Disable test timeout
* Added command to automatically remove an old snapshot
* Disable timeout in integration test script
* Updated logs and cleaned up git handling
* Fixed shouldSkip utility
* Updated cleanup code
* Updated cleanup code pt 2
* Rename Platinum to XPack
The ingest docs in Elasticsearch doing point to the actual ingest APIs.
This makes up generate links to the real APIs instead, fixing some
broken links in the 5.x docs in the process.
Handles a few "special" doc urls from ES's api spec files. These are
only a problem in 6.x but we'd like to keep the generateDocs script the
same across all branches for easier backporting.