@emilgroup/tenant-sdk 1.25.0 → 1.27.1-beta.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/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/base.ts +1 -0
- package/dist/base.d.ts +1 -0
- package/dist/base.js +1 -0
- package/dist/models/create-tenant-db-config-request-dto.d.ts +30 -0
- package/dist/models/create-tenant-db-config-request-dto.js +15 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/invite-class.d.ts +12 -12
- package/dist/models/user-class.d.ts +8 -8
- package/models/create-tenant-db-config-request-dto.ts +36 -0
- package/models/index.ts +1 -0
- package/models/invite-class.ts +12 -12
- package/models/user-class.ts +8 -8
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -35,6 +35,7 @@ models/create-dashboard-request-dto.ts
|
|
|
35
35
|
models/create-dashboard-response-class.ts
|
|
36
36
|
models/create-data-report-request-dto.ts
|
|
37
37
|
models/create-data-report-response-class.ts
|
|
38
|
+
models/create-tenant-db-config-request-dto.ts
|
|
38
39
|
models/create-tenant-request-dto.ts
|
|
39
40
|
models/custom-field-dto.ts
|
|
40
41
|
models/custom-schema-class.ts
|
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.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.27.1-beta.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk@1.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk@1.27.1-beta.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/base.ts
CHANGED
|
@@ -40,6 +40,7 @@ export interface LoginClass {
|
|
|
40
40
|
export enum Environment {
|
|
41
41
|
Production = 'https://apiv2.emil.de',
|
|
42
42
|
Test = 'https://apiv2-test.emil.de',
|
|
43
|
+
Staging = 'https://apiv2-staging.emil.de',
|
|
43
44
|
Development = 'https://apiv2-dev.emil.de',
|
|
44
45
|
ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
|
|
45
46
|
}
|
package/dist/base.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export interface LoginClass {
|
|
|
29
29
|
export declare enum Environment {
|
|
30
30
|
Production = "https://apiv2.emil.de",
|
|
31
31
|
Test = "https://apiv2-test.emil.de",
|
|
32
|
+
Staging = "https://apiv2-staging.emil.de",
|
|
32
33
|
Development = "https://apiv2-dev.emil.de",
|
|
33
34
|
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
34
35
|
}
|
package/dist/base.js
CHANGED
|
@@ -99,6 +99,7 @@ var Environment;
|
|
|
99
99
|
(function (Environment) {
|
|
100
100
|
Environment["Production"] = "https://apiv2.emil.de";
|
|
101
101
|
Environment["Test"] = "https://apiv2-test.emil.de";
|
|
102
|
+
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
102
103
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
103
104
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
104
105
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateTenantDbConfigRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateTenantDbConfigRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Tenant Slug
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateTenantDbConfigRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'tenantSlug': string;
|
|
24
|
+
/**
|
|
25
|
+
* Tenant DB Config
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof CreateTenantDbConfigRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'config': object;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Tenant Service
|
|
6
|
+
* The EMIL TenantService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './create-dashboard-request-dto';
|
|
|
10
10
|
export * from './create-dashboard-response-class';
|
|
11
11
|
export * from './create-data-report-request-dto';
|
|
12
12
|
export * from './create-data-report-response-class';
|
|
13
|
+
export * from './create-tenant-db-config-request-dto';
|
|
13
14
|
export * from './create-tenant-request-dto';
|
|
14
15
|
export * from './custom-field-dto';
|
|
15
16
|
export * from './custom-schema-class';
|
package/dist/models/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __exportStar(require("./create-dashboard-request-dto"), exports);
|
|
|
26
26
|
__exportStar(require("./create-dashboard-response-class"), exports);
|
|
27
27
|
__exportStar(require("./create-data-report-request-dto"), exports);
|
|
28
28
|
__exportStar(require("./create-data-report-response-class"), exports);
|
|
29
|
+
__exportStar(require("./create-tenant-db-config-request-dto"), exports);
|
|
29
30
|
__exportStar(require("./create-tenant-request-dto"), exports);
|
|
30
31
|
__exportStar(require("./custom-field-dto"), exports);
|
|
31
32
|
__exportStar(require("./custom-schema-class"), exports);
|
|
@@ -53,6 +53,18 @@ export interface InviteClass {
|
|
|
53
53
|
* @memberof InviteClass
|
|
54
54
|
*/
|
|
55
55
|
'updatedAt': string;
|
|
56
|
+
/**
|
|
57
|
+
* Identifier of the user who created the record.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof InviteClass
|
|
60
|
+
*/
|
|
61
|
+
'createdBy': string;
|
|
62
|
+
/**
|
|
63
|
+
* Identifier of the user who last updated the record.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof InviteClass
|
|
66
|
+
*/
|
|
67
|
+
'updatedBy': string;
|
|
56
68
|
/**
|
|
57
69
|
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
58
70
|
* @type {string}
|
|
@@ -77,18 +89,6 @@ export interface InviteClass {
|
|
|
77
89
|
* @memberof InviteClass
|
|
78
90
|
*/
|
|
79
91
|
'organizationId'?: number;
|
|
80
|
-
/**
|
|
81
|
-
* Identifier of the user who created the record.
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof InviteClass
|
|
84
|
-
*/
|
|
85
|
-
'createdBy': string;
|
|
86
|
-
/**
|
|
87
|
-
* Identifier of the user who last updated the record.
|
|
88
|
-
* @type {string}
|
|
89
|
-
* @memberof InviteClass
|
|
90
|
-
*/
|
|
91
|
-
'updatedBy': string;
|
|
92
92
|
/**
|
|
93
93
|
* Organization associated with the user
|
|
94
94
|
* @type {OrganizationClass}
|
|
@@ -91,29 +91,29 @@ export interface UserClass {
|
|
|
91
91
|
*/
|
|
92
92
|
'updatedAt': string;
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Identifier of the user who created the record.
|
|
95
95
|
* @type {string}
|
|
96
96
|
* @memberof UserClass
|
|
97
97
|
*/
|
|
98
|
-
'
|
|
98
|
+
'createdBy': string;
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* Identifier of the user who last updated the record.
|
|
101
101
|
* @type {string}
|
|
102
102
|
* @memberof UserClass
|
|
103
103
|
*/
|
|
104
|
-
'
|
|
104
|
+
'updatedBy': string;
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
107
107
|
* @type {string}
|
|
108
108
|
* @memberof UserClass
|
|
109
109
|
*/
|
|
110
|
-
'
|
|
110
|
+
'ern': string;
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Associated partner code - only available if the partner has been invited and registered in EIS platform
|
|
113
113
|
* @type {string}
|
|
114
114
|
* @memberof UserClass
|
|
115
115
|
*/
|
|
116
|
-
'
|
|
116
|
+
'partnerCode'?: string;
|
|
117
117
|
/**
|
|
118
118
|
* Organization associated with the user
|
|
119
119
|
* @type {OrganizationClass}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Tenant Service
|
|
5
|
+
* The EMIL TenantService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateTenantDbConfigRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTenantDbConfigRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Tenant Slug
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateTenantDbConfigRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'tenantSlug': string;
|
|
29
|
+
/**
|
|
30
|
+
* Tenant DB Config
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof CreateTenantDbConfigRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'config': object;
|
|
35
|
+
}
|
|
36
|
+
|
package/models/index.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './create-dashboard-request-dto';
|
|
|
10
10
|
export * from './create-dashboard-response-class';
|
|
11
11
|
export * from './create-data-report-request-dto';
|
|
12
12
|
export * from './create-data-report-response-class';
|
|
13
|
+
export * from './create-tenant-db-config-request-dto';
|
|
13
14
|
export * from './create-tenant-request-dto';
|
|
14
15
|
export * from './custom-field-dto';
|
|
15
16
|
export * from './custom-schema-class';
|
package/models/invite-class.ts
CHANGED
|
@@ -58,6 +58,18 @@ export interface InviteClass {
|
|
|
58
58
|
* @memberof InviteClass
|
|
59
59
|
*/
|
|
60
60
|
'updatedAt': string;
|
|
61
|
+
/**
|
|
62
|
+
* Identifier of the user who created the record.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof InviteClass
|
|
65
|
+
*/
|
|
66
|
+
'createdBy': string;
|
|
67
|
+
/**
|
|
68
|
+
* Identifier of the user who last updated the record.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof InviteClass
|
|
71
|
+
*/
|
|
72
|
+
'updatedBy': string;
|
|
61
73
|
/**
|
|
62
74
|
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
63
75
|
* @type {string}
|
|
@@ -82,18 +94,6 @@ export interface InviteClass {
|
|
|
82
94
|
* @memberof InviteClass
|
|
83
95
|
*/
|
|
84
96
|
'organizationId'?: number;
|
|
85
|
-
/**
|
|
86
|
-
* Identifier of the user who created the record.
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @memberof InviteClass
|
|
89
|
-
*/
|
|
90
|
-
'createdBy': string;
|
|
91
|
-
/**
|
|
92
|
-
* Identifier of the user who last updated the record.
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof InviteClass
|
|
95
|
-
*/
|
|
96
|
-
'updatedBy': string;
|
|
97
97
|
/**
|
|
98
98
|
* Organization associated with the user
|
|
99
99
|
* @type {OrganizationClass}
|
package/models/user-class.ts
CHANGED
|
@@ -96,29 +96,29 @@ export interface UserClass {
|
|
|
96
96
|
*/
|
|
97
97
|
'updatedAt': string;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* Identifier of the user who created the record.
|
|
100
100
|
* @type {string}
|
|
101
101
|
* @memberof UserClass
|
|
102
102
|
*/
|
|
103
|
-
'
|
|
103
|
+
'createdBy': string;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* Identifier of the user who last updated the record.
|
|
106
106
|
* @type {string}
|
|
107
107
|
* @memberof UserClass
|
|
108
108
|
*/
|
|
109
|
-
'
|
|
109
|
+
'updatedBy': string;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
112
112
|
* @type {string}
|
|
113
113
|
* @memberof UserClass
|
|
114
114
|
*/
|
|
115
|
-
'
|
|
115
|
+
'ern': string;
|
|
116
116
|
/**
|
|
117
|
-
*
|
|
117
|
+
* Associated partner code - only available if the partner has been invited and registered in EIS platform
|
|
118
118
|
* @type {string}
|
|
119
119
|
* @memberof UserClass
|
|
120
120
|
*/
|
|
121
|
-
'
|
|
121
|
+
'partnerCode'?: string;
|
|
122
122
|
/**
|
|
123
123
|
* Organization associated with the user
|
|
124
124
|
* @type {OrganizationClass}
|