@goauthentik/api 2023.2.2-1676492932 → 2023.2.2-1677068362
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/GroupMember.d.ts +0 -6
- package/dist/esm/models/GroupMember.js +0 -1
- package/dist/esm/models/InvitationCreatedBy.d.ts +0 -6
- package/dist/esm/models/InvitationCreatedBy.js +0 -1
- package/dist/esm/models/UserServiceAccountRequest.d.ts +12 -0
- package/dist/esm/models/UserServiceAccountRequest.js +4 -0
- package/dist/models/GroupMember.d.ts +0 -6
- package/dist/models/GroupMember.js +0 -1
- package/dist/models/InvitationCreatedBy.d.ts +0 -6
- package/dist/models/InvitationCreatedBy.js +0 -1
- package/dist/models/UserServiceAccountRequest.d.ts +12 -0
- package/dist/models/UserServiceAccountRequest.js +4 -0
- package/package.json +1 -1
- package/src/models/GroupMember.ts +0 -7
- package/src/models/InvitationCreatedBy.ts +0 -7
- package/src/models/UserServiceAccountRequest.ts +16 -0
|
@@ -26,7 +26,6 @@ export function GroupMemberFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
'isActive': !exists(json, 'is_active') ? undefined : json['is_active'],
|
|
27
27
|
'lastLogin': !exists(json, 'last_login') ? undefined : (json['last_login'] === null ? null : new Date(json['last_login'])),
|
|
28
28
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
29
|
-
'avatar': json['avatar'],
|
|
30
29
|
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
31
30
|
'uid': json['uid'],
|
|
32
31
|
};
|
|
@@ -26,7 +26,6 @@ export function InvitationCreatedByFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
'isActive': !exists(json, 'is_active') ? undefined : json['is_active'],
|
|
27
27
|
'lastLogin': !exists(json, 'last_login') ? undefined : (json['last_login'] === null ? null : new Date(json['last_login'])),
|
|
28
28
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
29
|
-
'avatar': json['avatar'],
|
|
30
29
|
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
31
30
|
'uid': json['uid'],
|
|
32
31
|
};
|
|
@@ -27,6 +27,18 @@ export interface UserServiceAccountRequest {
|
|
|
27
27
|
* @memberof UserServiceAccountRequest
|
|
28
28
|
*/
|
|
29
29
|
createGroup?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof UserServiceAccountRequest
|
|
34
|
+
*/
|
|
35
|
+
expiring?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* If not provided, valid for 360 days
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof UserServiceAccountRequest
|
|
40
|
+
*/
|
|
41
|
+
expires?: Date;
|
|
30
42
|
}
|
|
31
43
|
export declare function UserServiceAccountRequestFromJSON(json: any): UserServiceAccountRequest;
|
|
32
44
|
export declare function UserServiceAccountRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserServiceAccountRequest;
|
|
@@ -22,6 +22,8 @@ export function UserServiceAccountRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
22
22
|
return {
|
|
23
23
|
'name': json['name'],
|
|
24
24
|
'createGroup': !exists(json, 'create_group') ? undefined : json['create_group'],
|
|
25
|
+
'expiring': !exists(json, 'expiring') ? undefined : json['expiring'],
|
|
26
|
+
'expires': !exists(json, 'expires') ? undefined : (new Date(json['expires'])),
|
|
25
27
|
};
|
|
26
28
|
}
|
|
27
29
|
export function UserServiceAccountRequestToJSON(value) {
|
|
@@ -34,5 +36,7 @@ export function UserServiceAccountRequestToJSON(value) {
|
|
|
34
36
|
return {
|
|
35
37
|
'name': value.name,
|
|
36
38
|
'create_group': value.createGroup,
|
|
39
|
+
'expiring': value.expiring,
|
|
40
|
+
'expires': value.expires === undefined ? undefined : (value.expires.toISOString()),
|
|
37
41
|
};
|
|
38
42
|
}
|
|
@@ -30,7 +30,6 @@ function GroupMemberFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'isActive': !(0, runtime_1.exists)(json, 'is_active') ? undefined : json['is_active'],
|
|
31
31
|
'lastLogin': !(0, runtime_1.exists)(json, 'last_login') ? undefined : (json['last_login'] === null ? null : new Date(json['last_login'])),
|
|
32
32
|
'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
|
|
33
|
-
'avatar': json['avatar'],
|
|
34
33
|
'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
|
|
35
34
|
'uid': json['uid'],
|
|
36
35
|
};
|
|
@@ -30,7 +30,6 @@ function InvitationCreatedByFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'isActive': !(0, runtime_1.exists)(json, 'is_active') ? undefined : json['is_active'],
|
|
31
31
|
'lastLogin': !(0, runtime_1.exists)(json, 'last_login') ? undefined : (json['last_login'] === null ? null : new Date(json['last_login'])),
|
|
32
32
|
'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
|
|
33
|
-
'avatar': json['avatar'],
|
|
34
33
|
'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
|
|
35
34
|
'uid': json['uid'],
|
|
36
35
|
};
|
|
@@ -27,6 +27,18 @@ export interface UserServiceAccountRequest {
|
|
|
27
27
|
* @memberof UserServiceAccountRequest
|
|
28
28
|
*/
|
|
29
29
|
createGroup?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof UserServiceAccountRequest
|
|
34
|
+
*/
|
|
35
|
+
expiring?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* If not provided, valid for 360 days
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof UserServiceAccountRequest
|
|
40
|
+
*/
|
|
41
|
+
expires?: Date;
|
|
30
42
|
}
|
|
31
43
|
export declare function UserServiceAccountRequestFromJSON(json: any): UserServiceAccountRequest;
|
|
32
44
|
export declare function UserServiceAccountRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserServiceAccountRequest;
|
|
@@ -26,6 +26,8 @@ function UserServiceAccountRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
return {
|
|
27
27
|
'name': json['name'],
|
|
28
28
|
'createGroup': !(0, runtime_1.exists)(json, 'create_group') ? undefined : json['create_group'],
|
|
29
|
+
'expiring': !(0, runtime_1.exists)(json, 'expiring') ? undefined : json['expiring'],
|
|
30
|
+
'expires': !(0, runtime_1.exists)(json, 'expires') ? undefined : (new Date(json['expires'])),
|
|
29
31
|
};
|
|
30
32
|
}
|
|
31
33
|
exports.UserServiceAccountRequestFromJSONTyped = UserServiceAccountRequestFromJSONTyped;
|
|
@@ -39,6 +41,8 @@ function UserServiceAccountRequestToJSON(value) {
|
|
|
39
41
|
return {
|
|
40
42
|
'name': value.name,
|
|
41
43
|
'create_group': value.createGroup,
|
|
44
|
+
'expiring': value.expiring,
|
|
45
|
+
'expires': value.expires === undefined ? undefined : (value.expires.toISOString()),
|
|
42
46
|
};
|
|
43
47
|
}
|
|
44
48
|
exports.UserServiceAccountRequestToJSON = UserServiceAccountRequestToJSON;
|
package/package.json
CHANGED
|
@@ -55,12 +55,6 @@ export interface GroupMember {
|
|
|
55
55
|
* @memberof GroupMember
|
|
56
56
|
*/
|
|
57
57
|
email?: string;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof GroupMember
|
|
62
|
-
*/
|
|
63
|
-
readonly avatar: string;
|
|
64
58
|
/**
|
|
65
59
|
*
|
|
66
60
|
* @type {{ [key: string]: any; }}
|
|
@@ -91,7 +85,6 @@ export function GroupMemberFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
91
85
|
'isActive': !exists(json, 'is_active') ? undefined : json['is_active'],
|
|
92
86
|
'lastLogin': !exists(json, 'last_login') ? undefined : (json['last_login'] === null ? null : new Date(json['last_login'])),
|
|
93
87
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
94
|
-
'avatar': json['avatar'],
|
|
95
88
|
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
96
89
|
'uid': json['uid'],
|
|
97
90
|
};
|
|
@@ -62,12 +62,6 @@ export interface InvitationCreatedBy {
|
|
|
62
62
|
* @memberof InvitationCreatedBy
|
|
63
63
|
*/
|
|
64
64
|
email?: string;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof InvitationCreatedBy
|
|
69
|
-
*/
|
|
70
|
-
readonly avatar: string;
|
|
71
65
|
/**
|
|
72
66
|
*
|
|
73
67
|
* @type {{ [key: string]: any; }}
|
|
@@ -98,7 +92,6 @@ export function InvitationCreatedByFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
98
92
|
'isActive': !exists(json, 'is_active') ? undefined : json['is_active'],
|
|
99
93
|
'lastLogin': !exists(json, 'last_login') ? undefined : (json['last_login'] === null ? null : new Date(json['last_login'])),
|
|
100
94
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
101
|
-
'avatar': json['avatar'],
|
|
102
95
|
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
103
96
|
'uid': json['uid'],
|
|
104
97
|
};
|
|
@@ -31,6 +31,18 @@ export interface UserServiceAccountRequest {
|
|
|
31
31
|
* @memberof UserServiceAccountRequest
|
|
32
32
|
*/
|
|
33
33
|
createGroup?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof UserServiceAccountRequest
|
|
38
|
+
*/
|
|
39
|
+
expiring?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* If not provided, valid for 360 days
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof UserServiceAccountRequest
|
|
44
|
+
*/
|
|
45
|
+
expires?: Date;
|
|
34
46
|
}
|
|
35
47
|
|
|
36
48
|
export function UserServiceAccountRequestFromJSON(json: any): UserServiceAccountRequest {
|
|
@@ -45,6 +57,8 @@ export function UserServiceAccountRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
45
57
|
|
|
46
58
|
'name': json['name'],
|
|
47
59
|
'createGroup': !exists(json, 'create_group') ? undefined : json['create_group'],
|
|
60
|
+
'expiring': !exists(json, 'expiring') ? undefined : json['expiring'],
|
|
61
|
+
'expires': !exists(json, 'expires') ? undefined : (new Date(json['expires'])),
|
|
48
62
|
};
|
|
49
63
|
}
|
|
50
64
|
|
|
@@ -59,6 +73,8 @@ export function UserServiceAccountRequestToJSON(value?: UserServiceAccountReques
|
|
|
59
73
|
|
|
60
74
|
'name': value.name,
|
|
61
75
|
'create_group': value.createGroup,
|
|
76
|
+
'expiring': value.expiring,
|
|
77
|
+
'expires': value.expires === undefined ? undefined : (value.expires.toISOString()),
|
|
62
78
|
};
|
|
63
79
|
}
|
|
64
80
|
|