@emilgroup/tenant-sdk-node 1.0.0-beta.0 → 1.0.0-beta.1
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 +9 -12
- package/README.md +6 -6
- package/api/custom-schema-api.ts +16 -16
- package/api/data-report-executor-api.ts +4 -8
- package/api.ts +0 -6
- package/base.ts +1 -1
- package/dist/api/custom-schema-api.d.ts +16 -16
- package/dist/api/custom-schema-api.js +16 -16
- package/dist/api/data-report-executor-api.d.ts +4 -8
- package/dist/api/data-report-executor-api.js +4 -8
- package/dist/api.d.ts +0 -3
- package/dist/api.js +0 -3
- package/dist/base.js +1 -1
- package/dist/models/alert-history-class.d.ts +108 -0
- package/dist/models/{create-permission-response-class.js → alert-history-class.js} +0 -0
- package/dist/models/{list-permissions-response-class.d.ts → channel-response-class.d.ts} +9 -9
- package/dist/models/{create-role-response-class.js → channel-response-class.js} +0 -0
- package/dist/models/compare-tariffs-response-class.d.ts +3 -2
- package/dist/models/data-report-filter-single-value-dto.d.ts +42 -0
- package/dist/models/{create-tenant-response-class.js → data-report-filter-single-value-dto.js} +0 -0
- package/dist/models/data-report-filter-value-dto.d.ts +31 -0
- package/dist/models/{get-role-response-class.js → data-report-filter-value-dto.js} +0 -0
- package/dist/models/{list-roles-response-class.d.ts → grouped-tariff-class.d.ts} +10 -10
- package/dist/models/{list-permissions-response-class.js → grouped-tariff-class.js} +0 -0
- package/dist/models/index.d.ts +9 -9
- package/dist/models/index.js +9 -9
- package/dist/models/{get-role-response-class.d.ts → insurance-company-response-class.d.ts} +6 -7
- package/dist/models/{list-roles-response-class.js → insurance-company-response-class.js} +0 -0
- package/dist/models/{update-role-response-class.d.ts → insurance-response-class.d.ts} +6 -7
- package/dist/models/{permission-class.js → insurance-response-class.js} +0 -0
- package/dist/models/list-alert-history-response-class.d.ts +3 -2
- package/dist/models/list-alerts-response-class.d.ts +3 -2
- package/dist/models/list-channels-response-class.d.ts +3 -2
- package/dist/models/list-custom-schemas-response-class.d.ts +1 -1
- package/dist/models/list-dashboards-response-class.d.ts +3 -2
- package/dist/models/list-insurance-companies-response-class.d.ts +3 -2
- package/dist/models/list-invites-response-class.d.ts +3 -2
- package/dist/models/list-report-history-response-class.d.ts +3 -2
- package/dist/models/list-reports-response-class.d.ts +3 -2
- package/dist/models/list-scenario-analyses-response-class.d.ts +3 -2
- package/dist/models/list-scenario-analysis-dates-response-class.d.ts +3 -2
- package/dist/models/list-tariff-insurance-companies-response-class.d.ts +3 -2
- package/dist/models/list-tariffs-response-class.d.ts +3 -2
- package/dist/models/list-users-response-class.d.ts +3 -2
- package/dist/models/report-history-class.d.ts +48 -0
- package/dist/models/{role-class.js → report-history-class.js} +0 -0
- package/dist/models/run-data-report-request-dto.d.ts +3 -2
- package/dist/models/run-data-report-response-class.d.ts +2 -2
- package/dist/models/scenario-analysis-date-response-class.d.ts +36 -0
- package/dist/models/{update-role-response-class.js → scenario-analysis-date-response-class.js} +0 -0
- package/models/alert-history-class.ts +114 -0
- package/models/{list-permissions-response-class.ts → channel-response-class.ts} +9 -9
- package/models/compare-tariffs-response-class.ts +3 -2
- package/models/data-report-filter-single-value-dto.ts +48 -0
- package/models/data-report-filter-value-dto.ts +37 -0
- package/models/{list-roles-response-class.ts → grouped-tariff-class.ts} +10 -10
- package/models/index.ts +9 -9
- package/models/{get-role-response-class.ts → insurance-company-response-class.ts} +6 -7
- package/models/{create-role-response-class.ts → insurance-response-class.ts} +6 -7
- package/models/list-alert-history-response-class.ts +3 -2
- package/models/list-alerts-response-class.ts +3 -2
- package/models/list-channels-response-class.ts +3 -2
- package/models/list-custom-schemas-response-class.ts +1 -1
- package/models/list-dashboards-response-class.ts +3 -2
- package/models/list-insurance-companies-response-class.ts +3 -2
- package/models/list-invites-response-class.ts +3 -2
- package/models/list-report-history-response-class.ts +3 -2
- package/models/list-reports-response-class.ts +3 -2
- package/models/list-scenario-analyses-response-class.ts +3 -2
- package/models/list-scenario-analysis-dates-response-class.ts +3 -2
- package/models/list-tariff-insurance-companies-response-class.ts +3 -2
- package/models/list-tariffs-response-class.ts +3 -2
- package/models/list-users-response-class.ts +3 -2
- package/models/{create-tenant-response-class.ts → report-history-class.ts} +20 -14
- package/models/run-data-report-request-dto.ts +3 -2
- package/models/run-data-report-response-class.ts +2 -3
- package/models/scenario-analysis-date-response-class.ts +42 -0
- package/package.json +1 -1
- package/api/permissions-api.ts +0 -307
- package/api/roles-api.ts +0 -564
- package/api/tenants-api.ts +0 -514
- package/dist/api/permissions-api.d.ts +0 -172
- package/dist/api/permissions-api.js +0 -331
- package/dist/api/roles-api.d.ts +0 -301
- package/dist/api/roles-api.js +0 -578
- package/dist/api/tenants-api.d.ts +0 -282
- package/dist/api/tenants-api.js +0 -514
- package/dist/models/create-permission-response-class.d.ts +0 -25
- package/dist/models/create-role-response-class.d.ts +0 -25
- package/dist/models/create-tenant-response-class.d.ts +0 -42
- package/dist/models/permission-class.d.ts +0 -66
- package/dist/models/role-class.d.ts +0 -60
- package/models/create-permission-response-class.ts +0 -31
- package/models/permission-class.ts +0 -72
- package/models/role-class.ts +0 -66
- package/models/update-role-response-class.ts +0 -31
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL Tenant Service
|
|
3
|
-
* The EMIL TenantService API description
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
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 RoleClass
|
|
16
|
-
*/
|
|
17
|
-
export interface RoleClass {
|
|
18
|
-
/**
|
|
19
|
-
* unique role code
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof RoleClass
|
|
22
|
-
*/
|
|
23
|
-
'code': string;
|
|
24
|
-
/**
|
|
25
|
-
* role id
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof RoleClass
|
|
28
|
-
*/
|
|
29
|
-
'id': number;
|
|
30
|
-
/**
|
|
31
|
-
* short description of the role
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof RoleClass
|
|
34
|
-
*/
|
|
35
|
-
'description': string;
|
|
36
|
-
/**
|
|
37
|
-
* role label
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof RoleClass
|
|
40
|
-
*/
|
|
41
|
-
'label': string;
|
|
42
|
-
/**
|
|
43
|
-
* permissions associated with the role
|
|
44
|
-
* @type {Array<string>}
|
|
45
|
-
* @memberof RoleClass
|
|
46
|
-
*/
|
|
47
|
-
'permissions': Array<string>;
|
|
48
|
-
/**
|
|
49
|
-
* Date created
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof RoleClass
|
|
52
|
-
*/
|
|
53
|
-
'createdAt': string;
|
|
54
|
-
/**
|
|
55
|
-
* Date updated
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof RoleClass
|
|
58
|
-
*/
|
|
59
|
-
'updatedAt': string;
|
|
60
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
*
|
|
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
|
-
import { PermissionClass } from './permission-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface CreatePermissionResponseClass
|
|
22
|
-
*/
|
|
23
|
-
export interface CreatePermissionResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* permission
|
|
26
|
-
* @type {PermissionClass}
|
|
27
|
-
* @memberof CreatePermissionResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'permission': PermissionClass;
|
|
30
|
-
}
|
|
31
|
-
|
|
@@ -1,72 +0,0 @@
|
|
|
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
|
-
*
|
|
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 PermissionClass
|
|
21
|
-
*/
|
|
22
|
-
export interface PermissionClass {
|
|
23
|
-
/**
|
|
24
|
-
* permission id
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof PermissionClass
|
|
27
|
-
*/
|
|
28
|
-
'id': number;
|
|
29
|
-
/**
|
|
30
|
-
* unique permission code
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof PermissionClass
|
|
33
|
-
*/
|
|
34
|
-
'code': string;
|
|
35
|
-
/**
|
|
36
|
-
* permission module
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof PermissionClass
|
|
39
|
-
*/
|
|
40
|
-
'module': string;
|
|
41
|
-
/**
|
|
42
|
-
* permission entity
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof PermissionClass
|
|
45
|
-
*/
|
|
46
|
-
'entity': string;
|
|
47
|
-
/**
|
|
48
|
-
* permission action
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof PermissionClass
|
|
51
|
-
*/
|
|
52
|
-
'action': string;
|
|
53
|
-
/**
|
|
54
|
-
* if permission is restricted to self
|
|
55
|
-
* @type {boolean}
|
|
56
|
-
* @memberof PermissionClass
|
|
57
|
-
*/
|
|
58
|
-
'isScoped': boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Date created
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof PermissionClass
|
|
63
|
-
*/
|
|
64
|
-
'createdAt': string;
|
|
65
|
-
/**
|
|
66
|
-
* Date updated
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof PermissionClass
|
|
69
|
-
*/
|
|
70
|
-
'updatedAt': string;
|
|
71
|
-
}
|
|
72
|
-
|
package/models/role-class.ts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
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
|
-
*
|
|
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 RoleClass
|
|
21
|
-
*/
|
|
22
|
-
export interface RoleClass {
|
|
23
|
-
/**
|
|
24
|
-
* unique role code
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof RoleClass
|
|
27
|
-
*/
|
|
28
|
-
'code': string;
|
|
29
|
-
/**
|
|
30
|
-
* role id
|
|
31
|
-
* @type {number}
|
|
32
|
-
* @memberof RoleClass
|
|
33
|
-
*/
|
|
34
|
-
'id': number;
|
|
35
|
-
/**
|
|
36
|
-
* short description of the role
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof RoleClass
|
|
39
|
-
*/
|
|
40
|
-
'description': string;
|
|
41
|
-
/**
|
|
42
|
-
* role label
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof RoleClass
|
|
45
|
-
*/
|
|
46
|
-
'label': string;
|
|
47
|
-
/**
|
|
48
|
-
* permissions associated with the role
|
|
49
|
-
* @type {Array<string>}
|
|
50
|
-
* @memberof RoleClass
|
|
51
|
-
*/
|
|
52
|
-
'permissions': Array<string>;
|
|
53
|
-
/**
|
|
54
|
-
* Date created
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof RoleClass
|
|
57
|
-
*/
|
|
58
|
-
'createdAt': string;
|
|
59
|
-
/**
|
|
60
|
-
* Date updated
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof RoleClass
|
|
63
|
-
*/
|
|
64
|
-
'updatedAt': string;
|
|
65
|
-
}
|
|
66
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
*
|
|
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
|
-
import { RoleClass } from './role-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface UpdateRoleResponseClass
|
|
22
|
-
*/
|
|
23
|
-
export interface UpdateRoleResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* role
|
|
26
|
-
* @type {RoleClass}
|
|
27
|
-
* @memberof UpdateRoleResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'role': RoleClass;
|
|
30
|
-
}
|
|
31
|
-
|