@emilgroup/account-sdk-node 1.4.1 → 1.6.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 +2 -2
- package/base.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/models/account-class.d.ts +6 -0
- package/models/account-class.ts +6 -0
- package/package.json +1 -1
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/account-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/account-sdk-node@1.6.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/account-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/account-sdk-node@1.6.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `AccountsApi`.
|
package/base.ts
CHANGED
|
@@ -21,7 +21,7 @@ import * as fs from 'fs';
|
|
|
21
21
|
import * as path from 'path';
|
|
22
22
|
import * as os from 'os';
|
|
23
23
|
|
|
24
|
-
export const BASE_PATH = "
|
|
24
|
+
export const BASE_PATH = "https://apiv2.emil.de".replace(/\/+$/, "");
|
|
25
25
|
const CONFIG_DIRECTORY = '.emil';
|
|
26
26
|
const CONFIG_FILENAME = 'credentials';
|
|
27
27
|
const KEY_USERNAME = 'emil_username';
|
package/dist/base.js
CHANGED
|
@@ -109,7 +109,7 @@ var axios_1 = __importDefault(require("axios"));
|
|
|
109
109
|
var fs = __importStar(require("fs"));
|
|
110
110
|
var path = __importStar(require("path"));
|
|
111
111
|
var os = __importStar(require("os"));
|
|
112
|
-
exports.BASE_PATH = "
|
|
112
|
+
exports.BASE_PATH = "https://apiv2.emil.de".replace(/\/+$/, "");
|
|
113
113
|
var CONFIG_DIRECTORY = '.emil';
|
|
114
114
|
var CONFIG_FILENAME = 'credentials';
|
|
115
115
|
var KEY_USERNAME = 'emil_username';
|
|
@@ -142,6 +142,12 @@ export interface AccountClass {
|
|
|
142
142
|
* @memberof AccountClass
|
|
143
143
|
*/
|
|
144
144
|
'metadata'?: object;
|
|
145
|
+
/**
|
|
146
|
+
* ERN of the organization that created the account.
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof AccountClass
|
|
149
|
+
*/
|
|
150
|
+
'ern': string;
|
|
145
151
|
/**
|
|
146
152
|
* Optional field contain custom fields
|
|
147
153
|
* @type {object}
|
package/models/account-class.ts
CHANGED
|
@@ -147,6 +147,12 @@ export interface AccountClass {
|
|
|
147
147
|
* @memberof AccountClass
|
|
148
148
|
*/
|
|
149
149
|
'metadata'?: object;
|
|
150
|
+
/**
|
|
151
|
+
* ERN of the organization that created the account.
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof AccountClass
|
|
154
|
+
*/
|
|
155
|
+
'ern': string;
|
|
150
156
|
/**
|
|
151
157
|
* Optional field contain custom fields
|
|
152
158
|
* @type {object}
|