@goauthentik/api 2024.6.3-1723053526 → 2024.6.3-1723206419

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/.openapi-generator/FILES +11 -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/LicenseSummary.d.ts +3 -26
  17. package/dist/esm/models/LicenseSummary.js +4 -15
  18. package/dist/esm/models/LicenseSummaryStatusEnum.d.ts +29 -0
  19. package/dist/esm/models/LicenseSummaryStatusEnum.js +36 -0
  20. package/dist/esm/models/ModelEnum.d.ts +3 -1
  21. package/dist/esm/models/ModelEnum.js +3 -1
  22. package/dist/esm/models/PaginatedGroupPlexSourceConnectionList.d.ts +39 -0
  23. package/dist/esm/models/PaginatedGroupPlexSourceConnectionList.js +48 -0
  24. package/dist/esm/models/PaginatedPlexSourcePropertyMappingList.d.ts +39 -0
  25. package/dist/esm/models/PaginatedPlexSourcePropertyMappingList.js +48 -0
  26. package/dist/esm/models/PaginatedUserPlexSourceConnectionList.d.ts +39 -0
  27. package/dist/esm/models/{PaginatedPlexSourceConnectionList.js → PaginatedUserPlexSourceConnectionList.js} +9 -9
  28. package/dist/esm/models/PatchedPlexSourcePropertyMappingRequest.d.ts +43 -0
  29. package/dist/esm/models/PatchedPlexSourcePropertyMappingRequest.js +47 -0
  30. package/dist/esm/models/PatchedPlexSourceRequest.d.ts +7 -0
  31. package/dist/esm/models/PatchedPlexSourceRequest.js +3 -0
  32. package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +37 -0
  33. package/dist/esm/models/{PatchedPlexSourceConnectionRequest.js → PatchedUserPlexSourceConnectionRequest.js} +6 -6
  34. package/dist/esm/models/PlexSource.d.ts +7 -0
  35. package/dist/esm/models/PlexSource.js +3 -0
  36. package/dist/esm/models/PlexSourcePropertyMapping.d.ts +73 -0
  37. package/dist/esm/models/PlexSourcePropertyMapping.js +59 -0
  38. package/dist/esm/models/PlexSourcePropertyMappingRequest.d.ts +43 -0
  39. package/dist/esm/models/PlexSourcePropertyMappingRequest.js +49 -0
  40. package/dist/esm/models/PlexSourceRequest.d.ts +7 -0
  41. package/dist/esm/models/PlexSourceRequest.js +3 -0
  42. package/dist/esm/models/UserPlexSourceConnection.d.ts +56 -0
  43. package/dist/esm/models/{PlexSourceConnection.js → UserPlexSourceConnection.js} +6 -6
  44. package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +37 -0
  45. package/dist/esm/models/{PlexSourceConnectionRequest.js → UserPlexSourceConnectionRequest.js} +6 -6
  46. package/dist/esm/models/index.d.ts +11 -4
  47. package/dist/esm/models/index.js +11 -4
  48. package/dist/models/GroupPlexSourceConnection.d.ts +56 -0
  49. package/dist/models/GroupPlexSourceConnection.js +57 -0
  50. package/dist/models/LicenseSummary.d.ts +3 -26
  51. package/dist/models/LicenseSummary.js +4 -15
  52. package/dist/models/LicenseSummaryStatusEnum.d.ts +29 -0
  53. package/dist/models/LicenseSummaryStatusEnum.js +42 -0
  54. package/dist/models/ModelEnum.d.ts +3 -1
  55. package/dist/models/ModelEnum.js +3 -1
  56. package/dist/models/PaginatedGroupPlexSourceConnectionList.d.ts +39 -0
  57. package/dist/models/PaginatedGroupPlexSourceConnectionList.js +55 -0
  58. package/dist/models/PaginatedPlexSourcePropertyMappingList.d.ts +39 -0
  59. package/dist/models/PaginatedPlexSourcePropertyMappingList.js +55 -0
  60. package/dist/models/PaginatedUserPlexSourceConnectionList.d.ts +39 -0
  61. package/dist/models/PaginatedUserPlexSourceConnectionList.js +55 -0
  62. package/dist/models/PatchedPlexSourcePropertyMappingRequest.d.ts +43 -0
  63. package/dist/models/PatchedPlexSourcePropertyMappingRequest.js +54 -0
  64. package/dist/models/PatchedPlexSourceRequest.d.ts +7 -0
  65. package/dist/models/PatchedPlexSourceRequest.js +3 -0
  66. package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +37 -0
  67. package/dist/models/PatchedUserPlexSourceConnectionRequest.js +52 -0
  68. package/dist/models/PlexSource.d.ts +7 -0
  69. package/dist/models/PlexSource.js +3 -0
  70. package/dist/models/PlexSourcePropertyMapping.d.ts +73 -0
  71. package/dist/models/PlexSourcePropertyMapping.js +66 -0
  72. package/dist/models/PlexSourcePropertyMappingRequest.d.ts +43 -0
  73. package/dist/models/PlexSourcePropertyMappingRequest.js +56 -0
  74. package/dist/models/PlexSourceRequest.d.ts +7 -0
  75. package/dist/models/PlexSourceRequest.js +3 -0
  76. package/dist/models/UserPlexSourceConnection.d.ts +56 -0
  77. package/dist/models/{PlexSourceConnection.js → UserPlexSourceConnection.js} +11 -11
  78. package/dist/models/UserPlexSourceConnectionRequest.d.ts +37 -0
  79. package/dist/models/UserPlexSourceConnectionRequest.js +53 -0
  80. package/dist/models/index.d.ts +11 -4
  81. package/dist/models/index.js +11 -4
  82. package/package.json +1 -1
  83. package/src/apis/PropertymappingsApi.ts +350 -0
  84. package/src/apis/RbacApi.ts +6 -2
  85. package/src/apis/SourcesApi.ts +368 -37
  86. package/src/models/GroupPlexSourceConnection.ts +104 -0
  87. package/src/models/LicenseSummary.ts +12 -41
  88. package/src/models/LicenseSummaryStatusEnum.ts +44 -0
  89. package/src/models/ModelEnum.ts +3 -1
  90. package/src/models/PaginatedGroupPlexSourceConnectionList.ts +88 -0
  91. package/src/models/{PaginatedPlexSourceConnectionList.ts → PaginatedPlexSourcePropertyMappingList.ts} +19 -19
  92. package/src/models/PaginatedUserPlexSourceConnectionList.ts +88 -0
  93. package/src/models/PatchedPlexSourcePropertyMappingRequest.ts +81 -0
  94. package/src/models/PatchedPlexSourceRequest.ts +14 -0
  95. package/src/models/{PatchedPlexSourceConnectionRequest.ts → PatchedUserPlexSourceConnectionRequest.ts} +10 -10
  96. package/src/models/PlexSource.ts +14 -0
  97. package/src/models/PlexSourcePropertyMapping.ts +123 -0
  98. package/src/models/PlexSourcePropertyMappingRequest.ts +83 -0
  99. package/src/models/PlexSourceRequest.ts +14 -0
  100. package/src/models/{PlexSourceConnection.ts → UserPlexSourceConnection.ts} +13 -13
  101. package/src/models/{PlexSourceConnectionRequest.ts → UserPlexSourceConnectionRequest.ts} +10 -10
  102. package/src/models/index.ts +11 -4
  103. package/dist/esm/models/PaginatedPlexSourceConnectionList.d.ts +0 -39
  104. package/dist/esm/models/PatchedPlexSourceConnectionRequest.d.ts +0 -37
  105. package/dist/esm/models/PlexSourceConnection.d.ts +0 -56
  106. package/dist/esm/models/PlexSourceConnectionRequest.d.ts +0 -37
  107. package/dist/models/PaginatedPlexSourceConnectionList.d.ts +0 -39
  108. package/dist/models/PaginatedPlexSourceConnectionList.js +0 -55
  109. package/dist/models/PatchedPlexSourceConnectionRequest.d.ts +0 -37
  110. package/dist/models/PatchedPlexSourceConnectionRequest.js +0 -52
  111. package/dist/models/PlexSourceConnection.d.ts +0 -56
  112. package/dist/models/PlexSourceConnectionRequest.d.ts +0 -37
  113. package/dist/models/PlexSourceConnectionRequest.js +0 -53
@@ -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
  */
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { GoogleWorkspaceProviderMappingFromJSON, GoogleWorkspaceProviderMappingRequestToJSON, LDAPSourcePropertyMappingFromJSON, LDAPSourcePropertyMappingRequestToJSON, MicrosoftEntraProviderMappingFromJSON, MicrosoftEntraProviderMappingRequestToJSON, NotificationWebhookMappingFromJSON, NotificationWebhookMappingRequestToJSON, OAuthSourcePropertyMappingFromJSON, OAuthSourcePropertyMappingRequestToJSON, PaginatedGoogleWorkspaceProviderMappingListFromJSON, PaginatedLDAPSourcePropertyMappingListFromJSON, PaginatedMicrosoftEntraProviderMappingListFromJSON, PaginatedNotificationWebhookMappingListFromJSON, PaginatedOAuthSourcePropertyMappingListFromJSON, PaginatedPropertyMappingListFromJSON, PaginatedRACPropertyMappingListFromJSON, PaginatedRadiusProviderPropertyMappingListFromJSON, PaginatedSAMLPropertyMappingListFromJSON, PaginatedSAMLSourcePropertyMappingListFromJSON, PaginatedSCIMMappingListFromJSON, PaginatedSCIMSourcePropertyMappingListFromJSON, PaginatedScopeMappingListFromJSON, PatchedGoogleWorkspaceProviderMappingRequestToJSON, PatchedLDAPSourcePropertyMappingRequestToJSON, PatchedMicrosoftEntraProviderMappingRequestToJSON, PatchedNotificationWebhookMappingRequestToJSON, PatchedOAuthSourcePropertyMappingRequestToJSON, PatchedRACPropertyMappingRequestToJSON, PatchedRadiusProviderPropertyMappingRequestToJSON, PatchedSAMLPropertyMappingRequestToJSON, PatchedSAMLSourcePropertyMappingRequestToJSON, PatchedSCIMMappingRequestToJSON, PatchedSCIMSourcePropertyMappingRequestToJSON, PatchedScopeMappingRequestToJSON, PropertyMappingFromJSON, PropertyMappingTestRequestToJSON, PropertyMappingTestResultFromJSON, RACPropertyMappingFromJSON, RACPropertyMappingRequestToJSON, RadiusProviderPropertyMappingFromJSON, RadiusProviderPropertyMappingRequestToJSON, SAMLPropertyMappingFromJSON, SAMLPropertyMappingRequestToJSON, SAMLSourcePropertyMappingFromJSON, SAMLSourcePropertyMappingRequestToJSON, SCIMMappingFromJSON, SCIMMappingRequestToJSON, SCIMSourcePropertyMappingFromJSON, SCIMSourcePropertyMappingRequestToJSON, ScopeMappingFromJSON, ScopeMappingRequestToJSON, TypeCreateFromJSON, UsedByFromJSON, } from '../models';
24
+ import { GoogleWorkspaceProviderMappingFromJSON, GoogleWorkspaceProviderMappingRequestToJSON, LDAPSourcePropertyMappingFromJSON, LDAPSourcePropertyMappingRequestToJSON, MicrosoftEntraProviderMappingFromJSON, MicrosoftEntraProviderMappingRequestToJSON, NotificationWebhookMappingFromJSON, NotificationWebhookMappingRequestToJSON, OAuthSourcePropertyMappingFromJSON, OAuthSourcePropertyMappingRequestToJSON, PaginatedGoogleWorkspaceProviderMappingListFromJSON, PaginatedLDAPSourcePropertyMappingListFromJSON, PaginatedMicrosoftEntraProviderMappingListFromJSON, PaginatedNotificationWebhookMappingListFromJSON, PaginatedOAuthSourcePropertyMappingListFromJSON, PaginatedPlexSourcePropertyMappingListFromJSON, PaginatedPropertyMappingListFromJSON, PaginatedRACPropertyMappingListFromJSON, PaginatedRadiusProviderPropertyMappingListFromJSON, PaginatedSAMLPropertyMappingListFromJSON, PaginatedSAMLSourcePropertyMappingListFromJSON, PaginatedSCIMMappingListFromJSON, PaginatedSCIMSourcePropertyMappingListFromJSON, PaginatedScopeMappingListFromJSON, PatchedGoogleWorkspaceProviderMappingRequestToJSON, PatchedLDAPSourcePropertyMappingRequestToJSON, PatchedMicrosoftEntraProviderMappingRequestToJSON, PatchedNotificationWebhookMappingRequestToJSON, PatchedOAuthSourcePropertyMappingRequestToJSON, PatchedPlexSourcePropertyMappingRequestToJSON, PatchedRACPropertyMappingRequestToJSON, PatchedRadiusProviderPropertyMappingRequestToJSON, PatchedSAMLPropertyMappingRequestToJSON, PatchedSAMLSourcePropertyMappingRequestToJSON, PatchedSCIMMappingRequestToJSON, PatchedSCIMSourcePropertyMappingRequestToJSON, PatchedScopeMappingRequestToJSON, PlexSourcePropertyMappingFromJSON, PlexSourcePropertyMappingRequestToJSON, PropertyMappingFromJSON, PropertyMappingTestRequestToJSON, PropertyMappingTestResultFromJSON, RACPropertyMappingFromJSON, RACPropertyMappingRequestToJSON, RadiusProviderPropertyMappingFromJSON, RadiusProviderPropertyMappingRequestToJSON, SAMLPropertyMappingFromJSON, SAMLPropertyMappingRequestToJSON, SAMLSourcePropertyMappingFromJSON, SAMLSourcePropertyMappingRequestToJSON, SCIMMappingFromJSON, SCIMMappingRequestToJSON, SCIMSourcePropertyMappingFromJSON, SCIMSourcePropertyMappingRequestToJSON, ScopeMappingFromJSON, ScopeMappingRequestToJSON, TypeCreateFromJSON, UsedByFromJSON, } from '../models';
25
25
  /**
26
26
  *
27
27
  */
@@ -2971,6 +2971,277 @@ export class PropertymappingsApi extends runtime.BaseAPI {
2971
2971
  return yield response.value();
2972
2972
  });
2973
2973
  }
2974
+ /**
2975
+ * PlexSourcePropertyMapping Viewset
2976
+ */
2977
+ propertymappingsSourcePlexCreateRaw(requestParameters, initOverrides) {
2978
+ return __awaiter(this, void 0, void 0, function* () {
2979
+ if (requestParameters.plexSourcePropertyMappingRequest === null || requestParameters.plexSourcePropertyMappingRequest === undefined) {
2980
+ throw new runtime.RequiredError('plexSourcePropertyMappingRequest', 'Required parameter requestParameters.plexSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourcePlexCreate.');
2981
+ }
2982
+ const queryParameters = {};
2983
+ const headerParameters = {};
2984
+ headerParameters['Content-Type'] = 'application/json';
2985
+ if (this.configuration && this.configuration.accessToken) {
2986
+ const token = this.configuration.accessToken;
2987
+ const tokenString = yield token("authentik", []);
2988
+ if (tokenString) {
2989
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2990
+ }
2991
+ }
2992
+ const response = yield this.request({
2993
+ path: `/propertymappings/source/plex/`,
2994
+ method: 'POST',
2995
+ headers: headerParameters,
2996
+ query: queryParameters,
2997
+ body: PlexSourcePropertyMappingRequestToJSON(requestParameters.plexSourcePropertyMappingRequest),
2998
+ }, initOverrides);
2999
+ return new runtime.JSONApiResponse(response, (jsonValue) => PlexSourcePropertyMappingFromJSON(jsonValue));
3000
+ });
3001
+ }
3002
+ /**
3003
+ * PlexSourcePropertyMapping Viewset
3004
+ */
3005
+ propertymappingsSourcePlexCreate(requestParameters, initOverrides) {
3006
+ return __awaiter(this, void 0, void 0, function* () {
3007
+ const response = yield this.propertymappingsSourcePlexCreateRaw(requestParameters, initOverrides);
3008
+ return yield response.value();
3009
+ });
3010
+ }
3011
+ /**
3012
+ * PlexSourcePropertyMapping Viewset
3013
+ */
3014
+ propertymappingsSourcePlexDestroyRaw(requestParameters, initOverrides) {
3015
+ return __awaiter(this, void 0, void 0, function* () {
3016
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
3017
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexDestroy.');
3018
+ }
3019
+ const queryParameters = {};
3020
+ const headerParameters = {};
3021
+ if (this.configuration && this.configuration.accessToken) {
3022
+ const token = this.configuration.accessToken;
3023
+ const tokenString = yield token("authentik", []);
3024
+ if (tokenString) {
3025
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3026
+ }
3027
+ }
3028
+ const response = yield this.request({
3029
+ path: `/propertymappings/source/plex/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
3030
+ method: 'DELETE',
3031
+ headers: headerParameters,
3032
+ query: queryParameters,
3033
+ }, initOverrides);
3034
+ return new runtime.VoidApiResponse(response);
3035
+ });
3036
+ }
3037
+ /**
3038
+ * PlexSourcePropertyMapping Viewset
3039
+ */
3040
+ propertymappingsSourcePlexDestroy(requestParameters, initOverrides) {
3041
+ return __awaiter(this, void 0, void 0, function* () {
3042
+ yield this.propertymappingsSourcePlexDestroyRaw(requestParameters, initOverrides);
3043
+ });
3044
+ }
3045
+ /**
3046
+ * PlexSourcePropertyMapping Viewset
3047
+ */
3048
+ propertymappingsSourcePlexListRaw(requestParameters, initOverrides) {
3049
+ return __awaiter(this, void 0, void 0, function* () {
3050
+ const queryParameters = {};
3051
+ if (requestParameters.managed) {
3052
+ queryParameters['managed'] = requestParameters.managed;
3053
+ }
3054
+ if (requestParameters.managedIsnull !== undefined) {
3055
+ queryParameters['managed__isnull'] = requestParameters.managedIsnull;
3056
+ }
3057
+ if (requestParameters.name !== undefined) {
3058
+ queryParameters['name'] = requestParameters.name;
3059
+ }
3060
+ if (requestParameters.ordering !== undefined) {
3061
+ queryParameters['ordering'] = requestParameters.ordering;
3062
+ }
3063
+ if (requestParameters.page !== undefined) {
3064
+ queryParameters['page'] = requestParameters.page;
3065
+ }
3066
+ if (requestParameters.pageSize !== undefined) {
3067
+ queryParameters['page_size'] = requestParameters.pageSize;
3068
+ }
3069
+ if (requestParameters.search !== undefined) {
3070
+ queryParameters['search'] = requestParameters.search;
3071
+ }
3072
+ const headerParameters = {};
3073
+ if (this.configuration && this.configuration.accessToken) {
3074
+ const token = this.configuration.accessToken;
3075
+ const tokenString = yield token("authentik", []);
3076
+ if (tokenString) {
3077
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3078
+ }
3079
+ }
3080
+ const response = yield this.request({
3081
+ path: `/propertymappings/source/plex/`,
3082
+ method: 'GET',
3083
+ headers: headerParameters,
3084
+ query: queryParameters,
3085
+ }, initOverrides);
3086
+ return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedPlexSourcePropertyMappingListFromJSON(jsonValue));
3087
+ });
3088
+ }
3089
+ /**
3090
+ * PlexSourcePropertyMapping Viewset
3091
+ */
3092
+ propertymappingsSourcePlexList(requestParameters = {}, initOverrides) {
3093
+ return __awaiter(this, void 0, void 0, function* () {
3094
+ const response = yield this.propertymappingsSourcePlexListRaw(requestParameters, initOverrides);
3095
+ return yield response.value();
3096
+ });
3097
+ }
3098
+ /**
3099
+ * PlexSourcePropertyMapping Viewset
3100
+ */
3101
+ propertymappingsSourcePlexPartialUpdateRaw(requestParameters, initOverrides) {
3102
+ return __awaiter(this, void 0, void 0, function* () {
3103
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
3104
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexPartialUpdate.');
3105
+ }
3106
+ const queryParameters = {};
3107
+ const headerParameters = {};
3108
+ headerParameters['Content-Type'] = 'application/json';
3109
+ if (this.configuration && this.configuration.accessToken) {
3110
+ const token = this.configuration.accessToken;
3111
+ const tokenString = yield token("authentik", []);
3112
+ if (tokenString) {
3113
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3114
+ }
3115
+ }
3116
+ const response = yield this.request({
3117
+ path: `/propertymappings/source/plex/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
3118
+ method: 'PATCH',
3119
+ headers: headerParameters,
3120
+ query: queryParameters,
3121
+ body: PatchedPlexSourcePropertyMappingRequestToJSON(requestParameters.patchedPlexSourcePropertyMappingRequest),
3122
+ }, initOverrides);
3123
+ return new runtime.JSONApiResponse(response, (jsonValue) => PlexSourcePropertyMappingFromJSON(jsonValue));
3124
+ });
3125
+ }
3126
+ /**
3127
+ * PlexSourcePropertyMapping Viewset
3128
+ */
3129
+ propertymappingsSourcePlexPartialUpdate(requestParameters, initOverrides) {
3130
+ return __awaiter(this, void 0, void 0, function* () {
3131
+ const response = yield this.propertymappingsSourcePlexPartialUpdateRaw(requestParameters, initOverrides);
3132
+ return yield response.value();
3133
+ });
3134
+ }
3135
+ /**
3136
+ * PlexSourcePropertyMapping Viewset
3137
+ */
3138
+ propertymappingsSourcePlexRetrieveRaw(requestParameters, initOverrides) {
3139
+ return __awaiter(this, void 0, void 0, function* () {
3140
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
3141
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexRetrieve.');
3142
+ }
3143
+ const queryParameters = {};
3144
+ const headerParameters = {};
3145
+ if (this.configuration && this.configuration.accessToken) {
3146
+ const token = this.configuration.accessToken;
3147
+ const tokenString = yield token("authentik", []);
3148
+ if (tokenString) {
3149
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3150
+ }
3151
+ }
3152
+ const response = yield this.request({
3153
+ path: `/propertymappings/source/plex/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
3154
+ method: 'GET',
3155
+ headers: headerParameters,
3156
+ query: queryParameters,
3157
+ }, initOverrides);
3158
+ return new runtime.JSONApiResponse(response, (jsonValue) => PlexSourcePropertyMappingFromJSON(jsonValue));
3159
+ });
3160
+ }
3161
+ /**
3162
+ * PlexSourcePropertyMapping Viewset
3163
+ */
3164
+ propertymappingsSourcePlexRetrieve(requestParameters, initOverrides) {
3165
+ return __awaiter(this, void 0, void 0, function* () {
3166
+ const response = yield this.propertymappingsSourcePlexRetrieveRaw(requestParameters, initOverrides);
3167
+ return yield response.value();
3168
+ });
3169
+ }
3170
+ /**
3171
+ * PlexSourcePropertyMapping Viewset
3172
+ */
3173
+ propertymappingsSourcePlexUpdateRaw(requestParameters, initOverrides) {
3174
+ return __awaiter(this, void 0, void 0, function* () {
3175
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
3176
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexUpdate.');
3177
+ }
3178
+ if (requestParameters.plexSourcePropertyMappingRequest === null || requestParameters.plexSourcePropertyMappingRequest === undefined) {
3179
+ throw new runtime.RequiredError('plexSourcePropertyMappingRequest', 'Required parameter requestParameters.plexSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourcePlexUpdate.');
3180
+ }
3181
+ const queryParameters = {};
3182
+ const headerParameters = {};
3183
+ headerParameters['Content-Type'] = 'application/json';
3184
+ if (this.configuration && this.configuration.accessToken) {
3185
+ const token = this.configuration.accessToken;
3186
+ const tokenString = yield token("authentik", []);
3187
+ if (tokenString) {
3188
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3189
+ }
3190
+ }
3191
+ const response = yield this.request({
3192
+ path: `/propertymappings/source/plex/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
3193
+ method: 'PUT',
3194
+ headers: headerParameters,
3195
+ query: queryParameters,
3196
+ body: PlexSourcePropertyMappingRequestToJSON(requestParameters.plexSourcePropertyMappingRequest),
3197
+ }, initOverrides);
3198
+ return new runtime.JSONApiResponse(response, (jsonValue) => PlexSourcePropertyMappingFromJSON(jsonValue));
3199
+ });
3200
+ }
3201
+ /**
3202
+ * PlexSourcePropertyMapping Viewset
3203
+ */
3204
+ propertymappingsSourcePlexUpdate(requestParameters, initOverrides) {
3205
+ return __awaiter(this, void 0, void 0, function* () {
3206
+ const response = yield this.propertymappingsSourcePlexUpdateRaw(requestParameters, initOverrides);
3207
+ return yield response.value();
3208
+ });
3209
+ }
3210
+ /**
3211
+ * Get a list of all objects that use this object
3212
+ */
3213
+ propertymappingsSourcePlexUsedByListRaw(requestParameters, initOverrides) {
3214
+ return __awaiter(this, void 0, void 0, function* () {
3215
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
3216
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourcePlexUsedByList.');
3217
+ }
3218
+ const queryParameters = {};
3219
+ const headerParameters = {};
3220
+ if (this.configuration && this.configuration.accessToken) {
3221
+ const token = this.configuration.accessToken;
3222
+ const tokenString = yield token("authentik", []);
3223
+ if (tokenString) {
3224
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3225
+ }
3226
+ }
3227
+ const response = yield this.request({
3228
+ path: `/propertymappings/source/plex/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
3229
+ method: 'GET',
3230
+ headers: headerParameters,
3231
+ query: queryParameters,
3232
+ }, initOverrides);
3233
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UsedByFromJSON));
3234
+ });
3235
+ }
3236
+ /**
3237
+ * Get a list of all objects that use this object
3238
+ */
3239
+ propertymappingsSourcePlexUsedByList(requestParameters, initOverrides) {
3240
+ return __awaiter(this, void 0, void 0, function* () {
3241
+ const response = yield this.propertymappingsSourcePlexUsedByListRaw(requestParameters, initOverrides);
3242
+ return yield response.value();
3243
+ });
3244
+ }
2974
3245
  /**
2975
3246
  * SAMLSourcePropertyMapping Viewset
2976
3247
  */
@@ -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";
@@ -1084,8 +1084,10 @@ export const RbacPermissionsAssignedByRolesListModelEnum = {
1084
1084
  SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
1085
1085
  SourcesOauthOauthsourcepropertymapping: 'authentik_sources_oauth.oauthsourcepropertymapping',
1086
1086
  SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
1087
+ SourcesPlexGroupplexsourceconnection: 'authentik_sources_plex.groupplexsourceconnection',
1087
1088
  SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
1088
- SourcesPlexPlexsourceconnection: 'authentik_sources_plex.plexsourceconnection',
1089
+ SourcesPlexPlexsourcepropertymapping: 'authentik_sources_plex.plexsourcepropertymapping',
1090
+ SourcesPlexUserplexsourceconnection: 'authentik_sources_plex.userplexsourceconnection',
1089
1091
  SourcesSamlGroupsamlsourceconnection: 'authentik_sources_saml.groupsamlsourceconnection',
1090
1092
  SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
1091
1093
  SourcesSamlSamlsourcepropertymapping: 'authentik_sources_saml.samlsourcepropertymapping',
@@ -1177,8 +1179,10 @@ export const RbacPermissionsAssignedByUsersListModelEnum = {
1177
1179
  SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
1178
1180
  SourcesOauthOauthsourcepropertymapping: 'authentik_sources_oauth.oauthsourcepropertymapping',
1179
1181
  SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
1182
+ SourcesPlexGroupplexsourceconnection: 'authentik_sources_plex.groupplexsourceconnection',
1180
1183
  SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
1181
- SourcesPlexPlexsourceconnection: 'authentik_sources_plex.plexsourceconnection',
1184
+ SourcesPlexPlexsourcepropertymapping: 'authentik_sources_plex.plexsourcepropertymapping',
1185
+ SourcesPlexUserplexsourceconnection: 'authentik_sources_plex.userplexsourceconnection',
1182
1186
  SourcesSamlGroupsamlsourceconnection: 'authentik_sources_saml.groupsamlsourceconnection',
1183
1187
  SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
1184
1188
  SourcesSamlSamlsourcepropertymapping: 'authentik_sources_saml.samlsourcepropertymapping',