@emilgroup/customer-sdk-node 1.23.2 → 1.24.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/customer-sdk-node@1.23.2 --save
20
+ npm install @emilgroup/customer-sdk-node@1.24.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/customer-sdk-node@1.23.2
24
+ yarn add @emilgroup/customer-sdk-node@1.24.0
25
25
  ```
26
26
 
27
27
  And then you can import `CustomersApi`.
package/base.ts CHANGED
@@ -22,7 +22,7 @@ import * as fs from 'fs';
22
22
  import * as path from 'path';
23
23
  import * as os from 'os';
24
24
 
25
- export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
25
+ export const BASE_PATH = "https://apiv2.emil.de".replace(/\/+$/, "");
26
26
  const CONFIG_DIRECTORY = '.emil';
27
27
  const CONFIG_FILENAME = 'credentials';
28
28
  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';
@@ -99,7 +99,7 @@ export interface AccountClass {
99
99
  * @type {string}
100
100
  * @memberof AccountClass
101
101
  */
102
- 'phone': string;
102
+ 'phone'?: string;
103
103
  /**
104
104
  * The type of account, default to person
105
105
  * @type {string}
@@ -86,7 +86,7 @@ export interface CreateAccountRequestDto {
86
86
  * @type {string}
87
87
  * @memberof CreateAccountRequestDto
88
88
  */
89
- 'phone': string;
89
+ 'phone'?: string;
90
90
  /**
91
91
  * Optional field to enter your own account number.
92
92
  * @type {string}
@@ -104,7 +104,7 @@ export interface AccountClass {
104
104
  * @type {string}
105
105
  * @memberof AccountClass
106
106
  */
107
- 'phone': string;
107
+ 'phone'?: string;
108
108
  /**
109
109
  * The type of account, default to person
110
110
  * @type {string}
@@ -91,7 +91,7 @@ export interface CreateAccountRequestDto {
91
91
  * @type {string}
92
92
  * @memberof CreateAccountRequestDto
93
93
  */
94
- 'phone': string;
94
+ 'phone'?: string;
95
95
  /**
96
96
  * Optional field to enter your own account number.
97
97
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/customer-sdk-node",
3
- "version": "1.23.2",
3
+ "version": "1.24.0",
4
4
  "description": "OpenAPI client for @emilgroup/customer-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [