@goauthentik/api 2025.2.3-1744036568 → 2025.2.3-1744041717

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 (61) hide show
  1. package/dist/esm/models/GroupKerberosSourceConnection.d.ts +7 -1
  2. package/dist/esm/models/GroupKerberosSourceConnection.js +3 -0
  3. package/dist/esm/models/GroupOAuthSourceConnection.d.ts +7 -1
  4. package/dist/esm/models/GroupOAuthSourceConnection.js +3 -0
  5. package/dist/esm/models/GroupPlexSourceConnection.d.ts +7 -1
  6. package/dist/esm/models/GroupPlexSourceConnection.js +3 -0
  7. package/dist/esm/models/GroupSAMLSourceConnection.d.ts +7 -1
  8. package/dist/esm/models/GroupSAMLSourceConnection.js +3 -0
  9. package/dist/esm/models/GroupSourceConnection.d.ts +7 -1
  10. package/dist/esm/models/GroupSourceConnection.js +3 -0
  11. package/dist/esm/models/PatchedUserSourceConnectionRequest.d.ts +6 -0
  12. package/dist/esm/models/PatchedUserSourceConnectionRequest.js +2 -0
  13. package/dist/esm/models/UserKerberosSourceConnection.d.ts +9 -3
  14. package/dist/esm/models/UserKerberosSourceConnection.js +5 -2
  15. package/dist/esm/models/UserOAuthSourceConnection.d.ts +9 -3
  16. package/dist/esm/models/UserOAuthSourceConnection.js +5 -2
  17. package/dist/esm/models/UserPlexSourceConnection.d.ts +9 -3
  18. package/dist/esm/models/UserPlexSourceConnection.js +5 -2
  19. package/dist/esm/models/UserSAMLSourceConnection.d.ts +9 -3
  20. package/dist/esm/models/UserSAMLSourceConnection.js +5 -2
  21. package/dist/esm/models/UserSourceConnection.d.ts +13 -1
  22. package/dist/esm/models/UserSourceConnection.js +7 -0
  23. package/dist/esm/models/UserSourceConnectionRequest.d.ts +6 -0
  24. package/dist/esm/models/UserSourceConnectionRequest.js +4 -0
  25. package/dist/models/GroupKerberosSourceConnection.d.ts +7 -1
  26. package/dist/models/GroupKerberosSourceConnection.js +3 -0
  27. package/dist/models/GroupOAuthSourceConnection.d.ts +7 -1
  28. package/dist/models/GroupOAuthSourceConnection.js +3 -0
  29. package/dist/models/GroupPlexSourceConnection.d.ts +7 -1
  30. package/dist/models/GroupPlexSourceConnection.js +3 -0
  31. package/dist/models/GroupSAMLSourceConnection.d.ts +7 -1
  32. package/dist/models/GroupSAMLSourceConnection.js +3 -0
  33. package/dist/models/GroupSourceConnection.d.ts +7 -1
  34. package/dist/models/GroupSourceConnection.js +3 -0
  35. package/dist/models/PatchedUserSourceConnectionRequest.d.ts +6 -0
  36. package/dist/models/PatchedUserSourceConnectionRequest.js +2 -0
  37. package/dist/models/UserKerberosSourceConnection.d.ts +9 -3
  38. package/dist/models/UserKerberosSourceConnection.js +5 -2
  39. package/dist/models/UserOAuthSourceConnection.d.ts +9 -3
  40. package/dist/models/UserOAuthSourceConnection.js +5 -2
  41. package/dist/models/UserPlexSourceConnection.d.ts +9 -3
  42. package/dist/models/UserPlexSourceConnection.js +5 -2
  43. package/dist/models/UserSAMLSourceConnection.d.ts +9 -3
  44. package/dist/models/UserSAMLSourceConnection.js +5 -2
  45. package/dist/models/UserSourceConnection.d.ts +13 -1
  46. package/dist/models/UserSourceConnection.js +7 -0
  47. package/dist/models/UserSourceConnectionRequest.d.ts +6 -0
  48. package/dist/models/UserSourceConnectionRequest.js +4 -0
  49. package/package.json +1 -1
  50. package/src/models/GroupKerberosSourceConnection.ts +9 -1
  51. package/src/models/GroupOAuthSourceConnection.ts +9 -1
  52. package/src/models/GroupPlexSourceConnection.ts +9 -1
  53. package/src/models/GroupSAMLSourceConnection.ts +9 -1
  54. package/src/models/GroupSourceConnection.ts +9 -1
  55. package/src/models/PatchedUserSourceConnectionRequest.ts +8 -0
  56. package/src/models/UserKerberosSourceConnection.ts +13 -5
  57. package/src/models/UserOAuthSourceConnection.ts +13 -5
  58. package/src/models/UserPlexSourceConnection.ts +13 -5
  59. package/src/models/UserSAMLSourceConnection.ts +13 -5
  60. package/src/models/UserSourceConnection.ts +18 -1
  61. package/src/models/UserSourceConnectionRequest.ts +9 -0
@@ -31,6 +31,12 @@ export interface PatchedUserSourceConnectionRequest {
31
31
  * @memberof PatchedUserSourceConnectionRequest
32
32
  */
33
33
  source?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof PatchedUserSourceConnectionRequest
38
+ */
39
+ identifier?: string;
34
40
  }
35
41
 
36
42
  /**
@@ -52,6 +58,7 @@ export function PatchedUserSourceConnectionRequestFromJSONTyped(json: any, ignor
52
58
 
53
59
  'user': json['user'] == null ? undefined : json['user'],
54
60
  'source': json['source'] == null ? undefined : json['source'],
61
+ 'identifier': json['identifier'] == null ? undefined : json['identifier'],
55
62
  };
56
63
  }
57
64
 
@@ -68,6 +75,7 @@ export function PatchedUserSourceConnectionRequestToJSONTyped(value?: PatchedUse
68
75
 
69
76
  'user': value['user'],
70
77
  'source': value['source'],
78
+ 'identifier': value['identifier'],
71
79
  };
72
80
  }
73
81
 
@@ -51,6 +51,12 @@ export interface UserKerberosSourceConnection {
51
51
  * @memberof UserKerberosSourceConnection
52
52
  */
53
53
  readonly sourceObj: Source;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof UserKerberosSourceConnection
58
+ */
59
+ identifier: string;
54
60
  /**
55
61
  *
56
62
  * @type {Date}
@@ -59,10 +65,10 @@ export interface UserKerberosSourceConnection {
59
65
  readonly created: Date;
60
66
  /**
61
67
  *
62
- * @type {string}
68
+ * @type {Date}
63
69
  * @memberof UserKerberosSourceConnection
64
70
  */
65
- identifier: string;
71
+ readonly lastUpdated: Date;
66
72
  }
67
73
 
68
74
  /**
@@ -73,8 +79,9 @@ export function instanceOfUserKerberosSourceConnection(value: object): value is
73
79
  if (!('user' in value) || value['user'] === undefined) return false;
74
80
  if (!('source' in value) || value['source'] === undefined) return false;
75
81
  if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
76
- if (!('created' in value) || value['created'] === undefined) return false;
77
82
  if (!('identifier' in value) || value['identifier'] === undefined) return false;
83
+ if (!('created' in value) || value['created'] === undefined) return false;
84
+ if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
78
85
  return true;
79
86
  }
80
87
 
@@ -92,8 +99,9 @@ export function UserKerberosSourceConnectionFromJSONTyped(json: any, ignoreDiscr
92
99
  'user': json['user'],
93
100
  'source': json['source'],
94
101
  'sourceObj': SourceFromJSON(json['source_obj']),
95
- 'created': (new Date(json['created'])),
96
102
  'identifier': json['identifier'],
103
+ 'created': (new Date(json['created'])),
104
+ 'lastUpdated': (new Date(json['last_updated'])),
97
105
  };
98
106
  }
99
107
 
@@ -101,7 +109,7 @@ export function UserKerberosSourceConnectionToJSON(json: any): UserKerberosSourc
101
109
  return UserKerberosSourceConnectionToJSONTyped(json, false);
102
110
  }
103
111
 
104
- export function UserKerberosSourceConnectionToJSONTyped(value?: Omit<UserKerberosSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
112
+ export function UserKerberosSourceConnectionToJSONTyped(value?: Omit<UserKerberosSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
105
113
  if (value == null) {
106
114
  return value;
107
115
  }
@@ -51,6 +51,12 @@ export interface UserOAuthSourceConnection {
51
51
  * @memberof UserOAuthSourceConnection
52
52
  */
53
53
  readonly sourceObj: Source;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof UserOAuthSourceConnection
58
+ */
59
+ identifier: string;
54
60
  /**
55
61
  *
56
62
  * @type {Date}
@@ -59,10 +65,10 @@ export interface UserOAuthSourceConnection {
59
65
  readonly created: Date;
60
66
  /**
61
67
  *
62
- * @type {string}
68
+ * @type {Date}
63
69
  * @memberof UserOAuthSourceConnection
64
70
  */
65
- identifier: string;
71
+ readonly lastUpdated: Date;
66
72
  }
67
73
 
68
74
  /**
@@ -73,8 +79,9 @@ export function instanceOfUserOAuthSourceConnection(value: object): value is Use
73
79
  if (!('user' in value) || value['user'] === undefined) return false;
74
80
  if (!('source' in value) || value['source'] === undefined) return false;
75
81
  if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
76
- if (!('created' in value) || value['created'] === undefined) return false;
77
82
  if (!('identifier' in value) || value['identifier'] === undefined) return false;
83
+ if (!('created' in value) || value['created'] === undefined) return false;
84
+ if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
78
85
  return true;
79
86
  }
80
87
 
@@ -92,8 +99,9 @@ export function UserOAuthSourceConnectionFromJSONTyped(json: any, ignoreDiscrimi
92
99
  'user': json['user'],
93
100
  'source': json['source'],
94
101
  'sourceObj': SourceFromJSON(json['source_obj']),
95
- 'created': (new Date(json['created'])),
96
102
  'identifier': json['identifier'],
103
+ 'created': (new Date(json['created'])),
104
+ 'lastUpdated': (new Date(json['last_updated'])),
97
105
  };
98
106
  }
99
107
 
@@ -101,7 +109,7 @@ export function UserOAuthSourceConnectionToJSON(json: any): UserOAuthSourceConne
101
109
  return UserOAuthSourceConnectionToJSONTyped(json, false);
102
110
  }
103
111
 
104
- export function UserOAuthSourceConnectionToJSONTyped(value?: Omit<UserOAuthSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
112
+ export function UserOAuthSourceConnectionToJSONTyped(value?: Omit<UserOAuthSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
105
113
  if (value == null) {
106
114
  return value;
107
115
  }
@@ -51,6 +51,12 @@ export interface UserPlexSourceConnection {
51
51
  * @memberof UserPlexSourceConnection
52
52
  */
53
53
  readonly sourceObj: Source;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof UserPlexSourceConnection
58
+ */
59
+ identifier: string;
54
60
  /**
55
61
  *
56
62
  * @type {Date}
@@ -59,10 +65,10 @@ export interface UserPlexSourceConnection {
59
65
  readonly created: Date;
60
66
  /**
61
67
  *
62
- * @type {string}
68
+ * @type {Date}
63
69
  * @memberof UserPlexSourceConnection
64
70
  */
65
- identifier: string;
71
+ readonly lastUpdated: Date;
66
72
  }
67
73
 
68
74
  /**
@@ -73,8 +79,9 @@ export function instanceOfUserPlexSourceConnection(value: object): value is User
73
79
  if (!('user' in value) || value['user'] === undefined) return false;
74
80
  if (!('source' in value) || value['source'] === undefined) return false;
75
81
  if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
76
- if (!('created' in value) || value['created'] === undefined) return false;
77
82
  if (!('identifier' in value) || value['identifier'] === undefined) return false;
83
+ if (!('created' in value) || value['created'] === undefined) return false;
84
+ if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
78
85
  return true;
79
86
  }
80
87
 
@@ -92,8 +99,9 @@ export function UserPlexSourceConnectionFromJSONTyped(json: any, ignoreDiscrimin
92
99
  'user': json['user'],
93
100
  'source': json['source'],
94
101
  'sourceObj': SourceFromJSON(json['source_obj']),
95
- 'created': (new Date(json['created'])),
96
102
  'identifier': json['identifier'],
103
+ 'created': (new Date(json['created'])),
104
+ 'lastUpdated': (new Date(json['last_updated'])),
97
105
  };
98
106
  }
99
107
 
@@ -101,7 +109,7 @@ export function UserPlexSourceConnectionToJSON(json: any): UserPlexSourceConnect
101
109
  return UserPlexSourceConnectionToJSONTyped(json, false);
102
110
  }
103
111
 
104
- export function UserPlexSourceConnectionToJSONTyped(value?: Omit<UserPlexSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
112
+ export function UserPlexSourceConnectionToJSONTyped(value?: Omit<UserPlexSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
105
113
  if (value == null) {
106
114
  return value;
107
115
  }
@@ -51,6 +51,12 @@ export interface UserSAMLSourceConnection {
51
51
  * @memberof UserSAMLSourceConnection
52
52
  */
53
53
  readonly sourceObj: Source;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof UserSAMLSourceConnection
58
+ */
59
+ identifier: string;
54
60
  /**
55
61
  *
56
62
  * @type {Date}
@@ -59,10 +65,10 @@ export interface UserSAMLSourceConnection {
59
65
  readonly created: Date;
60
66
  /**
61
67
  *
62
- * @type {string}
68
+ * @type {Date}
63
69
  * @memberof UserSAMLSourceConnection
64
70
  */
65
- identifier: string;
71
+ readonly lastUpdated: Date;
66
72
  }
67
73
 
68
74
  /**
@@ -73,8 +79,9 @@ export function instanceOfUserSAMLSourceConnection(value: object): value is User
73
79
  if (!('user' in value) || value['user'] === undefined) return false;
74
80
  if (!('source' in value) || value['source'] === undefined) return false;
75
81
  if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
76
- if (!('created' in value) || value['created'] === undefined) return false;
77
82
  if (!('identifier' in value) || value['identifier'] === undefined) return false;
83
+ if (!('created' in value) || value['created'] === undefined) return false;
84
+ if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
78
85
  return true;
79
86
  }
80
87
 
@@ -92,8 +99,9 @@ export function UserSAMLSourceConnectionFromJSONTyped(json: any, ignoreDiscrimin
92
99
  'user': json['user'],
93
100
  'source': json['source'],
94
101
  'sourceObj': SourceFromJSON(json['source_obj']),
95
- 'created': (new Date(json['created'])),
96
102
  'identifier': json['identifier'],
103
+ 'created': (new Date(json['created'])),
104
+ 'lastUpdated': (new Date(json['last_updated'])),
97
105
  };
98
106
  }
99
107
 
@@ -101,7 +109,7 @@ export function UserSAMLSourceConnectionToJSON(json: any): UserSAMLSourceConnect
101
109
  return UserSAMLSourceConnectionToJSONTyped(json, false);
102
110
  }
103
111
 
104
- export function UserSAMLSourceConnectionToJSONTyped(value?: Omit<UserSAMLSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
112
+ export function UserSAMLSourceConnectionToJSONTyped(value?: Omit<UserSAMLSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
105
113
  if (value == null) {
106
114
  return value;
107
115
  }
@@ -51,12 +51,24 @@ export interface UserSourceConnection {
51
51
  * @memberof UserSourceConnection
52
52
  */
53
53
  readonly sourceObj: Source;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof UserSourceConnection
58
+ */
59
+ identifier: string;
54
60
  /**
55
61
  *
56
62
  * @type {Date}
57
63
  * @memberof UserSourceConnection
58
64
  */
59
65
  readonly created: Date;
66
+ /**
67
+ *
68
+ * @type {Date}
69
+ * @memberof UserSourceConnection
70
+ */
71
+ readonly lastUpdated: Date;
60
72
  }
61
73
 
62
74
  /**
@@ -67,7 +79,9 @@ export function instanceOfUserSourceConnection(value: object): value is UserSour
67
79
  if (!('user' in value) || value['user'] === undefined) return false;
68
80
  if (!('source' in value) || value['source'] === undefined) return false;
69
81
  if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
82
+ if (!('identifier' in value) || value['identifier'] === undefined) return false;
70
83
  if (!('created' in value) || value['created'] === undefined) return false;
84
+ if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
71
85
  return true;
72
86
  }
73
87
 
@@ -85,7 +99,9 @@ export function UserSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator
85
99
  'user': json['user'],
86
100
  'source': json['source'],
87
101
  'sourceObj': SourceFromJSON(json['source_obj']),
102
+ 'identifier': json['identifier'],
88
103
  'created': (new Date(json['created'])),
104
+ 'lastUpdated': (new Date(json['last_updated'])),
89
105
  };
90
106
  }
91
107
 
@@ -93,7 +109,7 @@ export function UserSourceConnectionToJSON(json: any): UserSourceConnection {
93
109
  return UserSourceConnectionToJSONTyped(json, false);
94
110
  }
95
111
 
96
- export function UserSourceConnectionToJSONTyped(value?: Omit<UserSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
112
+ export function UserSourceConnectionToJSONTyped(value?: Omit<UserSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
97
113
  if (value == null) {
98
114
  return value;
99
115
  }
@@ -102,6 +118,7 @@ export function UserSourceConnectionToJSONTyped(value?: Omit<UserSourceConnectio
102
118
 
103
119
  'user': value['user'],
104
120
  'source': value['source'],
121
+ 'identifier': value['identifier'],
105
122
  };
106
123
  }
107
124
 
@@ -31,6 +31,12 @@ export interface UserSourceConnectionRequest {
31
31
  * @memberof UserSourceConnectionRequest
32
32
  */
33
33
  source: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof UserSourceConnectionRequest
38
+ */
39
+ identifier: string;
34
40
  }
35
41
 
36
42
  /**
@@ -39,6 +45,7 @@ export interface UserSourceConnectionRequest {
39
45
  export function instanceOfUserSourceConnectionRequest(value: object): value is UserSourceConnectionRequest {
40
46
  if (!('user' in value) || value['user'] === undefined) return false;
41
47
  if (!('source' in value) || value['source'] === undefined) return false;
48
+ if (!('identifier' in value) || value['identifier'] === undefined) return false;
42
49
  return true;
43
50
  }
44
51
 
@@ -54,6 +61,7 @@ export function UserSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscri
54
61
 
55
62
  'user': json['user'],
56
63
  'source': json['source'],
64
+ 'identifier': json['identifier'],
57
65
  };
58
66
  }
59
67
 
@@ -70,6 +78,7 @@ export function UserSourceConnectionRequestToJSONTyped(value?: UserSourceConnect
70
78
 
71
79
  'user': value['user'],
72
80
  'source': value['source'],
81
+ 'identifier': value['identifier'],
73
82
  };
74
83
  }
75
84