npm package: @nusso.pasit/user-svc-client-ts
Description: TypeScript client for user-svc API
Author: Pasit Nusso
Latest version: 1.0.3-build.105806

## @nusso.pasit/user-svc-client-ts@1.0.0

This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:

Environment
* Node.js
* Webpack
* Browserify

Language level
* ES5 - you must have a Promises/A+ library installed
* ES6

Module system
* CommonJS
* ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))

### Building

To build and compile the typescript sources to javascript use:
```
npm install
npm run build
```

### Publishing

First build the package then run `npm publish`

### Consuming

navigate to the folder of your consuming project and run one of the following commands.

_published:_

```
npm install @nusso.pasit/user-svc-client-ts@1.0.0 --save
```

_unPublished (not recommended):_

```
npm install PATH_TO_GENERATED_PACKAGE --save
```

### Documentation for API Endpoints

All URIs are relative to *http://localhost*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AuthenticationApi* | [**authControllerGetLoggedInUser**](docs/AuthenticationApi.md#authcontrollergetloggedinuser) | **GET** /auth/me | 
*AuthenticationApi* | [**authControllerGoogleLogin**](docs/AuthenticationApi.md#authcontrollergooglelogin) | **GET** /auth/google | 
*AuthenticationApi* | [**authControllerGoogleLoginRedirect**](docs/AuthenticationApi.md#authcontrollergoogleloginredirect) | **GET** /auth/google/callback | 
*AuthenticationApi* | [**authControllerLogin**](docs/AuthenticationApi.md#authcontrollerlogin) | **POST** /auth/login | 
*AuthenticationApi* | [**authControllerLoginByGoogleToken**](docs/AuthenticationApi.md#authcontrollerloginbygoogletoken) | **POST** /auth/login-by-google-token | 
*AuthenticationApi* | [**authControllerRegister**](docs/AuthenticationApi.md#authcontrollerregister) | **POST** /auth/register | 
*DefaultApi* | [**appControllerHealth**](docs/DefaultApi.md#appcontrollerhealth) | **GET** /health | 
*DefaultApi* | [**appControllerRoot**](docs/DefaultApi.md#appcontrollerroot) | **GET** / | 
*DefaultApi* | [**healthControllerGetHealth**](docs/DefaultApi.md#healthcontrollergethealth) | **GET** /healthz | 
*DefaultApi* | [**healthControllerGetReadiness**](docs/DefaultApi.md#healthcontrollergetreadiness) | **GET** /healthz/ready | 
*DefaultApi* | [**monitoringControllerGetHealth**](docs/DefaultApi.md#monitoringcontrollergethealth) | **GET** /metrics/health | 
*DefaultApi* | [**monitoringControllerGetMetrics**](docs/DefaultApi.md#monitoringcontrollergetmetrics) | **GET** /metrics | 
*DefaultApi* | [**todoControllerAdd**](docs/DefaultApi.md#todocontrolleradd) | **GET** /todos/add | 
*DefaultApi* | [**todoControllerList**](docs/DefaultApi.md#todocontrollerlist) | **GET** /todos | 
*DefaultApi* | [**userControllerCreateUser**](docs/DefaultApi.md#usercontrollercreateuser) | **POST** /users | 
*DefaultApi* | [**userControllerGetUserById**](docs/DefaultApi.md#usercontrollergetuserbyid) | **GET** /users/{id} | 
*DefaultApi* | [**userControllerListUsers**](docs/DefaultApi.md#usercontrollerlistusers) | **GET** /users | 


### Documentation For Models

 - [LoginPayload](docs/LoginPayload.md)
 - [RegisterPayload](docs/RegisterPayload.md)


<a id="documentation-for-authorization"></a>
## Documentation For Authorization


Authentication schemes defined for the API:
<a id="bearer"></a>
### bearer

- **Type**: Bearer authentication (JWT)