@goauthentik/api 2025.2.3-1743178158 → 2025.2.3-1744036568
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/.openapi-generator/FILES +4 -0
- package/dist/apis/SourcesApi.d.ts +145 -49
- package/dist/apis/SourcesApi.js +356 -48
- package/dist/esm/apis/SourcesApi.d.ts +145 -49
- package/dist/esm/apis/SourcesApi.js +357 -49
- package/dist/esm/models/GroupKerberosSourceConnection.d.ts +1 -1
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/GroupOAuthSourceConnection.d.ts +1 -1
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/GroupPlexSourceConnection.d.ts +1 -1
- package/dist/esm/models/GroupPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/GroupSAMLSourceConnection.d.ts +1 -1
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/GroupSourceConnection.d.ts +63 -0
- package/dist/esm/models/GroupSourceConnection.js +61 -0
- package/dist/esm/models/GroupSourceConnectionRequest.d.ts +44 -0
- package/dist/esm/models/GroupSourceConnectionRequest.js +51 -0
- package/dist/esm/models/PaginatedGroupSourceConnectionList.d.ts +40 -0
- package/dist/esm/models/PaginatedGroupSourceConnectionList.js +49 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedGroupSourceConnectionRequest.d.ts +44 -0
- package/dist/esm/models/PatchedGroupSourceConnectionRequest.js +45 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/UserKerberosSourceConnection.d.ts +1 -1
- package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/UserOAuthSourceConnection.d.ts +1 -1
- package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/UserPlexSourceConnection.d.ts +1 -1
- package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/UserSAMLSourceConnection.d.ts +1 -1
- package/dist/esm/models/UserSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/models/GroupKerberosSourceConnection.d.ts +1 -1
- package/dist/models/GroupKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/models/GroupOAuthSourceConnection.d.ts +1 -1
- package/dist/models/GroupOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/models/GroupPlexSourceConnection.d.ts +1 -1
- package/dist/models/GroupPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/models/GroupSAMLSourceConnection.d.ts +1 -1
- package/dist/models/GroupSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/models/GroupSourceConnection.d.ts +63 -0
- package/dist/models/GroupSourceConnection.js +68 -0
- package/dist/models/GroupSourceConnectionRequest.d.ts +44 -0
- package/dist/models/GroupSourceConnectionRequest.js +58 -0
- package/dist/models/PaginatedGroupSourceConnectionList.d.ts +40 -0
- package/dist/models/PaginatedGroupSourceConnectionList.js +56 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedGroupSourceConnectionRequest.d.ts +44 -0
- package/dist/models/PatchedGroupSourceConnectionRequest.js +52 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/models/UserKerberosSourceConnection.d.ts +1 -1
- package/dist/models/UserKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/models/UserOAuthSourceConnection.d.ts +1 -1
- package/dist/models/UserOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/models/UserPlexSourceConnection.d.ts +1 -1
- package/dist/models/UserPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/models/UserSAMLSourceConnection.d.ts +1 -1
- package/dist/models/UserSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/SourcesApi.ts +467 -48
- package/src/models/GroupKerberosSourceConnection.ts +1 -1
- package/src/models/GroupKerberosSourceConnectionRequest.ts +1 -1
- package/src/models/GroupOAuthSourceConnection.ts +1 -1
- package/src/models/GroupOAuthSourceConnectionRequest.ts +1 -1
- package/src/models/GroupPlexSourceConnection.ts +1 -1
- package/src/models/GroupPlexSourceConnectionRequest.ts +1 -1
- package/src/models/GroupSAMLSourceConnection.ts +1 -1
- package/src/models/GroupSAMLSourceConnectionRequest.ts +1 -1
- package/src/models/GroupSourceConnection.ts +116 -0
- package/src/models/GroupSourceConnectionRequest.ts +84 -0
- package/src/models/PaginatedGroupSourceConnectionList.ts +90 -0
- package/src/models/PatchedGroupKerberosSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedGroupOAuthSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedGroupPlexSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedGroupSAMLSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedGroupSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedUserPlexSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedUserSAMLSourceConnectionRequest.ts +1 -1
- package/src/models/UserKerberosSourceConnection.ts +1 -1
- package/src/models/UserKerberosSourceConnectionRequest.ts +1 -1
- package/src/models/UserOAuthSourceConnection.ts +1 -1
- package/src/models/UserOAuthSourceConnectionRequest.ts +1 -1
- package/src/models/UserPlexSourceConnection.ts +1 -1
- package/src/models/UserPlexSourceConnectionRequest.ts +1 -1
- package/src/models/UserSAMLSourceConnection.ts +1 -1
- package/src/models/UserSAMLSourceConnectionRequest.ts +1 -1
- package/src/models/index.ts +4 -0
|
@@ -184,6 +184,8 @@ export * from './GroupPlexSourceConnectionRequest';
|
|
|
184
184
|
export * from './GroupRequest';
|
|
185
185
|
export * from './GroupSAMLSourceConnection';
|
|
186
186
|
export * from './GroupSAMLSourceConnectionRequest';
|
|
187
|
+
export * from './GroupSourceConnection';
|
|
188
|
+
export * from './GroupSourceConnectionRequest';
|
|
187
189
|
export * from './IdentificationChallenge';
|
|
188
190
|
export * from './IdentificationChallengeResponseRequest';
|
|
189
191
|
export * from './IdentificationStage';
|
|
@@ -315,6 +317,7 @@ export * from './PaginatedGroupList';
|
|
|
315
317
|
export * from './PaginatedGroupOAuthSourceConnectionList';
|
|
316
318
|
export * from './PaginatedGroupPlexSourceConnectionList';
|
|
317
319
|
export * from './PaginatedGroupSAMLSourceConnectionList';
|
|
320
|
+
export * from './PaginatedGroupSourceConnectionList';
|
|
318
321
|
export * from './PaginatedIdentificationStageList';
|
|
319
322
|
export * from './PaginatedInvitationList';
|
|
320
323
|
export * from './PaginatedInvitationStageList';
|
|
@@ -452,6 +455,7 @@ export * from './PatchedGroupOAuthSourceConnectionRequest';
|
|
|
452
455
|
export * from './PatchedGroupPlexSourceConnectionRequest';
|
|
453
456
|
export * from './PatchedGroupRequest';
|
|
454
457
|
export * from './PatchedGroupSAMLSourceConnectionRequest';
|
|
458
|
+
export * from './PatchedGroupSourceConnectionRequest';
|
|
455
459
|
export * from './PatchedIdentificationStageRequest';
|
|
456
460
|
export * from './PatchedInvitationRequest';
|
|
457
461
|
export * from './PatchedInvitationStageRequest';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -186,6 +186,8 @@ export * from './GroupPlexSourceConnectionRequest';
|
|
|
186
186
|
export * from './GroupRequest';
|
|
187
187
|
export * from './GroupSAMLSourceConnection';
|
|
188
188
|
export * from './GroupSAMLSourceConnectionRequest';
|
|
189
|
+
export * from './GroupSourceConnection';
|
|
190
|
+
export * from './GroupSourceConnectionRequest';
|
|
189
191
|
export * from './IdentificationChallenge';
|
|
190
192
|
export * from './IdentificationChallengeResponseRequest';
|
|
191
193
|
export * from './IdentificationStage';
|
|
@@ -317,6 +319,7 @@ export * from './PaginatedGroupList';
|
|
|
317
319
|
export * from './PaginatedGroupOAuthSourceConnectionList';
|
|
318
320
|
export * from './PaginatedGroupPlexSourceConnectionList';
|
|
319
321
|
export * from './PaginatedGroupSAMLSourceConnectionList';
|
|
322
|
+
export * from './PaginatedGroupSourceConnectionList';
|
|
320
323
|
export * from './PaginatedIdentificationStageList';
|
|
321
324
|
export * from './PaginatedInvitationList';
|
|
322
325
|
export * from './PaginatedInvitationStageList';
|
|
@@ -454,6 +457,7 @@ export * from './PatchedGroupOAuthSourceConnectionRequest';
|
|
|
454
457
|
export * from './PatchedGroupPlexSourceConnectionRequest';
|
|
455
458
|
export * from './PatchedGroupRequest';
|
|
456
459
|
export * from './PatchedGroupSAMLSourceConnectionRequest';
|
|
460
|
+
export * from './PatchedGroupSourceConnectionRequest';
|
|
457
461
|
export * from './PatchedIdentificationStageRequest';
|
|
458
462
|
export * from './PatchedInvitationRequest';
|
|
459
463
|
export * from './PatchedInvitationStageRequest';
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
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
|
+
import type { Source } from './Source';
|
|
13
|
+
/**
|
|
14
|
+
* Group Source Connection
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GroupSourceConnection
|
|
17
|
+
*/
|
|
18
|
+
export interface GroupSourceConnection {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof GroupSourceConnection
|
|
23
|
+
*/
|
|
24
|
+
readonly pk: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GroupSourceConnection
|
|
29
|
+
*/
|
|
30
|
+
group: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GroupSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Source}
|
|
40
|
+
* @memberof GroupSourceConnection
|
|
41
|
+
*/
|
|
42
|
+
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof GroupSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof GroupSourceConnection
|
|
53
|
+
*/
|
|
54
|
+
readonly created: Date;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the GroupSourceConnection interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfGroupSourceConnection(value: object): value is GroupSourceConnection;
|
|
60
|
+
export declare function GroupSourceConnectionFromJSON(json: any): GroupSourceConnection;
|
|
61
|
+
export declare function GroupSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSourceConnection;
|
|
62
|
+
export declare function GroupSourceConnectionToJSON(json: any): GroupSourceConnection;
|
|
63
|
+
export declare function GroupSourceConnectionToJSONTyped(value?: Omit<GroupSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
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 });
|
|
16
|
+
exports.instanceOfGroupSourceConnection = instanceOfGroupSourceConnection;
|
|
17
|
+
exports.GroupSourceConnectionFromJSON = GroupSourceConnectionFromJSON;
|
|
18
|
+
exports.GroupSourceConnectionFromJSONTyped = GroupSourceConnectionFromJSONTyped;
|
|
19
|
+
exports.GroupSourceConnectionToJSON = GroupSourceConnectionToJSON;
|
|
20
|
+
exports.GroupSourceConnectionToJSONTyped = GroupSourceConnectionToJSONTyped;
|
|
21
|
+
const Source_1 = require("./Source");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GroupSourceConnection interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGroupSourceConnection(value) {
|
|
26
|
+
if (!('pk' in value) || value['pk'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('group' in value) || value['group'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function GroupSourceConnectionFromJSON(json) {
|
|
41
|
+
return GroupSourceConnectionFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GroupSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'pk': json['pk'],
|
|
49
|
+
'group': json['group'],
|
|
50
|
+
'source': json['source'],
|
|
51
|
+
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
52
|
+
'identifier': json['identifier'],
|
|
53
|
+
'created': (new Date(json['created'])),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function GroupSourceConnectionToJSON(json) {
|
|
57
|
+
return GroupSourceConnectionToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function GroupSourceConnectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'group': value['group'],
|
|
65
|
+
'source': value['source'],
|
|
66
|
+
'identifier': value['identifier'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
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
|
+
* Group Source Connection
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GroupSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GroupSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GroupSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GroupSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GroupSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GroupSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfGroupSourceConnectionRequest(value: object): value is GroupSourceConnectionRequest;
|
|
41
|
+
export declare function GroupSourceConnectionRequestFromJSON(json: any): GroupSourceConnectionRequest;
|
|
42
|
+
export declare function GroupSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSourceConnectionRequest;
|
|
43
|
+
export declare function GroupSourceConnectionRequestToJSON(json: any): GroupSourceConnectionRequest;
|
|
44
|
+
export declare function GroupSourceConnectionRequestToJSONTyped(value?: GroupSourceConnectionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
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 });
|
|
16
|
+
exports.instanceOfGroupSourceConnectionRequest = instanceOfGroupSourceConnectionRequest;
|
|
17
|
+
exports.GroupSourceConnectionRequestFromJSON = GroupSourceConnectionRequestFromJSON;
|
|
18
|
+
exports.GroupSourceConnectionRequestFromJSONTyped = GroupSourceConnectionRequestFromJSONTyped;
|
|
19
|
+
exports.GroupSourceConnectionRequestToJSON = GroupSourceConnectionRequestToJSON;
|
|
20
|
+
exports.GroupSourceConnectionRequestToJSONTyped = GroupSourceConnectionRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GroupSourceConnectionRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGroupSourceConnectionRequest(value) {
|
|
25
|
+
if (!('group' in value) || value['group'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function GroupSourceConnectionRequestFromJSON(json) {
|
|
34
|
+
return GroupSourceConnectionRequestFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function GroupSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'group': json['group'],
|
|
42
|
+
'source': json['source'],
|
|
43
|
+
'identifier': json['identifier'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function GroupSourceConnectionRequestToJSON(json) {
|
|
47
|
+
return GroupSourceConnectionRequestToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function GroupSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'group': value['group'],
|
|
55
|
+
'source': value['source'],
|
|
56
|
+
'identifier': value['identifier'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
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
|
+
import type { Pagination } from './Pagination';
|
|
13
|
+
import type { GroupSourceConnection } from './GroupSourceConnection';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedGroupSourceConnectionList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedGroupSourceConnectionList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedGroupSourceConnectionList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<GroupSourceConnection>}
|
|
29
|
+
* @memberof PaginatedGroupSourceConnectionList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<GroupSourceConnection>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedGroupSourceConnectionList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedGroupSourceConnectionList(value: object): value is PaginatedGroupSourceConnectionList;
|
|
37
|
+
export declare function PaginatedGroupSourceConnectionListFromJSON(json: any): PaginatedGroupSourceConnectionList;
|
|
38
|
+
export declare function PaginatedGroupSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGroupSourceConnectionList;
|
|
39
|
+
export declare function PaginatedGroupSourceConnectionListToJSON(json: any): PaginatedGroupSourceConnectionList;
|
|
40
|
+
export declare function PaginatedGroupSourceConnectionListToJSONTyped(value?: PaginatedGroupSourceConnectionList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
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 });
|
|
16
|
+
exports.instanceOfPaginatedGroupSourceConnectionList = instanceOfPaginatedGroupSourceConnectionList;
|
|
17
|
+
exports.PaginatedGroupSourceConnectionListFromJSON = PaginatedGroupSourceConnectionListFromJSON;
|
|
18
|
+
exports.PaginatedGroupSourceConnectionListFromJSONTyped = PaginatedGroupSourceConnectionListFromJSONTyped;
|
|
19
|
+
exports.PaginatedGroupSourceConnectionListToJSON = PaginatedGroupSourceConnectionListToJSON;
|
|
20
|
+
exports.PaginatedGroupSourceConnectionListToJSONTyped = PaginatedGroupSourceConnectionListToJSONTyped;
|
|
21
|
+
const Pagination_1 = require("./Pagination");
|
|
22
|
+
const GroupSourceConnection_1 = require("./GroupSourceConnection");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedGroupSourceConnectionList interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedGroupSourceConnectionList(value) {
|
|
27
|
+
if (!('pagination' in value) || value['pagination'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('results' in value) || value['results'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedGroupSourceConnectionListFromJSON(json) {
|
|
34
|
+
return PaginatedGroupSourceConnectionListFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedGroupSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
|
|
42
|
+
'results': (json['results'].map(GroupSourceConnection_1.GroupSourceConnectionFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedGroupSourceConnectionListToJSON(json) {
|
|
46
|
+
return PaginatedGroupSourceConnectionListToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedGroupSourceConnectionListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'pagination': (0, Pagination_1.PaginationToJSON)(value['pagination']),
|
|
54
|
+
'results': (value['results'].map(GroupSourceConnection_1.GroupSourceConnectionToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
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
|
+
* Group Source Connection
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchedGroupSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchedGroupSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchedGroupSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedGroupSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedGroupSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PatchedGroupSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPatchedGroupSourceConnectionRequest(value: object): value is PatchedGroupSourceConnectionRequest;
|
|
41
|
+
export declare function PatchedGroupSourceConnectionRequestFromJSON(json: any): PatchedGroupSourceConnectionRequest;
|
|
42
|
+
export declare function PatchedGroupSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupSourceConnectionRequest;
|
|
43
|
+
export declare function PatchedGroupSourceConnectionRequestToJSON(json: any): PatchedGroupSourceConnectionRequest;
|
|
44
|
+
export declare function PatchedGroupSourceConnectionRequestToJSONTyped(value?: PatchedGroupSourceConnectionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
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 });
|
|
16
|
+
exports.instanceOfPatchedGroupSourceConnectionRequest = instanceOfPatchedGroupSourceConnectionRequest;
|
|
17
|
+
exports.PatchedGroupSourceConnectionRequestFromJSON = PatchedGroupSourceConnectionRequestFromJSON;
|
|
18
|
+
exports.PatchedGroupSourceConnectionRequestFromJSONTyped = PatchedGroupSourceConnectionRequestFromJSONTyped;
|
|
19
|
+
exports.PatchedGroupSourceConnectionRequestToJSON = PatchedGroupSourceConnectionRequestToJSON;
|
|
20
|
+
exports.PatchedGroupSourceConnectionRequestToJSONTyped = PatchedGroupSourceConnectionRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PatchedGroupSourceConnectionRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPatchedGroupSourceConnectionRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function PatchedGroupSourceConnectionRequestFromJSON(json) {
|
|
28
|
+
return PatchedGroupSourceConnectionRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function PatchedGroupSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'group': json['group'] == null ? undefined : json['group'],
|
|
36
|
+
'source': json['source'] == null ? undefined : json['source'],
|
|
37
|
+
'identifier': json['identifier'] == null ? undefined : json['identifier'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function PatchedGroupSourceConnectionRequestToJSON(json) {
|
|
41
|
+
return PatchedGroupSourceConnectionRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PatchedGroupSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'group': value['group'],
|
|
49
|
+
'source': value['source'],
|
|
50
|
+
'identifier': value['identifier'],
|
|
51
|
+
};
|
|
52
|
+
}
|