@goauthentik/api 2024.6.3-1723050887 → 2024.6.3-1723109801
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +10 -4
- package/dist/apis/PropertymappingsApi.d.ts +86 -1
- package/dist/apis/PropertymappingsApi.js +271 -0
- package/dist/apis/RbacApi.d.ts +6 -2
- package/dist/apis/RbacApi.js +6 -2
- package/dist/apis/SourcesApi.d.ts +104 -14
- package/dist/apis/SourcesApi.js +281 -13
- package/dist/esm/apis/PropertymappingsApi.d.ts +86 -1
- package/dist/esm/apis/PropertymappingsApi.js +272 -1
- package/dist/esm/apis/RbacApi.d.ts +6 -2
- package/dist/esm/apis/RbacApi.js +6 -2
- package/dist/esm/apis/SourcesApi.d.ts +104 -14
- package/dist/esm/apis/SourcesApi.js +281 -13
- package/dist/esm/models/GroupPlexSourceConnection.d.ts +56 -0
- package/dist/esm/models/GroupPlexSourceConnection.js +50 -0
- package/dist/esm/models/ModelEnum.d.ts +3 -1
- package/dist/esm/models/ModelEnum.js +3 -1
- package/dist/esm/models/PaginatedGroupPlexSourceConnectionList.d.ts +39 -0
- package/dist/esm/models/PaginatedGroupPlexSourceConnectionList.js +48 -0
- package/dist/esm/models/PaginatedPlexSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedPlexSourcePropertyMappingList.js +48 -0
- package/dist/esm/models/PaginatedUserPlexSourceConnectionList.d.ts +39 -0
- package/dist/esm/models/{PaginatedPlexSourceConnectionList.js → PaginatedUserPlexSourceConnectionList.js} +9 -9
- package/dist/esm/models/PatchedPlexSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedPlexSourcePropertyMappingRequest.js +47 -0
- package/dist/esm/models/PatchedPlexSourceRequest.d.ts +7 -0
- package/dist/esm/models/PatchedPlexSourceRequest.js +3 -0
- package/dist/esm/models/PatchedSAMLSourceRequest.d.ts +6 -0
- package/dist/esm/models/PatchedSAMLSourceRequest.js +2 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/{PatchedPlexSourceConnectionRequest.js → PatchedUserPlexSourceConnectionRequest.js} +6 -6
- package/dist/esm/models/PlexSource.d.ts +7 -0
- package/dist/esm/models/PlexSource.js +3 -0
- package/dist/esm/models/PlexSourcePropertyMapping.d.ts +73 -0
- package/dist/esm/models/PlexSourcePropertyMapping.js +59 -0
- package/dist/esm/models/PlexSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PlexSourcePropertyMappingRequest.js +49 -0
- package/dist/esm/models/PlexSourceRequest.d.ts +7 -0
- package/dist/esm/models/PlexSourceRequest.js +3 -0
- package/dist/esm/models/SAMLSource.d.ts +6 -0
- package/dist/esm/models/SAMLSource.js +2 -0
- package/dist/esm/models/SAMLSourceRequest.d.ts +6 -0
- package/dist/esm/models/SAMLSourceRequest.js +2 -0
- package/dist/esm/models/UserPlexSourceConnection.d.ts +56 -0
- package/dist/esm/models/{PlexSourceConnection.js → UserPlexSourceConnection.js} +6 -6
- package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/{PlexSourceConnectionRequest.js → UserPlexSourceConnectionRequest.js} +6 -6
- package/dist/esm/models/index.d.ts +10 -4
- package/dist/esm/models/index.js +10 -4
- package/dist/models/GroupPlexSourceConnection.d.ts +56 -0
- package/dist/models/GroupPlexSourceConnection.js +57 -0
- package/dist/models/ModelEnum.d.ts +3 -1
- package/dist/models/ModelEnum.js +3 -1
- package/dist/models/PaginatedGroupPlexSourceConnectionList.d.ts +39 -0
- package/dist/models/PaginatedGroupPlexSourceConnectionList.js +55 -0
- package/dist/models/PaginatedPlexSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedPlexSourcePropertyMappingList.js +55 -0
- package/dist/models/PaginatedUserPlexSourceConnectionList.d.ts +39 -0
- package/dist/models/PaginatedUserPlexSourceConnectionList.js +55 -0
- package/dist/models/PatchedPlexSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedPlexSourcePropertyMappingRequest.js +54 -0
- package/dist/models/PatchedPlexSourceRequest.d.ts +7 -0
- package/dist/models/PatchedPlexSourceRequest.js +3 -0
- package/dist/models/PatchedSAMLSourceRequest.d.ts +6 -0
- package/dist/models/PatchedSAMLSourceRequest.js +2 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +37 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.js +52 -0
- package/dist/models/PlexSource.d.ts +7 -0
- package/dist/models/PlexSource.js +3 -0
- package/dist/models/PlexSourcePropertyMapping.d.ts +73 -0
- package/dist/models/PlexSourcePropertyMapping.js +66 -0
- package/dist/models/PlexSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PlexSourcePropertyMappingRequest.js +56 -0
- package/dist/models/PlexSourceRequest.d.ts +7 -0
- package/dist/models/PlexSourceRequest.js +3 -0
- package/dist/models/SAMLSource.d.ts +6 -0
- package/dist/models/SAMLSource.js +2 -0
- package/dist/models/SAMLSourceRequest.d.ts +6 -0
- package/dist/models/SAMLSourceRequest.js +2 -0
- package/dist/models/UserPlexSourceConnection.d.ts +56 -0
- package/dist/models/{PlexSourceConnection.js → UserPlexSourceConnection.js} +11 -11
- package/dist/models/UserPlexSourceConnectionRequest.d.ts +37 -0
- package/dist/models/UserPlexSourceConnectionRequest.js +53 -0
- package/dist/models/index.d.ts +10 -4
- package/dist/models/index.js +10 -4
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +350 -0
- package/src/apis/RbacApi.ts +6 -2
- package/src/apis/SourcesApi.ts +368 -37
- package/src/models/GroupPlexSourceConnection.ts +104 -0
- package/src/models/ModelEnum.ts +3 -1
- package/src/models/PaginatedGroupPlexSourceConnectionList.ts +88 -0
- package/src/models/{PaginatedPlexSourceConnectionList.ts → PaginatedPlexSourcePropertyMappingList.ts} +19 -19
- package/src/models/PaginatedUserPlexSourceConnectionList.ts +88 -0
- package/src/models/PatchedPlexSourcePropertyMappingRequest.ts +81 -0
- package/src/models/PatchedPlexSourceRequest.ts +14 -0
- package/src/models/PatchedSAMLSourceRequest.ts +8 -0
- package/src/models/{PatchedPlexSourceConnectionRequest.ts → PatchedUserPlexSourceConnectionRequest.ts} +10 -10
- package/src/models/PlexSource.ts +14 -0
- package/src/models/PlexSourcePropertyMapping.ts +123 -0
- package/src/models/PlexSourcePropertyMappingRequest.ts +83 -0
- package/src/models/PlexSourceRequest.ts +14 -0
- package/src/models/SAMLSource.ts +8 -0
- package/src/models/SAMLSourceRequest.ts +8 -0
- package/src/models/{PlexSourceConnection.ts → UserPlexSourceConnection.ts} +13 -13
- package/src/models/{PlexSourceConnectionRequest.ts → UserPlexSourceConnectionRequest.ts} +10 -10
- package/src/models/index.ts +10 -4
- package/dist/esm/models/PaginatedPlexSourceConnectionList.d.ts +0 -39
- package/dist/esm/models/PatchedPlexSourceConnectionRequest.d.ts +0 -37
- package/dist/esm/models/PlexSourceConnection.d.ts +0 -56
- package/dist/esm/models/PlexSourceConnectionRequest.d.ts +0 -37
- package/dist/models/PaginatedPlexSourceConnectionList.d.ts +0 -39
- package/dist/models/PaginatedPlexSourceConnectionList.js +0 -55
- package/dist/models/PatchedPlexSourceConnectionRequest.d.ts +0 -37
- package/dist/models/PatchedPlexSourceConnectionRequest.js +0 -52
- package/dist/models/PlexSourceConnection.d.ts +0 -56
- package/dist/models/PlexSourceConnectionRequest.d.ts +0 -37
- package/dist/models/PlexSourceConnectionRequest.js +0 -53
package/dist/models/index.d.ts
CHANGED
@@ -159,6 +159,7 @@ export * from './GroupMatchingModeEnum';
|
|
159
159
|
export * from './GroupMember';
|
160
160
|
export * from './GroupMemberRequest';
|
161
161
|
export * from './GroupOAuthSourceConnection';
|
162
|
+
export * from './GroupPlexSourceConnection';
|
162
163
|
export * from './GroupRequest';
|
163
164
|
export * from './GroupSAMLSourceConnection';
|
164
165
|
export * from './IdentificationChallenge';
|
@@ -273,6 +274,7 @@ export * from './PaginatedGoogleWorkspaceProviderMappingList';
|
|
273
274
|
export * from './PaginatedGoogleWorkspaceProviderUserList';
|
274
275
|
export * from './PaginatedGroupList';
|
275
276
|
export * from './PaginatedGroupOAuthSourceConnectionList';
|
277
|
+
export * from './PaginatedGroupPlexSourceConnectionList';
|
276
278
|
export * from './PaginatedGroupSAMLSourceConnectionList';
|
277
279
|
export * from './PaginatedIdentificationStageList';
|
278
280
|
export * from './PaginatedInvitationList';
|
@@ -299,8 +301,8 @@ export * from './PaginatedPasswordExpiryPolicyList';
|
|
299
301
|
export * from './PaginatedPasswordPolicyList';
|
300
302
|
export * from './PaginatedPasswordStageList';
|
301
303
|
export * from './PaginatedPermissionList';
|
302
|
-
export * from './PaginatedPlexSourceConnectionList';
|
303
304
|
export * from './PaginatedPlexSourceList';
|
305
|
+
export * from './PaginatedPlexSourcePropertyMappingList';
|
304
306
|
export * from './PaginatedPolicyBindingList';
|
305
307
|
export * from './PaginatedPolicyList';
|
306
308
|
export * from './PaginatedPromptList';
|
@@ -349,6 +351,7 @@ export * from './PaginatedUserList';
|
|
349
351
|
export * from './PaginatedUserLoginStageList';
|
350
352
|
export * from './PaginatedUserLogoutStageList';
|
351
353
|
export * from './PaginatedUserOAuthSourceConnectionList';
|
354
|
+
export * from './PaginatedUserPlexSourceConnectionList';
|
352
355
|
export * from './PaginatedUserSAMLSourceConnectionList';
|
353
356
|
export * from './PaginatedUserSourceConnectionList';
|
354
357
|
export * from './PaginatedUserWriteStageList';
|
@@ -417,7 +420,7 @@ export * from './PatchedPasswordExpiryPolicyRequest';
|
|
417
420
|
export * from './PatchedPasswordPolicyRequest';
|
418
421
|
export * from './PatchedPasswordStageRequest';
|
419
422
|
export * from './PatchedPermissionAssignRequest';
|
420
|
-
export * from './
|
423
|
+
export * from './PatchedPlexSourcePropertyMappingRequest';
|
421
424
|
export * from './PatchedPlexSourceRequest';
|
422
425
|
export * from './PatchedPolicyBindingRequest';
|
423
426
|
export * from './PatchedPromptRequest';
|
@@ -451,6 +454,7 @@ export * from './PatchedUserDeleteStageRequest';
|
|
451
454
|
export * from './PatchedUserLoginStageRequest';
|
452
455
|
export * from './PatchedUserLogoutStageRequest';
|
453
456
|
export * from './PatchedUserOAuthSourceConnectionRequest';
|
457
|
+
export * from './PatchedUserPlexSourceConnectionRequest';
|
454
458
|
export * from './PatchedUserRequest';
|
455
459
|
export * from './PatchedUserSAMLSourceConnectionRequest';
|
456
460
|
export * from './PatchedUserWriteStageRequest';
|
@@ -461,8 +465,8 @@ export * from './PermissionAssignResult';
|
|
461
465
|
export * from './PlexAuthenticationChallenge';
|
462
466
|
export * from './PlexAuthenticationChallengeResponseRequest';
|
463
467
|
export * from './PlexSource';
|
464
|
-
export * from './
|
465
|
-
export * from './
|
468
|
+
export * from './PlexSourcePropertyMapping';
|
469
|
+
export * from './PlexSourcePropertyMappingRequest';
|
466
470
|
export * from './PlexSourceRequest';
|
467
471
|
export * from './PlexTokenRedeemRequest';
|
468
472
|
export * from './Policy';
|
@@ -611,6 +615,8 @@ export * from './UserOAuthSourceConnectionRequest';
|
|
611
615
|
export * from './UserObjectPermission';
|
612
616
|
export * from './UserPasswordSetRequest';
|
613
617
|
export * from './UserPath';
|
618
|
+
export * from './UserPlexSourceConnection';
|
619
|
+
export * from './UserPlexSourceConnectionRequest';
|
614
620
|
export * from './UserRequest';
|
615
621
|
export * from './UserSAMLSourceConnection';
|
616
622
|
export * from './UserSAMLSourceConnectionRequest';
|
package/dist/models/index.js
CHANGED
@@ -177,6 +177,7 @@ __exportStar(require("./GroupMatchingModeEnum"), exports);
|
|
177
177
|
__exportStar(require("./GroupMember"), exports);
|
178
178
|
__exportStar(require("./GroupMemberRequest"), exports);
|
179
179
|
__exportStar(require("./GroupOAuthSourceConnection"), exports);
|
180
|
+
__exportStar(require("./GroupPlexSourceConnection"), exports);
|
180
181
|
__exportStar(require("./GroupRequest"), exports);
|
181
182
|
__exportStar(require("./GroupSAMLSourceConnection"), exports);
|
182
183
|
__exportStar(require("./IdentificationChallenge"), exports);
|
@@ -291,6 +292,7 @@ __exportStar(require("./PaginatedGoogleWorkspaceProviderMappingList"), exports);
|
|
291
292
|
__exportStar(require("./PaginatedGoogleWorkspaceProviderUserList"), exports);
|
292
293
|
__exportStar(require("./PaginatedGroupList"), exports);
|
293
294
|
__exportStar(require("./PaginatedGroupOAuthSourceConnectionList"), exports);
|
295
|
+
__exportStar(require("./PaginatedGroupPlexSourceConnectionList"), exports);
|
294
296
|
__exportStar(require("./PaginatedGroupSAMLSourceConnectionList"), exports);
|
295
297
|
__exportStar(require("./PaginatedIdentificationStageList"), exports);
|
296
298
|
__exportStar(require("./PaginatedInvitationList"), exports);
|
@@ -317,8 +319,8 @@ __exportStar(require("./PaginatedPasswordExpiryPolicyList"), exports);
|
|
317
319
|
__exportStar(require("./PaginatedPasswordPolicyList"), exports);
|
318
320
|
__exportStar(require("./PaginatedPasswordStageList"), exports);
|
319
321
|
__exportStar(require("./PaginatedPermissionList"), exports);
|
320
|
-
__exportStar(require("./PaginatedPlexSourceConnectionList"), exports);
|
321
322
|
__exportStar(require("./PaginatedPlexSourceList"), exports);
|
323
|
+
__exportStar(require("./PaginatedPlexSourcePropertyMappingList"), exports);
|
322
324
|
__exportStar(require("./PaginatedPolicyBindingList"), exports);
|
323
325
|
__exportStar(require("./PaginatedPolicyList"), exports);
|
324
326
|
__exportStar(require("./PaginatedPromptList"), exports);
|
@@ -367,6 +369,7 @@ __exportStar(require("./PaginatedUserList"), exports);
|
|
367
369
|
__exportStar(require("./PaginatedUserLoginStageList"), exports);
|
368
370
|
__exportStar(require("./PaginatedUserLogoutStageList"), exports);
|
369
371
|
__exportStar(require("./PaginatedUserOAuthSourceConnectionList"), exports);
|
372
|
+
__exportStar(require("./PaginatedUserPlexSourceConnectionList"), exports);
|
370
373
|
__exportStar(require("./PaginatedUserSAMLSourceConnectionList"), exports);
|
371
374
|
__exportStar(require("./PaginatedUserSourceConnectionList"), exports);
|
372
375
|
__exportStar(require("./PaginatedUserWriteStageList"), exports);
|
@@ -435,7 +438,7 @@ __exportStar(require("./PatchedPasswordExpiryPolicyRequest"), exports);
|
|
435
438
|
__exportStar(require("./PatchedPasswordPolicyRequest"), exports);
|
436
439
|
__exportStar(require("./PatchedPasswordStageRequest"), exports);
|
437
440
|
__exportStar(require("./PatchedPermissionAssignRequest"), exports);
|
438
|
-
__exportStar(require("./
|
441
|
+
__exportStar(require("./PatchedPlexSourcePropertyMappingRequest"), exports);
|
439
442
|
__exportStar(require("./PatchedPlexSourceRequest"), exports);
|
440
443
|
__exportStar(require("./PatchedPolicyBindingRequest"), exports);
|
441
444
|
__exportStar(require("./PatchedPromptRequest"), exports);
|
@@ -469,6 +472,7 @@ __exportStar(require("./PatchedUserDeleteStageRequest"), exports);
|
|
469
472
|
__exportStar(require("./PatchedUserLoginStageRequest"), exports);
|
470
473
|
__exportStar(require("./PatchedUserLogoutStageRequest"), exports);
|
471
474
|
__exportStar(require("./PatchedUserOAuthSourceConnectionRequest"), exports);
|
475
|
+
__exportStar(require("./PatchedUserPlexSourceConnectionRequest"), exports);
|
472
476
|
__exportStar(require("./PatchedUserRequest"), exports);
|
473
477
|
__exportStar(require("./PatchedUserSAMLSourceConnectionRequest"), exports);
|
474
478
|
__exportStar(require("./PatchedUserWriteStageRequest"), exports);
|
@@ -479,8 +483,8 @@ __exportStar(require("./PermissionAssignResult"), exports);
|
|
479
483
|
__exportStar(require("./PlexAuthenticationChallenge"), exports);
|
480
484
|
__exportStar(require("./PlexAuthenticationChallengeResponseRequest"), exports);
|
481
485
|
__exportStar(require("./PlexSource"), exports);
|
482
|
-
__exportStar(require("./
|
483
|
-
__exportStar(require("./
|
486
|
+
__exportStar(require("./PlexSourcePropertyMapping"), exports);
|
487
|
+
__exportStar(require("./PlexSourcePropertyMappingRequest"), exports);
|
484
488
|
__exportStar(require("./PlexSourceRequest"), exports);
|
485
489
|
__exportStar(require("./PlexTokenRedeemRequest"), exports);
|
486
490
|
__exportStar(require("./Policy"), exports);
|
@@ -629,6 +633,8 @@ __exportStar(require("./UserOAuthSourceConnectionRequest"), exports);
|
|
629
633
|
__exportStar(require("./UserObjectPermission"), exports);
|
630
634
|
__exportStar(require("./UserPasswordSetRequest"), exports);
|
631
635
|
__exportStar(require("./UserPath"), exports);
|
636
|
+
__exportStar(require("./UserPlexSourceConnection"), exports);
|
637
|
+
__exportStar(require("./UserPlexSourceConnectionRequest"), exports);
|
632
638
|
__exportStar(require("./UserRequest"), exports);
|
633
639
|
__exportStar(require("./UserSAMLSourceConnection"), exports);
|
634
640
|
__exportStar(require("./UserSAMLSourceConnectionRequest"), exports);
|
package/package.json
CHANGED
@@ -31,6 +31,7 @@ import type {
|
|
31
31
|
PaginatedMicrosoftEntraProviderMappingList,
|
32
32
|
PaginatedNotificationWebhookMappingList,
|
33
33
|
PaginatedOAuthSourcePropertyMappingList,
|
34
|
+
PaginatedPlexSourcePropertyMappingList,
|
34
35
|
PaginatedPropertyMappingList,
|
35
36
|
PaginatedRACPropertyMappingList,
|
36
37
|
PaginatedRadiusProviderPropertyMappingList,
|
@@ -44,6 +45,7 @@ import type {
|
|
44
45
|
PatchedMicrosoftEntraProviderMappingRequest,
|
45
46
|
PatchedNotificationWebhookMappingRequest,
|
46
47
|
PatchedOAuthSourcePropertyMappingRequest,
|
48
|
+
PatchedPlexSourcePropertyMappingRequest,
|
47
49
|
PatchedRACPropertyMappingRequest,
|
48
50
|
PatchedRadiusProviderPropertyMappingRequest,
|
49
51
|
PatchedSAMLPropertyMappingRequest,
|
@@ -51,6 +53,8 @@ import type {
|
|
51
53
|
PatchedSCIMMappingRequest,
|
52
54
|
PatchedSCIMSourcePropertyMappingRequest,
|
53
55
|
PatchedScopeMappingRequest,
|
56
|
+
PlexSourcePropertyMapping,
|
57
|
+
PlexSourcePropertyMappingRequest,
|
54
58
|
PropertyMapping,
|
55
59
|
PropertyMappingTestRequest,
|
56
60
|
PropertyMappingTestResult,
|
@@ -105,6 +109,8 @@ import {
|
|
105
109
|
PaginatedNotificationWebhookMappingListToJSON,
|
106
110
|
PaginatedOAuthSourcePropertyMappingListFromJSON,
|
107
111
|
PaginatedOAuthSourcePropertyMappingListToJSON,
|
112
|
+
PaginatedPlexSourcePropertyMappingListFromJSON,
|
113
|
+
PaginatedPlexSourcePropertyMappingListToJSON,
|
108
114
|
PaginatedPropertyMappingListFromJSON,
|
109
115
|
PaginatedPropertyMappingListToJSON,
|
110
116
|
PaginatedRACPropertyMappingListFromJSON,
|
@@ -131,6 +137,8 @@ import {
|
|
131
137
|
PatchedNotificationWebhookMappingRequestToJSON,
|
132
138
|
PatchedOAuthSourcePropertyMappingRequestFromJSON,
|
133
139
|
PatchedOAuthSourcePropertyMappingRequestToJSON,
|
140
|
+
PatchedPlexSourcePropertyMappingRequestFromJSON,
|
141
|
+
PatchedPlexSourcePropertyMappingRequestToJSON,
|
134
142
|
PatchedRACPropertyMappingRequestFromJSON,
|
135
143
|
PatchedRACPropertyMappingRequestToJSON,
|
136
144
|
PatchedRadiusProviderPropertyMappingRequestFromJSON,
|
@@ -145,6 +153,10 @@ import {
|
|
145
153
|
PatchedSCIMSourcePropertyMappingRequestToJSON,
|
146
154
|
PatchedScopeMappingRequestFromJSON,
|
147
155
|
PatchedScopeMappingRequestToJSON,
|
156
|
+
PlexSourcePropertyMappingFromJSON,
|
157
|
+
PlexSourcePropertyMappingToJSON,
|
158
|
+
PlexSourcePropertyMappingRequestFromJSON,
|
159
|
+
PlexSourcePropertyMappingRequestToJSON,
|
148
160
|
PropertyMappingFromJSON,
|
149
161
|
PropertyMappingToJSON,
|
150
162
|
PropertyMappingTestRequestFromJSON,
|
@@ -577,6 +589,42 @@ export interface PropertymappingsSourceOauthUsedByListRequest {
|
|
577
589
|
pmUuid: string;
|
578
590
|
}
|
579
591
|
|
592
|
+
export interface PropertymappingsSourcePlexCreateRequest {
|
593
|
+
plexSourcePropertyMappingRequest: PlexSourcePropertyMappingRequest;
|
594
|
+
}
|
595
|
+
|
596
|
+
export interface PropertymappingsSourcePlexDestroyRequest {
|
597
|
+
pmUuid: string;
|
598
|
+
}
|
599
|
+
|
600
|
+
export interface PropertymappingsSourcePlexListRequest {
|
601
|
+
managed?: Array<string>;
|
602
|
+
managedIsnull?: boolean;
|
603
|
+
name?: string;
|
604
|
+
ordering?: string;
|
605
|
+
page?: number;
|
606
|
+
pageSize?: number;
|
607
|
+
search?: string;
|
608
|
+
}
|
609
|
+
|
610
|
+
export interface PropertymappingsSourcePlexPartialUpdateRequest {
|
611
|
+
pmUuid: string;
|
612
|
+
patchedPlexSourcePropertyMappingRequest?: PatchedPlexSourcePropertyMappingRequest;
|
613
|
+
}
|
614
|
+
|
615
|
+
export interface PropertymappingsSourcePlexRetrieveRequest {
|
616
|
+
pmUuid: string;
|
617
|
+
}
|
618
|
+
|
619
|
+
export interface PropertymappingsSourcePlexUpdateRequest {
|
620
|
+
pmUuid: string;
|
621
|
+
plexSourcePropertyMappingRequest: PlexSourcePropertyMappingRequest;
|
622
|
+
}
|
623
|
+
|
624
|
+
export interface PropertymappingsSourcePlexUsedByListRequest {
|
625
|
+
pmUuid: string;
|
626
|
+
}
|
627
|
+
|
580
628
|
export interface PropertymappingsSourceSamlCreateRequest {
|
581
629
|
sAMLSourcePropertyMappingRequest: SAMLSourcePropertyMappingRequest;
|
582
630
|
}
|
@@ -3936,6 +3984,308 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
3936
3984
|
return await response.value();
|
3937
3985
|
}
|
3938
3986
|
|
3987
|
+
/**
|
3988
|
+
* PlexSourcePropertyMapping Viewset
|
3989
|
+
*/
|
3990
|
+
async propertymappingsSourcePlexCreateRaw(requestParameters: PropertymappingsSourcePlexCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PlexSourcePropertyMapping>> {
|
3991
|
+
if (requestParameters.plexSourcePropertyMappingRequest === null || requestParameters.plexSourcePropertyMappingRequest === undefined) {
|
3992
|
+
throw new runtime.RequiredError('plexSourcePropertyMappingRequest','Required parameter requestParameters.plexSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourcePlexCreate.');
|
3993
|
+
}
|
3994
|
+
|
3995
|
+
const queryParameters: any = {};
|
3996
|
+
|
3997
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
3998
|
+
|
3999
|
+
headerParameters['Content-Type'] = 'application/json';
|
4000
|
+
|
4001
|
+
if (this.configuration && this.configuration.accessToken) {
|
4002
|
+
const token = this.configuration.accessToken;
|
4003
|
+
const tokenString = await token("authentik", []);
|
4004
|
+
|
4005
|
+
if (tokenString) {
|
4006
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4007
|
+
}
|
4008
|
+
}
|
4009
|
+
const response = await this.request({
|
4010
|
+
path: `/propertymappings/source/plex/`,
|
4011
|
+
method: 'POST',
|
4012
|
+
headers: headerParameters,
|
4013
|
+
query: queryParameters,
|
4014
|
+
body: PlexSourcePropertyMappingRequestToJSON(requestParameters.plexSourcePropertyMappingRequest),
|
4015
|
+
}, initOverrides);
|
4016
|
+
|
4017
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PlexSourcePropertyMappingFromJSON(jsonValue));
|
4018
|
+
}
|
4019
|
+
|
4020
|
+
/**
|
4021
|
+
* PlexSourcePropertyMapping Viewset
|
4022
|
+
*/
|
4023
|
+
async propertymappingsSourcePlexCreate(requestParameters: PropertymappingsSourcePlexCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PlexSourcePropertyMapping> {
|
4024
|
+
const response = await this.propertymappingsSourcePlexCreateRaw(requestParameters, initOverrides);
|
4025
|
+
return await response.value();
|
4026
|
+
}
|
4027
|
+
|
4028
|
+
/**
|
4029
|
+
* PlexSourcePropertyMapping Viewset
|
4030
|
+
*/
|
4031
|
+
async propertymappingsSourcePlexDestroyRaw(requestParameters: PropertymappingsSourcePlexDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
4032
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
4033
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexDestroy.');
|
4034
|
+
}
|
4035
|
+
|
4036
|
+
const queryParameters: any = {};
|
4037
|
+
|
4038
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
4039
|
+
|
4040
|
+
if (this.configuration && this.configuration.accessToken) {
|
4041
|
+
const token = this.configuration.accessToken;
|
4042
|
+
const tokenString = await token("authentik", []);
|
4043
|
+
|
4044
|
+
if (tokenString) {
|
4045
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4046
|
+
}
|
4047
|
+
}
|
4048
|
+
const response = await this.request({
|
4049
|
+
path: `/propertymappings/source/plex/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
4050
|
+
method: 'DELETE',
|
4051
|
+
headers: headerParameters,
|
4052
|
+
query: queryParameters,
|
4053
|
+
}, initOverrides);
|
4054
|
+
|
4055
|
+
return new runtime.VoidApiResponse(response);
|
4056
|
+
}
|
4057
|
+
|
4058
|
+
/**
|
4059
|
+
* PlexSourcePropertyMapping Viewset
|
4060
|
+
*/
|
4061
|
+
async propertymappingsSourcePlexDestroy(requestParameters: PropertymappingsSourcePlexDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
4062
|
+
await this.propertymappingsSourcePlexDestroyRaw(requestParameters, initOverrides);
|
4063
|
+
}
|
4064
|
+
|
4065
|
+
/**
|
4066
|
+
* PlexSourcePropertyMapping Viewset
|
4067
|
+
*/
|
4068
|
+
async propertymappingsSourcePlexListRaw(requestParameters: PropertymappingsSourcePlexListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedPlexSourcePropertyMappingList>> {
|
4069
|
+
const queryParameters: any = {};
|
4070
|
+
|
4071
|
+
if (requestParameters.managed) {
|
4072
|
+
queryParameters['managed'] = requestParameters.managed;
|
4073
|
+
}
|
4074
|
+
|
4075
|
+
if (requestParameters.managedIsnull !== undefined) {
|
4076
|
+
queryParameters['managed__isnull'] = requestParameters.managedIsnull;
|
4077
|
+
}
|
4078
|
+
|
4079
|
+
if (requestParameters.name !== undefined) {
|
4080
|
+
queryParameters['name'] = requestParameters.name;
|
4081
|
+
}
|
4082
|
+
|
4083
|
+
if (requestParameters.ordering !== undefined) {
|
4084
|
+
queryParameters['ordering'] = requestParameters.ordering;
|
4085
|
+
}
|
4086
|
+
|
4087
|
+
if (requestParameters.page !== undefined) {
|
4088
|
+
queryParameters['page'] = requestParameters.page;
|
4089
|
+
}
|
4090
|
+
|
4091
|
+
if (requestParameters.pageSize !== undefined) {
|
4092
|
+
queryParameters['page_size'] = requestParameters.pageSize;
|
4093
|
+
}
|
4094
|
+
|
4095
|
+
if (requestParameters.search !== undefined) {
|
4096
|
+
queryParameters['search'] = requestParameters.search;
|
4097
|
+
}
|
4098
|
+
|
4099
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
4100
|
+
|
4101
|
+
if (this.configuration && this.configuration.accessToken) {
|
4102
|
+
const token = this.configuration.accessToken;
|
4103
|
+
const tokenString = await token("authentik", []);
|
4104
|
+
|
4105
|
+
if (tokenString) {
|
4106
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4107
|
+
}
|
4108
|
+
}
|
4109
|
+
const response = await this.request({
|
4110
|
+
path: `/propertymappings/source/plex/`,
|
4111
|
+
method: 'GET',
|
4112
|
+
headers: headerParameters,
|
4113
|
+
query: queryParameters,
|
4114
|
+
}, initOverrides);
|
4115
|
+
|
4116
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedPlexSourcePropertyMappingListFromJSON(jsonValue));
|
4117
|
+
}
|
4118
|
+
|
4119
|
+
/**
|
4120
|
+
* PlexSourcePropertyMapping Viewset
|
4121
|
+
*/
|
4122
|
+
async propertymappingsSourcePlexList(requestParameters: PropertymappingsSourcePlexListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedPlexSourcePropertyMappingList> {
|
4123
|
+
const response = await this.propertymappingsSourcePlexListRaw(requestParameters, initOverrides);
|
4124
|
+
return await response.value();
|
4125
|
+
}
|
4126
|
+
|
4127
|
+
/**
|
4128
|
+
* PlexSourcePropertyMapping Viewset
|
4129
|
+
*/
|
4130
|
+
async propertymappingsSourcePlexPartialUpdateRaw(requestParameters: PropertymappingsSourcePlexPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PlexSourcePropertyMapping>> {
|
4131
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
4132
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexPartialUpdate.');
|
4133
|
+
}
|
4134
|
+
|
4135
|
+
const queryParameters: any = {};
|
4136
|
+
|
4137
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
4138
|
+
|
4139
|
+
headerParameters['Content-Type'] = 'application/json';
|
4140
|
+
|
4141
|
+
if (this.configuration && this.configuration.accessToken) {
|
4142
|
+
const token = this.configuration.accessToken;
|
4143
|
+
const tokenString = await token("authentik", []);
|
4144
|
+
|
4145
|
+
if (tokenString) {
|
4146
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4147
|
+
}
|
4148
|
+
}
|
4149
|
+
const response = await this.request({
|
4150
|
+
path: `/propertymappings/source/plex/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
4151
|
+
method: 'PATCH',
|
4152
|
+
headers: headerParameters,
|
4153
|
+
query: queryParameters,
|
4154
|
+
body: PatchedPlexSourcePropertyMappingRequestToJSON(requestParameters.patchedPlexSourcePropertyMappingRequest),
|
4155
|
+
}, initOverrides);
|
4156
|
+
|
4157
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PlexSourcePropertyMappingFromJSON(jsonValue));
|
4158
|
+
}
|
4159
|
+
|
4160
|
+
/**
|
4161
|
+
* PlexSourcePropertyMapping Viewset
|
4162
|
+
*/
|
4163
|
+
async propertymappingsSourcePlexPartialUpdate(requestParameters: PropertymappingsSourcePlexPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PlexSourcePropertyMapping> {
|
4164
|
+
const response = await this.propertymappingsSourcePlexPartialUpdateRaw(requestParameters, initOverrides);
|
4165
|
+
return await response.value();
|
4166
|
+
}
|
4167
|
+
|
4168
|
+
/**
|
4169
|
+
* PlexSourcePropertyMapping Viewset
|
4170
|
+
*/
|
4171
|
+
async propertymappingsSourcePlexRetrieveRaw(requestParameters: PropertymappingsSourcePlexRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PlexSourcePropertyMapping>> {
|
4172
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
4173
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexRetrieve.');
|
4174
|
+
}
|
4175
|
+
|
4176
|
+
const queryParameters: any = {};
|
4177
|
+
|
4178
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
4179
|
+
|
4180
|
+
if (this.configuration && this.configuration.accessToken) {
|
4181
|
+
const token = this.configuration.accessToken;
|
4182
|
+
const tokenString = await token("authentik", []);
|
4183
|
+
|
4184
|
+
if (tokenString) {
|
4185
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4186
|
+
}
|
4187
|
+
}
|
4188
|
+
const response = await this.request({
|
4189
|
+
path: `/propertymappings/source/plex/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
4190
|
+
method: 'GET',
|
4191
|
+
headers: headerParameters,
|
4192
|
+
query: queryParameters,
|
4193
|
+
}, initOverrides);
|
4194
|
+
|
4195
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PlexSourcePropertyMappingFromJSON(jsonValue));
|
4196
|
+
}
|
4197
|
+
|
4198
|
+
/**
|
4199
|
+
* PlexSourcePropertyMapping Viewset
|
4200
|
+
*/
|
4201
|
+
async propertymappingsSourcePlexRetrieve(requestParameters: PropertymappingsSourcePlexRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PlexSourcePropertyMapping> {
|
4202
|
+
const response = await this.propertymappingsSourcePlexRetrieveRaw(requestParameters, initOverrides);
|
4203
|
+
return await response.value();
|
4204
|
+
}
|
4205
|
+
|
4206
|
+
/**
|
4207
|
+
* PlexSourcePropertyMapping Viewset
|
4208
|
+
*/
|
4209
|
+
async propertymappingsSourcePlexUpdateRaw(requestParameters: PropertymappingsSourcePlexUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PlexSourcePropertyMapping>> {
|
4210
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
4211
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexUpdate.');
|
4212
|
+
}
|
4213
|
+
|
4214
|
+
if (requestParameters.plexSourcePropertyMappingRequest === null || requestParameters.plexSourcePropertyMappingRequest === undefined) {
|
4215
|
+
throw new runtime.RequiredError('plexSourcePropertyMappingRequest','Required parameter requestParameters.plexSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourcePlexUpdate.');
|
4216
|
+
}
|
4217
|
+
|
4218
|
+
const queryParameters: any = {};
|
4219
|
+
|
4220
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
4221
|
+
|
4222
|
+
headerParameters['Content-Type'] = 'application/json';
|
4223
|
+
|
4224
|
+
if (this.configuration && this.configuration.accessToken) {
|
4225
|
+
const token = this.configuration.accessToken;
|
4226
|
+
const tokenString = await token("authentik", []);
|
4227
|
+
|
4228
|
+
if (tokenString) {
|
4229
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4230
|
+
}
|
4231
|
+
}
|
4232
|
+
const response = await this.request({
|
4233
|
+
path: `/propertymappings/source/plex/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
4234
|
+
method: 'PUT',
|
4235
|
+
headers: headerParameters,
|
4236
|
+
query: queryParameters,
|
4237
|
+
body: PlexSourcePropertyMappingRequestToJSON(requestParameters.plexSourcePropertyMappingRequest),
|
4238
|
+
}, initOverrides);
|
4239
|
+
|
4240
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PlexSourcePropertyMappingFromJSON(jsonValue));
|
4241
|
+
}
|
4242
|
+
|
4243
|
+
/**
|
4244
|
+
* PlexSourcePropertyMapping Viewset
|
4245
|
+
*/
|
4246
|
+
async propertymappingsSourcePlexUpdate(requestParameters: PropertymappingsSourcePlexUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PlexSourcePropertyMapping> {
|
4247
|
+
const response = await this.propertymappingsSourcePlexUpdateRaw(requestParameters, initOverrides);
|
4248
|
+
return await response.value();
|
4249
|
+
}
|
4250
|
+
|
4251
|
+
/**
|
4252
|
+
* Get a list of all objects that use this object
|
4253
|
+
*/
|
4254
|
+
async propertymappingsSourcePlexUsedByListRaw(requestParameters: PropertymappingsSourcePlexUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
4255
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
4256
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexUsedByList.');
|
4257
|
+
}
|
4258
|
+
|
4259
|
+
const queryParameters: any = {};
|
4260
|
+
|
4261
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
4262
|
+
|
4263
|
+
if (this.configuration && this.configuration.accessToken) {
|
4264
|
+
const token = this.configuration.accessToken;
|
4265
|
+
const tokenString = await token("authentik", []);
|
4266
|
+
|
4267
|
+
if (tokenString) {
|
4268
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4269
|
+
}
|
4270
|
+
}
|
4271
|
+
const response = await this.request({
|
4272
|
+
path: `/propertymappings/source/plex/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
4273
|
+
method: 'GET',
|
4274
|
+
headers: headerParameters,
|
4275
|
+
query: queryParameters,
|
4276
|
+
}, initOverrides);
|
4277
|
+
|
4278
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UsedByFromJSON));
|
4279
|
+
}
|
4280
|
+
|
4281
|
+
/**
|
4282
|
+
* Get a list of all objects that use this object
|
4283
|
+
*/
|
4284
|
+
async propertymappingsSourcePlexUsedByList(requestParameters: PropertymappingsSourcePlexUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
4285
|
+
const response = await this.propertymappingsSourcePlexUsedByListRaw(requestParameters, initOverrides);
|
4286
|
+
return await response.value();
|
4287
|
+
}
|
4288
|
+
|
3939
4289
|
/**
|
3940
4290
|
* SAMLSourcePropertyMapping Viewset
|
3941
4291
|
*/
|
package/src/apis/RbacApi.ts
CHANGED
@@ -1412,8 +1412,10 @@ export const RbacPermissionsAssignedByRolesListModelEnum = {
|
|
1412
1412
|
SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
|
1413
1413
|
SourcesOauthOauthsourcepropertymapping: 'authentik_sources_oauth.oauthsourcepropertymapping',
|
1414
1414
|
SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
|
1415
|
+
SourcesPlexGroupplexsourceconnection: 'authentik_sources_plex.groupplexsourceconnection',
|
1415
1416
|
SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
|
1416
|
-
|
1417
|
+
SourcesPlexPlexsourcepropertymapping: 'authentik_sources_plex.plexsourcepropertymapping',
|
1418
|
+
SourcesPlexUserplexsourceconnection: 'authentik_sources_plex.userplexsourceconnection',
|
1417
1419
|
SourcesSamlGroupsamlsourceconnection: 'authentik_sources_saml.groupsamlsourceconnection',
|
1418
1420
|
SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
|
1419
1421
|
SourcesSamlSamlsourcepropertymapping: 'authentik_sources_saml.samlsourcepropertymapping',
|
@@ -1506,8 +1508,10 @@ export const RbacPermissionsAssignedByUsersListModelEnum = {
|
|
1506
1508
|
SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
|
1507
1509
|
SourcesOauthOauthsourcepropertymapping: 'authentik_sources_oauth.oauthsourcepropertymapping',
|
1508
1510
|
SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
|
1511
|
+
SourcesPlexGroupplexsourceconnection: 'authentik_sources_plex.groupplexsourceconnection',
|
1509
1512
|
SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
|
1510
|
-
|
1513
|
+
SourcesPlexPlexsourcepropertymapping: 'authentik_sources_plex.plexsourcepropertymapping',
|
1514
|
+
SourcesPlexUserplexsourceconnection: 'authentik_sources_plex.userplexsourceconnection',
|
1511
1515
|
SourcesSamlGroupsamlsourceconnection: 'authentik_sources_saml.groupsamlsourceconnection',
|
1512
1516
|
SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
|
1513
1517
|
SourcesSamlSamlsourcepropertymapping: 'authentik_sources_saml.samlsourcepropertymapping',
|