@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.
- package/.openapi-generator/FILES +14 -0
- package/dist/apis/CoreApi.d.ts +86 -1
- package/dist/apis/CoreApi.js +271 -0
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/apis/SourcesApi.d.ts +21 -5
- package/dist/apis/SourcesApi.js +51 -6
- package/dist/esm/apis/CoreApi.d.ts +86 -1
- package/dist/esm/apis/CoreApi.js +272 -1
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/apis/SourcesApi.d.ts +21 -5
- package/dist/esm/apis/SourcesApi.js +52 -7
- package/dist/esm/models/ApplicationEntitlement.d.ts +49 -0
- package/dist/esm/models/ApplicationEntitlement.js +51 -0
- package/dist/esm/models/ApplicationEntitlementRequest.d.ts +43 -0
- package/dist/esm/models/ApplicationEntitlementRequest.js +49 -0
- package/dist/esm/models/GroupKerberosSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupKerberosSourceConnection.js +8 -2
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupOAuthSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupOAuthSourceConnection.js +8 -2
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupPlexSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupPlexSourceConnection.js +8 -2
- package/dist/esm/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupPlexSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupSAMLSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupSAMLSourceConnection.js +8 -2
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.js +49 -0
- package/dist/esm/models/IdentificationChallenge.d.ts +1 -1
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/PaginatedApplicationEntitlementList.d.ts +39 -0
- package/dist/esm/models/PaginatedApplicationEntitlementList.js +48 -0
- package/dist/esm/models/PatchedApplicationEntitlementRequest.d.ts +43 -0
- package/dist/esm/models/PatchedApplicationEntitlementRequest.js +47 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.js +45 -0
- package/dist/esm/models/UserKerberosSourceConnection.d.ts +7 -1
- package/dist/esm/models/UserKerberosSourceConnection.js +4 -1
- package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/UserKerberosSourceConnectionRequest.js +3 -0
- package/dist/esm/models/UserOAuthSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserOAuthSourceConnection.js +5 -1
- package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserOAuthSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserPlexSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserPlexSourceConnection.js +5 -1
- package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserPlexSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserSAMLSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserSAMLSourceConnection.js +5 -1
- package/dist/esm/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserSAMLSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserSourceConnection.d.ts +9 -3
- package/dist/esm/models/UserSourceConnection.js +7 -2
- package/dist/esm/models/UserSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/UserSourceConnectionRequest.js +46 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/models/ApplicationEntitlement.d.ts +49 -0
- package/dist/models/ApplicationEntitlement.js +58 -0
- package/dist/models/ApplicationEntitlementRequest.d.ts +43 -0
- package/dist/models/ApplicationEntitlementRequest.js +56 -0
- package/dist/models/GroupKerberosSourceConnection.d.ts +9 -3
- package/dist/models/GroupKerberosSourceConnection.js +8 -2
- package/dist/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupKerberosSourceConnectionRequest.js +56 -0
- package/dist/models/GroupOAuthSourceConnection.d.ts +9 -3
- package/dist/models/GroupOAuthSourceConnection.js +8 -2
- package/dist/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupOAuthSourceConnectionRequest.js +56 -0
- package/dist/models/GroupPlexSourceConnection.d.ts +9 -3
- package/dist/models/GroupPlexSourceConnection.js +8 -2
- package/dist/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupPlexSourceConnectionRequest.js +56 -0
- package/dist/models/GroupSAMLSourceConnection.d.ts +9 -3
- package/dist/models/GroupSAMLSourceConnection.js +8 -2
- package/dist/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupSAMLSourceConnectionRequest.js +56 -0
- package/dist/models/IdentificationChallenge.d.ts +1 -1
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/PaginatedApplicationEntitlementList.d.ts +39 -0
- package/dist/models/PaginatedApplicationEntitlementList.js +55 -0
- package/dist/models/PatchedApplicationEntitlementRequest.d.ts +43 -0
- package/dist/models/PatchedApplicationEntitlementRequest.js +54 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
- package/dist/models/PatchedUserSourceConnectionRequest.js +52 -0
- package/dist/models/UserKerberosSourceConnection.d.ts +7 -1
- package/dist/models/UserKerberosSourceConnection.js +4 -1
- package/dist/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/models/UserKerberosSourceConnectionRequest.js +3 -0
- package/dist/models/UserOAuthSourceConnection.d.ts +8 -2
- package/dist/models/UserOAuthSourceConnection.js +5 -1
- package/dist/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserOAuthSourceConnectionRequest.js +6 -0
- package/dist/models/UserPlexSourceConnection.d.ts +8 -2
- package/dist/models/UserPlexSourceConnection.js +5 -1
- package/dist/models/UserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserPlexSourceConnectionRequest.js +6 -0
- package/dist/models/UserSAMLSourceConnection.d.ts +8 -2
- package/dist/models/UserSAMLSourceConnection.js +5 -1
- package/dist/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserSAMLSourceConnectionRequest.js +6 -0
- package/dist/models/UserSourceConnection.d.ts +9 -3
- package/dist/models/UserSourceConnection.js +7 -2
- package/dist/models/UserSourceConnectionRequest.d.ts +37 -0
- package/dist/models/UserSourceConnectionRequest.js +53 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +350 -0
- package/src/apis/RbacApi.ts +2 -0
- package/src/apis/SourcesApi.ts +118 -6
- package/src/models/ApplicationEntitlement.ts +91 -0
- package/src/models/ApplicationEntitlementRequest.ts +83 -0
- package/src/models/GroupKerberosSourceConnection.ts +15 -4
- package/src/models/GroupKerberosSourceConnectionRequest.ts +84 -0
- package/src/models/GroupOAuthSourceConnection.ts +15 -4
- package/src/models/GroupOAuthSourceConnectionRequest.ts +84 -0
- package/src/models/GroupPlexSourceConnection.ts +15 -4
- package/src/models/GroupPlexSourceConnectionRequest.ts +84 -0
- package/src/models/GroupSAMLSourceConnection.ts +15 -4
- package/src/models/GroupSAMLSourceConnectionRequest.ts +84 -0
- package/src/models/IdentificationChallenge.ts +1 -1
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/PaginatedApplicationEntitlementList.ts +88 -0
- package/src/models/PatchedApplicationEntitlementRequest.ts +81 -0
- package/src/models/PatchedGroupKerberosSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupOAuthSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupPlexSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupSAMLSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +8 -0
- package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserPlexSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserSAMLSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserSourceConnectionRequest.ts +73 -0
- package/src/models/UserKerberosSourceConnection.ts +11 -2
- package/src/models/UserKerberosSourceConnectionRequest.ts +9 -0
- package/src/models/UserOAuthSourceConnection.ts +13 -3
- package/src/models/UserOAuthSourceConnectionRequest.ts +18 -0
- package/src/models/UserPlexSourceConnection.ts +13 -3
- package/src/models/UserPlexSourceConnectionRequest.ts +18 -0
- package/src/models/UserSAMLSourceConnection.ts +13 -3
- package/src/models/UserSAMLSourceConnectionRequest.ts +18 -0
- package/src/models/UserSourceConnection.ts +14 -4
- package/src/models/UserSourceConnectionRequest.ts +75 -0
- package/src/models/index.ts +14 -0
package/dist/esm/models/index.js
CHANGED
|
@@ -7,6 +7,8 @@ export * from './AppEnum';
|
|
|
7
7
|
export * from './AppleChallengeResponseRequest';
|
|
8
8
|
export * from './AppleLoginChallenge';
|
|
9
9
|
export * from './Application';
|
|
10
|
+
export * from './ApplicationEntitlement';
|
|
11
|
+
export * from './ApplicationEntitlementRequest';
|
|
10
12
|
export * from './ApplicationRequest';
|
|
11
13
|
export * from './AuthModeEnum';
|
|
12
14
|
export * from './AuthTypeEnum';
|
|
@@ -164,13 +166,17 @@ export * from './GoogleWorkspaceProviderUser';
|
|
|
164
166
|
export * from './GoogleWorkspaceProviderUserRequest';
|
|
165
167
|
export * from './Group';
|
|
166
168
|
export * from './GroupKerberosSourceConnection';
|
|
169
|
+
export * from './GroupKerberosSourceConnectionRequest';
|
|
167
170
|
export * from './GroupMatchingModeEnum';
|
|
168
171
|
export * from './GroupMember';
|
|
169
172
|
export * from './GroupMemberRequest';
|
|
170
173
|
export * from './GroupOAuthSourceConnection';
|
|
174
|
+
export * from './GroupOAuthSourceConnectionRequest';
|
|
171
175
|
export * from './GroupPlexSourceConnection';
|
|
176
|
+
export * from './GroupPlexSourceConnectionRequest';
|
|
172
177
|
export * from './GroupRequest';
|
|
173
178
|
export * from './GroupSAMLSourceConnection';
|
|
179
|
+
export * from './GroupSAMLSourceConnectionRequest';
|
|
174
180
|
export * from './IdentificationChallenge';
|
|
175
181
|
export * from './IdentificationChallengeResponseRequest';
|
|
176
182
|
export * from './IdentificationStage';
|
|
@@ -257,6 +263,7 @@ export * from './OutpostDefaultConfig';
|
|
|
257
263
|
export * from './OutpostHealth';
|
|
258
264
|
export * from './OutpostRequest';
|
|
259
265
|
export * from './OutpostTypeEnum';
|
|
266
|
+
export * from './PaginatedApplicationEntitlementList';
|
|
260
267
|
export * from './PaginatedApplicationList';
|
|
261
268
|
export * from './PaginatedAuthenticatedSessionList';
|
|
262
269
|
export * from './PaginatedAuthenticatorDuoStageList';
|
|
@@ -393,6 +400,7 @@ export * from './PasswordPolicy';
|
|
|
393
400
|
export * from './PasswordPolicyRequest';
|
|
394
401
|
export * from './PasswordStage';
|
|
395
402
|
export * from './PasswordStageRequest';
|
|
403
|
+
export * from './PatchedApplicationEntitlementRequest';
|
|
396
404
|
export * from './PatchedApplicationRequest';
|
|
397
405
|
export * from './PatchedAuthenticatorDuoStageRequest';
|
|
398
406
|
export * from './PatchedAuthenticatorEndpointGDTCStageRequest';
|
|
@@ -426,7 +434,11 @@ export * from './PatchedFlowStageBindingRequest';
|
|
|
426
434
|
export * from './PatchedGeoIPPolicyRequest';
|
|
427
435
|
export * from './PatchedGoogleWorkspaceProviderMappingRequest';
|
|
428
436
|
export * from './PatchedGoogleWorkspaceProviderRequest';
|
|
437
|
+
export * from './PatchedGroupKerberosSourceConnectionRequest';
|
|
438
|
+
export * from './PatchedGroupOAuthSourceConnectionRequest';
|
|
439
|
+
export * from './PatchedGroupPlexSourceConnectionRequest';
|
|
429
440
|
export * from './PatchedGroupRequest';
|
|
441
|
+
export * from './PatchedGroupSAMLSourceConnectionRequest';
|
|
430
442
|
export * from './PatchedIdentificationStageRequest';
|
|
431
443
|
export * from './PatchedInvitationRequest';
|
|
432
444
|
export * from './PatchedInvitationStageRequest';
|
|
@@ -490,6 +502,7 @@ export * from './PatchedUserOAuthSourceConnectionRequest';
|
|
|
490
502
|
export * from './PatchedUserPlexSourceConnectionRequest';
|
|
491
503
|
export * from './PatchedUserRequest';
|
|
492
504
|
export * from './PatchedUserSAMLSourceConnectionRequest';
|
|
505
|
+
export * from './PatchedUserSourceConnectionRequest';
|
|
493
506
|
export * from './PatchedUserWriteStageRequest';
|
|
494
507
|
export * from './PatchedWebAuthnDeviceRequest';
|
|
495
508
|
export * from './Permission';
|
|
@@ -672,6 +685,7 @@ export * from './UserServiceAccountRequest';
|
|
|
672
685
|
export * from './UserServiceAccountResponse';
|
|
673
686
|
export * from './UserSetting';
|
|
674
687
|
export * from './UserSourceConnection';
|
|
688
|
+
export * from './UserSourceConnectionRequest';
|
|
675
689
|
export * from './UserTypeEnum';
|
|
676
690
|
export * from './UserVerificationEnum';
|
|
677
691
|
export * from './UserWriteStage';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
|
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
|
+
* ApplicationEntitlement Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApplicationEntitlement
|
|
16
|
+
*/
|
|
17
|
+
export interface ApplicationEntitlement {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApplicationEntitlement
|
|
22
|
+
*/
|
|
23
|
+
readonly pbmUuid: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApplicationEntitlement
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApplicationEntitlement
|
|
34
|
+
*/
|
|
35
|
+
app: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {any}
|
|
39
|
+
* @memberof ApplicationEntitlement
|
|
40
|
+
*/
|
|
41
|
+
attributes?: any | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ApplicationEntitlement interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfApplicationEntitlement(value: object): boolean;
|
|
47
|
+
export declare function ApplicationEntitlementFromJSON(json: any): ApplicationEntitlement;
|
|
48
|
+
export declare function ApplicationEntitlementFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationEntitlement;
|
|
49
|
+
export declare function ApplicationEntitlementToJSON(value?: ApplicationEntitlement | null): 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: 2024.10.5
|
|
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.ApplicationEntitlementToJSON = exports.ApplicationEntitlementFromJSONTyped = exports.ApplicationEntitlementFromJSON = exports.instanceOfApplicationEntitlement = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the ApplicationEntitlement interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfApplicationEntitlement(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "pbmUuid" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
isInstance = isInstance && "app" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfApplicationEntitlement = instanceOfApplicationEntitlement;
|
|
29
|
+
function ApplicationEntitlementFromJSON(json) {
|
|
30
|
+
return ApplicationEntitlementFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.ApplicationEntitlementFromJSON = ApplicationEntitlementFromJSON;
|
|
33
|
+
function ApplicationEntitlementFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'pbmUuid': json['pbm_uuid'],
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'app': json['app'],
|
|
41
|
+
'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.ApplicationEntitlementFromJSONTyped = ApplicationEntitlementFromJSONTyped;
|
|
45
|
+
function ApplicationEntitlementToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'name': value.name,
|
|
54
|
+
'app': value.app,
|
|
55
|
+
'attributes': value.attributes,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.ApplicationEntitlementToJSON = ApplicationEntitlementToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
|
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
|
+
* ApplicationEntitlement Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApplicationEntitlementRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApplicationEntitlementRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApplicationEntitlementRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApplicationEntitlementRequest
|
|
28
|
+
*/
|
|
29
|
+
app: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {any}
|
|
33
|
+
* @memberof ApplicationEntitlementRequest
|
|
34
|
+
*/
|
|
35
|
+
attributes?: any | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ApplicationEntitlementRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfApplicationEntitlementRequest(value: object): boolean;
|
|
41
|
+
export declare function ApplicationEntitlementRequestFromJSON(json: any): ApplicationEntitlementRequest;
|
|
42
|
+
export declare function ApplicationEntitlementRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationEntitlementRequest;
|
|
43
|
+
export declare function ApplicationEntitlementRequestToJSON(value?: ApplicationEntitlementRequest | null): 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: 2024.10.5
|
|
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.ApplicationEntitlementRequestToJSON = exports.ApplicationEntitlementRequestFromJSONTyped = exports.ApplicationEntitlementRequestFromJSON = exports.instanceOfApplicationEntitlementRequest = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the ApplicationEntitlementRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfApplicationEntitlementRequest(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "app" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfApplicationEntitlementRequest = instanceOfApplicationEntitlementRequest;
|
|
28
|
+
function ApplicationEntitlementRequestFromJSON(json) {
|
|
29
|
+
return ApplicationEntitlementRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.ApplicationEntitlementRequestFromJSON = ApplicationEntitlementRequestFromJSON;
|
|
32
|
+
function ApplicationEntitlementRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'app': json['app'],
|
|
39
|
+
'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.ApplicationEntitlementRequestFromJSONTyped = ApplicationEntitlementRequestFromJSONTyped;
|
|
43
|
+
function ApplicationEntitlementRequestToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'name': value.name,
|
|
52
|
+
'app': value.app,
|
|
53
|
+
'attributes': value.attributes,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.ApplicationEntitlementRequestToJSON = ApplicationEntitlementRequestToJSON;
|
|
@@ -27,19 +27,25 @@ export interface GroupKerberosSourceConnection {
|
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof GroupKerberosSourceConnection
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
group: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GroupKerberosSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Source}
|
|
34
40
|
* @memberof GroupKerberosSourceConnection
|
|
35
41
|
*/
|
|
36
|
-
readonly
|
|
42
|
+
readonly sourceObj: Source;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {string}
|
|
40
46
|
* @memberof GroupKerberosSourceConnection
|
|
41
47
|
*/
|
|
42
|
-
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
@@ -23,6 +23,7 @@ function instanceOfGroupKerberosSourceConnection(value) {
|
|
|
23
23
|
isInstance = isInstance && "pk" in value;
|
|
24
24
|
isInstance = isInstance && "group" in value;
|
|
25
25
|
isInstance = isInstance && "source" in value;
|
|
26
|
+
isInstance = isInstance && "sourceObj" in value;
|
|
26
27
|
isInstance = isInstance && "identifier" in value;
|
|
27
28
|
isInstance = isInstance && "created" in value;
|
|
28
29
|
return isInstance;
|
|
@@ -39,7 +40,8 @@ function GroupKerberosSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
40
|
return {
|
|
40
41
|
'pk': json['pk'],
|
|
41
42
|
'group': json['group'],
|
|
42
|
-
'source':
|
|
43
|
+
'source': json['source'],
|
|
44
|
+
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
43
45
|
'identifier': json['identifier'],
|
|
44
46
|
'created': (new Date(json['created'])),
|
|
45
47
|
};
|
|
@@ -52,6 +54,10 @@ function GroupKerberosSourceConnectionToJSON(value) {
|
|
|
52
54
|
if (value === null) {
|
|
53
55
|
return null;
|
|
54
56
|
}
|
|
55
|
-
return {
|
|
57
|
+
return {
|
|
58
|
+
'group': value.group,
|
|
59
|
+
'source': value.source,
|
|
60
|
+
'identifier': value.identifier,
|
|
61
|
+
};
|
|
56
62
|
}
|
|
57
63
|
exports.GroupKerberosSourceConnectionToJSON = GroupKerberosSourceConnectionToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
|
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
|
+
* OAuth Group-Source connection Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GroupKerberosSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GroupKerberosSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GroupKerberosSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GroupKerberosSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GroupKerberosSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GroupKerberosSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfGroupKerberosSourceConnectionRequest(value: object): boolean;
|
|
41
|
+
export declare function GroupKerberosSourceConnectionRequestFromJSON(json: any): GroupKerberosSourceConnectionRequest;
|
|
42
|
+
export declare function GroupKerberosSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupKerberosSourceConnectionRequest;
|
|
43
|
+
export declare function GroupKerberosSourceConnectionRequestToJSON(value?: GroupKerberosSourceConnectionRequest | null): 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: 2024.10.5
|
|
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.GroupKerberosSourceConnectionRequestToJSON = exports.GroupKerberosSourceConnectionRequestFromJSONTyped = exports.GroupKerberosSourceConnectionRequestFromJSON = exports.instanceOfGroupKerberosSourceConnectionRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GroupKerberosSourceConnectionRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGroupKerberosSourceConnectionRequest(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "group" in value;
|
|
23
|
+
isInstance = isInstance && "source" in value;
|
|
24
|
+
isInstance = isInstance && "identifier" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfGroupKerberosSourceConnectionRequest = instanceOfGroupKerberosSourceConnectionRequest;
|
|
28
|
+
function GroupKerberosSourceConnectionRequestFromJSON(json) {
|
|
29
|
+
return GroupKerberosSourceConnectionRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.GroupKerberosSourceConnectionRequestFromJSON = GroupKerberosSourceConnectionRequestFromJSON;
|
|
32
|
+
function GroupKerberosSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'group': json['group'],
|
|
38
|
+
'source': json['source'],
|
|
39
|
+
'identifier': json['identifier'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.GroupKerberosSourceConnectionRequestFromJSONTyped = GroupKerberosSourceConnectionRequestFromJSONTyped;
|
|
43
|
+
function GroupKerberosSourceConnectionRequestToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'group': value.group,
|
|
52
|
+
'source': value.source,
|
|
53
|
+
'identifier': value.identifier,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.GroupKerberosSourceConnectionRequestToJSON = GroupKerberosSourceConnectionRequestToJSON;
|
|
@@ -27,19 +27,25 @@ export interface GroupOAuthSourceConnection {
|
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof GroupOAuthSourceConnection
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
group: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GroupOAuthSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Source}
|
|
34
40
|
* @memberof GroupOAuthSourceConnection
|
|
35
41
|
*/
|
|
36
|
-
readonly
|
|
42
|
+
readonly sourceObj: Source;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {string}
|
|
40
46
|
* @memberof GroupOAuthSourceConnection
|
|
41
47
|
*/
|
|
42
|
-
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
@@ -23,6 +23,7 @@ function instanceOfGroupOAuthSourceConnection(value) {
|
|
|
23
23
|
isInstance = isInstance && "pk" in value;
|
|
24
24
|
isInstance = isInstance && "group" in value;
|
|
25
25
|
isInstance = isInstance && "source" in value;
|
|
26
|
+
isInstance = isInstance && "sourceObj" in value;
|
|
26
27
|
isInstance = isInstance && "identifier" in value;
|
|
27
28
|
isInstance = isInstance && "created" in value;
|
|
28
29
|
return isInstance;
|
|
@@ -39,7 +40,8 @@ function GroupOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
40
|
return {
|
|
40
41
|
'pk': json['pk'],
|
|
41
42
|
'group': json['group'],
|
|
42
|
-
'source':
|
|
43
|
+
'source': json['source'],
|
|
44
|
+
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
43
45
|
'identifier': json['identifier'],
|
|
44
46
|
'created': (new Date(json['created'])),
|
|
45
47
|
};
|
|
@@ -52,6 +54,10 @@ function GroupOAuthSourceConnectionToJSON(value) {
|
|
|
52
54
|
if (value === null) {
|
|
53
55
|
return null;
|
|
54
56
|
}
|
|
55
|
-
return {
|
|
57
|
+
return {
|
|
58
|
+
'group': value.group,
|
|
59
|
+
'source': value.source,
|
|
60
|
+
'identifier': value.identifier,
|
|
61
|
+
};
|
|
56
62
|
}
|
|
57
63
|
exports.GroupOAuthSourceConnectionToJSON = GroupOAuthSourceConnectionToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
|
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
|
+
* OAuth Group-Source connection Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GroupOAuthSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GroupOAuthSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GroupOAuthSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GroupOAuthSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GroupOAuthSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GroupOAuthSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfGroupOAuthSourceConnectionRequest(value: object): boolean;
|
|
41
|
+
export declare function GroupOAuthSourceConnectionRequestFromJSON(json: any): GroupOAuthSourceConnectionRequest;
|
|
42
|
+
export declare function GroupOAuthSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupOAuthSourceConnectionRequest;
|
|
43
|
+
export declare function GroupOAuthSourceConnectionRequestToJSON(value?: GroupOAuthSourceConnectionRequest | null): 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: 2024.10.5
|
|
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.GroupOAuthSourceConnectionRequestToJSON = exports.GroupOAuthSourceConnectionRequestFromJSONTyped = exports.GroupOAuthSourceConnectionRequestFromJSON = exports.instanceOfGroupOAuthSourceConnectionRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GroupOAuthSourceConnectionRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGroupOAuthSourceConnectionRequest(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "group" in value;
|
|
23
|
+
isInstance = isInstance && "source" in value;
|
|
24
|
+
isInstance = isInstance && "identifier" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfGroupOAuthSourceConnectionRequest = instanceOfGroupOAuthSourceConnectionRequest;
|
|
28
|
+
function GroupOAuthSourceConnectionRequestFromJSON(json) {
|
|
29
|
+
return GroupOAuthSourceConnectionRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.GroupOAuthSourceConnectionRequestFromJSON = GroupOAuthSourceConnectionRequestFromJSON;
|
|
32
|
+
function GroupOAuthSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'group': json['group'],
|
|
38
|
+
'source': json['source'],
|
|
39
|
+
'identifier': json['identifier'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.GroupOAuthSourceConnectionRequestFromJSONTyped = GroupOAuthSourceConnectionRequestFromJSONTyped;
|
|
43
|
+
function GroupOAuthSourceConnectionRequestToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'group': value.group,
|
|
52
|
+
'source': value.source,
|
|
53
|
+
'identifier': value.identifier,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.GroupOAuthSourceConnectionRequestToJSON = GroupOAuthSourceConnectionRequestToJSON;
|
|
@@ -27,19 +27,25 @@ export interface GroupPlexSourceConnection {
|
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof GroupPlexSourceConnection
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
group: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GroupPlexSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Source}
|
|
34
40
|
* @memberof GroupPlexSourceConnection
|
|
35
41
|
*/
|
|
36
|
-
readonly
|
|
42
|
+
readonly sourceObj: Source;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {string}
|
|
40
46
|
* @memberof GroupPlexSourceConnection
|
|
41
47
|
*/
|
|
42
|
-
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
@@ -23,6 +23,7 @@ function instanceOfGroupPlexSourceConnection(value) {
|
|
|
23
23
|
isInstance = isInstance && "pk" in value;
|
|
24
24
|
isInstance = isInstance && "group" in value;
|
|
25
25
|
isInstance = isInstance && "source" in value;
|
|
26
|
+
isInstance = isInstance && "sourceObj" in value;
|
|
26
27
|
isInstance = isInstance && "identifier" in value;
|
|
27
28
|
isInstance = isInstance && "created" in value;
|
|
28
29
|
return isInstance;
|
|
@@ -39,7 +40,8 @@ function GroupPlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
40
|
return {
|
|
40
41
|
'pk': json['pk'],
|
|
41
42
|
'group': json['group'],
|
|
42
|
-
'source':
|
|
43
|
+
'source': json['source'],
|
|
44
|
+
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
43
45
|
'identifier': json['identifier'],
|
|
44
46
|
'created': (new Date(json['created'])),
|
|
45
47
|
};
|
|
@@ -52,6 +54,10 @@ function GroupPlexSourceConnectionToJSON(value) {
|
|
|
52
54
|
if (value === null) {
|
|
53
55
|
return null;
|
|
54
56
|
}
|
|
55
|
-
return {
|
|
57
|
+
return {
|
|
58
|
+
'group': value.group,
|
|
59
|
+
'source': value.source,
|
|
60
|
+
'identifier': value.identifier,
|
|
61
|
+
};
|
|
56
62
|
}
|
|
57
63
|
exports.GroupPlexSourceConnectionToJSON = GroupPlexSourceConnectionToJSON;
|