@emilgroup/tenant-sdk 1.3.0 → 1.5.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 (63) hide show
  1. package/.openapi-generator/FILES +18 -0
  2. package/README.md +2 -2
  3. package/api/data-report-api.ts +677 -0
  4. package/api/data-report-executor-api.ts +165 -0
  5. package/api/roles-api.ts +236 -0
  6. package/api/settings-api.ts +168 -0
  7. package/api.ts +8 -0
  8. package/dist/api/data-report-api.d.ts +380 -0
  9. package/dist/api/data-report-api.js +636 -0
  10. package/dist/api/data-report-executor-api.d.ts +93 -0
  11. package/dist/api/data-report-executor-api.js +224 -0
  12. package/dist/api/roles-api.d.ts +141 -0
  13. package/dist/api/roles-api.js +258 -0
  14. package/dist/api/settings-api.d.ts +96 -0
  15. package/dist/api/settings-api.js +229 -0
  16. package/dist/api.d.ts +4 -0
  17. package/dist/api.js +4 -0
  18. package/dist/models/create-data-report-request-dto.d.ts +61 -0
  19. package/dist/models/create-data-report-request-dto.js +15 -0
  20. package/dist/models/create-data-report-response-class.d.ts +25 -0
  21. package/dist/models/create-data-report-response-class.js +15 -0
  22. package/dist/models/data-report-class.d.ts +79 -0
  23. package/dist/models/data-report-class.js +15 -0
  24. package/dist/models/data-report-filter-class.d.ts +72 -0
  25. package/dist/models/data-report-filter-class.js +15 -0
  26. package/dist/models/data-report-filter-dto.d.ts +48 -0
  27. package/dist/models/data-report-filter-dto.js +15 -0
  28. package/dist/models/data-report-filter-single-value-dto.d.ts +42 -0
  29. package/dist/models/data-report-filter-single-value-dto.js +15 -0
  30. package/dist/models/data-report-filter-value-dto.d.ts +31 -0
  31. package/dist/models/data-report-filter-value-dto.js +15 -0
  32. package/dist/models/get-data-report-response-class.d.ts +25 -0
  33. package/dist/models/get-data-report-response-class.js +15 -0
  34. package/dist/models/index.d.ts +14 -0
  35. package/dist/models/index.js +14 -0
  36. package/dist/models/list-data-reports-response-class.d.ts +31 -0
  37. package/dist/models/list-data-reports-response-class.js +15 -0
  38. package/dist/models/list-roles-response-class.d.ts +31 -0
  39. package/dist/models/list-roles-response-class.js +15 -0
  40. package/dist/models/run-data-report-request-dto.d.ts +31 -0
  41. package/dist/models/run-data-report-request-dto.js +15 -0
  42. package/dist/models/run-data-report-response-class.d.ts +24 -0
  43. package/dist/models/run-data-report-response-class.js +15 -0
  44. package/dist/models/update-data-report-request-dto.d.ts +61 -0
  45. package/dist/models/update-data-report-request-dto.js +15 -0
  46. package/dist/models/update-data-report-response-class.d.ts +25 -0
  47. package/dist/models/update-data-report-response-class.js +15 -0
  48. package/models/create-data-report-request-dto.ts +67 -0
  49. package/models/create-data-report-response-class.ts +31 -0
  50. package/models/data-report-class.ts +85 -0
  51. package/models/data-report-filter-class.ts +78 -0
  52. package/models/data-report-filter-dto.ts +54 -0
  53. package/models/data-report-filter-single-value-dto.ts +48 -0
  54. package/models/data-report-filter-value-dto.ts +37 -0
  55. package/models/get-data-report-response-class.ts +31 -0
  56. package/models/index.ts +14 -0
  57. package/models/list-data-reports-response-class.ts +37 -0
  58. package/models/list-roles-response-class.ts +37 -0
  59. package/models/run-data-report-request-dto.ts +37 -0
  60. package/models/run-data-report-response-class.ts +30 -0
  61. package/models/update-data-report-request-dto.ts +67 -0
  62. package/models/update-data-report-response-class.ts +31 -0
  63. package/package.json +1 -1
package/models/index.ts CHANGED
@@ -4,12 +4,19 @@ export * from './batch-delete-request-dto';
4
4
  export * from './batch-delete-response-class';
5
5
  export * from './create-custom-schema-request-dto';
6
6
  export * from './create-custom-schema-response-class';
7
+ export * from './create-data-report-request-dto';
8
+ export * from './create-data-report-response-class';
7
9
  export * from './create-permission-request-dto';
8
10
  export * from './create-role-request-dto';
9
11
  export * from './create-tenant-request-dto';
10
12
  export * from './custom-field-dto';
11
13
  export * from './custom-schema-class';
12
14
  export * from './dbconfig-dto';
15
+ export * from './data-report-class';
16
+ export * from './data-report-filter-class';
17
+ export * from './data-report-filter-dto';
18
+ export * from './data-report-filter-single-value-dto';
19
+ export * from './data-report-filter-value-dto';
13
20
  export * from './delete-response-class';
14
21
  export * from './disable-user-response-class';
15
22
  export * from './disable-users-request-dto';
@@ -18,6 +25,7 @@ export * from './enable-user-response-class';
18
25
  export * from './enable-users-request-dto';
19
26
  export * from './enable-users-response-class';
20
27
  export * from './get-custom-schema-response-class';
28
+ export * from './get-data-report-response-class';
21
29
  export * from './get-organization-response-class';
22
30
  export * from './get-settings-response-class';
23
31
  export * from './get-user-response-class';
@@ -28,9 +36,11 @@ export * from './invite-user-response-class';
28
36
  export * from './invite-users-request-dto';
29
37
  export * from './invite-users-response-class';
30
38
  export * from './list-custom-schemas-response-class';
39
+ export * from './list-data-reports-response-class';
31
40
  export * from './list-invites-response-class';
32
41
  export * from './list-org-invitations-response-class';
33
42
  export * from './list-organizations-response-class';
43
+ export * from './list-roles-response-class';
34
44
  export * from './list-users-response-class';
35
45
  export * from './org-invitation-class';
36
46
  export * from './org-invitation-response-class';
@@ -38,12 +48,16 @@ export * from './organization-class';
38
48
  export * from './permission-class';
39
49
  export * from './re-invite-org-request-dto';
40
50
  export * from './role-class';
51
+ export * from './run-data-report-request-dto';
52
+ export * from './run-data-report-response-class';
41
53
  export * from './set-setting-request-dto';
42
54
  export * from './set-user-setting-response-class';
43
55
  export * from './subscription-class';
44
56
  export * from './tenant-admin-user-dto';
45
57
  export * from './update-custom-schema-request-dto';
46
58
  export * from './update-custom-schema-response-class';
59
+ export * from './update-data-report-request-dto';
60
+ export * from './update-data-report-response-class';
47
61
  export * from './update-organization-request-dto-rest';
48
62
  export * from './update-organization-response-class';
49
63
  export * from './update-role-request-dto';
@@ -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 { DataReportClass } from './data-report-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListDataReportsResponseClass
22
+ */
23
+ export interface ListDataReportsResponseClass {
24
+ /**
25
+ * The list of data-reports.
26
+ * @type {Array<DataReportClass>}
27
+ * @memberof ListDataReportsResponseClass
28
+ */
29
+ 'items': Array<DataReportClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListDataReportsResponseClass
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 { RoleClass } from './role-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListRolesResponseClass
22
+ */
23
+ export interface ListRolesResponseClass {
24
+ /**
25
+ * Roles
26
+ * @type {Array<RoleClass>}
27
+ * @memberof ListRolesResponseClass
28
+ */
29
+ 'items': Array<RoleClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListRolesResponseClass
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 { 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,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 { DataReportFilterDto } from './data-report-filter-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateDataReportRequestDto
22
+ */
23
+ export interface UpdateDataReportRequestDto {
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof UpdateDataReportRequestDto
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
32
+ * @type {string}
33
+ * @memberof UpdateDataReportRequestDto
34
+ */
35
+ 'slug': string;
36
+ /**
37
+ * Optional description of the data report.
38
+ * @type {string}
39
+ * @memberof UpdateDataReportRequestDto
40
+ */
41
+ 'description'?: string;
42
+ /**
43
+ * Athena view or query to use in the FROM clause of the report query.
44
+ * @type {string}
45
+ * @memberof UpdateDataReportRequestDto
46
+ */
47
+ 'fromClause': string;
48
+ /**
49
+ * Optional list of columns to sort the query results by (to use in the ORDER BY clause of the report query).
50
+ * @type {string}
51
+ * @memberof UpdateDataReportRequestDto
52
+ */
53
+ 'orderByClause'?: string;
54
+ /**
55
+ * Optional number of records to return as the report results.
56
+ * @type {number}
57
+ * @memberof UpdateDataReportRequestDto
58
+ */
59
+ 'limit'?: number;
60
+ /**
61
+ * Array with the report filter values.
62
+ * @type {Array<DataReportFilterDto>}
63
+ * @memberof UpdateDataReportRequestDto
64
+ */
65
+ 'filters': Array<DataReportFilterDto>;
66
+ }
67
+
@@ -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 { DataReportClass } from './data-report-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateDataReportResponseClass
22
+ */
23
+ export interface UpdateDataReportResponseClass {
24
+ /**
25
+ * The data-report response.
26
+ * @type {DataReportClass}
27
+ * @memberof UpdateDataReportResponseClass
28
+ */
29
+ 'report': DataReportClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/tenant-sdk",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "description": "OpenAPI client for @emilgroup/tenant-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [