@goauthentik/api 2022.7.3-1659478057 → 2022.7.3-1659739953
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/dist/esm/models/Group.d.ts +2 -2
- package/dist/esm/models/Group.js +2 -2
- package/dist/esm/models/GroupRequest.d.ts +2 -2
- package/dist/esm/models/GroupRequest.js +2 -2
- package/dist/esm/models/NotificationRuleGroupObj.d.ts +2 -2
- package/dist/esm/models/NotificationRuleGroupObj.js +2 -2
- package/dist/models/Group.d.ts +2 -2
- package/dist/models/Group.js +2 -2
- package/dist/models/GroupRequest.d.ts +2 -2
- package/dist/models/GroupRequest.js +2 -2
- package/dist/models/NotificationRuleGroupObj.d.ts +2 -2
- package/dist/models/NotificationRuleGroupObj.js +2 -2
- package/package.json +1 -1
- package/src/models/Group.ts +4 -4
- package/src/models/GroupRequest.ts +4 -4
- package/src/models/NotificationRuleGroupObj.ts +4 -4
|
@@ -45,7 +45,7 @@ export interface Group {
|
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof Group
|
|
47
47
|
*/
|
|
48
|
-
parent
|
|
48
|
+
parent?: string | null;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {string}
|
|
@@ -57,7 +57,7 @@ export interface Group {
|
|
|
57
57
|
* @type {Array<number>}
|
|
58
58
|
* @memberof Group
|
|
59
59
|
*/
|
|
60
|
-
users
|
|
60
|
+
users?: Array<number>;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {{ [key: string]: any; }}
|
package/dist/esm/models/Group.js
CHANGED
|
@@ -25,9 +25,9 @@ export function GroupFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
'numPk': json['num_pk'],
|
|
26
26
|
'name': json['name'],
|
|
27
27
|
'isSuperuser': !exists(json, 'is_superuser') ? undefined : json['is_superuser'],
|
|
28
|
-
'parent': json['parent'],
|
|
28
|
+
'parent': !exists(json, 'parent') ? undefined : json['parent'],
|
|
29
29
|
'parentName': json['parent_name'],
|
|
30
|
-
'users': json['users'],
|
|
30
|
+
'users': !exists(json, 'users') ? undefined : json['users'],
|
|
31
31
|
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
32
32
|
'usersObj': (json['users_obj'].map(GroupMemberFromJSON)),
|
|
33
33
|
};
|
|
@@ -32,13 +32,13 @@ export interface GroupRequest {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof GroupRequest
|
|
34
34
|
*/
|
|
35
|
-
parent
|
|
35
|
+
parent?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {Array<number>}
|
|
39
39
|
* @memberof GroupRequest
|
|
40
40
|
*/
|
|
41
|
-
users
|
|
41
|
+
users?: Array<number>;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {{ [key: string]: any; }}
|
|
@@ -22,8 +22,8 @@ export function GroupRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
22
|
return {
|
|
23
23
|
'name': json['name'],
|
|
24
24
|
'isSuperuser': !exists(json, 'is_superuser') ? undefined : json['is_superuser'],
|
|
25
|
-
'parent': json['parent'],
|
|
26
|
-
'users': json['users'],
|
|
25
|
+
'parent': !exists(json, 'parent') ? undefined : json['parent'],
|
|
26
|
+
'users': !exists(json, 'users') ? undefined : json['users'],
|
|
27
27
|
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
28
28
|
};
|
|
29
29
|
}
|
|
@@ -45,7 +45,7 @@ export interface NotificationRuleGroupObj {
|
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof NotificationRuleGroupObj
|
|
47
47
|
*/
|
|
48
|
-
parent
|
|
48
|
+
parent?: string | null;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {string}
|
|
@@ -57,7 +57,7 @@ export interface NotificationRuleGroupObj {
|
|
|
57
57
|
* @type {Array<number>}
|
|
58
58
|
* @memberof NotificationRuleGroupObj
|
|
59
59
|
*/
|
|
60
|
-
users
|
|
60
|
+
users?: Array<number>;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {{ [key: string]: any; }}
|
|
@@ -25,9 +25,9 @@ export function NotificationRuleGroupObjFromJSONTyped(json, ignoreDiscriminator)
|
|
|
25
25
|
'numPk': json['num_pk'],
|
|
26
26
|
'name': json['name'],
|
|
27
27
|
'isSuperuser': !exists(json, 'is_superuser') ? undefined : json['is_superuser'],
|
|
28
|
-
'parent': json['parent'],
|
|
28
|
+
'parent': !exists(json, 'parent') ? undefined : json['parent'],
|
|
29
29
|
'parentName': json['parent_name'],
|
|
30
|
-
'users': json['users'],
|
|
30
|
+
'users': !exists(json, 'users') ? undefined : json['users'],
|
|
31
31
|
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
32
32
|
'usersObj': (json['users_obj'].map(GroupMemberFromJSON)),
|
|
33
33
|
};
|
package/dist/models/Group.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export interface Group {
|
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof Group
|
|
47
47
|
*/
|
|
48
|
-
parent
|
|
48
|
+
parent?: string | null;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {string}
|
|
@@ -57,7 +57,7 @@ export interface Group {
|
|
|
57
57
|
* @type {Array<number>}
|
|
58
58
|
* @memberof Group
|
|
59
59
|
*/
|
|
60
|
-
users
|
|
60
|
+
users?: Array<number>;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {{ [key: string]: any; }}
|
package/dist/models/Group.js
CHANGED
|
@@ -29,9 +29,9 @@ function GroupFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'numPk': json['num_pk'],
|
|
30
30
|
'name': json['name'],
|
|
31
31
|
'isSuperuser': !(0, runtime_1.exists)(json, 'is_superuser') ? undefined : json['is_superuser'],
|
|
32
|
-
'parent': json['parent'],
|
|
32
|
+
'parent': !(0, runtime_1.exists)(json, 'parent') ? undefined : json['parent'],
|
|
33
33
|
'parentName': json['parent_name'],
|
|
34
|
-
'users': json['users'],
|
|
34
|
+
'users': !(0, runtime_1.exists)(json, 'users') ? undefined : json['users'],
|
|
35
35
|
'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
|
|
36
36
|
'usersObj': (json['users_obj'].map(GroupMember_1.GroupMemberFromJSON)),
|
|
37
37
|
};
|
|
@@ -32,13 +32,13 @@ export interface GroupRequest {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof GroupRequest
|
|
34
34
|
*/
|
|
35
|
-
parent
|
|
35
|
+
parent?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {Array<number>}
|
|
39
39
|
* @memberof GroupRequest
|
|
40
40
|
*/
|
|
41
|
-
users
|
|
41
|
+
users?: Array<number>;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {{ [key: string]: any; }}
|
|
@@ -26,8 +26,8 @@ function GroupRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
return {
|
|
27
27
|
'name': json['name'],
|
|
28
28
|
'isSuperuser': !(0, runtime_1.exists)(json, 'is_superuser') ? undefined : json['is_superuser'],
|
|
29
|
-
'parent': json['parent'],
|
|
30
|
-
'users': json['users'],
|
|
29
|
+
'parent': !(0, runtime_1.exists)(json, 'parent') ? undefined : json['parent'],
|
|
30
|
+
'users': !(0, runtime_1.exists)(json, 'users') ? undefined : json['users'],
|
|
31
31
|
'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
|
|
32
32
|
};
|
|
33
33
|
}
|
|
@@ -45,7 +45,7 @@ export interface NotificationRuleGroupObj {
|
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof NotificationRuleGroupObj
|
|
47
47
|
*/
|
|
48
|
-
parent
|
|
48
|
+
parent?: string | null;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {string}
|
|
@@ -57,7 +57,7 @@ export interface NotificationRuleGroupObj {
|
|
|
57
57
|
* @type {Array<number>}
|
|
58
58
|
* @memberof NotificationRuleGroupObj
|
|
59
59
|
*/
|
|
60
|
-
users
|
|
60
|
+
users?: Array<number>;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {{ [key: string]: any; }}
|
|
@@ -29,9 +29,9 @@ function NotificationRuleGroupObjFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'numPk': json['num_pk'],
|
|
30
30
|
'name': json['name'],
|
|
31
31
|
'isSuperuser': !(0, runtime_1.exists)(json, 'is_superuser') ? undefined : json['is_superuser'],
|
|
32
|
-
'parent': json['parent'],
|
|
32
|
+
'parent': !(0, runtime_1.exists)(json, 'parent') ? undefined : json['parent'],
|
|
33
33
|
'parentName': json['parent_name'],
|
|
34
|
-
'users': json['users'],
|
|
34
|
+
'users': !(0, runtime_1.exists)(json, 'users') ? undefined : json['users'],
|
|
35
35
|
'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
|
|
36
36
|
'usersObj': (json['users_obj'].map(GroupMember_1.GroupMemberFromJSON)),
|
|
37
37
|
};
|
package/package.json
CHANGED
package/src/models/Group.ts
CHANGED
|
@@ -55,7 +55,7 @@ export interface Group {
|
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof Group
|
|
57
57
|
*/
|
|
58
|
-
parent
|
|
58
|
+
parent?: string | null;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {string}
|
|
@@ -67,7 +67,7 @@ export interface Group {
|
|
|
67
67
|
* @type {Array<number>}
|
|
68
68
|
* @memberof Group
|
|
69
69
|
*/
|
|
70
|
-
users
|
|
70
|
+
users?: Array<number>;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
73
|
* @type {{ [key: string]: any; }}
|
|
@@ -96,9 +96,9 @@ export function GroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): Gro
|
|
|
96
96
|
'numPk': json['num_pk'],
|
|
97
97
|
'name': json['name'],
|
|
98
98
|
'isSuperuser': !exists(json, 'is_superuser') ? undefined : json['is_superuser'],
|
|
99
|
-
'parent': json['parent'],
|
|
99
|
+
'parent': !exists(json, 'parent') ? undefined : json['parent'],
|
|
100
100
|
'parentName': json['parent_name'],
|
|
101
|
-
'users': json['users'],
|
|
101
|
+
'users': !exists(json, 'users') ? undefined : json['users'],
|
|
102
102
|
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
103
103
|
'usersObj': ((json['users_obj'] as Array<any>).map(GroupMemberFromJSON)),
|
|
104
104
|
};
|
|
@@ -36,13 +36,13 @@ export interface GroupRequest {
|
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof GroupRequest
|
|
38
38
|
*/
|
|
39
|
-
parent
|
|
39
|
+
parent?: string | null;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {Array<number>}
|
|
43
43
|
* @memberof GroupRequest
|
|
44
44
|
*/
|
|
45
|
-
users
|
|
45
|
+
users?: Array<number>;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {{ [key: string]: any; }}
|
|
@@ -63,8 +63,8 @@ export function GroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
63
63
|
|
|
64
64
|
'name': json['name'],
|
|
65
65
|
'isSuperuser': !exists(json, 'is_superuser') ? undefined : json['is_superuser'],
|
|
66
|
-
'parent': json['parent'],
|
|
67
|
-
'users': json['users'],
|
|
66
|
+
'parent': !exists(json, 'parent') ? undefined : json['parent'],
|
|
67
|
+
'users': !exists(json, 'users') ? undefined : json['users'],
|
|
68
68
|
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
69
69
|
};
|
|
70
70
|
}
|
|
@@ -61,7 +61,7 @@ export interface NotificationRuleGroupObj {
|
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof NotificationRuleGroupObj
|
|
63
63
|
*/
|
|
64
|
-
parent
|
|
64
|
+
parent?: string | null;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* @type {string}
|
|
@@ -73,7 +73,7 @@ export interface NotificationRuleGroupObj {
|
|
|
73
73
|
* @type {Array<number>}
|
|
74
74
|
* @memberof NotificationRuleGroupObj
|
|
75
75
|
*/
|
|
76
|
-
users
|
|
76
|
+
users?: Array<number>;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
79
|
* @type {{ [key: string]: any; }}
|
|
@@ -102,9 +102,9 @@ export function NotificationRuleGroupObjFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
102
102
|
'numPk': json['num_pk'],
|
|
103
103
|
'name': json['name'],
|
|
104
104
|
'isSuperuser': !exists(json, 'is_superuser') ? undefined : json['is_superuser'],
|
|
105
|
-
'parent': json['parent'],
|
|
105
|
+
'parent': !exists(json, 'parent') ? undefined : json['parent'],
|
|
106
106
|
'parentName': json['parent_name'],
|
|
107
|
-
'users': json['users'],
|
|
107
|
+
'users': !exists(json, 'users') ? undefined : json['users'],
|
|
108
108
|
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
109
109
|
'usersObj': ((json['users_obj'] as Array<any>).map(GroupMemberFromJSON)),
|
|
110
110
|
};
|