@emilgroup/claim-sdk 1.0.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Emil Account SDK
1
+ # Emil Claim SDK
2
2
 
3
3
  This TypeScript/JavaScript client utilizes [axios](https://github.com/axios/axios). The generated module can be used with client-based applications (i.e. React).
4
4
 
@@ -17,27 +17,27 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/claim-sdk@1.0.0 --save
20
+ npm install @emilgroup/claim-sdk@1.7.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk@1.0.0
24
+ yarn add @emilgroup/claim-sdk@1.7.0
25
25
  ```
26
26
 
27
- And then you can import `listClaimsApi`.
27
+ And then you can import `ClaimsApi`.
28
28
 
29
29
  ```ts
30
- import { listClaimsApi } from '@emilgroup/claim-sdk'
30
+ import { ClaimsApi } from '@emilgroup/claim-sdk'
31
31
 
32
- const claimsApi = new listClaimsApi();
32
+ const claimsApi = new ClaimsApi();
33
33
  ```
34
34
 
35
- To use authentication protected endpoints, you have to first authorize. To do so, use the `authorize` function in `listClaimsApi`:
35
+ To use authentication protected endpoints, you have to first authorize. To do so, use the `authorize` function in `ClaimsApi`:
36
36
 
37
37
  ```ts
38
38
  async function listClaims(): Promise<Void> {
39
39
  try {
40
- const claimsApi = new listClaimsApi();
40
+ const claimsApi = new ClaimsApi();
41
41
 
42
42
  await claimsApi.authorize('username', 'password');
43
43
 
package/git_push.sh CHANGED
@@ -19,7 +19,7 @@ if [ "$git_user_id" = "" ]; then
19
19
  fi
20
20
 
21
21
  if [ "$git_repo_id" = "" ]; then
22
- git_repo_id="account-sdk"
22
+ git_repo_id="claim-sdk"
23
23
  echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
24
  fi
25
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/claim-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.7.0",
4
4
  "description": "OpenAPI client for @emilgroup/claim-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [