@goauthentik/api 2024.6.3-1723053526 → 2024.6.3-1723109801

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. package/.openapi-generator/FILES +10 -4
  2. package/dist/apis/PropertymappingsApi.d.ts +86 -1
  3. package/dist/apis/PropertymappingsApi.js +271 -0
  4. package/dist/apis/RbacApi.d.ts +6 -2
  5. package/dist/apis/RbacApi.js +6 -2
  6. package/dist/apis/SourcesApi.d.ts +104 -14
  7. package/dist/apis/SourcesApi.js +281 -13
  8. package/dist/esm/apis/PropertymappingsApi.d.ts +86 -1
  9. package/dist/esm/apis/PropertymappingsApi.js +272 -1
  10. package/dist/esm/apis/RbacApi.d.ts +6 -2
  11. package/dist/esm/apis/RbacApi.js +6 -2
  12. package/dist/esm/apis/SourcesApi.d.ts +104 -14
  13. package/dist/esm/apis/SourcesApi.js +281 -13
  14. package/dist/esm/models/GroupPlexSourceConnection.d.ts +56 -0
  15. package/dist/esm/models/GroupPlexSourceConnection.js +50 -0
  16. package/dist/esm/models/ModelEnum.d.ts +3 -1
  17. package/dist/esm/models/ModelEnum.js +3 -1
  18. package/dist/esm/models/PaginatedGroupPlexSourceConnectionList.d.ts +39 -0
  19. package/dist/esm/models/PaginatedGroupPlexSourceConnectionList.js +48 -0
  20. package/dist/esm/models/PaginatedPlexSourcePropertyMappingList.d.ts +39 -0
  21. package/dist/esm/models/PaginatedPlexSourcePropertyMappingList.js +48 -0
  22. package/dist/esm/models/PaginatedUserPlexSourceConnectionList.d.ts +39 -0
  23. package/dist/esm/models/{PaginatedPlexSourceConnectionList.js → PaginatedUserPlexSourceConnectionList.js} +9 -9
  24. package/dist/esm/models/PatchedPlexSourcePropertyMappingRequest.d.ts +43 -0
  25. package/dist/esm/models/PatchedPlexSourcePropertyMappingRequest.js +47 -0
  26. package/dist/esm/models/PatchedPlexSourceRequest.d.ts +7 -0
  27. package/dist/esm/models/PatchedPlexSourceRequest.js +3 -0
  28. package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +37 -0
  29. package/dist/esm/models/{PatchedPlexSourceConnectionRequest.js → PatchedUserPlexSourceConnectionRequest.js} +6 -6
  30. package/dist/esm/models/PlexSource.d.ts +7 -0
  31. package/dist/esm/models/PlexSource.js +3 -0
  32. package/dist/esm/models/PlexSourcePropertyMapping.d.ts +73 -0
  33. package/dist/esm/models/PlexSourcePropertyMapping.js +59 -0
  34. package/dist/esm/models/PlexSourcePropertyMappingRequest.d.ts +43 -0
  35. package/dist/esm/models/PlexSourcePropertyMappingRequest.js +49 -0
  36. package/dist/esm/models/PlexSourceRequest.d.ts +7 -0
  37. package/dist/esm/models/PlexSourceRequest.js +3 -0
  38. package/dist/esm/models/UserPlexSourceConnection.d.ts +56 -0
  39. package/dist/esm/models/{PlexSourceConnection.js → UserPlexSourceConnection.js} +6 -6
  40. package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +37 -0
  41. package/dist/esm/models/{PlexSourceConnectionRequest.js → UserPlexSourceConnectionRequest.js} +6 -6
  42. package/dist/esm/models/index.d.ts +10 -4
  43. package/dist/esm/models/index.js +10 -4
  44. package/dist/models/GroupPlexSourceConnection.d.ts +56 -0
  45. package/dist/models/GroupPlexSourceConnection.js +57 -0
  46. package/dist/models/ModelEnum.d.ts +3 -1
  47. package/dist/models/ModelEnum.js +3 -1
  48. package/dist/models/PaginatedGroupPlexSourceConnectionList.d.ts +39 -0
  49. package/dist/models/PaginatedGroupPlexSourceConnectionList.js +55 -0
  50. package/dist/models/PaginatedPlexSourcePropertyMappingList.d.ts +39 -0
  51. package/dist/models/PaginatedPlexSourcePropertyMappingList.js +55 -0
  52. package/dist/models/PaginatedUserPlexSourceConnectionList.d.ts +39 -0
  53. package/dist/models/PaginatedUserPlexSourceConnectionList.js +55 -0
  54. package/dist/models/PatchedPlexSourcePropertyMappingRequest.d.ts +43 -0
  55. package/dist/models/PatchedPlexSourcePropertyMappingRequest.js +54 -0
  56. package/dist/models/PatchedPlexSourceRequest.d.ts +7 -0
  57. package/dist/models/PatchedPlexSourceRequest.js +3 -0
  58. package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +37 -0
  59. package/dist/models/PatchedUserPlexSourceConnectionRequest.js +52 -0
  60. package/dist/models/PlexSource.d.ts +7 -0
  61. package/dist/models/PlexSource.js +3 -0
  62. package/dist/models/PlexSourcePropertyMapping.d.ts +73 -0
  63. package/dist/models/PlexSourcePropertyMapping.js +66 -0
  64. package/dist/models/PlexSourcePropertyMappingRequest.d.ts +43 -0
  65. package/dist/models/PlexSourcePropertyMappingRequest.js +56 -0
  66. package/dist/models/PlexSourceRequest.d.ts +7 -0
  67. package/dist/models/PlexSourceRequest.js +3 -0
  68. package/dist/models/UserPlexSourceConnection.d.ts +56 -0
  69. package/dist/models/{PlexSourceConnection.js → UserPlexSourceConnection.js} +11 -11
  70. package/dist/models/UserPlexSourceConnectionRequest.d.ts +37 -0
  71. package/dist/models/UserPlexSourceConnectionRequest.js +53 -0
  72. package/dist/models/index.d.ts +10 -4
  73. package/dist/models/index.js +10 -4
  74. package/package.json +1 -1
  75. package/src/apis/PropertymappingsApi.ts +350 -0
  76. package/src/apis/RbacApi.ts +6 -2
  77. package/src/apis/SourcesApi.ts +368 -37
  78. package/src/models/GroupPlexSourceConnection.ts +104 -0
  79. package/src/models/ModelEnum.ts +3 -1
  80. package/src/models/PaginatedGroupPlexSourceConnectionList.ts +88 -0
  81. package/src/models/{PaginatedPlexSourceConnectionList.ts → PaginatedPlexSourcePropertyMappingList.ts} +19 -19
  82. package/src/models/PaginatedUserPlexSourceConnectionList.ts +88 -0
  83. package/src/models/PatchedPlexSourcePropertyMappingRequest.ts +81 -0
  84. package/src/models/PatchedPlexSourceRequest.ts +14 -0
  85. package/src/models/{PatchedPlexSourceConnectionRequest.ts → PatchedUserPlexSourceConnectionRequest.ts} +10 -10
  86. package/src/models/PlexSource.ts +14 -0
  87. package/src/models/PlexSourcePropertyMapping.ts +123 -0
  88. package/src/models/PlexSourcePropertyMappingRequest.ts +83 -0
  89. package/src/models/PlexSourceRequest.ts +14 -0
  90. package/src/models/{PlexSourceConnection.ts → UserPlexSourceConnection.ts} +13 -13
  91. package/src/models/{PlexSourceConnectionRequest.ts → UserPlexSourceConnectionRequest.ts} +10 -10
  92. package/src/models/index.ts +10 -4
  93. package/dist/esm/models/PaginatedPlexSourceConnectionList.d.ts +0 -39
  94. package/dist/esm/models/PatchedPlexSourceConnectionRequest.d.ts +0 -37
  95. package/dist/esm/models/PlexSourceConnection.d.ts +0 -56
  96. package/dist/esm/models/PlexSourceConnectionRequest.d.ts +0 -37
  97. package/dist/models/PaginatedPlexSourceConnectionList.d.ts +0 -39
  98. package/dist/models/PaginatedPlexSourceConnectionList.js +0 -55
  99. package/dist/models/PatchedPlexSourceConnectionRequest.d.ts +0 -37
  100. package/dist/models/PatchedPlexSourceConnectionRequest.js +0 -52
  101. package/dist/models/PlexSourceConnection.d.ts +0 -56
  102. package/dist/models/PlexSourceConnectionRequest.d.ts +0 -37
  103. package/dist/models/PlexSourceConnectionRequest.js +0 -53
@@ -186,6 +186,7 @@ src/models/GroupMatchingModeEnum.ts
186
186
  src/models/GroupMember.ts
187
187
  src/models/GroupMemberRequest.ts
188
188
  src/models/GroupOAuthSourceConnection.ts
189
+ src/models/GroupPlexSourceConnection.ts
189
190
  src/models/GroupRequest.ts
190
191
  src/models/GroupSAMLSourceConnection.ts
191
192
  src/models/IdentificationChallenge.ts
@@ -300,6 +301,7 @@ src/models/PaginatedGoogleWorkspaceProviderMappingList.ts
300
301
  src/models/PaginatedGoogleWorkspaceProviderUserList.ts
301
302
  src/models/PaginatedGroupList.ts
302
303
  src/models/PaginatedGroupOAuthSourceConnectionList.ts
304
+ src/models/PaginatedGroupPlexSourceConnectionList.ts
303
305
  src/models/PaginatedGroupSAMLSourceConnectionList.ts
304
306
  src/models/PaginatedIdentificationStageList.ts
305
307
  src/models/PaginatedInvitationList.ts
@@ -326,8 +328,8 @@ src/models/PaginatedPasswordExpiryPolicyList.ts
326
328
  src/models/PaginatedPasswordPolicyList.ts
327
329
  src/models/PaginatedPasswordStageList.ts
328
330
  src/models/PaginatedPermissionList.ts
329
- src/models/PaginatedPlexSourceConnectionList.ts
330
331
  src/models/PaginatedPlexSourceList.ts
332
+ src/models/PaginatedPlexSourcePropertyMappingList.ts
331
333
  src/models/PaginatedPolicyBindingList.ts
332
334
  src/models/PaginatedPolicyList.ts
333
335
  src/models/PaginatedPromptList.ts
@@ -376,6 +378,7 @@ src/models/PaginatedUserList.ts
376
378
  src/models/PaginatedUserLoginStageList.ts
377
379
  src/models/PaginatedUserLogoutStageList.ts
378
380
  src/models/PaginatedUserOAuthSourceConnectionList.ts
381
+ src/models/PaginatedUserPlexSourceConnectionList.ts
379
382
  src/models/PaginatedUserSAMLSourceConnectionList.ts
380
383
  src/models/PaginatedUserSourceConnectionList.ts
381
384
  src/models/PaginatedUserWriteStageList.ts
@@ -444,7 +447,7 @@ src/models/PatchedPasswordExpiryPolicyRequest.ts
444
447
  src/models/PatchedPasswordPolicyRequest.ts
445
448
  src/models/PatchedPasswordStageRequest.ts
446
449
  src/models/PatchedPermissionAssignRequest.ts
447
- src/models/PatchedPlexSourceConnectionRequest.ts
450
+ src/models/PatchedPlexSourcePropertyMappingRequest.ts
448
451
  src/models/PatchedPlexSourceRequest.ts
449
452
  src/models/PatchedPolicyBindingRequest.ts
450
453
  src/models/PatchedPromptRequest.ts
@@ -478,6 +481,7 @@ src/models/PatchedUserDeleteStageRequest.ts
478
481
  src/models/PatchedUserLoginStageRequest.ts
479
482
  src/models/PatchedUserLogoutStageRequest.ts
480
483
  src/models/PatchedUserOAuthSourceConnectionRequest.ts
484
+ src/models/PatchedUserPlexSourceConnectionRequest.ts
481
485
  src/models/PatchedUserRequest.ts
482
486
  src/models/PatchedUserSAMLSourceConnectionRequest.ts
483
487
  src/models/PatchedUserWriteStageRequest.ts
@@ -488,8 +492,8 @@ src/models/PermissionAssignResult.ts
488
492
  src/models/PlexAuthenticationChallenge.ts
489
493
  src/models/PlexAuthenticationChallengeResponseRequest.ts
490
494
  src/models/PlexSource.ts
491
- src/models/PlexSourceConnection.ts
492
- src/models/PlexSourceConnectionRequest.ts
495
+ src/models/PlexSourcePropertyMapping.ts
496
+ src/models/PlexSourcePropertyMappingRequest.ts
493
497
  src/models/PlexSourceRequest.ts
494
498
  src/models/PlexTokenRedeemRequest.ts
495
499
  src/models/Policy.ts
@@ -638,6 +642,8 @@ src/models/UserOAuthSourceConnectionRequest.ts
638
642
  src/models/UserObjectPermission.ts
639
643
  src/models/UserPasswordSetRequest.ts
640
644
  src/models/UserPath.ts
645
+ src/models/UserPlexSourceConnection.ts
646
+ src/models/UserPlexSourceConnectionRequest.ts
641
647
  src/models/UserRequest.ts
642
648
  src/models/UserSAMLSourceConnection.ts
643
649
  src/models/UserSAMLSourceConnectionRequest.ts
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { GoogleWorkspaceProviderMapping, GoogleWorkspaceProviderMappingRequest, LDAPSourcePropertyMapping, LDAPSourcePropertyMappingRequest, MicrosoftEntraProviderMapping, MicrosoftEntraProviderMappingRequest, NotificationWebhookMapping, NotificationWebhookMappingRequest, OAuthSourcePropertyMapping, OAuthSourcePropertyMappingRequest, PaginatedGoogleWorkspaceProviderMappingList, PaginatedLDAPSourcePropertyMappingList, PaginatedMicrosoftEntraProviderMappingList, PaginatedNotificationWebhookMappingList, PaginatedOAuthSourcePropertyMappingList, PaginatedPropertyMappingList, PaginatedRACPropertyMappingList, PaginatedRadiusProviderPropertyMappingList, PaginatedSAMLPropertyMappingList, PaginatedSAMLSourcePropertyMappingList, PaginatedSCIMMappingList, PaginatedSCIMSourcePropertyMappingList, PaginatedScopeMappingList, PatchedGoogleWorkspaceProviderMappingRequest, PatchedLDAPSourcePropertyMappingRequest, PatchedMicrosoftEntraProviderMappingRequest, PatchedNotificationWebhookMappingRequest, PatchedOAuthSourcePropertyMappingRequest, PatchedRACPropertyMappingRequest, PatchedRadiusProviderPropertyMappingRequest, PatchedSAMLPropertyMappingRequest, PatchedSAMLSourcePropertyMappingRequest, PatchedSCIMMappingRequest, PatchedSCIMSourcePropertyMappingRequest, PatchedScopeMappingRequest, PropertyMapping, PropertyMappingTestRequest, PropertyMappingTestResult, RACPropertyMapping, RACPropertyMappingRequest, RadiusProviderPropertyMapping, RadiusProviderPropertyMappingRequest, SAMLPropertyMapping, SAMLPropertyMappingRequest, SAMLSourcePropertyMapping, SAMLSourcePropertyMappingRequest, SCIMMapping, SCIMMappingRequest, SCIMSourcePropertyMapping, SCIMSourcePropertyMappingRequest, ScopeMapping, ScopeMappingRequest, TypeCreate, UsedBy } from '../models';
13
+ import type { GoogleWorkspaceProviderMapping, GoogleWorkspaceProviderMappingRequest, LDAPSourcePropertyMapping, LDAPSourcePropertyMappingRequest, MicrosoftEntraProviderMapping, MicrosoftEntraProviderMappingRequest, NotificationWebhookMapping, NotificationWebhookMappingRequest, OAuthSourcePropertyMapping, OAuthSourcePropertyMappingRequest, PaginatedGoogleWorkspaceProviderMappingList, PaginatedLDAPSourcePropertyMappingList, PaginatedMicrosoftEntraProviderMappingList, PaginatedNotificationWebhookMappingList, PaginatedOAuthSourcePropertyMappingList, PaginatedPlexSourcePropertyMappingList, PaginatedPropertyMappingList, PaginatedRACPropertyMappingList, PaginatedRadiusProviderPropertyMappingList, PaginatedSAMLPropertyMappingList, PaginatedSAMLSourcePropertyMappingList, PaginatedSCIMMappingList, PaginatedSCIMSourcePropertyMappingList, PaginatedScopeMappingList, PatchedGoogleWorkspaceProviderMappingRequest, PatchedLDAPSourcePropertyMappingRequest, PatchedMicrosoftEntraProviderMappingRequest, PatchedNotificationWebhookMappingRequest, PatchedOAuthSourcePropertyMappingRequest, PatchedPlexSourcePropertyMappingRequest, PatchedRACPropertyMappingRequest, PatchedRadiusProviderPropertyMappingRequest, PatchedSAMLPropertyMappingRequest, PatchedSAMLSourcePropertyMappingRequest, PatchedSCIMMappingRequest, PatchedSCIMSourcePropertyMappingRequest, PatchedScopeMappingRequest, PlexSourcePropertyMapping, PlexSourcePropertyMappingRequest, PropertyMapping, PropertyMappingTestRequest, PropertyMappingTestResult, RACPropertyMapping, RACPropertyMappingRequest, RadiusProviderPropertyMapping, RadiusProviderPropertyMappingRequest, SAMLPropertyMapping, SAMLPropertyMappingRequest, SAMLSourcePropertyMapping, SAMLSourcePropertyMappingRequest, SCIMMapping, SCIMMappingRequest, SCIMSourcePropertyMapping, SCIMSourcePropertyMappingRequest, ScopeMapping, ScopeMappingRequest, TypeCreate, UsedBy } from '../models';
14
14
  export interface PropertymappingsAllDestroyRequest {
15
15
  pmUuid: string;
16
16
  }
@@ -326,6 +326,35 @@ export interface PropertymappingsSourceOauthUpdateRequest {
326
326
  export interface PropertymappingsSourceOauthUsedByListRequest {
327
327
  pmUuid: string;
328
328
  }
329
+ export interface PropertymappingsSourcePlexCreateRequest {
330
+ plexSourcePropertyMappingRequest: PlexSourcePropertyMappingRequest;
331
+ }
332
+ export interface PropertymappingsSourcePlexDestroyRequest {
333
+ pmUuid: string;
334
+ }
335
+ export interface PropertymappingsSourcePlexListRequest {
336
+ managed?: Array<string>;
337
+ managedIsnull?: boolean;
338
+ name?: string;
339
+ ordering?: string;
340
+ page?: number;
341
+ pageSize?: number;
342
+ search?: string;
343
+ }
344
+ export interface PropertymappingsSourcePlexPartialUpdateRequest {
345
+ pmUuid: string;
346
+ patchedPlexSourcePropertyMappingRequest?: PatchedPlexSourcePropertyMappingRequest;
347
+ }
348
+ export interface PropertymappingsSourcePlexRetrieveRequest {
349
+ pmUuid: string;
350
+ }
351
+ export interface PropertymappingsSourcePlexUpdateRequest {
352
+ pmUuid: string;
353
+ plexSourcePropertyMappingRequest: PlexSourcePropertyMappingRequest;
354
+ }
355
+ export interface PropertymappingsSourcePlexUsedByListRequest {
356
+ pmUuid: string;
357
+ }
329
358
  export interface PropertymappingsSourceSamlCreateRequest {
330
359
  sAMLSourcePropertyMappingRequest: SAMLSourcePropertyMappingRequest;
331
360
  }
@@ -996,6 +1025,62 @@ export declare class PropertymappingsApi extends runtime.BaseAPI {
996
1025
  * Get a list of all objects that use this object
997
1026
  */
998
1027
  propertymappingsSourceOauthUsedByList(requestParameters: PropertymappingsSourceOauthUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
1028
+ /**
1029
+ * PlexSourcePropertyMapping Viewset
1030
+ */
1031
+ propertymappingsSourcePlexCreateRaw(requestParameters: PropertymappingsSourcePlexCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PlexSourcePropertyMapping>>;
1032
+ /**
1033
+ * PlexSourcePropertyMapping Viewset
1034
+ */
1035
+ propertymappingsSourcePlexCreate(requestParameters: PropertymappingsSourcePlexCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PlexSourcePropertyMapping>;
1036
+ /**
1037
+ * PlexSourcePropertyMapping Viewset
1038
+ */
1039
+ propertymappingsSourcePlexDestroyRaw(requestParameters: PropertymappingsSourcePlexDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
1040
+ /**
1041
+ * PlexSourcePropertyMapping Viewset
1042
+ */
1043
+ propertymappingsSourcePlexDestroy(requestParameters: PropertymappingsSourcePlexDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1044
+ /**
1045
+ * PlexSourcePropertyMapping Viewset
1046
+ */
1047
+ propertymappingsSourcePlexListRaw(requestParameters: PropertymappingsSourcePlexListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedPlexSourcePropertyMappingList>>;
1048
+ /**
1049
+ * PlexSourcePropertyMapping Viewset
1050
+ */
1051
+ propertymappingsSourcePlexList(requestParameters?: PropertymappingsSourcePlexListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedPlexSourcePropertyMappingList>;
1052
+ /**
1053
+ * PlexSourcePropertyMapping Viewset
1054
+ */
1055
+ propertymappingsSourcePlexPartialUpdateRaw(requestParameters: PropertymappingsSourcePlexPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PlexSourcePropertyMapping>>;
1056
+ /**
1057
+ * PlexSourcePropertyMapping Viewset
1058
+ */
1059
+ propertymappingsSourcePlexPartialUpdate(requestParameters: PropertymappingsSourcePlexPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PlexSourcePropertyMapping>;
1060
+ /**
1061
+ * PlexSourcePropertyMapping Viewset
1062
+ */
1063
+ propertymappingsSourcePlexRetrieveRaw(requestParameters: PropertymappingsSourcePlexRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PlexSourcePropertyMapping>>;
1064
+ /**
1065
+ * PlexSourcePropertyMapping Viewset
1066
+ */
1067
+ propertymappingsSourcePlexRetrieve(requestParameters: PropertymappingsSourcePlexRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PlexSourcePropertyMapping>;
1068
+ /**
1069
+ * PlexSourcePropertyMapping Viewset
1070
+ */
1071
+ propertymappingsSourcePlexUpdateRaw(requestParameters: PropertymappingsSourcePlexUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PlexSourcePropertyMapping>>;
1072
+ /**
1073
+ * PlexSourcePropertyMapping Viewset
1074
+ */
1075
+ propertymappingsSourcePlexUpdate(requestParameters: PropertymappingsSourcePlexUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PlexSourcePropertyMapping>;
1076
+ /**
1077
+ * Get a list of all objects that use this object
1078
+ */
1079
+ propertymappingsSourcePlexUsedByListRaw(requestParameters: PropertymappingsSourcePlexUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>>;
1080
+ /**
1081
+ * Get a list of all objects that use this object
1082
+ */
1083
+ propertymappingsSourcePlexUsedByList(requestParameters: PropertymappingsSourcePlexUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
999
1084
  /**
1000
1085
  * SAMLSourcePropertyMapping Viewset
1001
1086
  */
@@ -2974,6 +2974,277 @@ class PropertymappingsApi extends runtime.BaseAPI {
2974
2974
  return yield response.value();
2975
2975
  });
2976
2976
  }
2977
+ /**
2978
+ * PlexSourcePropertyMapping Viewset
2979
+ */
2980
+ propertymappingsSourcePlexCreateRaw(requestParameters, initOverrides) {
2981
+ return __awaiter(this, void 0, void 0, function* () {
2982
+ if (requestParameters.plexSourcePropertyMappingRequest === null || requestParameters.plexSourcePropertyMappingRequest === undefined) {
2983
+ throw new runtime.RequiredError('plexSourcePropertyMappingRequest', 'Required parameter requestParameters.plexSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourcePlexCreate.');
2984
+ }
2985
+ const queryParameters = {};
2986
+ const headerParameters = {};
2987
+ headerParameters['Content-Type'] = 'application/json';
2988
+ if (this.configuration && this.configuration.accessToken) {
2989
+ const token = this.configuration.accessToken;
2990
+ const tokenString = yield token("authentik", []);
2991
+ if (tokenString) {
2992
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2993
+ }
2994
+ }
2995
+ const response = yield this.request({
2996
+ path: `/propertymappings/source/plex/`,
2997
+ method: 'POST',
2998
+ headers: headerParameters,
2999
+ query: queryParameters,
3000
+ body: (0, models_1.PlexSourcePropertyMappingRequestToJSON)(requestParameters.plexSourcePropertyMappingRequest),
3001
+ }, initOverrides);
3002
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.PlexSourcePropertyMappingFromJSON)(jsonValue));
3003
+ });
3004
+ }
3005
+ /**
3006
+ * PlexSourcePropertyMapping Viewset
3007
+ */
3008
+ propertymappingsSourcePlexCreate(requestParameters, initOverrides) {
3009
+ return __awaiter(this, void 0, void 0, function* () {
3010
+ const response = yield this.propertymappingsSourcePlexCreateRaw(requestParameters, initOverrides);
3011
+ return yield response.value();
3012
+ });
3013
+ }
3014
+ /**
3015
+ * PlexSourcePropertyMapping Viewset
3016
+ */
3017
+ propertymappingsSourcePlexDestroyRaw(requestParameters, initOverrides) {
3018
+ return __awaiter(this, void 0, void 0, function* () {
3019
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
3020
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexDestroy.');
3021
+ }
3022
+ const queryParameters = {};
3023
+ const headerParameters = {};
3024
+ if (this.configuration && this.configuration.accessToken) {
3025
+ const token = this.configuration.accessToken;
3026
+ const tokenString = yield token("authentik", []);
3027
+ if (tokenString) {
3028
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3029
+ }
3030
+ }
3031
+ const response = yield this.request({
3032
+ path: `/propertymappings/source/plex/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
3033
+ method: 'DELETE',
3034
+ headers: headerParameters,
3035
+ query: queryParameters,
3036
+ }, initOverrides);
3037
+ return new runtime.VoidApiResponse(response);
3038
+ });
3039
+ }
3040
+ /**
3041
+ * PlexSourcePropertyMapping Viewset
3042
+ */
3043
+ propertymappingsSourcePlexDestroy(requestParameters, initOverrides) {
3044
+ return __awaiter(this, void 0, void 0, function* () {
3045
+ yield this.propertymappingsSourcePlexDestroyRaw(requestParameters, initOverrides);
3046
+ });
3047
+ }
3048
+ /**
3049
+ * PlexSourcePropertyMapping Viewset
3050
+ */
3051
+ propertymappingsSourcePlexListRaw(requestParameters, initOverrides) {
3052
+ return __awaiter(this, void 0, void 0, function* () {
3053
+ const queryParameters = {};
3054
+ if (requestParameters.managed) {
3055
+ queryParameters['managed'] = requestParameters.managed;
3056
+ }
3057
+ if (requestParameters.managedIsnull !== undefined) {
3058
+ queryParameters['managed__isnull'] = requestParameters.managedIsnull;
3059
+ }
3060
+ if (requestParameters.name !== undefined) {
3061
+ queryParameters['name'] = requestParameters.name;
3062
+ }
3063
+ if (requestParameters.ordering !== undefined) {
3064
+ queryParameters['ordering'] = requestParameters.ordering;
3065
+ }
3066
+ if (requestParameters.page !== undefined) {
3067
+ queryParameters['page'] = requestParameters.page;
3068
+ }
3069
+ if (requestParameters.pageSize !== undefined) {
3070
+ queryParameters['page_size'] = requestParameters.pageSize;
3071
+ }
3072
+ if (requestParameters.search !== undefined) {
3073
+ queryParameters['search'] = requestParameters.search;
3074
+ }
3075
+ const headerParameters = {};
3076
+ if (this.configuration && this.configuration.accessToken) {
3077
+ const token = this.configuration.accessToken;
3078
+ const tokenString = yield token("authentik", []);
3079
+ if (tokenString) {
3080
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3081
+ }
3082
+ }
3083
+ const response = yield this.request({
3084
+ path: `/propertymappings/source/plex/`,
3085
+ method: 'GET',
3086
+ headers: headerParameters,
3087
+ query: queryParameters,
3088
+ }, initOverrides);
3089
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.PaginatedPlexSourcePropertyMappingListFromJSON)(jsonValue));
3090
+ });
3091
+ }
3092
+ /**
3093
+ * PlexSourcePropertyMapping Viewset
3094
+ */
3095
+ propertymappingsSourcePlexList(requestParameters = {}, initOverrides) {
3096
+ return __awaiter(this, void 0, void 0, function* () {
3097
+ const response = yield this.propertymappingsSourcePlexListRaw(requestParameters, initOverrides);
3098
+ return yield response.value();
3099
+ });
3100
+ }
3101
+ /**
3102
+ * PlexSourcePropertyMapping Viewset
3103
+ */
3104
+ propertymappingsSourcePlexPartialUpdateRaw(requestParameters, initOverrides) {
3105
+ return __awaiter(this, void 0, void 0, function* () {
3106
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
3107
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexPartialUpdate.');
3108
+ }
3109
+ const queryParameters = {};
3110
+ const headerParameters = {};
3111
+ headerParameters['Content-Type'] = 'application/json';
3112
+ if (this.configuration && this.configuration.accessToken) {
3113
+ const token = this.configuration.accessToken;
3114
+ const tokenString = yield token("authentik", []);
3115
+ if (tokenString) {
3116
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3117
+ }
3118
+ }
3119
+ const response = yield this.request({
3120
+ path: `/propertymappings/source/plex/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
3121
+ method: 'PATCH',
3122
+ headers: headerParameters,
3123
+ query: queryParameters,
3124
+ body: (0, models_1.PatchedPlexSourcePropertyMappingRequestToJSON)(requestParameters.patchedPlexSourcePropertyMappingRequest),
3125
+ }, initOverrides);
3126
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.PlexSourcePropertyMappingFromJSON)(jsonValue));
3127
+ });
3128
+ }
3129
+ /**
3130
+ * PlexSourcePropertyMapping Viewset
3131
+ */
3132
+ propertymappingsSourcePlexPartialUpdate(requestParameters, initOverrides) {
3133
+ return __awaiter(this, void 0, void 0, function* () {
3134
+ const response = yield this.propertymappingsSourcePlexPartialUpdateRaw(requestParameters, initOverrides);
3135
+ return yield response.value();
3136
+ });
3137
+ }
3138
+ /**
3139
+ * PlexSourcePropertyMapping Viewset
3140
+ */
3141
+ propertymappingsSourcePlexRetrieveRaw(requestParameters, initOverrides) {
3142
+ return __awaiter(this, void 0, void 0, function* () {
3143
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
3144
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexRetrieve.');
3145
+ }
3146
+ const queryParameters = {};
3147
+ const headerParameters = {};
3148
+ if (this.configuration && this.configuration.accessToken) {
3149
+ const token = this.configuration.accessToken;
3150
+ const tokenString = yield token("authentik", []);
3151
+ if (tokenString) {
3152
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3153
+ }
3154
+ }
3155
+ const response = yield this.request({
3156
+ path: `/propertymappings/source/plex/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
3157
+ method: 'GET',
3158
+ headers: headerParameters,
3159
+ query: queryParameters,
3160
+ }, initOverrides);
3161
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.PlexSourcePropertyMappingFromJSON)(jsonValue));
3162
+ });
3163
+ }
3164
+ /**
3165
+ * PlexSourcePropertyMapping Viewset
3166
+ */
3167
+ propertymappingsSourcePlexRetrieve(requestParameters, initOverrides) {
3168
+ return __awaiter(this, void 0, void 0, function* () {
3169
+ const response = yield this.propertymappingsSourcePlexRetrieveRaw(requestParameters, initOverrides);
3170
+ return yield response.value();
3171
+ });
3172
+ }
3173
+ /**
3174
+ * PlexSourcePropertyMapping Viewset
3175
+ */
3176
+ propertymappingsSourcePlexUpdateRaw(requestParameters, initOverrides) {
3177
+ return __awaiter(this, void 0, void 0, function* () {
3178
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
3179
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexUpdate.');
3180
+ }
3181
+ if (requestParameters.plexSourcePropertyMappingRequest === null || requestParameters.plexSourcePropertyMappingRequest === undefined) {
3182
+ throw new runtime.RequiredError('plexSourcePropertyMappingRequest', 'Required parameter requestParameters.plexSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourcePlexUpdate.');
3183
+ }
3184
+ const queryParameters = {};
3185
+ const headerParameters = {};
3186
+ headerParameters['Content-Type'] = 'application/json';
3187
+ if (this.configuration && this.configuration.accessToken) {
3188
+ const token = this.configuration.accessToken;
3189
+ const tokenString = yield token("authentik", []);
3190
+ if (tokenString) {
3191
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3192
+ }
3193
+ }
3194
+ const response = yield this.request({
3195
+ path: `/propertymappings/source/plex/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
3196
+ method: 'PUT',
3197
+ headers: headerParameters,
3198
+ query: queryParameters,
3199
+ body: (0, models_1.PlexSourcePropertyMappingRequestToJSON)(requestParameters.plexSourcePropertyMappingRequest),
3200
+ }, initOverrides);
3201
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.PlexSourcePropertyMappingFromJSON)(jsonValue));
3202
+ });
3203
+ }
3204
+ /**
3205
+ * PlexSourcePropertyMapping Viewset
3206
+ */
3207
+ propertymappingsSourcePlexUpdate(requestParameters, initOverrides) {
3208
+ return __awaiter(this, void 0, void 0, function* () {
3209
+ const response = yield this.propertymappingsSourcePlexUpdateRaw(requestParameters, initOverrides);
3210
+ return yield response.value();
3211
+ });
3212
+ }
3213
+ /**
3214
+ * Get a list of all objects that use this object
3215
+ */
3216
+ propertymappingsSourcePlexUsedByListRaw(requestParameters, initOverrides) {
3217
+ return __awaiter(this, void 0, void 0, function* () {
3218
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
3219
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexUsedByList.');
3220
+ }
3221
+ const queryParameters = {};
3222
+ const headerParameters = {};
3223
+ if (this.configuration && this.configuration.accessToken) {
3224
+ const token = this.configuration.accessToken;
3225
+ const tokenString = yield token("authentik", []);
3226
+ if (tokenString) {
3227
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3228
+ }
3229
+ }
3230
+ const response = yield this.request({
3231
+ path: `/propertymappings/source/plex/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
3232
+ method: 'GET',
3233
+ headers: headerParameters,
3234
+ query: queryParameters,
3235
+ }, initOverrides);
3236
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(models_1.UsedByFromJSON));
3237
+ });
3238
+ }
3239
+ /**
3240
+ * Get a list of all objects that use this object
3241
+ */
3242
+ propertymappingsSourcePlexUsedByList(requestParameters, initOverrides) {
3243
+ return __awaiter(this, void 0, void 0, function* () {
3244
+ const response = yield this.propertymappingsSourcePlexUsedByListRaw(requestParameters, initOverrides);
3245
+ return yield response.value();
3246
+ });
3247
+ }
2977
3248
  /**
2978
3249
  * SAMLSourcePropertyMapping Viewset
2979
3250
  */
@@ -385,8 +385,10 @@ export declare const RbacPermissionsAssignedByRolesListModelEnum: {
385
385
  readonly SourcesOauthOauthsource: "authentik_sources_oauth.oauthsource";
386
386
  readonly SourcesOauthOauthsourcepropertymapping: "authentik_sources_oauth.oauthsourcepropertymapping";
387
387
  readonly SourcesOauthUseroauthsourceconnection: "authentik_sources_oauth.useroauthsourceconnection";
388
+ readonly SourcesPlexGroupplexsourceconnection: "authentik_sources_plex.groupplexsourceconnection";
388
389
  readonly SourcesPlexPlexsource: "authentik_sources_plex.plexsource";
389
- readonly SourcesPlexPlexsourceconnection: "authentik_sources_plex.plexsourceconnection";
390
+ readonly SourcesPlexPlexsourcepropertymapping: "authentik_sources_plex.plexsourcepropertymapping";
391
+ readonly SourcesPlexUserplexsourceconnection: "authentik_sources_plex.userplexsourceconnection";
390
392
  readonly SourcesSamlGroupsamlsourceconnection: "authentik_sources_saml.groupsamlsourceconnection";
391
393
  readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
392
394
  readonly SourcesSamlSamlsourcepropertymapping: "authentik_sources_saml.samlsourcepropertymapping";
@@ -479,8 +481,10 @@ export declare const RbacPermissionsAssignedByUsersListModelEnum: {
479
481
  readonly SourcesOauthOauthsource: "authentik_sources_oauth.oauthsource";
480
482
  readonly SourcesOauthOauthsourcepropertymapping: "authentik_sources_oauth.oauthsourcepropertymapping";
481
483
  readonly SourcesOauthUseroauthsourceconnection: "authentik_sources_oauth.useroauthsourceconnection";
484
+ readonly SourcesPlexGroupplexsourceconnection: "authentik_sources_plex.groupplexsourceconnection";
482
485
  readonly SourcesPlexPlexsource: "authentik_sources_plex.plexsource";
483
- readonly SourcesPlexPlexsourceconnection: "authentik_sources_plex.plexsourceconnection";
486
+ readonly SourcesPlexPlexsourcepropertymapping: "authentik_sources_plex.plexsourcepropertymapping";
487
+ readonly SourcesPlexUserplexsourceconnection: "authentik_sources_plex.userplexsourceconnection";
484
488
  readonly SourcesSamlGroupsamlsourceconnection: "authentik_sources_saml.groupsamlsourceconnection";
485
489
  readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
486
490
  readonly SourcesSamlSamlsourcepropertymapping: "authentik_sources_saml.samlsourcepropertymapping";
@@ -1088,8 +1088,10 @@ exports.RbacPermissionsAssignedByRolesListModelEnum = {
1088
1088
  SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
1089
1089
  SourcesOauthOauthsourcepropertymapping: 'authentik_sources_oauth.oauthsourcepropertymapping',
1090
1090
  SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
1091
+ SourcesPlexGroupplexsourceconnection: 'authentik_sources_plex.groupplexsourceconnection',
1091
1092
  SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
1092
- SourcesPlexPlexsourceconnection: 'authentik_sources_plex.plexsourceconnection',
1093
+ SourcesPlexPlexsourcepropertymapping: 'authentik_sources_plex.plexsourcepropertymapping',
1094
+ SourcesPlexUserplexsourceconnection: 'authentik_sources_plex.userplexsourceconnection',
1093
1095
  SourcesSamlGroupsamlsourceconnection: 'authentik_sources_saml.groupsamlsourceconnection',
1094
1096
  SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
1095
1097
  SourcesSamlSamlsourcepropertymapping: 'authentik_sources_saml.samlsourcepropertymapping',
@@ -1181,8 +1183,10 @@ exports.RbacPermissionsAssignedByUsersListModelEnum = {
1181
1183
  SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
1182
1184
  SourcesOauthOauthsourcepropertymapping: 'authentik_sources_oauth.oauthsourcepropertymapping',
1183
1185
  SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
1186
+ SourcesPlexGroupplexsourceconnection: 'authentik_sources_plex.groupplexsourceconnection',
1184
1187
  SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
1185
- SourcesPlexPlexsourceconnection: 'authentik_sources_plex.plexsourceconnection',
1188
+ SourcesPlexPlexsourcepropertymapping: 'authentik_sources_plex.plexsourcepropertymapping',
1189
+ SourcesPlexUserplexsourceconnection: 'authentik_sources_plex.userplexsourceconnection',
1186
1190
  SourcesSamlGroupsamlsourceconnection: 'authentik_sources_saml.groupsamlsourceconnection',
1187
1191
  SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
1188
1192
  SourcesSamlSamlsourcepropertymapping: 'authentik_sources_saml.samlsourcepropertymapping',