@goauthentik/api 2024.6.1-1722014086 → 2024.6.1-1722285189

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 (57) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/dist/apis/PropertymappingsApi.d.ts +87 -1
  3. package/dist/apis/PropertymappingsApi.js +274 -0
  4. package/dist/apis/RbacApi.d.ts +2 -0
  5. package/dist/apis/RbacApi.js +2 -0
  6. package/dist/esm/apis/PropertymappingsApi.d.ts +87 -1
  7. package/dist/esm/apis/PropertymappingsApi.js +275 -1
  8. package/dist/esm/apis/RbacApi.d.ts +2 -0
  9. package/dist/esm/apis/RbacApi.js +2 -0
  10. package/dist/esm/models/ModelEnum.d.ts +1 -0
  11. package/dist/esm/models/ModelEnum.js +1 -0
  12. package/dist/esm/models/PaginatedSCIMSourcePropertyMappingList.d.ts +39 -0
  13. package/dist/esm/models/PaginatedSCIMSourcePropertyMappingList.js +48 -0
  14. package/dist/esm/models/PatchedSCIMSourcePropertyMappingRequest.d.ts +43 -0
  15. package/dist/esm/models/PatchedSCIMSourcePropertyMappingRequest.js +47 -0
  16. package/dist/esm/models/PatchedSCIMSourceRequest.d.ts +8 -3
  17. package/dist/esm/models/PatchedSCIMSourceRequest.js +4 -3
  18. package/dist/esm/models/SCIMSource.d.ts +12 -7
  19. package/dist/esm/models/SCIMSource.js +4 -3
  20. package/dist/esm/models/SCIMSourcePropertyMapping.d.ts +73 -0
  21. package/dist/esm/models/SCIMSourcePropertyMapping.js +59 -0
  22. package/dist/esm/models/SCIMSourcePropertyMappingRequest.d.ts +43 -0
  23. package/dist/esm/models/SCIMSourcePropertyMappingRequest.js +49 -0
  24. package/dist/esm/models/SCIMSourceRequest.d.ts +8 -3
  25. package/dist/esm/models/SCIMSourceRequest.js +4 -3
  26. package/dist/esm/models/index.d.ts +4 -0
  27. package/dist/esm/models/index.js +4 -0
  28. package/dist/models/ModelEnum.d.ts +1 -0
  29. package/dist/models/ModelEnum.js +1 -0
  30. package/dist/models/PaginatedSCIMSourcePropertyMappingList.d.ts +39 -0
  31. package/dist/models/PaginatedSCIMSourcePropertyMappingList.js +55 -0
  32. package/dist/models/PatchedSCIMSourcePropertyMappingRequest.d.ts +43 -0
  33. package/dist/models/PatchedSCIMSourcePropertyMappingRequest.js +54 -0
  34. package/dist/models/PatchedSCIMSourceRequest.d.ts +8 -3
  35. package/dist/models/PatchedSCIMSourceRequest.js +4 -3
  36. package/dist/models/SCIMSource.d.ts +12 -7
  37. package/dist/models/SCIMSource.js +4 -3
  38. package/dist/models/SCIMSourcePropertyMapping.d.ts +73 -0
  39. package/dist/models/SCIMSourcePropertyMapping.js +66 -0
  40. package/dist/models/SCIMSourcePropertyMappingRequest.d.ts +43 -0
  41. package/dist/models/SCIMSourcePropertyMappingRequest.js +56 -0
  42. package/dist/models/SCIMSourceRequest.d.ts +8 -3
  43. package/dist/models/SCIMSourceRequest.js +4 -3
  44. package/dist/models/index.d.ts +4 -0
  45. package/dist/models/index.js +4 -0
  46. package/package.json +1 -1
  47. package/src/apis/PropertymappingsApi.ts +355 -0
  48. package/src/apis/RbacApi.ts +2 -0
  49. package/src/models/ModelEnum.ts +1 -0
  50. package/src/models/PaginatedSCIMSourcePropertyMappingList.ts +88 -0
  51. package/src/models/PatchedSCIMSourcePropertyMappingRequest.ts +81 -0
  52. package/src/models/PatchedSCIMSourceRequest.ts +12 -11
  53. package/src/models/SCIMSource.ts +16 -14
  54. package/src/models/SCIMSourcePropertyMapping.ts +123 -0
  55. package/src/models/SCIMSourcePropertyMappingRequest.ts +83 -0
  56. package/src/models/SCIMSourceRequest.ts +12 -11
  57. package/src/models/index.ts +4 -0
@@ -337,6 +337,7 @@ src/models/PaginatedSCIMProviderList.ts
337
337
  src/models/PaginatedSCIMProviderUserList.ts
338
338
  src/models/PaginatedSCIMSourceGroupList.ts
339
339
  src/models/PaginatedSCIMSourceList.ts
340
+ src/models/PaginatedSCIMSourcePropertyMappingList.ts
340
341
  src/models/PaginatedSCIMSourceUserList.ts
341
342
  src/models/PaginatedSMSDeviceList.ts
342
343
  src/models/PaginatedScopeMappingList.ts
@@ -439,6 +440,7 @@ src/models/PatchedSAMLSourceRequest.ts
439
440
  src/models/PatchedSCIMMappingRequest.ts
440
441
  src/models/PatchedSCIMProviderRequest.ts
441
442
  src/models/PatchedSCIMSourceGroupRequest.ts
443
+ src/models/PatchedSCIMSourcePropertyMappingRequest.ts
442
444
  src/models/PatchedSCIMSourceRequest.ts
443
445
  src/models/PatchedSCIMSourceUserRequest.ts
444
446
  src/models/PatchedSMSDeviceRequest.ts
@@ -531,6 +533,8 @@ src/models/SCIMProviderUserRequest.ts
531
533
  src/models/SCIMSource.ts
532
534
  src/models/SCIMSourceGroup.ts
533
535
  src/models/SCIMSourceGroupRequest.ts
536
+ src/models/SCIMSourcePropertyMapping.ts
537
+ src/models/SCIMSourcePropertyMappingRequest.ts
534
538
  src/models/SCIMSourceRequest.ts
535
539
  src/models/SCIMSourceUser.ts
536
540
  src/models/SCIMSourceUserRequest.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, PaginatedGoogleWorkspaceProviderMappingList, PaginatedLDAPSourcePropertyMappingList, PaginatedMicrosoftEntraProviderMappingList, PaginatedNotificationWebhookMappingList, PaginatedPropertyMappingList, PaginatedRACPropertyMappingList, PaginatedRadiusProviderPropertyMappingList, PaginatedSAMLPropertyMappingList, PaginatedSCIMMappingList, PaginatedScopeMappingList, PatchedGoogleWorkspaceProviderMappingRequest, PatchedLDAPSourcePropertyMappingRequest, PatchedMicrosoftEntraProviderMappingRequest, PatchedNotificationWebhookMappingRequest, PatchedRACPropertyMappingRequest, PatchedRadiusProviderPropertyMappingRequest, PatchedSAMLPropertyMappingRequest, PatchedSCIMMappingRequest, PatchedScopeMappingRequest, PropertyMapping, PropertyMappingTestRequest, PropertyMappingTestResult, RACPropertyMapping, RACPropertyMappingRequest, RadiusProviderPropertyMapping, RadiusProviderPropertyMappingRequest, SAMLPropertyMapping, SAMLPropertyMappingRequest, SCIMMapping, SCIMMappingRequest, ScopeMapping, ScopeMappingRequest, TypeCreate, UsedBy } from '../models';
13
+ import type { GoogleWorkspaceProviderMapping, GoogleWorkspaceProviderMappingRequest, LDAPSourcePropertyMapping, LDAPSourcePropertyMappingRequest, MicrosoftEntraProviderMapping, MicrosoftEntraProviderMappingRequest, NotificationWebhookMapping, NotificationWebhookMappingRequest, PaginatedGoogleWorkspaceProviderMappingList, PaginatedLDAPSourcePropertyMappingList, PaginatedMicrosoftEntraProviderMappingList, PaginatedNotificationWebhookMappingList, PaginatedPropertyMappingList, PaginatedRACPropertyMappingList, PaginatedRadiusProviderPropertyMappingList, PaginatedSAMLPropertyMappingList, PaginatedSCIMMappingList, PaginatedSCIMSourcePropertyMappingList, PaginatedScopeMappingList, PatchedGoogleWorkspaceProviderMappingRequest, PatchedLDAPSourcePropertyMappingRequest, PatchedMicrosoftEntraProviderMappingRequest, PatchedNotificationWebhookMappingRequest, PatchedRACPropertyMappingRequest, PatchedRadiusProviderPropertyMappingRequest, PatchedSAMLPropertyMappingRequest, PatchedSCIMMappingRequest, PatchedSCIMSourcePropertyMappingRequest, PatchedScopeMappingRequest, PropertyMapping, PropertyMappingTestRequest, PropertyMappingTestResult, RACPropertyMapping, RACPropertyMappingRequest, RadiusProviderPropertyMapping, RadiusProviderPropertyMappingRequest, SAMLPropertyMapping, SAMLPropertyMappingRequest, SCIMMapping, SCIMMappingRequest, SCIMSourcePropertyMapping, SCIMSourcePropertyMappingRequest, ScopeMapping, ScopeMappingRequest, TypeCreate, UsedBy } from '../models';
14
14
  export interface PropertymappingsAllDestroyRequest {
15
15
  pmUuid: string;
16
16
  }
@@ -295,6 +295,36 @@ export interface PropertymappingsSourceLdapUpdateRequest {
295
295
  export interface PropertymappingsSourceLdapUsedByListRequest {
296
296
  pmUuid: string;
297
297
  }
298
+ export interface PropertymappingsSourceScimCreateRequest {
299
+ sCIMSourcePropertyMappingRequest: SCIMSourcePropertyMappingRequest;
300
+ }
301
+ export interface PropertymappingsSourceScimDestroyRequest {
302
+ pmUuid: string;
303
+ }
304
+ export interface PropertymappingsSourceScimListRequest {
305
+ expression?: string;
306
+ managed?: Array<string>;
307
+ name?: string;
308
+ ordering?: string;
309
+ page?: number;
310
+ pageSize?: number;
311
+ pmUuid?: string;
312
+ search?: string;
313
+ }
314
+ export interface PropertymappingsSourceScimPartialUpdateRequest {
315
+ pmUuid: string;
316
+ patchedSCIMSourcePropertyMappingRequest?: PatchedSCIMSourcePropertyMappingRequest;
317
+ }
318
+ export interface PropertymappingsSourceScimRetrieveRequest {
319
+ pmUuid: string;
320
+ }
321
+ export interface PropertymappingsSourceScimUpdateRequest {
322
+ pmUuid: string;
323
+ sCIMSourcePropertyMappingRequest: SCIMSourcePropertyMappingRequest;
324
+ }
325
+ export interface PropertymappingsSourceScimUsedByListRequest {
326
+ pmUuid: string;
327
+ }
298
328
  /**
299
329
  *
300
330
  */
@@ -851,4 +881,60 @@ export declare class PropertymappingsApi extends runtime.BaseAPI {
851
881
  * Get a list of all objects that use this object
852
882
  */
853
883
  propertymappingsSourceLdapUsedByList(requestParameters: PropertymappingsSourceLdapUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
884
+ /**
885
+ * SCIMSourcePropertyMapping Viewset
886
+ */
887
+ propertymappingsSourceScimCreateRaw(requestParameters: PropertymappingsSourceScimCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>>;
888
+ /**
889
+ * SCIMSourcePropertyMapping Viewset
890
+ */
891
+ propertymappingsSourceScimCreate(requestParameters: PropertymappingsSourceScimCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping>;
892
+ /**
893
+ * SCIMSourcePropertyMapping Viewset
894
+ */
895
+ propertymappingsSourceScimDestroyRaw(requestParameters: PropertymappingsSourceScimDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
896
+ /**
897
+ * SCIMSourcePropertyMapping Viewset
898
+ */
899
+ propertymappingsSourceScimDestroy(requestParameters: PropertymappingsSourceScimDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
900
+ /**
901
+ * SCIMSourcePropertyMapping Viewset
902
+ */
903
+ propertymappingsSourceScimListRaw(requestParameters: PropertymappingsSourceScimListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSCIMSourcePropertyMappingList>>;
904
+ /**
905
+ * SCIMSourcePropertyMapping Viewset
906
+ */
907
+ propertymappingsSourceScimList(requestParameters?: PropertymappingsSourceScimListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSCIMSourcePropertyMappingList>;
908
+ /**
909
+ * SCIMSourcePropertyMapping Viewset
910
+ */
911
+ propertymappingsSourceScimPartialUpdateRaw(requestParameters: PropertymappingsSourceScimPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>>;
912
+ /**
913
+ * SCIMSourcePropertyMapping Viewset
914
+ */
915
+ propertymappingsSourceScimPartialUpdate(requestParameters: PropertymappingsSourceScimPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping>;
916
+ /**
917
+ * SCIMSourcePropertyMapping Viewset
918
+ */
919
+ propertymappingsSourceScimRetrieveRaw(requestParameters: PropertymappingsSourceScimRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>>;
920
+ /**
921
+ * SCIMSourcePropertyMapping Viewset
922
+ */
923
+ propertymappingsSourceScimRetrieve(requestParameters: PropertymappingsSourceScimRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping>;
924
+ /**
925
+ * SCIMSourcePropertyMapping Viewset
926
+ */
927
+ propertymappingsSourceScimUpdateRaw(requestParameters: PropertymappingsSourceScimUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>>;
928
+ /**
929
+ * SCIMSourcePropertyMapping Viewset
930
+ */
931
+ propertymappingsSourceScimUpdate(requestParameters: PropertymappingsSourceScimUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping>;
932
+ /**
933
+ * Get a list of all objects that use this object
934
+ */
935
+ propertymappingsSourceScimUsedByListRaw(requestParameters: PropertymappingsSourceScimUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>>;
936
+ /**
937
+ * Get a list of all objects that use this object
938
+ */
939
+ propertymappingsSourceScimUsedByList(requestParameters: PropertymappingsSourceScimUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
854
940
  }
@@ -2697,5 +2697,279 @@ class PropertymappingsApi extends runtime.BaseAPI {
2697
2697
  return yield response.value();
2698
2698
  });
2699
2699
  }
2700
+ /**
2701
+ * SCIMSourcePropertyMapping Viewset
2702
+ */
2703
+ propertymappingsSourceScimCreateRaw(requestParameters, initOverrides) {
2704
+ return __awaiter(this, void 0, void 0, function* () {
2705
+ if (requestParameters.sCIMSourcePropertyMappingRequest === null || requestParameters.sCIMSourcePropertyMappingRequest === undefined) {
2706
+ throw new runtime.RequiredError('sCIMSourcePropertyMappingRequest', 'Required parameter requestParameters.sCIMSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourceScimCreate.');
2707
+ }
2708
+ const queryParameters = {};
2709
+ const headerParameters = {};
2710
+ headerParameters['Content-Type'] = 'application/json';
2711
+ if (this.configuration && this.configuration.accessToken) {
2712
+ const token = this.configuration.accessToken;
2713
+ const tokenString = yield token("authentik", []);
2714
+ if (tokenString) {
2715
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2716
+ }
2717
+ }
2718
+ const response = yield this.request({
2719
+ path: `/propertymappings/source/scim/`,
2720
+ method: 'POST',
2721
+ headers: headerParameters,
2722
+ query: queryParameters,
2723
+ body: (0, models_1.SCIMSourcePropertyMappingRequestToJSON)(requestParameters.sCIMSourcePropertyMappingRequest),
2724
+ }, initOverrides);
2725
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.SCIMSourcePropertyMappingFromJSON)(jsonValue));
2726
+ });
2727
+ }
2728
+ /**
2729
+ * SCIMSourcePropertyMapping Viewset
2730
+ */
2731
+ propertymappingsSourceScimCreate(requestParameters, initOverrides) {
2732
+ return __awaiter(this, void 0, void 0, function* () {
2733
+ const response = yield this.propertymappingsSourceScimCreateRaw(requestParameters, initOverrides);
2734
+ return yield response.value();
2735
+ });
2736
+ }
2737
+ /**
2738
+ * SCIMSourcePropertyMapping Viewset
2739
+ */
2740
+ propertymappingsSourceScimDestroyRaw(requestParameters, initOverrides) {
2741
+ return __awaiter(this, void 0, void 0, function* () {
2742
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
2743
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimDestroy.');
2744
+ }
2745
+ const queryParameters = {};
2746
+ const headerParameters = {};
2747
+ if (this.configuration && this.configuration.accessToken) {
2748
+ const token = this.configuration.accessToken;
2749
+ const tokenString = yield token("authentik", []);
2750
+ if (tokenString) {
2751
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2752
+ }
2753
+ }
2754
+ const response = yield this.request({
2755
+ path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
2756
+ method: 'DELETE',
2757
+ headers: headerParameters,
2758
+ query: queryParameters,
2759
+ }, initOverrides);
2760
+ return new runtime.VoidApiResponse(response);
2761
+ });
2762
+ }
2763
+ /**
2764
+ * SCIMSourcePropertyMapping Viewset
2765
+ */
2766
+ propertymappingsSourceScimDestroy(requestParameters, initOverrides) {
2767
+ return __awaiter(this, void 0, void 0, function* () {
2768
+ yield this.propertymappingsSourceScimDestroyRaw(requestParameters, initOverrides);
2769
+ });
2770
+ }
2771
+ /**
2772
+ * SCIMSourcePropertyMapping Viewset
2773
+ */
2774
+ propertymappingsSourceScimListRaw(requestParameters, initOverrides) {
2775
+ return __awaiter(this, void 0, void 0, function* () {
2776
+ const queryParameters = {};
2777
+ if (requestParameters.expression !== undefined) {
2778
+ queryParameters['expression'] = requestParameters.expression;
2779
+ }
2780
+ if (requestParameters.managed) {
2781
+ queryParameters['managed'] = requestParameters.managed;
2782
+ }
2783
+ if (requestParameters.name !== undefined) {
2784
+ queryParameters['name'] = requestParameters.name;
2785
+ }
2786
+ if (requestParameters.ordering !== undefined) {
2787
+ queryParameters['ordering'] = requestParameters.ordering;
2788
+ }
2789
+ if (requestParameters.page !== undefined) {
2790
+ queryParameters['page'] = requestParameters.page;
2791
+ }
2792
+ if (requestParameters.pageSize !== undefined) {
2793
+ queryParameters['page_size'] = requestParameters.pageSize;
2794
+ }
2795
+ if (requestParameters.pmUuid !== undefined) {
2796
+ queryParameters['pm_uuid'] = requestParameters.pmUuid;
2797
+ }
2798
+ if (requestParameters.search !== undefined) {
2799
+ queryParameters['search'] = requestParameters.search;
2800
+ }
2801
+ const headerParameters = {};
2802
+ if (this.configuration && this.configuration.accessToken) {
2803
+ const token = this.configuration.accessToken;
2804
+ const tokenString = yield token("authentik", []);
2805
+ if (tokenString) {
2806
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2807
+ }
2808
+ }
2809
+ const response = yield this.request({
2810
+ path: `/propertymappings/source/scim/`,
2811
+ method: 'GET',
2812
+ headers: headerParameters,
2813
+ query: queryParameters,
2814
+ }, initOverrides);
2815
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.PaginatedSCIMSourcePropertyMappingListFromJSON)(jsonValue));
2816
+ });
2817
+ }
2818
+ /**
2819
+ * SCIMSourcePropertyMapping Viewset
2820
+ */
2821
+ propertymappingsSourceScimList(requestParameters = {}, initOverrides) {
2822
+ return __awaiter(this, void 0, void 0, function* () {
2823
+ const response = yield this.propertymappingsSourceScimListRaw(requestParameters, initOverrides);
2824
+ return yield response.value();
2825
+ });
2826
+ }
2827
+ /**
2828
+ * SCIMSourcePropertyMapping Viewset
2829
+ */
2830
+ propertymappingsSourceScimPartialUpdateRaw(requestParameters, initOverrides) {
2831
+ return __awaiter(this, void 0, void 0, function* () {
2832
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
2833
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimPartialUpdate.');
2834
+ }
2835
+ const queryParameters = {};
2836
+ const headerParameters = {};
2837
+ headerParameters['Content-Type'] = 'application/json';
2838
+ if (this.configuration && this.configuration.accessToken) {
2839
+ const token = this.configuration.accessToken;
2840
+ const tokenString = yield token("authentik", []);
2841
+ if (tokenString) {
2842
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2843
+ }
2844
+ }
2845
+ const response = yield this.request({
2846
+ path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
2847
+ method: 'PATCH',
2848
+ headers: headerParameters,
2849
+ query: queryParameters,
2850
+ body: (0, models_1.PatchedSCIMSourcePropertyMappingRequestToJSON)(requestParameters.patchedSCIMSourcePropertyMappingRequest),
2851
+ }, initOverrides);
2852
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.SCIMSourcePropertyMappingFromJSON)(jsonValue));
2853
+ });
2854
+ }
2855
+ /**
2856
+ * SCIMSourcePropertyMapping Viewset
2857
+ */
2858
+ propertymappingsSourceScimPartialUpdate(requestParameters, initOverrides) {
2859
+ return __awaiter(this, void 0, void 0, function* () {
2860
+ const response = yield this.propertymappingsSourceScimPartialUpdateRaw(requestParameters, initOverrides);
2861
+ return yield response.value();
2862
+ });
2863
+ }
2864
+ /**
2865
+ * SCIMSourcePropertyMapping Viewset
2866
+ */
2867
+ propertymappingsSourceScimRetrieveRaw(requestParameters, initOverrides) {
2868
+ return __awaiter(this, void 0, void 0, function* () {
2869
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
2870
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimRetrieve.');
2871
+ }
2872
+ const queryParameters = {};
2873
+ const headerParameters = {};
2874
+ if (this.configuration && this.configuration.accessToken) {
2875
+ const token = this.configuration.accessToken;
2876
+ const tokenString = yield token("authentik", []);
2877
+ if (tokenString) {
2878
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2879
+ }
2880
+ }
2881
+ const response = yield this.request({
2882
+ path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
2883
+ method: 'GET',
2884
+ headers: headerParameters,
2885
+ query: queryParameters,
2886
+ }, initOverrides);
2887
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.SCIMSourcePropertyMappingFromJSON)(jsonValue));
2888
+ });
2889
+ }
2890
+ /**
2891
+ * SCIMSourcePropertyMapping Viewset
2892
+ */
2893
+ propertymappingsSourceScimRetrieve(requestParameters, initOverrides) {
2894
+ return __awaiter(this, void 0, void 0, function* () {
2895
+ const response = yield this.propertymappingsSourceScimRetrieveRaw(requestParameters, initOverrides);
2896
+ return yield response.value();
2897
+ });
2898
+ }
2899
+ /**
2900
+ * SCIMSourcePropertyMapping Viewset
2901
+ */
2902
+ propertymappingsSourceScimUpdateRaw(requestParameters, initOverrides) {
2903
+ return __awaiter(this, void 0, void 0, function* () {
2904
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
2905
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimUpdate.');
2906
+ }
2907
+ if (requestParameters.sCIMSourcePropertyMappingRequest === null || requestParameters.sCIMSourcePropertyMappingRequest === undefined) {
2908
+ throw new runtime.RequiredError('sCIMSourcePropertyMappingRequest', 'Required parameter requestParameters.sCIMSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourceScimUpdate.');
2909
+ }
2910
+ const queryParameters = {};
2911
+ const headerParameters = {};
2912
+ headerParameters['Content-Type'] = 'application/json';
2913
+ if (this.configuration && this.configuration.accessToken) {
2914
+ const token = this.configuration.accessToken;
2915
+ const tokenString = yield token("authentik", []);
2916
+ if (tokenString) {
2917
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2918
+ }
2919
+ }
2920
+ const response = yield this.request({
2921
+ path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
2922
+ method: 'PUT',
2923
+ headers: headerParameters,
2924
+ query: queryParameters,
2925
+ body: (0, models_1.SCIMSourcePropertyMappingRequestToJSON)(requestParameters.sCIMSourcePropertyMappingRequest),
2926
+ }, initOverrides);
2927
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.SCIMSourcePropertyMappingFromJSON)(jsonValue));
2928
+ });
2929
+ }
2930
+ /**
2931
+ * SCIMSourcePropertyMapping Viewset
2932
+ */
2933
+ propertymappingsSourceScimUpdate(requestParameters, initOverrides) {
2934
+ return __awaiter(this, void 0, void 0, function* () {
2935
+ const response = yield this.propertymappingsSourceScimUpdateRaw(requestParameters, initOverrides);
2936
+ return yield response.value();
2937
+ });
2938
+ }
2939
+ /**
2940
+ * Get a list of all objects that use this object
2941
+ */
2942
+ propertymappingsSourceScimUsedByListRaw(requestParameters, initOverrides) {
2943
+ return __awaiter(this, void 0, void 0, function* () {
2944
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
2945
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimUsedByList.');
2946
+ }
2947
+ const queryParameters = {};
2948
+ const headerParameters = {};
2949
+ if (this.configuration && this.configuration.accessToken) {
2950
+ const token = this.configuration.accessToken;
2951
+ const tokenString = yield token("authentik", []);
2952
+ if (tokenString) {
2953
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2954
+ }
2955
+ }
2956
+ const response = yield this.request({
2957
+ path: `/propertymappings/source/scim/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
2958
+ method: 'GET',
2959
+ headers: headerParameters,
2960
+ query: queryParameters,
2961
+ }, initOverrides);
2962
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(models_1.UsedByFromJSON));
2963
+ });
2964
+ }
2965
+ /**
2966
+ * Get a list of all objects that use this object
2967
+ */
2968
+ propertymappingsSourceScimUsedByList(requestParameters, initOverrides) {
2969
+ return __awaiter(this, void 0, void 0, function* () {
2970
+ const response = yield this.propertymappingsSourceScimUsedByListRaw(requestParameters, initOverrides);
2971
+ return yield response.value();
2972
+ });
2973
+ }
2700
2974
  }
2701
2975
  exports.PropertymappingsApi = PropertymappingsApi;
@@ -295,6 +295,7 @@ export declare const RbacPermissionsAssignedByRolesListModelEnum: {
295
295
  readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
296
296
  readonly SourcesSamlUsersamlsourceconnection: "authentik_sources_saml.usersamlsourceconnection";
297
297
  readonly SourcesScimScimsource: "authentik_sources_scim.scimsource";
298
+ readonly SourcesScimScimsourcepropertymapping: "authentik_sources_scim.scimsourcepropertymapping";
298
299
  readonly StagesAuthenticatorDuoAuthenticatorduostage: "authentik_stages_authenticator_duo.authenticatorduostage";
299
300
  readonly StagesAuthenticatorDuoDuodevice: "authentik_stages_authenticator_duo.duodevice";
300
301
  readonly StagesAuthenticatorSmsAuthenticatorsmsstage: "authentik_stages_authenticator_sms.authenticatorsmsstage";
@@ -383,6 +384,7 @@ export declare const RbacPermissionsAssignedByUsersListModelEnum: {
383
384
  readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
384
385
  readonly SourcesSamlUsersamlsourceconnection: "authentik_sources_saml.usersamlsourceconnection";
385
386
  readonly SourcesScimScimsource: "authentik_sources_scim.scimsource";
387
+ readonly SourcesScimScimsourcepropertymapping: "authentik_sources_scim.scimsourcepropertymapping";
386
388
  readonly StagesAuthenticatorDuoAuthenticatorduostage: "authentik_stages_authenticator_duo.authenticatorduostage";
387
389
  readonly StagesAuthenticatorDuoDuodevice: "authentik_stages_authenticator_duo.duodevice";
388
390
  readonly StagesAuthenticatorSmsAuthenticatorsmsstage: "authentik_stages_authenticator_sms.authenticatorsmsstage";
@@ -802,6 +802,7 @@ exports.RbacPermissionsAssignedByRolesListModelEnum = {
802
802
  SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
803
803
  SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
804
804
  SourcesScimScimsource: 'authentik_sources_scim.scimsource',
805
+ SourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
805
806
  StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
806
807
  StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
807
808
  StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
@@ -889,6 +890,7 @@ exports.RbacPermissionsAssignedByUsersListModelEnum = {
889
890
  SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
890
891
  SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
891
892
  SourcesScimScimsource: 'authentik_sources_scim.scimsource',
893
+ SourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
892
894
  StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
893
895
  StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
894
896
  StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
@@ -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, PaginatedGoogleWorkspaceProviderMappingList, PaginatedLDAPSourcePropertyMappingList, PaginatedMicrosoftEntraProviderMappingList, PaginatedNotificationWebhookMappingList, PaginatedPropertyMappingList, PaginatedRACPropertyMappingList, PaginatedRadiusProviderPropertyMappingList, PaginatedSAMLPropertyMappingList, PaginatedSCIMMappingList, PaginatedScopeMappingList, PatchedGoogleWorkspaceProviderMappingRequest, PatchedLDAPSourcePropertyMappingRequest, PatchedMicrosoftEntraProviderMappingRequest, PatchedNotificationWebhookMappingRequest, PatchedRACPropertyMappingRequest, PatchedRadiusProviderPropertyMappingRequest, PatchedSAMLPropertyMappingRequest, PatchedSCIMMappingRequest, PatchedScopeMappingRequest, PropertyMapping, PropertyMappingTestRequest, PropertyMappingTestResult, RACPropertyMapping, RACPropertyMappingRequest, RadiusProviderPropertyMapping, RadiusProviderPropertyMappingRequest, SAMLPropertyMapping, SAMLPropertyMappingRequest, SCIMMapping, SCIMMappingRequest, ScopeMapping, ScopeMappingRequest, TypeCreate, UsedBy } from '../models';
13
+ import type { GoogleWorkspaceProviderMapping, GoogleWorkspaceProviderMappingRequest, LDAPSourcePropertyMapping, LDAPSourcePropertyMappingRequest, MicrosoftEntraProviderMapping, MicrosoftEntraProviderMappingRequest, NotificationWebhookMapping, NotificationWebhookMappingRequest, PaginatedGoogleWorkspaceProviderMappingList, PaginatedLDAPSourcePropertyMappingList, PaginatedMicrosoftEntraProviderMappingList, PaginatedNotificationWebhookMappingList, PaginatedPropertyMappingList, PaginatedRACPropertyMappingList, PaginatedRadiusProviderPropertyMappingList, PaginatedSAMLPropertyMappingList, PaginatedSCIMMappingList, PaginatedSCIMSourcePropertyMappingList, PaginatedScopeMappingList, PatchedGoogleWorkspaceProviderMappingRequest, PatchedLDAPSourcePropertyMappingRequest, PatchedMicrosoftEntraProviderMappingRequest, PatchedNotificationWebhookMappingRequest, PatchedRACPropertyMappingRequest, PatchedRadiusProviderPropertyMappingRequest, PatchedSAMLPropertyMappingRequest, PatchedSCIMMappingRequest, PatchedSCIMSourcePropertyMappingRequest, PatchedScopeMappingRequest, PropertyMapping, PropertyMappingTestRequest, PropertyMappingTestResult, RACPropertyMapping, RACPropertyMappingRequest, RadiusProviderPropertyMapping, RadiusProviderPropertyMappingRequest, SAMLPropertyMapping, SAMLPropertyMappingRequest, SCIMMapping, SCIMMappingRequest, SCIMSourcePropertyMapping, SCIMSourcePropertyMappingRequest, ScopeMapping, ScopeMappingRequest, TypeCreate, UsedBy } from '../models';
14
14
  export interface PropertymappingsAllDestroyRequest {
15
15
  pmUuid: string;
16
16
  }
@@ -295,6 +295,36 @@ export interface PropertymappingsSourceLdapUpdateRequest {
295
295
  export interface PropertymappingsSourceLdapUsedByListRequest {
296
296
  pmUuid: string;
297
297
  }
298
+ export interface PropertymappingsSourceScimCreateRequest {
299
+ sCIMSourcePropertyMappingRequest: SCIMSourcePropertyMappingRequest;
300
+ }
301
+ export interface PropertymappingsSourceScimDestroyRequest {
302
+ pmUuid: string;
303
+ }
304
+ export interface PropertymappingsSourceScimListRequest {
305
+ expression?: string;
306
+ managed?: Array<string>;
307
+ name?: string;
308
+ ordering?: string;
309
+ page?: number;
310
+ pageSize?: number;
311
+ pmUuid?: string;
312
+ search?: string;
313
+ }
314
+ export interface PropertymappingsSourceScimPartialUpdateRequest {
315
+ pmUuid: string;
316
+ patchedSCIMSourcePropertyMappingRequest?: PatchedSCIMSourcePropertyMappingRequest;
317
+ }
318
+ export interface PropertymappingsSourceScimRetrieveRequest {
319
+ pmUuid: string;
320
+ }
321
+ export interface PropertymappingsSourceScimUpdateRequest {
322
+ pmUuid: string;
323
+ sCIMSourcePropertyMappingRequest: SCIMSourcePropertyMappingRequest;
324
+ }
325
+ export interface PropertymappingsSourceScimUsedByListRequest {
326
+ pmUuid: string;
327
+ }
298
328
  /**
299
329
  *
300
330
  */
@@ -851,4 +881,60 @@ export declare class PropertymappingsApi extends runtime.BaseAPI {
851
881
  * Get a list of all objects that use this object
852
882
  */
853
883
  propertymappingsSourceLdapUsedByList(requestParameters: PropertymappingsSourceLdapUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
884
+ /**
885
+ * SCIMSourcePropertyMapping Viewset
886
+ */
887
+ propertymappingsSourceScimCreateRaw(requestParameters: PropertymappingsSourceScimCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>>;
888
+ /**
889
+ * SCIMSourcePropertyMapping Viewset
890
+ */
891
+ propertymappingsSourceScimCreate(requestParameters: PropertymappingsSourceScimCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping>;
892
+ /**
893
+ * SCIMSourcePropertyMapping Viewset
894
+ */
895
+ propertymappingsSourceScimDestroyRaw(requestParameters: PropertymappingsSourceScimDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
896
+ /**
897
+ * SCIMSourcePropertyMapping Viewset
898
+ */
899
+ propertymappingsSourceScimDestroy(requestParameters: PropertymappingsSourceScimDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
900
+ /**
901
+ * SCIMSourcePropertyMapping Viewset
902
+ */
903
+ propertymappingsSourceScimListRaw(requestParameters: PropertymappingsSourceScimListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSCIMSourcePropertyMappingList>>;
904
+ /**
905
+ * SCIMSourcePropertyMapping Viewset
906
+ */
907
+ propertymappingsSourceScimList(requestParameters?: PropertymappingsSourceScimListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSCIMSourcePropertyMappingList>;
908
+ /**
909
+ * SCIMSourcePropertyMapping Viewset
910
+ */
911
+ propertymappingsSourceScimPartialUpdateRaw(requestParameters: PropertymappingsSourceScimPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>>;
912
+ /**
913
+ * SCIMSourcePropertyMapping Viewset
914
+ */
915
+ propertymappingsSourceScimPartialUpdate(requestParameters: PropertymappingsSourceScimPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping>;
916
+ /**
917
+ * SCIMSourcePropertyMapping Viewset
918
+ */
919
+ propertymappingsSourceScimRetrieveRaw(requestParameters: PropertymappingsSourceScimRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>>;
920
+ /**
921
+ * SCIMSourcePropertyMapping Viewset
922
+ */
923
+ propertymappingsSourceScimRetrieve(requestParameters: PropertymappingsSourceScimRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping>;
924
+ /**
925
+ * SCIMSourcePropertyMapping Viewset
926
+ */
927
+ propertymappingsSourceScimUpdateRaw(requestParameters: PropertymappingsSourceScimUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>>;
928
+ /**
929
+ * SCIMSourcePropertyMapping Viewset
930
+ */
931
+ propertymappingsSourceScimUpdate(requestParameters: PropertymappingsSourceScimUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping>;
932
+ /**
933
+ * Get a list of all objects that use this object
934
+ */
935
+ propertymappingsSourceScimUsedByListRaw(requestParameters: PropertymappingsSourceScimUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>>;
936
+ /**
937
+ * Get a list of all objects that use this object
938
+ */
939
+ propertymappingsSourceScimUsedByList(requestParameters: PropertymappingsSourceScimUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
854
940
  }