@goauthentik/api 2024.10.5-1734022840 → 2024.10.5-1734528783

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 (185) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/dist/apis/CoreApi.d.ts +86 -1
  3. package/dist/apis/CoreApi.js +271 -0
  4. package/dist/apis/RbacApi.d.ts +2 -0
  5. package/dist/apis/RbacApi.js +2 -0
  6. package/dist/apis/SourcesApi.d.ts +21 -5
  7. package/dist/apis/SourcesApi.js +51 -6
  8. package/dist/esm/apis/CoreApi.d.ts +86 -1
  9. package/dist/esm/apis/CoreApi.js +272 -1
  10. package/dist/esm/apis/RbacApi.d.ts +2 -0
  11. package/dist/esm/apis/RbacApi.js +2 -0
  12. package/dist/esm/apis/SourcesApi.d.ts +21 -5
  13. package/dist/esm/apis/SourcesApi.js +52 -7
  14. package/dist/esm/models/ApplicationEntitlement.d.ts +49 -0
  15. package/dist/esm/models/ApplicationEntitlement.js +51 -0
  16. package/dist/esm/models/ApplicationEntitlementRequest.d.ts +43 -0
  17. package/dist/esm/models/ApplicationEntitlementRequest.js +49 -0
  18. package/dist/esm/models/GroupKerberosSourceConnection.d.ts +9 -3
  19. package/dist/esm/models/GroupKerberosSourceConnection.js +8 -2
  20. package/dist/esm/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
  21. package/dist/esm/models/GroupKerberosSourceConnectionRequest.js +49 -0
  22. package/dist/esm/models/GroupOAuthSourceConnection.d.ts +9 -3
  23. package/dist/esm/models/GroupOAuthSourceConnection.js +8 -2
  24. package/dist/esm/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
  25. package/dist/esm/models/GroupOAuthSourceConnectionRequest.js +49 -0
  26. package/dist/esm/models/GroupPlexSourceConnection.d.ts +9 -3
  27. package/dist/esm/models/GroupPlexSourceConnection.js +8 -2
  28. package/dist/esm/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
  29. package/dist/esm/models/GroupPlexSourceConnectionRequest.js +49 -0
  30. package/dist/esm/models/GroupSAMLSourceConnection.d.ts +9 -3
  31. package/dist/esm/models/GroupSAMLSourceConnection.js +8 -2
  32. package/dist/esm/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
  33. package/dist/esm/models/GroupSAMLSourceConnectionRequest.js +49 -0
  34. package/dist/esm/models/IdentificationChallenge.d.ts +1 -1
  35. package/dist/esm/models/ModelEnum.d.ts +1 -0
  36. package/dist/esm/models/ModelEnum.js +1 -0
  37. package/dist/esm/models/PaginatedApplicationEntitlementList.d.ts +39 -0
  38. package/dist/esm/models/PaginatedApplicationEntitlementList.js +48 -0
  39. package/dist/esm/models/PatchedApplicationEntitlementRequest.d.ts +43 -0
  40. package/dist/esm/models/PatchedApplicationEntitlementRequest.js +47 -0
  41. package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
  42. package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.js +47 -0
  43. package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
  44. package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.js +47 -0
  45. package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
  46. package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.js +47 -0
  47. package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
  48. package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.js +47 -0
  49. package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
  50. package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
  51. package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
  52. package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
  53. package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
  54. package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
  55. package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
  56. package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
  57. package/dist/esm/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
  58. package/dist/esm/models/PatchedUserSourceConnectionRequest.js +45 -0
  59. package/dist/esm/models/UserKerberosSourceConnection.d.ts +7 -1
  60. package/dist/esm/models/UserKerberosSourceConnection.js +4 -1
  61. package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
  62. package/dist/esm/models/UserKerberosSourceConnectionRequest.js +3 -0
  63. package/dist/esm/models/UserOAuthSourceConnection.d.ts +8 -2
  64. package/dist/esm/models/UserOAuthSourceConnection.js +5 -1
  65. package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
  66. package/dist/esm/models/UserOAuthSourceConnectionRequest.js +6 -0
  67. package/dist/esm/models/UserPlexSourceConnection.d.ts +8 -2
  68. package/dist/esm/models/UserPlexSourceConnection.js +5 -1
  69. package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +12 -0
  70. package/dist/esm/models/UserPlexSourceConnectionRequest.js +6 -0
  71. package/dist/esm/models/UserSAMLSourceConnection.d.ts +8 -2
  72. package/dist/esm/models/UserSAMLSourceConnection.js +5 -1
  73. package/dist/esm/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
  74. package/dist/esm/models/UserSAMLSourceConnectionRequest.js +6 -0
  75. package/dist/esm/models/UserSourceConnection.d.ts +9 -3
  76. package/dist/esm/models/UserSourceConnection.js +7 -2
  77. package/dist/esm/models/UserSourceConnectionRequest.d.ts +37 -0
  78. package/dist/esm/models/UserSourceConnectionRequest.js +46 -0
  79. package/dist/esm/models/index.d.ts +14 -0
  80. package/dist/esm/models/index.js +14 -0
  81. package/dist/models/ApplicationEntitlement.d.ts +49 -0
  82. package/dist/models/ApplicationEntitlement.js +58 -0
  83. package/dist/models/ApplicationEntitlementRequest.d.ts +43 -0
  84. package/dist/models/ApplicationEntitlementRequest.js +56 -0
  85. package/dist/models/GroupKerberosSourceConnection.d.ts +9 -3
  86. package/dist/models/GroupKerberosSourceConnection.js +8 -2
  87. package/dist/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
  88. package/dist/models/GroupKerberosSourceConnectionRequest.js +56 -0
  89. package/dist/models/GroupOAuthSourceConnection.d.ts +9 -3
  90. package/dist/models/GroupOAuthSourceConnection.js +8 -2
  91. package/dist/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
  92. package/dist/models/GroupOAuthSourceConnectionRequest.js +56 -0
  93. package/dist/models/GroupPlexSourceConnection.d.ts +9 -3
  94. package/dist/models/GroupPlexSourceConnection.js +8 -2
  95. package/dist/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
  96. package/dist/models/GroupPlexSourceConnectionRequest.js +56 -0
  97. package/dist/models/GroupSAMLSourceConnection.d.ts +9 -3
  98. package/dist/models/GroupSAMLSourceConnection.js +8 -2
  99. package/dist/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
  100. package/dist/models/GroupSAMLSourceConnectionRequest.js +56 -0
  101. package/dist/models/IdentificationChallenge.d.ts +1 -1
  102. package/dist/models/ModelEnum.d.ts +1 -0
  103. package/dist/models/ModelEnum.js +1 -0
  104. package/dist/models/PaginatedApplicationEntitlementList.d.ts +39 -0
  105. package/dist/models/PaginatedApplicationEntitlementList.js +55 -0
  106. package/dist/models/PatchedApplicationEntitlementRequest.d.ts +43 -0
  107. package/dist/models/PatchedApplicationEntitlementRequest.js +54 -0
  108. package/dist/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
  109. package/dist/models/PatchedGroupKerberosSourceConnectionRequest.js +54 -0
  110. package/dist/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
  111. package/dist/models/PatchedGroupOAuthSourceConnectionRequest.js +54 -0
  112. package/dist/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
  113. package/dist/models/PatchedGroupPlexSourceConnectionRequest.js +54 -0
  114. package/dist/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
  115. package/dist/models/PatchedGroupSAMLSourceConnectionRequest.js +54 -0
  116. package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
  117. package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
  118. package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
  119. package/dist/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
  120. package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
  121. package/dist/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
  122. package/dist/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
  123. package/dist/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
  124. package/dist/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
  125. package/dist/models/PatchedUserSourceConnectionRequest.js +52 -0
  126. package/dist/models/UserKerberosSourceConnection.d.ts +7 -1
  127. package/dist/models/UserKerberosSourceConnection.js +4 -1
  128. package/dist/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
  129. package/dist/models/UserKerberosSourceConnectionRequest.js +3 -0
  130. package/dist/models/UserOAuthSourceConnection.d.ts +8 -2
  131. package/dist/models/UserOAuthSourceConnection.js +5 -1
  132. package/dist/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
  133. package/dist/models/UserOAuthSourceConnectionRequest.js +6 -0
  134. package/dist/models/UserPlexSourceConnection.d.ts +8 -2
  135. package/dist/models/UserPlexSourceConnection.js +5 -1
  136. package/dist/models/UserPlexSourceConnectionRequest.d.ts +12 -0
  137. package/dist/models/UserPlexSourceConnectionRequest.js +6 -0
  138. package/dist/models/UserSAMLSourceConnection.d.ts +8 -2
  139. package/dist/models/UserSAMLSourceConnection.js +5 -1
  140. package/dist/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
  141. package/dist/models/UserSAMLSourceConnectionRequest.js +6 -0
  142. package/dist/models/UserSourceConnection.d.ts +9 -3
  143. package/dist/models/UserSourceConnection.js +7 -2
  144. package/dist/models/UserSourceConnectionRequest.d.ts +37 -0
  145. package/dist/models/UserSourceConnectionRequest.js +53 -0
  146. package/dist/models/index.d.ts +14 -0
  147. package/dist/models/index.js +14 -0
  148. package/package.json +1 -1
  149. package/src/apis/CoreApi.ts +350 -0
  150. package/src/apis/RbacApi.ts +2 -0
  151. package/src/apis/SourcesApi.ts +118 -6
  152. package/src/models/ApplicationEntitlement.ts +91 -0
  153. package/src/models/ApplicationEntitlementRequest.ts +83 -0
  154. package/src/models/GroupKerberosSourceConnection.ts +15 -4
  155. package/src/models/GroupKerberosSourceConnectionRequest.ts +84 -0
  156. package/src/models/GroupOAuthSourceConnection.ts +15 -4
  157. package/src/models/GroupOAuthSourceConnectionRequest.ts +84 -0
  158. package/src/models/GroupPlexSourceConnection.ts +15 -4
  159. package/src/models/GroupPlexSourceConnectionRequest.ts +84 -0
  160. package/src/models/GroupSAMLSourceConnection.ts +15 -4
  161. package/src/models/GroupSAMLSourceConnectionRequest.ts +84 -0
  162. package/src/models/IdentificationChallenge.ts +1 -1
  163. package/src/models/ModelEnum.ts +1 -0
  164. package/src/models/PaginatedApplicationEntitlementList.ts +88 -0
  165. package/src/models/PatchedApplicationEntitlementRequest.ts +81 -0
  166. package/src/models/PatchedGroupKerberosSourceConnectionRequest.ts +81 -0
  167. package/src/models/PatchedGroupOAuthSourceConnectionRequest.ts +81 -0
  168. package/src/models/PatchedGroupPlexSourceConnectionRequest.ts +81 -0
  169. package/src/models/PatchedGroupSAMLSourceConnectionRequest.ts +81 -0
  170. package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +8 -0
  171. package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +16 -0
  172. package/src/models/PatchedUserPlexSourceConnectionRequest.ts +16 -0
  173. package/src/models/PatchedUserSAMLSourceConnectionRequest.ts +16 -0
  174. package/src/models/PatchedUserSourceConnectionRequest.ts +73 -0
  175. package/src/models/UserKerberosSourceConnection.ts +11 -2
  176. package/src/models/UserKerberosSourceConnectionRequest.ts +9 -0
  177. package/src/models/UserOAuthSourceConnection.ts +13 -3
  178. package/src/models/UserOAuthSourceConnectionRequest.ts +18 -0
  179. package/src/models/UserPlexSourceConnection.ts +13 -3
  180. package/src/models/UserPlexSourceConnectionRequest.ts +18 -0
  181. package/src/models/UserSAMLSourceConnection.ts +13 -3
  182. package/src/models/UserSAMLSourceConnectionRequest.ts +18 -0
  183. package/src/models/UserSourceConnection.ts +14 -4
  184. package/src/models/UserSourceConnectionRequest.ts +75 -0
  185. package/src/models/index.ts +14 -0
@@ -37,19 +37,25 @@ export interface GroupKerberosSourceConnection {
37
37
  * @type {string}
38
38
  * @memberof GroupKerberosSourceConnection
39
39
  */
40
- readonly group: string;
40
+ group: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof GroupKerberosSourceConnection
45
+ */
46
+ source: string;
41
47
  /**
42
48
  *
43
49
  * @type {Source}
44
50
  * @memberof GroupKerberosSourceConnection
45
51
  */
46
- readonly source: Source;
52
+ readonly sourceObj: Source;
47
53
  /**
48
54
  *
49
55
  * @type {string}
50
56
  * @memberof GroupKerberosSourceConnection
51
57
  */
52
- readonly identifier: string;
58
+ identifier: string;
53
59
  /**
54
60
  *
55
61
  * @type {Date}
@@ -66,6 +72,7 @@ export function instanceOfGroupKerberosSourceConnection(value: object): boolean
66
72
  isInstance = isInstance && "pk" in value;
67
73
  isInstance = isInstance && "group" in value;
68
74
  isInstance = isInstance && "source" in value;
75
+ isInstance = isInstance && "sourceObj" in value;
69
76
  isInstance = isInstance && "identifier" in value;
70
77
  isInstance = isInstance && "created" in value;
71
78
 
@@ -84,7 +91,8 @@ export function GroupKerberosSourceConnectionFromJSONTyped(json: any, ignoreDisc
84
91
 
85
92
  'pk': json['pk'],
86
93
  'group': json['group'],
87
- 'source': SourceFromJSON(json['source']),
94
+ 'source': json['source'],
95
+ 'sourceObj': SourceFromJSON(json['source_obj']),
88
96
  'identifier': json['identifier'],
89
97
  'created': (new Date(json['created'])),
90
98
  };
@@ -99,6 +107,9 @@ export function GroupKerberosSourceConnectionToJSON(value?: GroupKerberosSourceC
99
107
  }
100
108
  return {
101
109
 
110
+ 'group': value.group,
111
+ 'source': value.source,
112
+ 'identifier': value.identifier,
102
113
  };
103
114
  }
104
115
 
@@ -0,0 +1,84 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
8
+ * Contact: hello@goauthentik.io
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
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * OAuth Group-Source connection Serializer
18
+ * @export
19
+ * @interface GroupKerberosSourceConnectionRequest
20
+ */
21
+ export interface GroupKerberosSourceConnectionRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GroupKerberosSourceConnectionRequest
26
+ */
27
+ group: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GroupKerberosSourceConnectionRequest
32
+ */
33
+ source: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GroupKerberosSourceConnectionRequest
38
+ */
39
+ identifier: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the GroupKerberosSourceConnectionRequest interface.
44
+ */
45
+ export function instanceOfGroupKerberosSourceConnectionRequest(value: object): boolean {
46
+ let isInstance = true;
47
+ isInstance = isInstance && "group" in value;
48
+ isInstance = isInstance && "source" in value;
49
+ isInstance = isInstance && "identifier" in value;
50
+
51
+ return isInstance;
52
+ }
53
+
54
+ export function GroupKerberosSourceConnectionRequestFromJSON(json: any): GroupKerberosSourceConnectionRequest {
55
+ return GroupKerberosSourceConnectionRequestFromJSONTyped(json, false);
56
+ }
57
+
58
+ export function GroupKerberosSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupKerberosSourceConnectionRequest {
59
+ if ((json === undefined) || (json === null)) {
60
+ return json;
61
+ }
62
+ return {
63
+
64
+ 'group': json['group'],
65
+ 'source': json['source'],
66
+ 'identifier': json['identifier'],
67
+ };
68
+ }
69
+
70
+ export function GroupKerberosSourceConnectionRequestToJSON(value?: GroupKerberosSourceConnectionRequest | null): any {
71
+ if (value === undefined) {
72
+ return undefined;
73
+ }
74
+ if (value === null) {
75
+ return null;
76
+ }
77
+ return {
78
+
79
+ 'group': value.group,
80
+ 'source': value.source,
81
+ 'identifier': value.identifier,
82
+ };
83
+ }
84
+
@@ -37,19 +37,25 @@ export interface GroupOAuthSourceConnection {
37
37
  * @type {string}
38
38
  * @memberof GroupOAuthSourceConnection
39
39
  */
40
- readonly group: string;
40
+ group: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof GroupOAuthSourceConnection
45
+ */
46
+ source: string;
41
47
  /**
42
48
  *
43
49
  * @type {Source}
44
50
  * @memberof GroupOAuthSourceConnection
45
51
  */
46
- readonly source: Source;
52
+ readonly sourceObj: Source;
47
53
  /**
48
54
  *
49
55
  * @type {string}
50
56
  * @memberof GroupOAuthSourceConnection
51
57
  */
52
- readonly identifier: string;
58
+ identifier: string;
53
59
  /**
54
60
  *
55
61
  * @type {Date}
@@ -66,6 +72,7 @@ export function instanceOfGroupOAuthSourceConnection(value: object): boolean {
66
72
  isInstance = isInstance && "pk" in value;
67
73
  isInstance = isInstance && "group" in value;
68
74
  isInstance = isInstance && "source" in value;
75
+ isInstance = isInstance && "sourceObj" in value;
69
76
  isInstance = isInstance && "identifier" in value;
70
77
  isInstance = isInstance && "created" in value;
71
78
 
@@ -84,7 +91,8 @@ export function GroupOAuthSourceConnectionFromJSONTyped(json: any, ignoreDiscrim
84
91
 
85
92
  'pk': json['pk'],
86
93
  'group': json['group'],
87
- 'source': SourceFromJSON(json['source']),
94
+ 'source': json['source'],
95
+ 'sourceObj': SourceFromJSON(json['source_obj']),
88
96
  'identifier': json['identifier'],
89
97
  'created': (new Date(json['created'])),
90
98
  };
@@ -99,6 +107,9 @@ export function GroupOAuthSourceConnectionToJSON(value?: GroupOAuthSourceConnect
99
107
  }
100
108
  return {
101
109
 
110
+ 'group': value.group,
111
+ 'source': value.source,
112
+ 'identifier': value.identifier,
102
113
  };
103
114
  }
104
115
 
@@ -0,0 +1,84 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
8
+ * Contact: hello@goauthentik.io
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
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * OAuth Group-Source connection Serializer
18
+ * @export
19
+ * @interface GroupOAuthSourceConnectionRequest
20
+ */
21
+ export interface GroupOAuthSourceConnectionRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GroupOAuthSourceConnectionRequest
26
+ */
27
+ group: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GroupOAuthSourceConnectionRequest
32
+ */
33
+ source: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GroupOAuthSourceConnectionRequest
38
+ */
39
+ identifier: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the GroupOAuthSourceConnectionRequest interface.
44
+ */
45
+ export function instanceOfGroupOAuthSourceConnectionRequest(value: object): boolean {
46
+ let isInstance = true;
47
+ isInstance = isInstance && "group" in value;
48
+ isInstance = isInstance && "source" in value;
49
+ isInstance = isInstance && "identifier" in value;
50
+
51
+ return isInstance;
52
+ }
53
+
54
+ export function GroupOAuthSourceConnectionRequestFromJSON(json: any): GroupOAuthSourceConnectionRequest {
55
+ return GroupOAuthSourceConnectionRequestFromJSONTyped(json, false);
56
+ }
57
+
58
+ export function GroupOAuthSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupOAuthSourceConnectionRequest {
59
+ if ((json === undefined) || (json === null)) {
60
+ return json;
61
+ }
62
+ return {
63
+
64
+ 'group': json['group'],
65
+ 'source': json['source'],
66
+ 'identifier': json['identifier'],
67
+ };
68
+ }
69
+
70
+ export function GroupOAuthSourceConnectionRequestToJSON(value?: GroupOAuthSourceConnectionRequest | null): any {
71
+ if (value === undefined) {
72
+ return undefined;
73
+ }
74
+ if (value === null) {
75
+ return null;
76
+ }
77
+ return {
78
+
79
+ 'group': value.group,
80
+ 'source': value.source,
81
+ 'identifier': value.identifier,
82
+ };
83
+ }
84
+
@@ -37,19 +37,25 @@ export interface GroupPlexSourceConnection {
37
37
  * @type {string}
38
38
  * @memberof GroupPlexSourceConnection
39
39
  */
40
- readonly group: string;
40
+ group: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof GroupPlexSourceConnection
45
+ */
46
+ source: string;
41
47
  /**
42
48
  *
43
49
  * @type {Source}
44
50
  * @memberof GroupPlexSourceConnection
45
51
  */
46
- readonly source: Source;
52
+ readonly sourceObj: Source;
47
53
  /**
48
54
  *
49
55
  * @type {string}
50
56
  * @memberof GroupPlexSourceConnection
51
57
  */
52
- readonly identifier: string;
58
+ identifier: string;
53
59
  /**
54
60
  *
55
61
  * @type {Date}
@@ -66,6 +72,7 @@ export function instanceOfGroupPlexSourceConnection(value: object): boolean {
66
72
  isInstance = isInstance && "pk" in value;
67
73
  isInstance = isInstance && "group" in value;
68
74
  isInstance = isInstance && "source" in value;
75
+ isInstance = isInstance && "sourceObj" in value;
69
76
  isInstance = isInstance && "identifier" in value;
70
77
  isInstance = isInstance && "created" in value;
71
78
 
@@ -84,7 +91,8 @@ export function GroupPlexSourceConnectionFromJSONTyped(json: any, ignoreDiscrimi
84
91
 
85
92
  'pk': json['pk'],
86
93
  'group': json['group'],
87
- 'source': SourceFromJSON(json['source']),
94
+ 'source': json['source'],
95
+ 'sourceObj': SourceFromJSON(json['source_obj']),
88
96
  'identifier': json['identifier'],
89
97
  'created': (new Date(json['created'])),
90
98
  };
@@ -99,6 +107,9 @@ export function GroupPlexSourceConnectionToJSON(value?: GroupPlexSourceConnectio
99
107
  }
100
108
  return {
101
109
 
110
+ 'group': value.group,
111
+ 'source': value.source,
112
+ 'identifier': value.identifier,
102
113
  };
103
114
  }
104
115
 
@@ -0,0 +1,84 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
8
+ * Contact: hello@goauthentik.io
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
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * Plex Group-Source connection Serializer
18
+ * @export
19
+ * @interface GroupPlexSourceConnectionRequest
20
+ */
21
+ export interface GroupPlexSourceConnectionRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GroupPlexSourceConnectionRequest
26
+ */
27
+ group: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GroupPlexSourceConnectionRequest
32
+ */
33
+ source: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GroupPlexSourceConnectionRequest
38
+ */
39
+ identifier: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the GroupPlexSourceConnectionRequest interface.
44
+ */
45
+ export function instanceOfGroupPlexSourceConnectionRequest(value: object): boolean {
46
+ let isInstance = true;
47
+ isInstance = isInstance && "group" in value;
48
+ isInstance = isInstance && "source" in value;
49
+ isInstance = isInstance && "identifier" in value;
50
+
51
+ return isInstance;
52
+ }
53
+
54
+ export function GroupPlexSourceConnectionRequestFromJSON(json: any): GroupPlexSourceConnectionRequest {
55
+ return GroupPlexSourceConnectionRequestFromJSONTyped(json, false);
56
+ }
57
+
58
+ export function GroupPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupPlexSourceConnectionRequest {
59
+ if ((json === undefined) || (json === null)) {
60
+ return json;
61
+ }
62
+ return {
63
+
64
+ 'group': json['group'],
65
+ 'source': json['source'],
66
+ 'identifier': json['identifier'],
67
+ };
68
+ }
69
+
70
+ export function GroupPlexSourceConnectionRequestToJSON(value?: GroupPlexSourceConnectionRequest | null): any {
71
+ if (value === undefined) {
72
+ return undefined;
73
+ }
74
+ if (value === null) {
75
+ return null;
76
+ }
77
+ return {
78
+
79
+ 'group': value.group,
80
+ 'source': value.source,
81
+ 'identifier': value.identifier,
82
+ };
83
+ }
84
+
@@ -37,19 +37,25 @@ export interface GroupSAMLSourceConnection {
37
37
  * @type {string}
38
38
  * @memberof GroupSAMLSourceConnection
39
39
  */
40
- readonly group: string;
40
+ group: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof GroupSAMLSourceConnection
45
+ */
46
+ source: string;
41
47
  /**
42
48
  *
43
49
  * @type {Source}
44
50
  * @memberof GroupSAMLSourceConnection
45
51
  */
46
- readonly source: Source;
52
+ readonly sourceObj: Source;
47
53
  /**
48
54
  *
49
55
  * @type {string}
50
56
  * @memberof GroupSAMLSourceConnection
51
57
  */
52
- readonly identifier: string;
58
+ identifier: string;
53
59
  /**
54
60
  *
55
61
  * @type {Date}
@@ -66,6 +72,7 @@ export function instanceOfGroupSAMLSourceConnection(value: object): boolean {
66
72
  isInstance = isInstance && "pk" in value;
67
73
  isInstance = isInstance && "group" in value;
68
74
  isInstance = isInstance && "source" in value;
75
+ isInstance = isInstance && "sourceObj" in value;
69
76
  isInstance = isInstance && "identifier" in value;
70
77
  isInstance = isInstance && "created" in value;
71
78
 
@@ -84,7 +91,8 @@ export function GroupSAMLSourceConnectionFromJSONTyped(json: any, ignoreDiscrimi
84
91
 
85
92
  'pk': json['pk'],
86
93
  'group': json['group'],
87
- 'source': SourceFromJSON(json['source']),
94
+ 'source': json['source'],
95
+ 'sourceObj': SourceFromJSON(json['source_obj']),
88
96
  'identifier': json['identifier'],
89
97
  'created': (new Date(json['created'])),
90
98
  };
@@ -99,6 +107,9 @@ export function GroupSAMLSourceConnectionToJSON(value?: GroupSAMLSourceConnectio
99
107
  }
100
108
  return {
101
109
 
110
+ 'group': value.group,
111
+ 'source': value.source,
112
+ 'identifier': value.identifier,
102
113
  };
103
114
  }
104
115
 
@@ -0,0 +1,84 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
8
+ * Contact: hello@goauthentik.io
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
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * OAuth Group-Source connection Serializer
18
+ * @export
19
+ * @interface GroupSAMLSourceConnectionRequest
20
+ */
21
+ export interface GroupSAMLSourceConnectionRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GroupSAMLSourceConnectionRequest
26
+ */
27
+ group: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GroupSAMLSourceConnectionRequest
32
+ */
33
+ source: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GroupSAMLSourceConnectionRequest
38
+ */
39
+ identifier: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the GroupSAMLSourceConnectionRequest interface.
44
+ */
45
+ export function instanceOfGroupSAMLSourceConnectionRequest(value: object): boolean {
46
+ let isInstance = true;
47
+ isInstance = isInstance && "group" in value;
48
+ isInstance = isInstance && "source" in value;
49
+ isInstance = isInstance && "identifier" in value;
50
+
51
+ return isInstance;
52
+ }
53
+
54
+ export function GroupSAMLSourceConnectionRequestFromJSON(json: any): GroupSAMLSourceConnectionRequest {
55
+ return GroupSAMLSourceConnectionRequestFromJSONTyped(json, false);
56
+ }
57
+
58
+ export function GroupSAMLSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSAMLSourceConnectionRequest {
59
+ if ((json === undefined) || (json === null)) {
60
+ return json;
61
+ }
62
+ return {
63
+
64
+ 'group': json['group'],
65
+ 'source': json['source'],
66
+ 'identifier': json['identifier'],
67
+ };
68
+ }
69
+
70
+ export function GroupSAMLSourceConnectionRequestToJSON(value?: GroupSAMLSourceConnectionRequest | null): any {
71
+ if (value === undefined) {
72
+ return undefined;
73
+ }
74
+ if (value === null) {
75
+ return null;
76
+ }
77
+ return {
78
+
79
+ 'group': value.group,
80
+ 'source': value.source,
81
+ 'identifier': value.identifier,
82
+ };
83
+ }
84
+
@@ -103,7 +103,7 @@ export interface IdentificationChallenge {
103
103
  * @type {CaptchaChallenge}
104
104
  * @memberof IdentificationChallenge
105
105
  */
106
- captchaStage?: CaptchaChallenge;
106
+ captchaStage?: CaptchaChallenge | null;
107
107
  /**
108
108
  *
109
109
  * @type {string}
@@ -97,6 +97,7 @@ export const ModelEnum = {
97
97
  CoreGroup: 'authentik_core.group',
98
98
  CoreUser: 'authentik_core.user',
99
99
  CoreApplication: 'authentik_core.application',
100
+ CoreApplicationentitlement: 'authentik_core.applicationentitlement',
100
101
  CoreToken: 'authentik_core.token',
101
102
  EnterpriseLicense: 'authentik_enterprise.license',
102
103
  ProvidersGoogleWorkspaceGoogleworkspaceprovider: 'authentik_providers_google_workspace.googleworkspaceprovider',
@@ -0,0 +1,88 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
8
+ * Contact: hello@goauthentik.io
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
+ import { exists, mapValues } from '../runtime';
16
+ import type { ApplicationEntitlement } from './ApplicationEntitlement';
17
+ import {
18
+ ApplicationEntitlementFromJSON,
19
+ ApplicationEntitlementFromJSONTyped,
20
+ ApplicationEntitlementToJSON,
21
+ } from './ApplicationEntitlement';
22
+ import type { Pagination } from './Pagination';
23
+ import {
24
+ PaginationFromJSON,
25
+ PaginationFromJSONTyped,
26
+ PaginationToJSON,
27
+ } from './Pagination';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface PaginatedApplicationEntitlementList
33
+ */
34
+ export interface PaginatedApplicationEntitlementList {
35
+ /**
36
+ *
37
+ * @type {Pagination}
38
+ * @memberof PaginatedApplicationEntitlementList
39
+ */
40
+ pagination: Pagination;
41
+ /**
42
+ *
43
+ * @type {Array<ApplicationEntitlement>}
44
+ * @memberof PaginatedApplicationEntitlementList
45
+ */
46
+ results: Array<ApplicationEntitlement>;
47
+ }
48
+
49
+ /**
50
+ * Check if a given object implements the PaginatedApplicationEntitlementList interface.
51
+ */
52
+ export function instanceOfPaginatedApplicationEntitlementList(value: object): boolean {
53
+ let isInstance = true;
54
+ isInstance = isInstance && "pagination" in value;
55
+ isInstance = isInstance && "results" in value;
56
+
57
+ return isInstance;
58
+ }
59
+
60
+ export function PaginatedApplicationEntitlementListFromJSON(json: any): PaginatedApplicationEntitlementList {
61
+ return PaginatedApplicationEntitlementListFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function PaginatedApplicationEntitlementListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedApplicationEntitlementList {
65
+ if ((json === undefined) || (json === null)) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'pagination': PaginationFromJSON(json['pagination']),
71
+ 'results': ((json['results'] as Array<any>).map(ApplicationEntitlementFromJSON)),
72
+ };
73
+ }
74
+
75
+ export function PaginatedApplicationEntitlementListToJSON(value?: PaginatedApplicationEntitlementList | null): any {
76
+ if (value === undefined) {
77
+ return undefined;
78
+ }
79
+ if (value === null) {
80
+ return null;
81
+ }
82
+ return {
83
+
84
+ 'pagination': PaginationToJSON(value.pagination),
85
+ 'results': ((value.results as Array<any>).map(ApplicationEntitlementToJSON)),
86
+ };
87
+ }
88
+