@goauthentik/api 2024.6.1-1722014086 → 2024.6.1-1722285189

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -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, PaginatedGoogleWorkspaceProviderMappingListFromJSON, PaginatedLDAPSourcePropertyMappingListFromJSON, PaginatedMicrosoftEntraProviderMappingListFromJSON, PaginatedNotificationWebhookMappingListFromJSON, PaginatedPropertyMappingListFromJSON, PaginatedRACPropertyMappingListFromJSON, PaginatedRadiusProviderPropertyMappingListFromJSON, PaginatedSAMLPropertyMappingListFromJSON, PaginatedSCIMMappingListFromJSON, PaginatedScopeMappingListFromJSON, PatchedGoogleWorkspaceProviderMappingRequestToJSON, PatchedLDAPSourcePropertyMappingRequestToJSON, PatchedMicrosoftEntraProviderMappingRequestToJSON, PatchedNotificationWebhookMappingRequestToJSON, PatchedRACPropertyMappingRequestToJSON, PatchedRadiusProviderPropertyMappingRequestToJSON, PatchedSAMLPropertyMappingRequestToJSON, PatchedSCIMMappingRequestToJSON, PatchedScopeMappingRequestToJSON, PropertyMappingFromJSON, PropertyMappingTestRequestToJSON, PropertyMappingTestResultFromJSON, RACPropertyMappingFromJSON, RACPropertyMappingRequestToJSON, RadiusProviderPropertyMappingFromJSON, RadiusProviderPropertyMappingRequestToJSON, SAMLPropertyMappingFromJSON, SAMLPropertyMappingRequestToJSON, SCIMMappingFromJSON, SCIMMappingRequestToJSON, ScopeMappingFromJSON, ScopeMappingRequestToJSON, TypeCreateFromJSON, UsedByFromJSON, } from '../models';
24
+ import { GoogleWorkspaceProviderMappingFromJSON, GoogleWorkspaceProviderMappingRequestToJSON, LDAPSourcePropertyMappingFromJSON, LDAPSourcePropertyMappingRequestToJSON, MicrosoftEntraProviderMappingFromJSON, MicrosoftEntraProviderMappingRequestToJSON, NotificationWebhookMappingFromJSON, NotificationWebhookMappingRequestToJSON, PaginatedGoogleWorkspaceProviderMappingListFromJSON, PaginatedLDAPSourcePropertyMappingListFromJSON, PaginatedMicrosoftEntraProviderMappingListFromJSON, PaginatedNotificationWebhookMappingListFromJSON, PaginatedPropertyMappingListFromJSON, PaginatedRACPropertyMappingListFromJSON, PaginatedRadiusProviderPropertyMappingListFromJSON, PaginatedSAMLPropertyMappingListFromJSON, PaginatedSCIMMappingListFromJSON, PaginatedSCIMSourcePropertyMappingListFromJSON, PaginatedScopeMappingListFromJSON, PatchedGoogleWorkspaceProviderMappingRequestToJSON, PatchedLDAPSourcePropertyMappingRequestToJSON, PatchedMicrosoftEntraProviderMappingRequestToJSON, PatchedNotificationWebhookMappingRequestToJSON, PatchedRACPropertyMappingRequestToJSON, PatchedRadiusProviderPropertyMappingRequestToJSON, PatchedSAMLPropertyMappingRequestToJSON, PatchedSCIMMappingRequestToJSON, PatchedSCIMSourcePropertyMappingRequestToJSON, PatchedScopeMappingRequestToJSON, PropertyMappingFromJSON, PropertyMappingTestRequestToJSON, PropertyMappingTestResultFromJSON, RACPropertyMappingFromJSON, RACPropertyMappingRequestToJSON, RadiusProviderPropertyMappingFromJSON, RadiusProviderPropertyMappingRequestToJSON, SAMLPropertyMappingFromJSON, SAMLPropertyMappingRequestToJSON, SCIMMappingFromJSON, SCIMMappingRequestToJSON, SCIMSourcePropertyMappingFromJSON, SCIMSourcePropertyMappingRequestToJSON, ScopeMappingFromJSON, ScopeMappingRequestToJSON, TypeCreateFromJSON, UsedByFromJSON, } from '../models';
25
25
  /**
26
26
  *
27
27
  */
@@ -2694,4 +2694,278 @@ export class PropertymappingsApi extends runtime.BaseAPI {
2694
2694
  return yield response.value();
2695
2695
  });
2696
2696
  }
2697
+ /**
2698
+ * SCIMSourcePropertyMapping Viewset
2699
+ */
2700
+ propertymappingsSourceScimCreateRaw(requestParameters, initOverrides) {
2701
+ return __awaiter(this, void 0, void 0, function* () {
2702
+ if (requestParameters.sCIMSourcePropertyMappingRequest === null || requestParameters.sCIMSourcePropertyMappingRequest === undefined) {
2703
+ throw new runtime.RequiredError('sCIMSourcePropertyMappingRequest', 'Required parameter requestParameters.sCIMSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourceScimCreate.');
2704
+ }
2705
+ const queryParameters = {};
2706
+ const headerParameters = {};
2707
+ headerParameters['Content-Type'] = 'application/json';
2708
+ if (this.configuration && this.configuration.accessToken) {
2709
+ const token = this.configuration.accessToken;
2710
+ const tokenString = yield token("authentik", []);
2711
+ if (tokenString) {
2712
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2713
+ }
2714
+ }
2715
+ const response = yield this.request({
2716
+ path: `/propertymappings/source/scim/`,
2717
+ method: 'POST',
2718
+ headers: headerParameters,
2719
+ query: queryParameters,
2720
+ body: SCIMSourcePropertyMappingRequestToJSON(requestParameters.sCIMSourcePropertyMappingRequest),
2721
+ }, initOverrides);
2722
+ return new runtime.JSONApiResponse(response, (jsonValue) => SCIMSourcePropertyMappingFromJSON(jsonValue));
2723
+ });
2724
+ }
2725
+ /**
2726
+ * SCIMSourcePropertyMapping Viewset
2727
+ */
2728
+ propertymappingsSourceScimCreate(requestParameters, initOverrides) {
2729
+ return __awaiter(this, void 0, void 0, function* () {
2730
+ const response = yield this.propertymappingsSourceScimCreateRaw(requestParameters, initOverrides);
2731
+ return yield response.value();
2732
+ });
2733
+ }
2734
+ /**
2735
+ * SCIMSourcePropertyMapping Viewset
2736
+ */
2737
+ propertymappingsSourceScimDestroyRaw(requestParameters, initOverrides) {
2738
+ return __awaiter(this, void 0, void 0, function* () {
2739
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
2740
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimDestroy.');
2741
+ }
2742
+ const queryParameters = {};
2743
+ const headerParameters = {};
2744
+ if (this.configuration && this.configuration.accessToken) {
2745
+ const token = this.configuration.accessToken;
2746
+ const tokenString = yield token("authentik", []);
2747
+ if (tokenString) {
2748
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2749
+ }
2750
+ }
2751
+ const response = yield this.request({
2752
+ path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
2753
+ method: 'DELETE',
2754
+ headers: headerParameters,
2755
+ query: queryParameters,
2756
+ }, initOverrides);
2757
+ return new runtime.VoidApiResponse(response);
2758
+ });
2759
+ }
2760
+ /**
2761
+ * SCIMSourcePropertyMapping Viewset
2762
+ */
2763
+ propertymappingsSourceScimDestroy(requestParameters, initOverrides) {
2764
+ return __awaiter(this, void 0, void 0, function* () {
2765
+ yield this.propertymappingsSourceScimDestroyRaw(requestParameters, initOverrides);
2766
+ });
2767
+ }
2768
+ /**
2769
+ * SCIMSourcePropertyMapping Viewset
2770
+ */
2771
+ propertymappingsSourceScimListRaw(requestParameters, initOverrides) {
2772
+ return __awaiter(this, void 0, void 0, function* () {
2773
+ const queryParameters = {};
2774
+ if (requestParameters.expression !== undefined) {
2775
+ queryParameters['expression'] = requestParameters.expression;
2776
+ }
2777
+ if (requestParameters.managed) {
2778
+ queryParameters['managed'] = requestParameters.managed;
2779
+ }
2780
+ if (requestParameters.name !== undefined) {
2781
+ queryParameters['name'] = requestParameters.name;
2782
+ }
2783
+ if (requestParameters.ordering !== undefined) {
2784
+ queryParameters['ordering'] = requestParameters.ordering;
2785
+ }
2786
+ if (requestParameters.page !== undefined) {
2787
+ queryParameters['page'] = requestParameters.page;
2788
+ }
2789
+ if (requestParameters.pageSize !== undefined) {
2790
+ queryParameters['page_size'] = requestParameters.pageSize;
2791
+ }
2792
+ if (requestParameters.pmUuid !== undefined) {
2793
+ queryParameters['pm_uuid'] = requestParameters.pmUuid;
2794
+ }
2795
+ if (requestParameters.search !== undefined) {
2796
+ queryParameters['search'] = requestParameters.search;
2797
+ }
2798
+ const headerParameters = {};
2799
+ if (this.configuration && this.configuration.accessToken) {
2800
+ const token = this.configuration.accessToken;
2801
+ const tokenString = yield token("authentik", []);
2802
+ if (tokenString) {
2803
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2804
+ }
2805
+ }
2806
+ const response = yield this.request({
2807
+ path: `/propertymappings/source/scim/`,
2808
+ method: 'GET',
2809
+ headers: headerParameters,
2810
+ query: queryParameters,
2811
+ }, initOverrides);
2812
+ return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSCIMSourcePropertyMappingListFromJSON(jsonValue));
2813
+ });
2814
+ }
2815
+ /**
2816
+ * SCIMSourcePropertyMapping Viewset
2817
+ */
2818
+ propertymappingsSourceScimList(requestParameters = {}, initOverrides) {
2819
+ return __awaiter(this, void 0, void 0, function* () {
2820
+ const response = yield this.propertymappingsSourceScimListRaw(requestParameters, initOverrides);
2821
+ return yield response.value();
2822
+ });
2823
+ }
2824
+ /**
2825
+ * SCIMSourcePropertyMapping Viewset
2826
+ */
2827
+ propertymappingsSourceScimPartialUpdateRaw(requestParameters, initOverrides) {
2828
+ return __awaiter(this, void 0, void 0, function* () {
2829
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
2830
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimPartialUpdate.');
2831
+ }
2832
+ const queryParameters = {};
2833
+ const headerParameters = {};
2834
+ headerParameters['Content-Type'] = 'application/json';
2835
+ if (this.configuration && this.configuration.accessToken) {
2836
+ const token = this.configuration.accessToken;
2837
+ const tokenString = yield token("authentik", []);
2838
+ if (tokenString) {
2839
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2840
+ }
2841
+ }
2842
+ const response = yield this.request({
2843
+ path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
2844
+ method: 'PATCH',
2845
+ headers: headerParameters,
2846
+ query: queryParameters,
2847
+ body: PatchedSCIMSourcePropertyMappingRequestToJSON(requestParameters.patchedSCIMSourcePropertyMappingRequest),
2848
+ }, initOverrides);
2849
+ return new runtime.JSONApiResponse(response, (jsonValue) => SCIMSourcePropertyMappingFromJSON(jsonValue));
2850
+ });
2851
+ }
2852
+ /**
2853
+ * SCIMSourcePropertyMapping Viewset
2854
+ */
2855
+ propertymappingsSourceScimPartialUpdate(requestParameters, initOverrides) {
2856
+ return __awaiter(this, void 0, void 0, function* () {
2857
+ const response = yield this.propertymappingsSourceScimPartialUpdateRaw(requestParameters, initOverrides);
2858
+ return yield response.value();
2859
+ });
2860
+ }
2861
+ /**
2862
+ * SCIMSourcePropertyMapping Viewset
2863
+ */
2864
+ propertymappingsSourceScimRetrieveRaw(requestParameters, initOverrides) {
2865
+ return __awaiter(this, void 0, void 0, function* () {
2866
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
2867
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimRetrieve.');
2868
+ }
2869
+ const queryParameters = {};
2870
+ const headerParameters = {};
2871
+ if (this.configuration && this.configuration.accessToken) {
2872
+ const token = this.configuration.accessToken;
2873
+ const tokenString = yield token("authentik", []);
2874
+ if (tokenString) {
2875
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2876
+ }
2877
+ }
2878
+ const response = yield this.request({
2879
+ path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
2880
+ method: 'GET',
2881
+ headers: headerParameters,
2882
+ query: queryParameters,
2883
+ }, initOverrides);
2884
+ return new runtime.JSONApiResponse(response, (jsonValue) => SCIMSourcePropertyMappingFromJSON(jsonValue));
2885
+ });
2886
+ }
2887
+ /**
2888
+ * SCIMSourcePropertyMapping Viewset
2889
+ */
2890
+ propertymappingsSourceScimRetrieve(requestParameters, initOverrides) {
2891
+ return __awaiter(this, void 0, void 0, function* () {
2892
+ const response = yield this.propertymappingsSourceScimRetrieveRaw(requestParameters, initOverrides);
2893
+ return yield response.value();
2894
+ });
2895
+ }
2896
+ /**
2897
+ * SCIMSourcePropertyMapping Viewset
2898
+ */
2899
+ propertymappingsSourceScimUpdateRaw(requestParameters, initOverrides) {
2900
+ return __awaiter(this, void 0, void 0, function* () {
2901
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
2902
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimUpdate.');
2903
+ }
2904
+ if (requestParameters.sCIMSourcePropertyMappingRequest === null || requestParameters.sCIMSourcePropertyMappingRequest === undefined) {
2905
+ throw new runtime.RequiredError('sCIMSourcePropertyMappingRequest', 'Required parameter requestParameters.sCIMSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourceScimUpdate.');
2906
+ }
2907
+ const queryParameters = {};
2908
+ const headerParameters = {};
2909
+ headerParameters['Content-Type'] = 'application/json';
2910
+ if (this.configuration && this.configuration.accessToken) {
2911
+ const token = this.configuration.accessToken;
2912
+ const tokenString = yield token("authentik", []);
2913
+ if (tokenString) {
2914
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2915
+ }
2916
+ }
2917
+ const response = yield this.request({
2918
+ path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
2919
+ method: 'PUT',
2920
+ headers: headerParameters,
2921
+ query: queryParameters,
2922
+ body: SCIMSourcePropertyMappingRequestToJSON(requestParameters.sCIMSourcePropertyMappingRequest),
2923
+ }, initOverrides);
2924
+ return new runtime.JSONApiResponse(response, (jsonValue) => SCIMSourcePropertyMappingFromJSON(jsonValue));
2925
+ });
2926
+ }
2927
+ /**
2928
+ * SCIMSourcePropertyMapping Viewset
2929
+ */
2930
+ propertymappingsSourceScimUpdate(requestParameters, initOverrides) {
2931
+ return __awaiter(this, void 0, void 0, function* () {
2932
+ const response = yield this.propertymappingsSourceScimUpdateRaw(requestParameters, initOverrides);
2933
+ return yield response.value();
2934
+ });
2935
+ }
2936
+ /**
2937
+ * Get a list of all objects that use this object
2938
+ */
2939
+ propertymappingsSourceScimUsedByListRaw(requestParameters, initOverrides) {
2940
+ return __awaiter(this, void 0, void 0, function* () {
2941
+ if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
2942
+ throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimUsedByList.');
2943
+ }
2944
+ const queryParameters = {};
2945
+ const headerParameters = {};
2946
+ if (this.configuration && this.configuration.accessToken) {
2947
+ const token = this.configuration.accessToken;
2948
+ const tokenString = yield token("authentik", []);
2949
+ if (tokenString) {
2950
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2951
+ }
2952
+ }
2953
+ const response = yield this.request({
2954
+ path: `/propertymappings/source/scim/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
2955
+ method: 'GET',
2956
+ headers: headerParameters,
2957
+ query: queryParameters,
2958
+ }, initOverrides);
2959
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UsedByFromJSON));
2960
+ });
2961
+ }
2962
+ /**
2963
+ * Get a list of all objects that use this object
2964
+ */
2965
+ propertymappingsSourceScimUsedByList(requestParameters, initOverrides) {
2966
+ return __awaiter(this, void 0, void 0, function* () {
2967
+ const response = yield this.propertymappingsSourceScimUsedByListRaw(requestParameters, initOverrides);
2968
+ return yield response.value();
2969
+ });
2970
+ }
2697
2971
  }
@@ -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";
@@ -798,6 +798,7 @@ export const RbacPermissionsAssignedByRolesListModelEnum = {
798
798
  SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
799
799
  SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
800
800
  SourcesScimScimsource: 'authentik_sources_scim.scimsource',
801
+ SourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
801
802
  StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
802
803
  StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
803
804
  StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
@@ -885,6 +886,7 @@ export const RbacPermissionsAssignedByUsersListModelEnum = {
885
886
  SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
886
887
  SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
887
888
  SourcesScimScimsource: 'authentik_sources_scim.scimsource',
889
+ SourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
888
890
  StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
889
891
  StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
890
892
  StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
@@ -48,6 +48,7 @@ export declare const ModelEnum: {
48
48
  readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
49
49
  readonly SourcesSamlUsersamlsourceconnection: "authentik_sources_saml.usersamlsourceconnection";
50
50
  readonly SourcesScimScimsource: "authentik_sources_scim.scimsource";
51
+ readonly SourcesScimScimsourcepropertymapping: "authentik_sources_scim.scimsourcepropertymapping";
51
52
  readonly StagesAuthenticatorDuoAuthenticatorduostage: "authentik_stages_authenticator_duo.authenticatorduostage";
52
53
  readonly StagesAuthenticatorDuoDuodevice: "authentik_stages_authenticator_duo.duodevice";
53
54
  readonly StagesAuthenticatorSmsAuthenticatorsmsstage: "authentik_stages_authenticator_sms.authenticatorsmsstage";
@@ -50,6 +50,7 @@ export const ModelEnum = {
50
50
  SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
51
51
  SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
52
52
  SourcesScimScimsource: 'authentik_sources_scim.scimsource',
53
+ SourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
53
54
  StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
54
55
  StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
55
56
  StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.1
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Pagination } from './Pagination';
13
+ import type { SCIMSourcePropertyMapping } from './SCIMSourcePropertyMapping';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedSCIMSourcePropertyMappingList
18
+ */
19
+ export interface PaginatedSCIMSourcePropertyMappingList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedSCIMSourcePropertyMappingList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<SCIMSourcePropertyMapping>}
29
+ * @memberof PaginatedSCIMSourcePropertyMappingList
30
+ */
31
+ results: Array<SCIMSourcePropertyMapping>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedSCIMSourcePropertyMappingList interface.
35
+ */
36
+ export declare function instanceOfPaginatedSCIMSourcePropertyMappingList(value: object): boolean;
37
+ export declare function PaginatedSCIMSourcePropertyMappingListFromJSON(json: any): PaginatedSCIMSourcePropertyMappingList;
38
+ export declare function PaginatedSCIMSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSCIMSourcePropertyMappingList;
39
+ export declare function PaginatedSCIMSourcePropertyMappingListToJSON(value?: PaginatedSCIMSourcePropertyMappingList | null): any;
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.6.1
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
15
+ import { SCIMSourcePropertyMappingFromJSON, SCIMSourcePropertyMappingToJSON, } from './SCIMSourcePropertyMapping';
16
+ /**
17
+ * Check if a given object implements the PaginatedSCIMSourcePropertyMappingList interface.
18
+ */
19
+ export function instanceOfPaginatedSCIMSourcePropertyMappingList(value) {
20
+ let isInstance = true;
21
+ isInstance = isInstance && "pagination" in value;
22
+ isInstance = isInstance && "results" in value;
23
+ return isInstance;
24
+ }
25
+ export function PaginatedSCIMSourcePropertyMappingListFromJSON(json) {
26
+ return PaginatedSCIMSourcePropertyMappingListFromJSONTyped(json, false);
27
+ }
28
+ export function PaginatedSCIMSourcePropertyMappingListFromJSONTyped(json, ignoreDiscriminator) {
29
+ if ((json === undefined) || (json === null)) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'pagination': PaginationFromJSON(json['pagination']),
34
+ 'results': (json['results'].map(SCIMSourcePropertyMappingFromJSON)),
35
+ };
36
+ }
37
+ export function PaginatedSCIMSourcePropertyMappingListToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'pagination': PaginationToJSON(value.pagination),
46
+ 'results': (value.results.map(SCIMSourcePropertyMappingToJSON)),
47
+ };
48
+ }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.1
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * SCIMSourcePropertyMapping Serializer
14
+ * @export
15
+ * @interface PatchedSCIMSourcePropertyMappingRequest
16
+ */
17
+ export interface PatchedSCIMSourcePropertyMappingRequest {
18
+ /**
19
+ * Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
20
+ * @type {string}
21
+ * @memberof PatchedSCIMSourcePropertyMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchedSCIMSourcePropertyMappingRequest
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PatchedSCIMSourcePropertyMappingRequest
34
+ */
35
+ expression?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PatchedSCIMSourcePropertyMappingRequest interface.
39
+ */
40
+ export declare function instanceOfPatchedSCIMSourcePropertyMappingRequest(value: object): boolean;
41
+ export declare function PatchedSCIMSourcePropertyMappingRequestFromJSON(json: any): PatchedSCIMSourcePropertyMappingRequest;
42
+ export declare function PatchedSCIMSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSCIMSourcePropertyMappingRequest;
43
+ export declare function PatchedSCIMSourcePropertyMappingRequestToJSON(value?: PatchedSCIMSourcePropertyMappingRequest | null): any;
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.6.1
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ /**
16
+ * Check if a given object implements the PatchedSCIMSourcePropertyMappingRequest interface.
17
+ */
18
+ export function instanceOfPatchedSCIMSourcePropertyMappingRequest(value) {
19
+ let isInstance = true;
20
+ return isInstance;
21
+ }
22
+ export function PatchedSCIMSourcePropertyMappingRequestFromJSON(json) {
23
+ return PatchedSCIMSourcePropertyMappingRequestFromJSONTyped(json, false);
24
+ }
25
+ export function PatchedSCIMSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
31
+ 'name': !exists(json, 'name') ? undefined : json['name'],
32
+ 'expression': !exists(json, 'expression') ? undefined : json['expression'],
33
+ };
34
+ }
35
+ export function PatchedSCIMSourcePropertyMappingRequestToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'managed': value.managed,
44
+ 'name': value.name,
45
+ 'expression': value.expression,
46
+ };
47
+ }
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
13
12
  /**
14
13
  * SCIMSource Serializer
15
14
  * @export
@@ -36,10 +35,16 @@ export interface PatchedSCIMSourceRequest {
36
35
  enabled?: boolean;
37
36
  /**
38
37
  *
39
- * @type {UserMatchingModeEnum}
38
+ * @type {Array<string>}
40
39
  * @memberof PatchedSCIMSourceRequest
41
40
  */
42
- userMatchingMode?: UserMatchingModeEnum;
41
+ userPropertyMappings?: Array<string>;
42
+ /**
43
+ *
44
+ * @type {Array<string>}
45
+ * @memberof PatchedSCIMSourceRequest
46
+ */
47
+ groupPropertyMappings?: Array<string>;
43
48
  /**
44
49
  *
45
50
  * @type {string}
@@ -12,7 +12,6 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
16
15
  /**
17
16
  * Check if a given object implements the PatchedSCIMSourceRequest interface.
18
17
  */
@@ -31,7 +30,8 @@ export function PatchedSCIMSourceRequestFromJSONTyped(json, ignoreDiscriminator)
31
30
  'name': !exists(json, 'name') ? undefined : json['name'],
32
31
  'slug': !exists(json, 'slug') ? undefined : json['slug'],
33
32
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
34
- 'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
33
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
34
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
35
35
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
36
36
  };
37
37
  }
@@ -46,7 +46,8 @@ export function PatchedSCIMSourceRequestToJSON(value) {
46
46
  'name': value.name,
47
47
  'slug': value.slug,
48
48
  'enabled': value.enabled,
49
- 'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
49
+ 'user_property_mappings': value.userPropertyMappings,
50
+ 'group_property_mappings': value.groupPropertyMappings,
50
51
  'user_path_template': value.userPathTemplate,
51
52
  };
52
53
  }
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Token } from './Token';
13
- import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
14
13
  /**
15
14
  * SCIMSource Serializer
16
15
  * @export
@@ -41,6 +40,18 @@ export interface SCIMSource {
41
40
  * @memberof SCIMSource
42
41
  */
43
42
  enabled?: boolean;
43
+ /**
44
+ *
45
+ * @type {Array<string>}
46
+ * @memberof SCIMSource
47
+ */
48
+ userPropertyMappings?: Array<string>;
49
+ /**
50
+ *
51
+ * @type {Array<string>}
52
+ * @memberof SCIMSource
53
+ */
54
+ groupPropertyMappings?: Array<string>;
44
55
  /**
45
56
  * Get object component so that we know how to edit the object
46
57
  * @type {string}
@@ -65,12 +76,6 @@ export interface SCIMSource {
65
76
  * @memberof SCIMSource
66
77
  */
67
78
  readonly metaModelName: string;
68
- /**
69
- *
70
- * @type {UserMatchingModeEnum}
71
- * @memberof SCIMSource
72
- */
73
- userMatchingMode?: UserMatchingModeEnum;
74
79
  /**
75
80
  * Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
76
81
  * @type {string}
@@ -13,7 +13,6 @@
13
13
  */
14
14
  import { exists } from '../runtime';
15
15
  import { TokenFromJSON, } from './Token';
16
- import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
17
16
  /**
18
17
  * Check if a given object implements the SCIMSource interface.
19
18
  */
@@ -43,11 +42,12 @@ export function SCIMSourceFromJSONTyped(json, ignoreDiscriminator) {
43
42
  'name': json['name'],
44
43
  'slug': json['slug'],
45
44
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
45
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
46
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
46
47
  'component': json['component'],
47
48
  'verboseName': json['verbose_name'],
48
49
  'verboseNamePlural': json['verbose_name_plural'],
49
50
  'metaModelName': json['meta_model_name'],
50
- 'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
51
51
  'managed': json['managed'],
52
52
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
53
53
  'rootUrl': json['root_url'],
@@ -65,7 +65,8 @@ export function SCIMSourceToJSON(value) {
65
65
  'name': value.name,
66
66
  'slug': value.slug,
67
67
  'enabled': value.enabled,
68
- 'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
68
+ 'user_property_mappings': value.userPropertyMappings,
69
+ 'group_property_mappings': value.groupPropertyMappings,
69
70
  'user_path_template': value.userPathTemplate,
70
71
  };
71
72
  }