@emilgroup/billing-sdk-node 1.4.1 → 1.5.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/billing-sdk-node@1.4.1 --save
20
+ npm install @emilgroup/billing-sdk-node@1.5.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/billing-sdk-node@1.4.1
24
+ yarn add @emilgroup/billing-sdk-node@1.5.0
25
25
  ```
26
26
 
27
27
  And then you can import `InvoicesApi`.
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 = "http://localhost".replace(/\/+$/, "");
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 = "http://localhost".replace(/\/+$/, "");
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';
@@ -111,7 +111,7 @@ export interface PolicyDto {
111
111
  * @type {string}
112
112
  * @memberof PolicyDto
113
113
  */
114
- 'tenantHierarchy': string;
114
+ 'ern': string;
115
115
  }
116
116
  export declare const PolicyDtoStatusEnum: {
117
117
  readonly Active: "ACTIVE";
@@ -39,4 +39,10 @@ export interface PolicyObjectDto {
39
39
  * @memberof PolicyObjectDto
40
40
  */
41
41
  'data': object;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof PolicyObjectDto
46
+ */
47
+ 'code': string;
42
48
  }
@@ -116,7 +116,7 @@ export interface PolicyDto {
116
116
  * @type {string}
117
117
  * @memberof PolicyDto
118
118
  */
119
- 'tenantHierarchy': string;
119
+ 'ern': string;
120
120
  }
121
121
 
122
122
  export const PolicyDtoStatusEnum = {
@@ -44,5 +44,11 @@ export interface PolicyObjectDto {
44
44
  * @memberof PolicyObjectDto
45
45
  */
46
46
  'data': object;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof PolicyObjectDto
51
+ */
52
+ 'code': string;
47
53
  }
48
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/billing-sdk-node",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "OpenAPI client for @emilgroup/billing-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -23,7 +23,7 @@
23
23
  "url": "^0.11.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "^12.11.5",
26
+ "@types/node": "^12.11.5",
27
27
  "typescript": "^4.0"
28
28
  }
29
29
  }