@emilgroup/tenant-sdk-node 1.34.1-beta.14 → 1.34.1-beta.15

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 (48) hide show
  1. package/.openapi-generator/FILES +13 -0
  2. package/README.md +2 -2
  3. package/api/user-group-api.ts +1090 -0
  4. package/api.ts +2 -0
  5. package/dist/api/user-group-api.d.ts +603 -0
  6. package/dist/api/user-group-api.js +940 -0
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/models/add-users-to-group-request-dto.d.ts +24 -0
  10. package/dist/models/add-users-to-group-request-dto.js +15 -0
  11. package/dist/models/add-users-to-group-response-class.d.ts +25 -0
  12. package/dist/models/add-users-to-group-response-class.js +15 -0
  13. package/dist/models/create-user-group-request-dto.d.ts +36 -0
  14. package/dist/models/create-user-group-request-dto.js +15 -0
  15. package/dist/models/create-user-group-response-class.d.ts +25 -0
  16. package/dist/models/create-user-group-response-class.js +15 -0
  17. package/dist/models/get-user-group-response-class.d.ts +25 -0
  18. package/dist/models/get-user-group-response-class.js +15 -0
  19. package/dist/models/index.d.ts +12 -0
  20. package/dist/models/index.js +12 -0
  21. package/dist/models/list-user-group-members-response-class.d.ts +43 -0
  22. package/dist/models/list-user-group-members-response-class.js +15 -0
  23. package/dist/models/list-user-groups-response-class.d.ts +43 -0
  24. package/dist/models/list-user-groups-response-class.js +15 -0
  25. package/dist/models/remove-users-from-group-request-dto.d.ts +24 -0
  26. package/dist/models/remove-users-from-group-request-dto.js +15 -0
  27. package/dist/models/update-user-group-request-dto.d.ts +36 -0
  28. package/dist/models/update-user-group-request-dto.js +15 -0
  29. package/dist/models/update-user-group-response-class.d.ts +25 -0
  30. package/dist/models/update-user-group-response-class.js +15 -0
  31. package/dist/models/user-group-class.d.ts +72 -0
  32. package/dist/models/user-group-class.js +15 -0
  33. package/dist/models/user-group-member-class.d.ts +42 -0
  34. package/dist/models/user-group-member-class.js +15 -0
  35. package/models/add-users-to-group-request-dto.ts +30 -0
  36. package/models/add-users-to-group-response-class.ts +31 -0
  37. package/models/create-user-group-request-dto.ts +42 -0
  38. package/models/create-user-group-response-class.ts +31 -0
  39. package/models/get-user-group-response-class.ts +31 -0
  40. package/models/index.ts +12 -0
  41. package/models/list-user-group-members-response-class.ts +49 -0
  42. package/models/list-user-groups-response-class.ts +49 -0
  43. package/models/remove-users-from-group-request-dto.ts +30 -0
  44. package/models/update-user-group-request-dto.ts +42 -0
  45. package/models/update-user-group-response-class.ts +31 -0
  46. package/models/user-group-class.ts +78 -0
  47. package/models/user-group-member-class.ts +48 -0
  48. package/package.json +1 -1
@@ -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 });
@@ -0,0 +1,42 @@
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 UserGroupMemberClass
16
+ */
17
+ export interface UserGroupMemberClass {
18
+ /**
19
+ * Code of the user who is a member.
20
+ * @type {string}
21
+ * @memberof UserGroupMemberClass
22
+ */
23
+ 'userCode': string;
24
+ /**
25
+ * Display name of the user (first + last). Snapshot at member-add time; not kept in sync with subsequent user-profile edits.
26
+ * @type {string}
27
+ * @memberof UserGroupMemberClass
28
+ */
29
+ 'name'?: string;
30
+ /**
31
+ * Time at which the object was created.
32
+ * @type {string}
33
+ * @memberof UserGroupMemberClass
34
+ */
35
+ 'createdAt': string;
36
+ /**
37
+ * Identifier of the user who created the record.
38
+ * @type {string}
39
+ * @memberof UserGroupMemberClass
40
+ */
41
+ 'createdBy': string;
42
+ }
@@ -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 });
@@ -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 AddUsersToGroupRequestDto
21
+ */
22
+ export interface AddUsersToGroupRequestDto {
23
+ /**
24
+ * User codes to add as members. Idempotent per user. Max 50 per call.
25
+ * @type {Array<string>}
26
+ * @memberof AddUsersToGroupRequestDto
27
+ */
28
+ 'userCodes': Array<string>;
29
+ }
30
+
@@ -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 { UserGroupMemberClass } from './user-group-member-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface AddUsersToGroupResponseClass
22
+ */
23
+ export interface AddUsersToGroupResponseClass {
24
+ /**
25
+ * Members added by the request (full resulting set).
26
+ * @type {Array<UserGroupMemberClass>}
27
+ * @memberof AddUsersToGroupResponseClass
28
+ */
29
+ 'items': Array<UserGroupMemberClass>;
30
+ }
31
+
@@ -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 CreateUserGroupRequestDto
21
+ */
22
+ export interface CreateUserGroupRequestDto {
23
+ /**
24
+ * Human-readable, renameable identifier for the user group. Unique per tenant.
25
+ * @type {string}
26
+ * @memberof CreateUserGroupRequestDto
27
+ */
28
+ 'slug': string;
29
+ /**
30
+ * Display name for the user group.
31
+ * @type {string}
32
+ * @memberof CreateUserGroupRequestDto
33
+ */
34
+ 'name': string;
35
+ /**
36
+ * Optional free-text description.
37
+ * @type {string}
38
+ * @memberof CreateUserGroupRequestDto
39
+ */
40
+ 'description'?: string;
41
+ }
42
+
@@ -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 { UserGroupClass } from './user-group-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateUserGroupResponseClass
22
+ */
23
+ export interface CreateUserGroupResponseClass {
24
+ /**
25
+ * The created user group.
26
+ * @type {UserGroupClass}
27
+ * @memberof CreateUserGroupResponseClass
28
+ */
29
+ 'userGroup': UserGroupClass;
30
+ }
31
+
@@ -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 { UserGroupClass } from './user-group-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetUserGroupResponseClass
22
+ */
23
+ export interface GetUserGroupResponseClass {
24
+ /**
25
+ * The user group.
26
+ * @type {UserGroupClass}
27
+ * @memberof GetUserGroupResponseClass
28
+ */
29
+ 'userGroup': UserGroupClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -1,3 +1,5 @@
1
+ export * from './add-users-to-group-request-dto';
2
+ export * from './add-users-to-group-response-class';
1
3
  export * from './assign-user-roles-request-dto';
2
4
  export * from './assign-user-roles-response-class';
3
5
  export * from './batch-delete-request-dto';
@@ -16,6 +18,8 @@ export * from './create-organization-migration-request-dto';
16
18
  export * from './create-organization-migration-response-class';
17
19
  export * from './create-resources-migration-request-dto';
18
20
  export * from './create-tenant-request-dto';
21
+ export * from './create-user-group-request-dto';
22
+ export * from './create-user-group-response-class';
19
23
  export * from './custom-field-dto';
20
24
  export * from './custom-schema-class';
21
25
  export * from './dbconfig-dto';
@@ -41,6 +45,7 @@ export * from './get-embedded-url-response-class';
41
45
  export * from './get-organization-migration-response-class';
42
46
  export * from './get-organization-response-class';
43
47
  export * from './get-settings-response-class';
48
+ export * from './get-user-group-response-class';
44
49
  export * from './get-user-response-class';
45
50
  export * from './initial-tenant-config-class';
46
51
  export * from './inline-response200';
@@ -62,6 +67,8 @@ export * from './list-org-invitations-response-class';
62
67
  export * from './list-organization-migrations-response-class';
63
68
  export * from './list-organizations-response-class';
64
69
  export * from './list-roles-response-class';
70
+ export * from './list-user-group-members-response-class';
71
+ export * from './list-user-groups-response-class';
65
72
  export * from './list-users-response-class';
66
73
  export * from './org-invitation-class';
67
74
  export * from './org-invitation-response-class';
@@ -70,6 +77,7 @@ export * from './organization-migration-class';
70
77
  export * from './permission-class';
71
78
  export * from './publish-dashboard-request-dto';
72
79
  export * from './re-invite-org-request-dto';
80
+ export * from './remove-users-from-group-request-dto';
73
81
  export * from './revert-analysis-request-dto';
74
82
  export * from './revert-organization-migration-request-dto';
75
83
  export * from './revert-organization-migration-response-class';
@@ -93,4 +101,8 @@ export * from './update-data-report-request-dto';
93
101
  export * from './update-data-report-response-class';
94
102
  export * from './update-organization-request-dto-rest';
95
103
  export * from './update-organization-response-class';
104
+ export * from './update-user-group-request-dto';
105
+ export * from './update-user-group-response-class';
96
106
  export * from './user-class';
107
+ export * from './user-group-class';
108
+ export * from './user-group-member-class';
@@ -0,0 +1,49 @@
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 { UserGroupMemberClass } from './user-group-member-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListUserGroupMembersResponseClass
22
+ */
23
+ export interface ListUserGroupMembersResponseClass {
24
+ /**
25
+ * User group members.
26
+ * @type {Array<UserGroupMemberClass>}
27
+ * @memberof ListUserGroupMembersResponseClass
28
+ */
29
+ 'items': Array<UserGroupMemberClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListUserGroupMembersResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Number of items in this page.
38
+ * @type {number}
39
+ * @memberof ListUserGroupMembersResponseClass
40
+ */
41
+ 'itemsPerPage'?: number;
42
+ /**
43
+ * Total number of matching items across all pages.
44
+ * @type {number}
45
+ * @memberof ListUserGroupMembersResponseClass
46
+ */
47
+ 'totalItems'?: number;
48
+ }
49
+
@@ -0,0 +1,49 @@
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 { UserGroupClass } from './user-group-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListUserGroupsResponseClass
22
+ */
23
+ export interface ListUserGroupsResponseClass {
24
+ /**
25
+ * User groups.
26
+ * @type {Array<UserGroupClass>}
27
+ * @memberof ListUserGroupsResponseClass
28
+ */
29
+ 'items': Array<UserGroupClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListUserGroupsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Number of items in this page.
38
+ * @type {number}
39
+ * @memberof ListUserGroupsResponseClass
40
+ */
41
+ 'itemsPerPage'?: number;
42
+ /**
43
+ * Total number of matching items across all pages.
44
+ * @type {number}
45
+ * @memberof ListUserGroupsResponseClass
46
+ */
47
+ 'totalItems'?: number;
48
+ }
49
+
@@ -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 RemoveUsersFromGroupRequestDto
21
+ */
22
+ export interface RemoveUsersFromGroupRequestDto {
23
+ /**
24
+ * User codes to remove from the group. Idempotent per user. Max 50 per call.
25
+ * @type {Array<string>}
26
+ * @memberof RemoveUsersFromGroupRequestDto
27
+ */
28
+ 'userCodes': Array<string>;
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 UpdateUserGroupRequestDto
21
+ */
22
+ export interface UpdateUserGroupRequestDto {
23
+ /**
24
+ * New slug. Slug remains unique per tenant.
25
+ * @type {string}
26
+ * @memberof UpdateUserGroupRequestDto
27
+ */
28
+ 'slug'?: string;
29
+ /**
30
+ * New display name.
31
+ * @type {string}
32
+ * @memberof UpdateUserGroupRequestDto
33
+ */
34
+ 'name'?: string;
35
+ /**
36
+ * New free-text description.
37
+ * @type {string}
38
+ * @memberof UpdateUserGroupRequestDto
39
+ */
40
+ 'description'?: string;
41
+ }
42
+
@@ -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 { UserGroupClass } from './user-group-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateUserGroupResponseClass
22
+ */
23
+ export interface UpdateUserGroupResponseClass {
24
+ /**
25
+ * The updated user group.
26
+ * @type {UserGroupClass}
27
+ * @memberof UpdateUserGroupResponseClass
28
+ */
29
+ 'userGroup': UserGroupClass;
30
+ }
31
+
@@ -0,0 +1,78 @@
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 UserGroupClass
21
+ */
22
+ export interface UserGroupClass {
23
+ /**
24
+ * Internal numeric id.
25
+ * @type {number}
26
+ * @memberof UserGroupClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Auto-generated immutable identifier. Used for cross-service references.
31
+ * @type {string}
32
+ * @memberof UserGroupClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Human-readable, renameable identifier. Unique per tenant.
37
+ * @type {string}
38
+ * @memberof UserGroupClass
39
+ */
40
+ 'slug': string;
41
+ /**
42
+ * Display name.
43
+ * @type {string}
44
+ * @memberof UserGroupClass
45
+ */
46
+ 'name': string;
47
+ /**
48
+ * Free-text description.
49
+ * @type {string}
50
+ * @memberof UserGroupClass
51
+ */
52
+ 'description'?: string;
53
+ /**
54
+ * Time at which the object was created.
55
+ * @type {string}
56
+ * @memberof UserGroupClass
57
+ */
58
+ 'createdAt': string;
59
+ /**
60
+ * Time at which the object was updated.
61
+ * @type {string}
62
+ * @memberof UserGroupClass
63
+ */
64
+ 'updatedAt': string;
65
+ /**
66
+ * Identifier of the user who created the record.
67
+ * @type {string}
68
+ * @memberof UserGroupClass
69
+ */
70
+ 'createdBy': string;
71
+ /**
72
+ * Identifier of the user who last updated the record.
73
+ * @type {string}
74
+ * @memberof UserGroupClass
75
+ */
76
+ 'updatedBy': string;
77
+ }
78
+
@@ -0,0 +1,48 @@
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 UserGroupMemberClass
21
+ */
22
+ export interface UserGroupMemberClass {
23
+ /**
24
+ * Code of the user who is a member.
25
+ * @type {string}
26
+ * @memberof UserGroupMemberClass
27
+ */
28
+ 'userCode': string;
29
+ /**
30
+ * Display name of the user (first + last). Snapshot at member-add time; not kept in sync with subsequent user-profile edits.
31
+ * @type {string}
32
+ * @memberof UserGroupMemberClass
33
+ */
34
+ 'name'?: string;
35
+ /**
36
+ * Time at which the object was created.
37
+ * @type {string}
38
+ * @memberof UserGroupMemberClass
39
+ */
40
+ 'createdAt': string;
41
+ /**
42
+ * Identifier of the user who created the record.
43
+ * @type {string}
44
+ * @memberof UserGroupMemberClass
45
+ */
46
+ 'createdBy': string;
47
+ }
48
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/tenant-sdk-node",
3
- "version": "1.34.1-beta.14",
3
+ "version": "1.34.1-beta.15",
4
4
  "description": "OpenAPI client for @emilgroup/tenant-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [