@emilgroup/tenant-sdk 1.2.1 → 1.2.2

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/tenant-sdk@1.2.1 --save
20
+ npm install @emilgroup/tenant-sdk@1.2.2 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/tenant-sdk@1.2.1
24
+ yarn add @emilgroup/tenant-sdk@1.2.2
25
25
  ```
26
26
 
27
27
  And then you can import `UsersApi`.
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';
@@ -46,11 +46,17 @@ export interface InviteOrgRequestDto {
46
46
  */
47
47
  'parentOrganizationId': number;
48
48
  /**
49
- * Address of the organization.
49
+ * Organization\'s street name.
50
50
  * @type {string}
51
51
  * @memberof InviteOrgRequestDto
52
52
  */
53
- 'address': string;
53
+ 'street': string;
54
+ /**
55
+ * Organization\'s house number.
56
+ * @type {string}
57
+ * @memberof InviteOrgRequestDto
58
+ */
59
+ 'houseNumber': string;
54
60
  /**
55
61
  * Zip code of the organization.
56
62
  * @type {string}
@@ -53,11 +53,17 @@ export interface OrgInvitationClass {
53
53
  */
54
54
  'parentOrganizationId'?: number;
55
55
  /**
56
- * Address of the organization.
56
+ * Organization\'s street name.
57
57
  * @type {string}
58
58
  * @memberof OrgInvitationClass
59
59
  */
60
- 'address': string;
60
+ 'street': string;
61
+ /**
62
+ * Organization\'s house number.
63
+ * @type {string}
64
+ * @memberof OrgInvitationClass
65
+ */
66
+ 'houseNumber': string;
61
67
  /**
62
68
  * Zip code of the organization.
63
69
  * @type {string}
@@ -29,10 +29,10 @@ export interface OrganizationClass {
29
29
  'code': string;
30
30
  /**
31
31
  * Parent organization ID.
32
- * @type {object}
32
+ * @type {number}
33
33
  * @memberof OrganizationClass
34
34
  */
35
- 'parentId'?: object;
35
+ 'parentId'?: number;
36
36
  /**
37
37
  * ERN of the organization.
38
38
  * @type {string}
@@ -52,11 +52,17 @@ export interface OrganizationClass {
52
52
  */
53
53
  'name': string;
54
54
  /**
55
- * Address of the organization.
55
+ * Organization\'s street name.
56
+ * @type {string}
57
+ * @memberof OrganizationClass
58
+ */
59
+ 'street': string;
60
+ /**
61
+ * Organization\'s house number..
56
62
  * @type {string}
57
63
  * @memberof OrganizationClass
58
64
  */
59
- 'address': string;
65
+ 'houseNumber': string;
60
66
  /**
61
67
  * Zip code of the organization.
62
68
  * @type {string}
@@ -16,11 +16,17 @@
16
16
  */
17
17
  export interface UpdateOrganizationRequestDtoRest {
18
18
  /**
19
- * Organization\'s contact person email address.
19
+ * Organization\'s street name.
20
+ * @type {string}
21
+ * @memberof UpdateOrganizationRequestDtoRest
22
+ */
23
+ 'street': string;
24
+ /**
25
+ * Organization\'s house number.
20
26
  * @type {string}
21
27
  * @memberof UpdateOrganizationRequestDtoRest
22
28
  */
23
- 'address': string;
29
+ 'houseNumber': string;
24
30
  /**
25
31
  * Zip code of the organization.
26
32
  * @type {string}
@@ -51,11 +51,17 @@ export interface InviteOrgRequestDto {
51
51
  */
52
52
  'parentOrganizationId': number;
53
53
  /**
54
- * Address of the organization.
54
+ * Organization\'s street name.
55
55
  * @type {string}
56
56
  * @memberof InviteOrgRequestDto
57
57
  */
58
- 'address': string;
58
+ 'street': string;
59
+ /**
60
+ * Organization\'s house number.
61
+ * @type {string}
62
+ * @memberof InviteOrgRequestDto
63
+ */
64
+ 'houseNumber': string;
59
65
  /**
60
66
  * Zip code of the organization.
61
67
  * @type {string}
@@ -58,11 +58,17 @@ export interface OrgInvitationClass {
58
58
  */
59
59
  'parentOrganizationId'?: number;
60
60
  /**
61
- * Address of the organization.
61
+ * Organization\'s street name.
62
62
  * @type {string}
63
63
  * @memberof OrgInvitationClass
64
64
  */
65
- 'address': string;
65
+ 'street': string;
66
+ /**
67
+ * Organization\'s house number.
68
+ * @type {string}
69
+ * @memberof OrgInvitationClass
70
+ */
71
+ 'houseNumber': string;
66
72
  /**
67
73
  * Zip code of the organization.
68
74
  * @type {string}
@@ -34,10 +34,10 @@ export interface OrganizationClass {
34
34
  'code': string;
35
35
  /**
36
36
  * Parent organization ID.
37
- * @type {object}
37
+ * @type {number}
38
38
  * @memberof OrganizationClass
39
39
  */
40
- 'parentId'?: object;
40
+ 'parentId'?: number;
41
41
  /**
42
42
  * ERN of the organization.
43
43
  * @type {string}
@@ -57,11 +57,17 @@ export interface OrganizationClass {
57
57
  */
58
58
  'name': string;
59
59
  /**
60
- * Address of the organization.
60
+ * Organization\'s street name.
61
+ * @type {string}
62
+ * @memberof OrganizationClass
63
+ */
64
+ 'street': string;
65
+ /**
66
+ * Organization\'s house number..
61
67
  * @type {string}
62
68
  * @memberof OrganizationClass
63
69
  */
64
- 'address': string;
70
+ 'houseNumber': string;
65
71
  /**
66
72
  * Zip code of the organization.
67
73
  * @type {string}
@@ -21,11 +21,17 @@
21
21
  */
22
22
  export interface UpdateOrganizationRequestDtoRest {
23
23
  /**
24
- * Organization\'s contact person email address.
24
+ * Organization\'s street name.
25
+ * @type {string}
26
+ * @memberof UpdateOrganizationRequestDtoRest
27
+ */
28
+ 'street': string;
29
+ /**
30
+ * Organization\'s house number.
25
31
  * @type {string}
26
32
  * @memberof UpdateOrganizationRequestDtoRest
27
33
  */
28
- 'address': string;
34
+ 'houseNumber': string;
29
35
  /**
30
36
  * Zip code of the organization.
31
37
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/tenant-sdk",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "OpenAPI client for @emilgroup/tenant-sdk",
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
  }