@emilgroup/tenant-sdk 1.0.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.
Files changed (226) hide show
  1. package/.openapi-generator/FILES +80 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +68 -0
  5. package/api/custom-schema-api.ts +580 -0
  6. package/api/data-report-api.ts +677 -0
  7. package/api/data-report-executor-api.ts +165 -0
  8. package/api/invite-organizations-api.ts +343 -0
  9. package/api/invite-users-api.ts +660 -0
  10. package/api/organizations-api.ts +339 -0
  11. package/api/users-api.ts +1087 -0
  12. package/api.ts +43 -0
  13. package/base.ts +284 -0
  14. package/common.ts +199 -0
  15. package/configuration.ts +109 -0
  16. package/dist/api/custom-schema-api.d.ts +329 -0
  17. package/dist/api/custom-schema-api.js +548 -0
  18. package/dist/api/data-report-api.d.ts +380 -0
  19. package/dist/api/data-report-api.js +636 -0
  20. package/dist/api/data-report-executor-api.d.ts +93 -0
  21. package/dist/api/data-report-executor-api.js +224 -0
  22. package/dist/api/invite-organizations-api.d.ts +198 -0
  23. package/dist/api/invite-organizations-api.js +351 -0
  24. package/dist/api/invite-users-api.d.ts +368 -0
  25. package/dist/api/invite-users-api.js +629 -0
  26. package/dist/api/organizations-api.d.ts +197 -0
  27. package/dist/api/organizations-api.js +350 -0
  28. package/dist/api/users-api.d.ts +588 -0
  29. package/dist/api/users-api.js +986 -0
  30. package/dist/api.d.ts +18 -0
  31. package/dist/api.js +36 -0
  32. package/dist/base.d.ts +77 -0
  33. package/dist/base.js +393 -0
  34. package/dist/common.d.ts +92 -0
  35. package/dist/common.js +277 -0
  36. package/dist/configuration.d.ts +90 -0
  37. package/dist/configuration.js +44 -0
  38. package/dist/index.d.ts +15 -0
  39. package/dist/index.js +36 -0
  40. package/dist/models/assign-user-roles-request-dto.d.ts +30 -0
  41. package/dist/models/assign-user-roles-request-dto.js +15 -0
  42. package/dist/models/assign-user-roles-response-class.d.ts +25 -0
  43. package/dist/models/assign-user-roles-response-class.js +15 -0
  44. package/dist/models/batch-delete-request-dto.d.ts +24 -0
  45. package/dist/models/batch-delete-request-dto.js +15 -0
  46. package/dist/models/batch-delete-response-class.d.ts +24 -0
  47. package/dist/models/batch-delete-response-class.js +15 -0
  48. package/dist/models/create-custom-schema-request-dto.d.ts +45 -0
  49. package/dist/models/create-custom-schema-request-dto.js +23 -0
  50. package/dist/models/create-custom-schema-response-class.d.ts +25 -0
  51. package/dist/models/create-custom-schema-response-class.js +15 -0
  52. package/dist/models/create-data-report-request-dto.d.ts +61 -0
  53. package/dist/models/create-data-report-request-dto.js +15 -0
  54. package/dist/models/create-data-report-response-class.d.ts +25 -0
  55. package/dist/models/create-data-report-response-class.js +15 -0
  56. package/dist/models/create-permission-request-dto.d.ts +42 -0
  57. package/dist/models/create-permission-request-dto.js +15 -0
  58. package/dist/models/create-role-request-dto.d.ts +36 -0
  59. package/dist/models/create-role-request-dto.js +15 -0
  60. package/dist/models/create-tenant-request-dto.d.ts +56 -0
  61. package/dist/models/create-tenant-request-dto.js +15 -0
  62. package/dist/models/custom-field-dto.d.ts +68 -0
  63. package/dist/models/custom-field-dto.js +23 -0
  64. package/dist/models/custom-schema-class.d.ts +66 -0
  65. package/dist/models/custom-schema-class.js +15 -0
  66. package/dist/models/data-report-class.d.ts +79 -0
  67. package/dist/models/data-report-class.js +15 -0
  68. package/dist/models/data-report-filter-class.d.ts +72 -0
  69. package/dist/models/data-report-filter-class.js +15 -0
  70. package/dist/models/data-report-filter-dto.d.ts +48 -0
  71. package/dist/models/data-report-filter-dto.js +15 -0
  72. package/dist/models/data-report-filter-single-value-dto.d.ts +42 -0
  73. package/dist/models/data-report-filter-single-value-dto.js +15 -0
  74. package/dist/models/data-report-filter-value-dto.d.ts +31 -0
  75. package/dist/models/data-report-filter-value-dto.js +15 -0
  76. package/dist/models/dbconfig-dto.d.ts +48 -0
  77. package/dist/models/dbconfig-dto.js +15 -0
  78. package/dist/models/delete-response-class.d.ts +24 -0
  79. package/dist/models/delete-response-class.js +15 -0
  80. package/dist/models/disable-user-response-class.d.ts +25 -0
  81. package/dist/models/disable-user-response-class.js +15 -0
  82. package/dist/models/disable-users-request-dto.d.ts +24 -0
  83. package/dist/models/disable-users-request-dto.js +15 -0
  84. package/dist/models/disable-users-response-class.d.ts +24 -0
  85. package/dist/models/disable-users-response-class.js +15 -0
  86. package/dist/models/enable-user-response-class.d.ts +25 -0
  87. package/dist/models/enable-user-response-class.js +15 -0
  88. package/dist/models/enable-users-request-dto.d.ts +24 -0
  89. package/dist/models/enable-users-request-dto.js +15 -0
  90. package/dist/models/enable-users-response-class.d.ts +24 -0
  91. package/dist/models/enable-users-response-class.js +15 -0
  92. package/dist/models/get-custom-schema-response-class.d.ts +25 -0
  93. package/dist/models/get-custom-schema-response-class.js +15 -0
  94. package/dist/models/get-data-report-response-class.d.ts +25 -0
  95. package/dist/models/get-data-report-response-class.js +15 -0
  96. package/dist/models/get-organization-response-class.d.ts +25 -0
  97. package/dist/models/get-organization-response-class.js +15 -0
  98. package/dist/models/get-settings-response-class.d.ts +24 -0
  99. package/dist/models/get-settings-response-class.js +15 -0
  100. package/dist/models/get-user-response-class.d.ts +25 -0
  101. package/dist/models/get-user-response-class.js +15 -0
  102. package/dist/models/index.d.ts +60 -0
  103. package/dist/models/index.js +76 -0
  104. package/dist/models/invite-class.d.ts +55 -0
  105. package/dist/models/invite-class.js +15 -0
  106. package/dist/models/invite-org-request-dto.d.ts +78 -0
  107. package/dist/models/invite-org-request-dto.js +15 -0
  108. package/dist/models/invite-user-request-dto.d.ts +36 -0
  109. package/dist/models/invite-user-request-dto.js +15 -0
  110. package/dist/models/invite-user-response-class.d.ts +25 -0
  111. package/dist/models/invite-user-response-class.js +15 -0
  112. package/dist/models/invite-users-request-dto.d.ts +30 -0
  113. package/dist/models/invite-users-request-dto.js +15 -0
  114. package/dist/models/invite-users-response-class.d.ts +24 -0
  115. package/dist/models/invite-users-response-class.js +15 -0
  116. package/dist/models/list-custom-schemas-response-class.d.ts +30 -0
  117. package/dist/models/list-custom-schemas-response-class.js +15 -0
  118. package/dist/models/list-data-reports-response-class.d.ts +31 -0
  119. package/dist/models/list-data-reports-response-class.js +15 -0
  120. package/dist/models/list-invites-response-class.d.ts +31 -0
  121. package/dist/models/list-invites-response-class.js +15 -0
  122. package/dist/models/list-org-invitations-response-class.d.ts +31 -0
  123. package/dist/models/list-org-invitations-response-class.js +15 -0
  124. package/dist/models/list-organizations-response-class.d.ts +31 -0
  125. package/dist/models/list-organizations-response-class.js +15 -0
  126. package/dist/models/list-users-response-class.d.ts +31 -0
  127. package/dist/models/list-users-response-class.js +15 -0
  128. package/dist/models/org-invitation-class.d.ts +103 -0
  129. package/dist/models/org-invitation-class.js +15 -0
  130. package/dist/models/org-invitation-response-class.d.ts +25 -0
  131. package/dist/models/org-invitation-response-class.js +15 -0
  132. package/dist/models/organization-class.d.ts +84 -0
  133. package/dist/models/organization-class.js +15 -0
  134. package/dist/models/permission-class.d.ts +60 -0
  135. package/dist/models/permission-class.js +15 -0
  136. package/dist/models/role-class.d.ts +61 -0
  137. package/dist/models/role-class.js +15 -0
  138. package/dist/models/run-data-report-request-dto.d.ts +31 -0
  139. package/dist/models/run-data-report-request-dto.js +15 -0
  140. package/dist/models/run-data-report-response-class.d.ts +24 -0
  141. package/dist/models/run-data-report-response-class.js +15 -0
  142. package/dist/models/set-setting-request-dto.d.ts +36 -0
  143. package/dist/models/set-setting-request-dto.js +15 -0
  144. package/dist/models/set-user-setting-response-class.d.ts +36 -0
  145. package/dist/models/set-user-setting-response-class.js +15 -0
  146. package/dist/models/subscription-class.d.ts +67 -0
  147. package/dist/models/subscription-class.js +15 -0
  148. package/dist/models/tenant-admin-user-dto.d.ts +42 -0
  149. package/dist/models/tenant-admin-user-dto.js +15 -0
  150. package/dist/models/update-custom-schema-request-dto.d.ts +45 -0
  151. package/dist/models/update-custom-schema-request-dto.js +23 -0
  152. package/dist/models/update-custom-schema-response-class.d.ts +25 -0
  153. package/dist/models/update-custom-schema-response-class.js +15 -0
  154. package/dist/models/update-data-report-request-dto.d.ts +61 -0
  155. package/dist/models/update-data-report-request-dto.js +15 -0
  156. package/dist/models/update-data-report-response-class.d.ts +25 -0
  157. package/dist/models/update-data-report-response-class.js +15 -0
  158. package/dist/models/update-role-request-dto.d.ts +42 -0
  159. package/dist/models/update-role-request-dto.js +15 -0
  160. package/dist/models/user-class.d.ts +98 -0
  161. package/dist/models/user-class.js +15 -0
  162. package/git_push.sh +57 -0
  163. package/index.ts +19 -0
  164. package/models/assign-user-roles-request-dto.ts +36 -0
  165. package/models/assign-user-roles-response-class.ts +31 -0
  166. package/models/batch-delete-request-dto.ts +30 -0
  167. package/models/batch-delete-response-class.ts +30 -0
  168. package/models/create-custom-schema-request-dto.ts +54 -0
  169. package/models/create-custom-schema-response-class.ts +31 -0
  170. package/models/create-data-report-request-dto.ts +67 -0
  171. package/models/create-data-report-response-class.ts +31 -0
  172. package/models/create-permission-request-dto.ts +48 -0
  173. package/models/create-role-request-dto.ts +42 -0
  174. package/models/create-tenant-request-dto.ts +62 -0
  175. package/models/custom-field-dto.ts +77 -0
  176. package/models/custom-schema-class.ts +72 -0
  177. package/models/data-report-class.ts +85 -0
  178. package/models/data-report-filter-class.ts +78 -0
  179. package/models/data-report-filter-dto.ts +54 -0
  180. package/models/data-report-filter-single-value-dto.ts +48 -0
  181. package/models/data-report-filter-value-dto.ts +37 -0
  182. package/models/dbconfig-dto.ts +54 -0
  183. package/models/delete-response-class.ts +30 -0
  184. package/models/disable-user-response-class.ts +31 -0
  185. package/models/disable-users-request-dto.ts +30 -0
  186. package/models/disable-users-response-class.ts +30 -0
  187. package/models/enable-user-response-class.ts +31 -0
  188. package/models/enable-users-request-dto.ts +30 -0
  189. package/models/enable-users-response-class.ts +30 -0
  190. package/models/get-custom-schema-response-class.ts +31 -0
  191. package/models/get-data-report-response-class.ts +31 -0
  192. package/models/get-organization-response-class.ts +31 -0
  193. package/models/get-settings-response-class.ts +30 -0
  194. package/models/get-user-response-class.ts +31 -0
  195. package/models/index.ts +60 -0
  196. package/models/invite-class.ts +61 -0
  197. package/models/invite-org-request-dto.ts +84 -0
  198. package/models/invite-user-request-dto.ts +42 -0
  199. package/models/invite-user-response-class.ts +31 -0
  200. package/models/invite-users-request-dto.ts +36 -0
  201. package/models/invite-users-response-class.ts +30 -0
  202. package/models/list-custom-schemas-response-class.ts +36 -0
  203. package/models/list-data-reports-response-class.ts +37 -0
  204. package/models/list-invites-response-class.ts +37 -0
  205. package/models/list-org-invitations-response-class.ts +37 -0
  206. package/models/list-organizations-response-class.ts +37 -0
  207. package/models/list-users-response-class.ts +37 -0
  208. package/models/org-invitation-class.ts +109 -0
  209. package/models/org-invitation-response-class.ts +31 -0
  210. package/models/organization-class.ts +90 -0
  211. package/models/permission-class.ts +66 -0
  212. package/models/role-class.ts +67 -0
  213. package/models/run-data-report-request-dto.ts +37 -0
  214. package/models/run-data-report-response-class.ts +30 -0
  215. package/models/set-setting-request-dto.ts +42 -0
  216. package/models/set-user-setting-response-class.ts +42 -0
  217. package/models/subscription-class.ts +73 -0
  218. package/models/tenant-admin-user-dto.ts +48 -0
  219. package/models/update-custom-schema-request-dto.ts +54 -0
  220. package/models/update-custom-schema-response-class.ts +31 -0
  221. package/models/update-data-report-request-dto.ts +67 -0
  222. package/models/update-data-report-response-class.ts +31 -0
  223. package/models/update-role-request-dto.ts +48 -0
  224. package/models/user-class.ts +104 -0
  225. package/package.json +29 -0
  226. package/tsconfig.json +22 -0
@@ -0,0 +1,37 @@
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
+ import { OrganizationClass } from './organization-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListOrganizationsResponseClass
22
+ */
23
+ export interface ListOrganizationsResponseClass {
24
+ /**
25
+ * Organization
26
+ * @type {Array<OrganizationClass>}
27
+ * @memberof ListOrganizationsResponseClass
28
+ */
29
+ 'items': Array<OrganizationClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListOrganizationsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -0,0 +1,37 @@
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
+ import { UserClass } from './user-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListUsersResponseClass
22
+ */
23
+ export interface ListUsersResponseClass {
24
+ /**
25
+ * Users
26
+ * @type {Array<UserClass>}
27
+ * @memberof ListUsersResponseClass
28
+ */
29
+ 'items': Array<UserClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListUsersResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -0,0 +1,109 @@
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
+ import { RoleClass } from './role-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface OrgInvitationClass
22
+ */
23
+ export interface OrgInvitationClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof OrgInvitationClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Organization user\'s email address.
32
+ * @type {string}
33
+ * @memberof OrgInvitationClass
34
+ */
35
+ 'email': string;
36
+ /**
37
+ * Permissions associated with the invite.
38
+ * @type {Array<RoleClass>}
39
+ * @memberof OrgInvitationClass
40
+ */
41
+ 'roles'?: Array<RoleClass>;
42
+ /**
43
+ * Name of the invited organization.
44
+ * @type {string}
45
+ * @memberof OrgInvitationClass
46
+ */
47
+ 'name': string;
48
+ /**
49
+ * Identifier for the organization.
50
+ * @type {string}
51
+ * @memberof OrgInvitationClass
52
+ */
53
+ 'slug': string;
54
+ /**
55
+ * Inviting organization.
56
+ * @type {number}
57
+ * @memberof OrgInvitationClass
58
+ */
59
+ 'parentOrganizationId'?: number;
60
+ /**
61
+ * Address of the organization.
62
+ * @type {string}
63
+ * @memberof OrgInvitationClass
64
+ */
65
+ 'address': string;
66
+ /**
67
+ * Zip code of the organization.
68
+ * @type {string}
69
+ * @memberof OrgInvitationClass
70
+ */
71
+ 'zipCode': string;
72
+ /**
73
+ * City of the organization.
74
+ * @type {string}
75
+ * @memberof OrgInvitationClass
76
+ */
77
+ 'city': string;
78
+ /**
79
+ * Country of the organization.
80
+ * @type {string}
81
+ * @memberof OrgInvitationClass
82
+ */
83
+ 'country': string;
84
+ /**
85
+ * Custom fields of the organization.
86
+ * @type {object}
87
+ * @memberof OrgInvitationClass
88
+ */
89
+ 'customFields'?: object;
90
+ /**
91
+ * Expiry date of invitation email.
92
+ * @type {string}
93
+ * @memberof OrgInvitationClass
94
+ */
95
+ 'expiresAt': string;
96
+ /**
97
+ * Time at which the object was created.
98
+ * @type {string}
99
+ * @memberof OrgInvitationClass
100
+ */
101
+ 'createdAt': string;
102
+ /**
103
+ * Time at which the object was updated.
104
+ * @type {string}
105
+ * @memberof OrgInvitationClass
106
+ */
107
+ 'updatedAt': string;
108
+ }
109
+
@@ -0,0 +1,31 @@
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
+ import { OrgInvitationClass } from './org-invitation-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface OrgInvitationResponseClass
22
+ */
23
+ export interface OrgInvitationResponseClass {
24
+ /**
25
+ * Invite organizations.
26
+ * @type {OrgInvitationClass}
27
+ * @memberof OrgInvitationResponseClass
28
+ */
29
+ 'invitation': OrgInvitationClass;
30
+ }
31
+
@@ -0,0 +1,90 @@
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 OrganizationClass
21
+ */
22
+ export interface OrganizationClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof OrganizationClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof OrganizationClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Parent organization ID.
37
+ * @type {object}
38
+ * @memberof OrganizationClass
39
+ */
40
+ 'parentId'?: object;
41
+ /**
42
+ * ERN of the organization.
43
+ * @type {string}
44
+ * @memberof OrganizationClass
45
+ */
46
+ 'ern': string;
47
+ /**
48
+ * Organization email address
49
+ * @type {string}
50
+ * @memberof OrganizationClass
51
+ */
52
+ 'email': string;
53
+ /**
54
+ * Name of the invited organization.
55
+ * @type {string}
56
+ * @memberof OrganizationClass
57
+ */
58
+ 'name': string;
59
+ /**
60
+ * Address of the organization.
61
+ * @type {string}
62
+ * @memberof OrganizationClass
63
+ */
64
+ 'address': string;
65
+ /**
66
+ * Zip code of the organization.
67
+ * @type {string}
68
+ * @memberof OrganizationClass
69
+ */
70
+ 'zipCode': string;
71
+ /**
72
+ * City of the organization.
73
+ * @type {string}
74
+ * @memberof OrganizationClass
75
+ */
76
+ 'city': string;
77
+ /**
78
+ * Country of the organization.
79
+ * @type {string}
80
+ * @memberof OrganizationClass
81
+ */
82
+ 'country': string;
83
+ /**
84
+ * Custom fields of the organization.
85
+ * @type {object}
86
+ * @memberof OrganizationClass
87
+ */
88
+ 'customFields'?: object;
89
+ }
90
+
@@ -0,0 +1,66 @@
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 PermissionClass
21
+ */
22
+ export interface PermissionClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof PermissionClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
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
+ * Time at which the object was created.
55
+ * @type {string}
56
+ * @memberof PermissionClass
57
+ */
58
+ 'createdAt': string;
59
+ /**
60
+ * Time at which the object was updated.
61
+ * @type {string}
62
+ * @memberof PermissionClass
63
+ */
64
+ 'updatedAt': string;
65
+ }
66
+
@@ -0,0 +1,67 @@
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
+ import { PermissionClass } from './permission-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface RoleClass
22
+ */
23
+ export interface RoleClass {
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof RoleClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
32
+ * @type {number}
33
+ * @memberof RoleClass
34
+ */
35
+ 'id': number;
36
+ /**
37
+ * Short description of the role.
38
+ * @type {string}
39
+ * @memberof RoleClass
40
+ */
41
+ 'description': string;
42
+ /**
43
+ * Role label.
44
+ * @type {string}
45
+ * @memberof RoleClass
46
+ */
47
+ 'label': string;
48
+ /**
49
+ * Permissions associated with the role.
50
+ * @type {Array<PermissionClass>}
51
+ * @memberof RoleClass
52
+ */
53
+ 'permissions': Array<PermissionClass>;
54
+ /**
55
+ * Time at which the object was created.
56
+ * @type {string}
57
+ * @memberof RoleClass
58
+ */
59
+ 'createdAt': string;
60
+ /**
61
+ * Time at which the object was updated.
62
+ * @type {string}
63
+ * @memberof RoleClass
64
+ */
65
+ 'updatedAt': string;
66
+ }
67
+
@@ -0,0 +1,37 @@
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
+ import { DataReportFilterValueDto } from './data-report-filter-value-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface RunDataReportRequestDto
22
+ */
23
+ export interface RunDataReportRequestDto {
24
+ /**
25
+ * Slug of the report to run
26
+ * @type {string}
27
+ * @memberof RunDataReportRequestDto
28
+ */
29
+ 'reportSlug': string;
30
+ /**
31
+ * Array with the report filter values.
32
+ * @type {Array<DataReportFilterValueDto>}
33
+ * @memberof RunDataReportRequestDto
34
+ */
35
+ 'filterValues': Array<DataReportFilterValueDto>;
36
+ }
37
+
@@ -0,0 +1,30 @@
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 RunDataReportResponseClass
21
+ */
22
+ export interface RunDataReportResponseClass {
23
+ /**
24
+ * Report results as an array of objects (each row is an object).
25
+ * @type {Array<any>}
26
+ * @memberof RunDataReportResponseClass
27
+ */
28
+ 'data': Array<any>;
29
+ }
30
+
@@ -0,0 +1,42 @@
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 SetSettingRequestDto
21
+ */
22
+ export interface SetSettingRequestDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof SetSettingRequestDto
27
+ */
28
+ 'key': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof SetSettingRequestDto
33
+ */
34
+ 'value': string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof SetSettingRequestDto
39
+ */
40
+ 'type': string;
41
+ }
42
+
@@ -0,0 +1,42 @@
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 SetUserSettingResponseClass
21
+ */
22
+ export interface SetUserSettingResponseClass {
23
+ /**
24
+ * Setting key.
25
+ * @type {string}
26
+ * @memberof SetUserSettingResponseClass
27
+ */
28
+ 'key': string;
29
+ /**
30
+ * Setting value.
31
+ * @type {string}
32
+ * @memberof SetUserSettingResponseClass
33
+ */
34
+ 'value': string;
35
+ /**
36
+ * Type indicates whether the setting applies to user or tenant.
37
+ * @type {string}
38
+ * @memberof SetUserSettingResponseClass
39
+ */
40
+ 'type': string;
41
+ }
42
+
@@ -0,0 +1,73 @@
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
+ import { UserClass } from './user-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface SubscriptionClass
22
+ */
23
+ export interface SubscriptionClass {
24
+ /**
25
+ * User subscription id
26
+ * @type {number}
27
+ * @memberof SubscriptionClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * User id
32
+ * @type {number}
33
+ * @memberof SubscriptionClass
34
+ */
35
+ 'userId': number;
36
+ /**
37
+ * Entity name
38
+ * @type {string}
39
+ * @memberof SubscriptionClass
40
+ */
41
+ 'entity': string;
42
+ /**
43
+ * Entity id
44
+ * @type {number}
45
+ * @memberof SubscriptionClass
46
+ */
47
+ 'entityId': number;
48
+ /**
49
+ * Is active subscription
50
+ * @type {boolean}
51
+ * @memberof SubscriptionClass
52
+ */
53
+ 'isActive': boolean;
54
+ /**
55
+ * Time at which the object was created.
56
+ * @type {string}
57
+ * @memberof SubscriptionClass
58
+ */
59
+ 'createdAt'?: string;
60
+ /**
61
+ * Time at which the object was updated.
62
+ * @type {string}
63
+ * @memberof SubscriptionClass
64
+ */
65
+ 'updatedAt'?: string;
66
+ /**
67
+ * user
68
+ * @type {UserClass}
69
+ * @memberof SubscriptionClass
70
+ */
71
+ 'user'?: UserClass;
72
+ }
73
+