@emilgroup/auth-sdk-node 1.9.1-beta.2 → 1.11.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,11 +17,11 @@ 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/auth-sdk-node@1.9.1-beta.2 --save
20
+ npm install @emilgroup/auth-sdk-node@1.11.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/auth-sdk-node@1.9.1-beta.2
24
+ yarn add @emilgroup/auth-sdk-node@1.11.0
25
25
  ```
26
26
 
27
27
  And then you can import ``.
@@ -47,6 +47,22 @@ export EMIL_USERNAME=XXXXX@XXXX.XXX
47
47
  export EMIL_PASSWORD=XXXXXXXXXXXXXX
48
48
  ```
49
49
 
50
+ ## Base path
51
+
52
+ To select the basic path for using the API, we can use two approaches. The first is to use one of the predefined environments, and the second is to specify the domain as a string.
53
+
54
+ ```ts
55
+ import { , Environment } from '@emilgroup/auth-sdk-node'
56
+
57
+ const = new ();
58
+
59
+ // Allows you to simply choose environment. It will usually be Environment.Production.
60
+ .selectEnvironment(Environment.Production);
61
+
62
+ // For advanced users, use the custom baseUrl of the website you need to connect to.
63
+ .selectBasePath('https://my-custom-domain.com');
64
+ ```
65
+
50
66
  ## Example
51
67
 
52
68
  Here is a basic functionning example:
@@ -33,6 +33,12 @@ export interface OrganizationClass {
33
33
  * @memberof OrganizationClass
34
34
  */
35
35
  'parentId'?: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof OrganizationClass
40
+ */
41
+ 'parentName'?: string;
36
42
  /**
37
43
  *
38
44
  * @type {string}
@@ -38,6 +38,12 @@ export interface OrganizationClass {
38
38
  * @memberof OrganizationClass
39
39
  */
40
40
  'parentId'?: number;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof OrganizationClass
45
+ */
46
+ 'parentName'?: string;
41
47
  /**
42
48
  *
43
49
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/auth-sdk-node",
3
- "version": "1.9.1-beta.2",
3
+ "version": "1.11.0",
4
4
  "description": "OpenAPI client for @emilgroup/auth-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [