@emilgroup/claim-sdk 1.0.1 → 1.8.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
@@ -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.1 --save
20
+ npm install @emilgroup/claim-sdk@1.8.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk@1.0.1
24
+ yarn add @emilgroup/claim-sdk@1.8.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/base.ts CHANGED
@@ -41,6 +41,7 @@ export enum Environment {
41
41
  Production = 'https://apiv2.emil.de',
42
42
  Test = 'https://apiv2-test.emil.de',
43
43
  Development = 'https://apiv2-dev.emil.de',
44
+ ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
44
45
  }
45
46
 
46
47
  let _retry_count = 0
package/dist/base.d.ts CHANGED
@@ -29,7 +29,8 @@ export interface LoginClass {
29
29
  export declare enum Environment {
30
30
  Production = "https://apiv2.emil.de",
31
31
  Test = "https://apiv2-test.emil.de",
32
- Development = "https://apiv2-dev.emil.de"
32
+ Development = "https://apiv2-dev.emil.de",
33
+ ProductionZurich = "https://eu-central-2.apiv2.emil.de"
33
34
  }
34
35
  export declare function resetRetry(): void;
35
36
  /**
package/dist/base.js CHANGED
@@ -100,6 +100,7 @@ var Environment;
100
100
  Environment["Production"] = "https://apiv2.emil.de";
101
101
  Environment["Test"] = "https://apiv2-test.emil.de";
102
102
  Environment["Development"] = "https://apiv2-dev.emil.de";
103
+ Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
103
104
  })(Environment = exports.Environment || (exports.Environment = {}));
104
105
  var _retry_count = 0;
105
106
  var _retry = null;
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.1",
3
+ "version": "1.8.0",
4
4
  "description": "OpenAPI client for @emilgroup/claim-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [