@goauthentik/api 2024.6.1-1721092506 → 2024.6.1-1721725857

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. package/dist/apis/PropertymappingsApi.d.ts +0 -1
  2. package/dist/apis/PropertymappingsApi.js +0 -3
  3. package/dist/apis/SourcesApi.d.ts +2 -2
  4. package/dist/apis/SourcesApi.js +6 -6
  5. package/dist/esm/apis/PropertymappingsApi.d.ts +0 -1
  6. package/dist/esm/apis/PropertymappingsApi.js +0 -3
  7. package/dist/esm/apis/SourcesApi.d.ts +2 -2
  8. package/dist/esm/apis/SourcesApi.js +6 -6
  9. package/dist/esm/models/Brand.d.ts +6 -0
  10. package/dist/esm/models/Brand.js +2 -0
  11. package/dist/esm/models/BrandRequest.d.ts +6 -0
  12. package/dist/esm/models/BrandRequest.js +2 -0
  13. package/dist/esm/models/LDAPPropertyMapping.d.ts +0 -6
  14. package/dist/esm/models/LDAPPropertyMapping.js +0 -3
  15. package/dist/esm/models/LDAPPropertyMappingRequest.d.ts +0 -6
  16. package/dist/esm/models/LDAPPropertyMappingRequest.js +0 -3
  17. package/dist/esm/models/LDAPSource.d.ts +12 -12
  18. package/dist/esm/models/LDAPSource.js +4 -4
  19. package/dist/esm/models/LDAPSourceRequest.d.ts +12 -12
  20. package/dist/esm/models/LDAPSourceRequest.js +4 -4
  21. package/dist/esm/models/OAuthSource.d.ts +12 -0
  22. package/dist/esm/models/OAuthSource.js +4 -0
  23. package/dist/esm/models/OAuthSourceRequest.d.ts +12 -0
  24. package/dist/esm/models/OAuthSourceRequest.js +4 -0
  25. package/dist/esm/models/PatchedBrandRequest.d.ts +6 -0
  26. package/dist/esm/models/PatchedBrandRequest.js +2 -0
  27. package/dist/esm/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -6
  28. package/dist/esm/models/PatchedLDAPPropertyMappingRequest.js +0 -2
  29. package/dist/esm/models/PatchedLDAPSourceRequest.d.ts +12 -12
  30. package/dist/esm/models/PatchedLDAPSourceRequest.js +4 -4
  31. package/dist/esm/models/PatchedOAuthSourceRequest.d.ts +12 -0
  32. package/dist/esm/models/PatchedOAuthSourceRequest.js +4 -0
  33. package/dist/esm/models/PatchedPlexSourceRequest.d.ts +12 -0
  34. package/dist/esm/models/PatchedPlexSourceRequest.js +4 -0
  35. package/dist/esm/models/PatchedSAMLSourceRequest.d.ts +12 -0
  36. package/dist/esm/models/PatchedSAMLSourceRequest.js +4 -0
  37. package/dist/esm/models/PlexSource.d.ts +12 -0
  38. package/dist/esm/models/PlexSource.js +4 -0
  39. package/dist/esm/models/PlexSourceRequest.d.ts +12 -0
  40. package/dist/esm/models/PlexSourceRequest.js +4 -0
  41. package/dist/esm/models/SAMLSource.d.ts +12 -0
  42. package/dist/esm/models/SAMLSource.js +4 -0
  43. package/dist/esm/models/SAMLSourceRequest.d.ts +12 -0
  44. package/dist/esm/models/SAMLSourceRequest.js +4 -0
  45. package/dist/esm/models/Source.d.ts +12 -0
  46. package/dist/esm/models/Source.js +4 -0
  47. package/dist/esm/models/SourceRequest.d.ts +12 -0
  48. package/dist/esm/models/SourceRequest.js +4 -0
  49. package/dist/models/Brand.d.ts +6 -0
  50. package/dist/models/Brand.js +2 -0
  51. package/dist/models/BrandRequest.d.ts +6 -0
  52. package/dist/models/BrandRequest.js +2 -0
  53. package/dist/models/LDAPPropertyMapping.d.ts +0 -6
  54. package/dist/models/LDAPPropertyMapping.js +0 -3
  55. package/dist/models/LDAPPropertyMappingRequest.d.ts +0 -6
  56. package/dist/models/LDAPPropertyMappingRequest.js +0 -3
  57. package/dist/models/LDAPSource.d.ts +12 -12
  58. package/dist/models/LDAPSource.js +4 -4
  59. package/dist/models/LDAPSourceRequest.d.ts +12 -12
  60. package/dist/models/LDAPSourceRequest.js +4 -4
  61. package/dist/models/OAuthSource.d.ts +12 -0
  62. package/dist/models/OAuthSource.js +4 -0
  63. package/dist/models/OAuthSourceRequest.d.ts +12 -0
  64. package/dist/models/OAuthSourceRequest.js +4 -0
  65. package/dist/models/PatchedBrandRequest.d.ts +6 -0
  66. package/dist/models/PatchedBrandRequest.js +2 -0
  67. package/dist/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -6
  68. package/dist/models/PatchedLDAPPropertyMappingRequest.js +0 -2
  69. package/dist/models/PatchedLDAPSourceRequest.d.ts +12 -12
  70. package/dist/models/PatchedLDAPSourceRequest.js +4 -4
  71. package/dist/models/PatchedOAuthSourceRequest.d.ts +12 -0
  72. package/dist/models/PatchedOAuthSourceRequest.js +4 -0
  73. package/dist/models/PatchedPlexSourceRequest.d.ts +12 -0
  74. package/dist/models/PatchedPlexSourceRequest.js +4 -0
  75. package/dist/models/PatchedSAMLSourceRequest.d.ts +12 -0
  76. package/dist/models/PatchedSAMLSourceRequest.js +4 -0
  77. package/dist/models/PlexSource.d.ts +12 -0
  78. package/dist/models/PlexSource.js +4 -0
  79. package/dist/models/PlexSourceRequest.d.ts +12 -0
  80. package/dist/models/PlexSourceRequest.js +4 -0
  81. package/dist/models/SAMLSource.d.ts +12 -0
  82. package/dist/models/SAMLSource.js +4 -0
  83. package/dist/models/SAMLSourceRequest.d.ts +12 -0
  84. package/dist/models/SAMLSourceRequest.js +4 -0
  85. package/dist/models/Source.d.ts +12 -0
  86. package/dist/models/Source.js +4 -0
  87. package/dist/models/SourceRequest.d.ts +12 -0
  88. package/dist/models/SourceRequest.js +4 -0
  89. package/package.json +1 -1
  90. package/src/apis/PropertymappingsApi.ts +0 -5
  91. package/src/apis/SourcesApi.ts +10 -10
  92. package/src/models/Brand.ts +8 -0
  93. package/src/models/BrandRequest.ts +8 -0
  94. package/src/models/LDAPPropertyMapping.ts +0 -9
  95. package/src/models/LDAPPropertyMappingRequest.ts +0 -9
  96. package/src/models/LDAPSource.ts +16 -16
  97. package/src/models/LDAPSourceRequest.ts +16 -16
  98. package/src/models/OAuthSource.ts +16 -0
  99. package/src/models/OAuthSourceRequest.ts +16 -0
  100. package/src/models/PatchedBrandRequest.ts +8 -0
  101. package/src/models/PatchedLDAPPropertyMappingRequest.ts +0 -8
  102. package/src/models/PatchedLDAPSourceRequest.ts +16 -16
  103. package/src/models/PatchedOAuthSourceRequest.ts +16 -0
  104. package/src/models/PatchedPlexSourceRequest.ts +16 -0
  105. package/src/models/PatchedSAMLSourceRequest.ts +16 -0
  106. package/src/models/PlexSource.ts +16 -0
  107. package/src/models/PlexSourceRequest.ts +16 -0
  108. package/src/models/SAMLSource.ts +16 -0
  109. package/src/models/SAMLSourceRequest.ts +16 -0
  110. package/src/models/Source.ts +16 -0
  111. package/src/models/SourceRequest.ts +16 -0
@@ -48,6 +48,18 @@ export interface PatchedOAuthSourceRequest {
48
48
  * @memberof PatchedOAuthSourceRequest
49
49
  */
50
50
  enrollmentFlow?: string | null;
51
+ /**
52
+ *
53
+ * @type {Array<string>}
54
+ * @memberof PatchedOAuthSourceRequest
55
+ */
56
+ userPropertyMappings?: Array<string>;
57
+ /**
58
+ *
59
+ * @type {Array<string>}
60
+ * @memberof PatchedOAuthSourceRequest
61
+ */
62
+ groupPropertyMappings?: Array<string>;
51
63
  /**
52
64
  *
53
65
  * @type {PolicyEngineMode}
@@ -35,6 +35,8 @@ export function PatchedOAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator
35
35
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
36
36
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
37
37
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
38
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
39
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
38
40
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
39
41
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
40
42
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -64,6 +66,8 @@ export function PatchedOAuthSourceRequestToJSON(value) {
64
66
  'enabled': value.enabled,
65
67
  'authentication_flow': value.authenticationFlow,
66
68
  'enrollment_flow': value.enrollmentFlow,
69
+ 'user_property_mappings': value.userPropertyMappings,
70
+ 'group_property_mappings': value.groupPropertyMappings,
67
71
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
68
72
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
69
73
  'user_path_template': value.userPathTemplate,
@@ -47,6 +47,18 @@ export interface PatchedPlexSourceRequest {
47
47
  * @memberof PatchedPlexSourceRequest
48
48
  */
49
49
  enrollmentFlow?: string | null;
50
+ /**
51
+ *
52
+ * @type {Array<string>}
53
+ * @memberof PatchedPlexSourceRequest
54
+ */
55
+ userPropertyMappings?: Array<string>;
56
+ /**
57
+ *
58
+ * @type {Array<string>}
59
+ * @memberof PatchedPlexSourceRequest
60
+ */
61
+ groupPropertyMappings?: Array<string>;
50
62
  /**
51
63
  *
52
64
  * @type {PolicyEngineMode}
@@ -34,6 +34,8 @@ export function PatchedPlexSourceRequestFromJSONTyped(json, ignoreDiscriminator)
34
34
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
35
35
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
36
36
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
37
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
38
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
37
39
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
38
40
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
39
41
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -56,6 +58,8 @@ export function PatchedPlexSourceRequestToJSON(value) {
56
58
  'enabled': value.enabled,
57
59
  'authentication_flow': value.authenticationFlow,
58
60
  'enrollment_flow': value.enrollmentFlow,
61
+ 'user_property_mappings': value.userPropertyMappings,
62
+ 'group_property_mappings': value.groupPropertyMappings,
59
63
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
60
64
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
61
65
  'user_path_template': value.userPathTemplate,
@@ -51,6 +51,18 @@ export interface PatchedSAMLSourceRequest {
51
51
  * @memberof PatchedSAMLSourceRequest
52
52
  */
53
53
  enrollmentFlow?: string | null;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof PatchedSAMLSourceRequest
58
+ */
59
+ userPropertyMappings?: Array<string>;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof PatchedSAMLSourceRequest
64
+ */
65
+ groupPropertyMappings?: Array<string>;
54
66
  /**
55
67
  *
56
68
  * @type {PolicyEngineMode}
@@ -38,6 +38,8 @@ export function PatchedSAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator)
38
38
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
39
39
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
40
40
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
41
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
42
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
41
43
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
42
44
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
43
45
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -68,6 +70,8 @@ export function PatchedSAMLSourceRequestToJSON(value) {
68
70
  'enabled': value.enabled,
69
71
  'authentication_flow': value.authenticationFlow,
70
72
  'enrollment_flow': value.enrollmentFlow,
73
+ 'user_property_mappings': value.userPropertyMappings,
74
+ 'group_property_mappings': value.groupPropertyMappings,
71
75
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
72
76
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
73
77
  'user_path_template': value.userPathTemplate,
@@ -53,6 +53,18 @@ export interface PlexSource {
53
53
  * @memberof PlexSource
54
54
  */
55
55
  enrollmentFlow?: string | null;
56
+ /**
57
+ *
58
+ * @type {Array<string>}
59
+ * @memberof PlexSource
60
+ */
61
+ userPropertyMappings?: Array<string>;
62
+ /**
63
+ *
64
+ * @type {Array<string>}
65
+ * @memberof PlexSource
66
+ */
67
+ groupPropertyMappings?: Array<string>;
56
68
  /**
57
69
  * Get object component so that we know how to edit the object
58
70
  * @type {string}
@@ -45,6 +45,8 @@ export function PlexSourceFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
46
46
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
47
47
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
48
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
49
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
48
50
  'component': json['component'],
49
51
  'verboseName': json['verbose_name'],
50
52
  'verboseNamePlural': json['verbose_name_plural'],
@@ -73,6 +75,8 @@ export function PlexSourceToJSON(value) {
73
75
  'enabled': value.enabled,
74
76
  'authentication_flow': value.authenticationFlow,
75
77
  'enrollment_flow': value.enrollmentFlow,
78
+ 'user_property_mappings': value.userPropertyMappings,
79
+ 'group_property_mappings': value.groupPropertyMappings,
76
80
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
77
81
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
78
82
  'user_path_template': value.userPathTemplate,
@@ -47,6 +47,18 @@ export interface PlexSourceRequest {
47
47
  * @memberof PlexSourceRequest
48
48
  */
49
49
  enrollmentFlow?: string | null;
50
+ /**
51
+ *
52
+ * @type {Array<string>}
53
+ * @memberof PlexSourceRequest
54
+ */
55
+ userPropertyMappings?: Array<string>;
56
+ /**
57
+ *
58
+ * @type {Array<string>}
59
+ * @memberof PlexSourceRequest
60
+ */
61
+ groupPropertyMappings?: Array<string>;
50
62
  /**
51
63
  *
52
64
  * @type {PolicyEngineMode}
@@ -37,6 +37,8 @@ export function PlexSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
38
38
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
39
39
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
40
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
41
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
40
42
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
41
43
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
42
44
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -59,6 +61,8 @@ export function PlexSourceRequestToJSON(value) {
59
61
  'enabled': value.enabled,
60
62
  'authentication_flow': value.authenticationFlow,
61
63
  'enrollment_flow': value.enrollmentFlow,
64
+ 'user_property_mappings': value.userPropertyMappings,
65
+ 'group_property_mappings': value.groupPropertyMappings,
62
66
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
63
67
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
64
68
  'user_path_template': value.userPathTemplate,
@@ -57,6 +57,18 @@ export interface SAMLSource {
57
57
  * @memberof SAMLSource
58
58
  */
59
59
  enrollmentFlow?: string | null;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof SAMLSource
64
+ */
65
+ userPropertyMappings?: Array<string>;
66
+ /**
67
+ *
68
+ * @type {Array<string>}
69
+ * @memberof SAMLSource
70
+ */
71
+ groupPropertyMappings?: Array<string>;
60
72
  /**
61
73
  * Get object component so that we know how to edit the object
62
74
  * @type {string}
@@ -50,6 +50,8 @@ export function SAMLSourceFromJSONTyped(json, ignoreDiscriminator) {
50
50
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
51
51
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
52
52
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
53
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
54
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
53
55
  'component': json['component'],
54
56
  'verboseName': json['verbose_name'],
55
57
  'verboseNamePlural': json['verbose_name_plural'],
@@ -86,6 +88,8 @@ export function SAMLSourceToJSON(value) {
86
88
  'enabled': value.enabled,
87
89
  'authentication_flow': value.authenticationFlow,
88
90
  'enrollment_flow': value.enrollmentFlow,
91
+ 'user_property_mappings': value.userPropertyMappings,
92
+ 'group_property_mappings': value.groupPropertyMappings,
89
93
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
90
94
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
91
95
  'user_path_template': value.userPathTemplate,
@@ -51,6 +51,18 @@ export interface SAMLSourceRequest {
51
51
  * @memberof SAMLSourceRequest
52
52
  */
53
53
  enrollmentFlow?: string | null;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof SAMLSourceRequest
58
+ */
59
+ userPropertyMappings?: Array<string>;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof SAMLSourceRequest
64
+ */
65
+ groupPropertyMappings?: Array<string>;
54
66
  /**
55
67
  *
56
68
  * @type {PolicyEngineMode}
@@ -42,6 +42,8 @@ export function SAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
43
43
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
44
44
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
45
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
46
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
45
47
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
46
48
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
47
49
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -72,6 +74,8 @@ export function SAMLSourceRequestToJSON(value) {
72
74
  'enabled': value.enabled,
73
75
  'authentication_flow': value.authenticationFlow,
74
76
  'enrollment_flow': value.enrollmentFlow,
77
+ 'user_property_mappings': value.userPropertyMappings,
78
+ 'group_property_mappings': value.groupPropertyMappings,
75
79
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
76
80
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
77
81
  'user_path_template': value.userPathTemplate,
@@ -53,6 +53,18 @@ export interface Source {
53
53
  * @memberof Source
54
54
  */
55
55
  enrollmentFlow?: string | null;
56
+ /**
57
+ *
58
+ * @type {Array<string>}
59
+ * @memberof Source
60
+ */
61
+ userPropertyMappings?: Array<string>;
62
+ /**
63
+ *
64
+ * @type {Array<string>}
65
+ * @memberof Source
66
+ */
67
+ groupPropertyMappings?: Array<string>;
56
68
  /**
57
69
  * Get object component so that we know how to edit the object
58
70
  * @type {string}
@@ -44,6 +44,8 @@ export function SourceFromJSONTyped(json, ignoreDiscriminator) {
44
44
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
45
45
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
46
46
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
47
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
48
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
47
49
  'component': json['component'],
48
50
  'verboseName': json['verbose_name'],
49
51
  'verboseNamePlural': json['verbose_name_plural'],
@@ -68,6 +70,8 @@ export function SourceToJSON(value) {
68
70
  'enabled': value.enabled,
69
71
  'authentication_flow': value.authenticationFlow,
70
72
  'enrollment_flow': value.enrollmentFlow,
73
+ 'user_property_mappings': value.userPropertyMappings,
74
+ 'group_property_mappings': value.groupPropertyMappings,
71
75
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
72
76
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
73
77
  'user_path_template': value.userPathTemplate,
@@ -47,6 +47,18 @@ export interface SourceRequest {
47
47
  * @memberof SourceRequest
48
48
  */
49
49
  enrollmentFlow?: string | null;
50
+ /**
51
+ *
52
+ * @type {Array<string>}
53
+ * @memberof SourceRequest
54
+ */
55
+ userPropertyMappings?: Array<string>;
56
+ /**
57
+ *
58
+ * @type {Array<string>}
59
+ * @memberof SourceRequest
60
+ */
61
+ groupPropertyMappings?: Array<string>;
50
62
  /**
51
63
  *
52
64
  * @type {PolicyEngineMode}
@@ -36,6 +36,8 @@ export function SourceRequestFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
37
37
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
38
38
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
39
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
40
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
39
41
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
40
42
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
41
43
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -54,6 +56,8 @@ export function SourceRequestToJSON(value) {
54
56
  'enabled': value.enabled,
55
57
  'authentication_flow': value.authenticationFlow,
56
58
  'enrollment_flow': value.enrollmentFlow,
59
+ 'user_property_mappings': value.userPropertyMappings,
60
+ 'group_property_mappings': value.groupPropertyMappings,
57
61
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
58
62
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
59
63
  'user_path_template': value.userPathTemplate,
@@ -87,6 +87,12 @@ export interface Brand {
87
87
  * @memberof Brand
88
88
  */
89
89
  flowDeviceCode?: string | null;
90
+ /**
91
+ * When set, external users will be redirected to this application after authenticating.
92
+ * @type {string}
93
+ * @memberof Brand
94
+ */
95
+ defaultApplication?: string | null;
90
96
  /**
91
97
  * Web Certificate used by the authentik Core webserver.
92
98
  * @type {string}
@@ -46,6 +46,7 @@ function BrandFromJSONTyped(json, ignoreDiscriminator) {
46
46
  'flowUnenrollment': !(0, runtime_1.exists)(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
47
47
  'flowUserSettings': !(0, runtime_1.exists)(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
48
48
  'flowDeviceCode': !(0, runtime_1.exists)(json, 'flow_device_code') ? undefined : json['flow_device_code'],
49
+ 'defaultApplication': !(0, runtime_1.exists)(json, 'default_application') ? undefined : json['default_application'],
49
50
  'webCertificate': !(0, runtime_1.exists)(json, 'web_certificate') ? undefined : json['web_certificate'],
50
51
  'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
51
52
  };
@@ -70,6 +71,7 @@ function BrandToJSON(value) {
70
71
  'flow_unenrollment': value.flowUnenrollment,
71
72
  'flow_user_settings': value.flowUserSettings,
72
73
  'flow_device_code': value.flowDeviceCode,
74
+ 'default_application': value.defaultApplication,
73
75
  'web_certificate': value.webCertificate,
74
76
  'attributes': value.attributes,
75
77
  };
@@ -81,6 +81,12 @@ export interface BrandRequest {
81
81
  * @memberof BrandRequest
82
82
  */
83
83
  flowDeviceCode?: string | null;
84
+ /**
85
+ * When set, external users will be redirected to this application after authenticating.
86
+ * @type {string}
87
+ * @memberof BrandRequest
88
+ */
89
+ defaultApplication?: string | null;
84
90
  /**
85
91
  * Web Certificate used by the authentik Core webserver.
86
92
  * @type {string}
@@ -44,6 +44,7 @@ function BrandRequestFromJSONTyped(json, ignoreDiscriminator) {
44
44
  'flowUnenrollment': !(0, runtime_1.exists)(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
45
45
  'flowUserSettings': !(0, runtime_1.exists)(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
46
46
  'flowDeviceCode': !(0, runtime_1.exists)(json, 'flow_device_code') ? undefined : json['flow_device_code'],
47
+ 'defaultApplication': !(0, runtime_1.exists)(json, 'default_application') ? undefined : json['default_application'],
47
48
  'webCertificate': !(0, runtime_1.exists)(json, 'web_certificate') ? undefined : json['web_certificate'],
48
49
  'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
49
50
  };
@@ -68,6 +69,7 @@ function BrandRequestToJSON(value) {
68
69
  'flow_unenrollment': value.flowUnenrollment,
69
70
  'flow_user_settings': value.flowUserSettings,
70
71
  'flow_device_code': value.flowDeviceCode,
72
+ 'default_application': value.defaultApplication,
71
73
  'web_certificate': value.webCertificate,
72
74
  'attributes': value.attributes,
73
75
  };
@@ -63,12 +63,6 @@ export interface LDAPPropertyMapping {
63
63
  * @memberof LDAPPropertyMapping
64
64
  */
65
65
  readonly metaModelName: string;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof LDAPPropertyMapping
70
- */
71
- objectField: string;
72
66
  }
73
67
  /**
74
68
  * Check if a given object implements the LDAPPropertyMapping interface.
@@ -27,7 +27,6 @@ function instanceOfLDAPPropertyMapping(value) {
27
27
  isInstance = isInstance && "verboseName" in value;
28
28
  isInstance = isInstance && "verboseNamePlural" in value;
29
29
  isInstance = isInstance && "metaModelName" in value;
30
- isInstance = isInstance && "objectField" in value;
31
30
  return isInstance;
32
31
  }
33
32
  exports.instanceOfLDAPPropertyMapping = instanceOfLDAPPropertyMapping;
@@ -48,7 +47,6 @@ function LDAPPropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
48
47
  'verboseName': json['verbose_name'],
49
48
  'verboseNamePlural': json['verbose_name_plural'],
50
49
  'metaModelName': json['meta_model_name'],
51
- 'objectField': json['object_field'],
52
50
  };
53
51
  }
54
52
  exports.LDAPPropertyMappingFromJSONTyped = LDAPPropertyMappingFromJSONTyped;
@@ -63,7 +61,6 @@ function LDAPPropertyMappingToJSON(value) {
63
61
  'managed': value.managed,
64
62
  'name': value.name,
65
63
  'expression': value.expression,
66
- 'object_field': value.objectField,
67
64
  };
68
65
  }
69
66
  exports.LDAPPropertyMappingToJSON = LDAPPropertyMappingToJSON;
@@ -33,12 +33,6 @@ export interface LDAPPropertyMappingRequest {
33
33
  * @memberof LDAPPropertyMappingRequest
34
34
  */
35
35
  expression: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof LDAPPropertyMappingRequest
40
- */
41
- objectField: string;
42
36
  }
43
37
  /**
44
38
  * Check if a given object implements the LDAPPropertyMappingRequest interface.
@@ -22,7 +22,6 @@ function instanceOfLDAPPropertyMappingRequest(value) {
22
22
  let isInstance = true;
23
23
  isInstance = isInstance && "name" in value;
24
24
  isInstance = isInstance && "expression" in value;
25
- isInstance = isInstance && "objectField" in value;
26
25
  return isInstance;
27
26
  }
28
27
  exports.instanceOfLDAPPropertyMappingRequest = instanceOfLDAPPropertyMappingRequest;
@@ -38,7 +37,6 @@ function LDAPPropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
38
37
  'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
39
38
  'name': json['name'],
40
39
  'expression': json['expression'],
41
- 'objectField': json['object_field'],
42
40
  };
43
41
  }
44
42
  exports.LDAPPropertyMappingRequestFromJSONTyped = LDAPPropertyMappingRequestFromJSONTyped;
@@ -53,7 +51,6 @@ function LDAPPropertyMappingRequestToJSON(value) {
53
51
  'managed': value.managed,
54
52
  'name': value.name,
55
53
  'expression': value.expression,
56
- 'object_field': value.objectField,
57
54
  };
58
55
  }
59
56
  exports.LDAPPropertyMappingRequestToJSON = LDAPPropertyMappingRequestToJSON;
@@ -53,6 +53,18 @@ export interface LDAPSource {
53
53
  * @memberof LDAPSource
54
54
  */
55
55
  enrollmentFlow?: string | null;
56
+ /**
57
+ *
58
+ * @type {Array<string>}
59
+ * @memberof LDAPSource
60
+ */
61
+ userPropertyMappings?: Array<string>;
62
+ /**
63
+ *
64
+ * @type {Array<string>}
65
+ * @memberof LDAPSource
66
+ */
67
+ groupPropertyMappings?: Array<string>;
56
68
  /**
57
69
  * Get object component so that we know how to edit the object
58
70
  * @type {string}
@@ -215,18 +227,6 @@ export interface LDAPSource {
215
227
  * @memberof LDAPSource
216
228
  */
217
229
  syncParentGroup?: string | null;
218
- /**
219
- *
220
- * @type {Array<string>}
221
- * @memberof LDAPSource
222
- */
223
- propertyMappings?: Array<string>;
224
- /**
225
- * Property mappings used for group creation/updating.
226
- * @type {Array<string>}
227
- * @memberof LDAPSource
228
- */
229
- propertyMappingsGroup?: Array<string>;
230
230
  /**
231
231
  * Get cached source connectivity
232
232
  * @type {{ [key: string]: { [key: string]: string; }; }}
@@ -52,6 +52,8 @@ function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
52
52
  'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
53
53
  'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
54
54
  'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
55
+ 'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
56
+ 'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
55
57
  'component': json['component'],
56
58
  'verboseName': json['verbose_name'],
57
59
  'verboseNamePlural': json['verbose_name_plural'],
@@ -79,8 +81,6 @@ function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
79
81
  'syncUsersPassword': !(0, runtime_1.exists)(json, 'sync_users_password') ? undefined : json['sync_users_password'],
80
82
  'syncGroups': !(0, runtime_1.exists)(json, 'sync_groups') ? undefined : json['sync_groups'],
81
83
  'syncParentGroup': !(0, runtime_1.exists)(json, 'sync_parent_group') ? undefined : json['sync_parent_group'],
82
- 'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
83
- 'propertyMappingsGroup': !(0, runtime_1.exists)(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
84
84
  'connectivity': json['connectivity'],
85
85
  };
86
86
  }
@@ -98,6 +98,8 @@ function LDAPSourceToJSON(value) {
98
98
  'enabled': value.enabled,
99
99
  'authentication_flow': value.authenticationFlow,
100
100
  'enrollment_flow': value.enrollmentFlow,
101
+ 'user_property_mappings': value.userPropertyMappings,
102
+ 'group_property_mappings': value.groupPropertyMappings,
101
103
  'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
102
104
  'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
103
105
  'user_path_template': value.userPathTemplate,
@@ -119,8 +121,6 @@ function LDAPSourceToJSON(value) {
119
121
  'sync_users_password': value.syncUsersPassword,
120
122
  'sync_groups': value.syncGroups,
121
123
  'sync_parent_group': value.syncParentGroup,
122
- 'property_mappings': value.propertyMappings,
123
- 'property_mappings_group': value.propertyMappingsGroup,
124
124
  };
125
125
  }
126
126
  exports.LDAPSourceToJSON = LDAPSourceToJSON;
@@ -47,6 +47,18 @@ export interface LDAPSourceRequest {
47
47
  * @memberof LDAPSourceRequest
48
48
  */
49
49
  enrollmentFlow?: string | null;
50
+ /**
51
+ *
52
+ * @type {Array<string>}
53
+ * @memberof LDAPSourceRequest
54
+ */
55
+ userPropertyMappings?: Array<string>;
56
+ /**
57
+ *
58
+ * @type {Array<string>}
59
+ * @memberof LDAPSourceRequest
60
+ */
61
+ groupPropertyMappings?: Array<string>;
50
62
  /**
51
63
  *
52
64
  * @type {PolicyEngineMode}
@@ -179,18 +191,6 @@ export interface LDAPSourceRequest {
179
191
  * @memberof LDAPSourceRequest
180
192
  */
181
193
  syncParentGroup?: string | null;
182
- /**
183
- *
184
- * @type {Array<string>}
185
- * @memberof LDAPSourceRequest
186
- */
187
- propertyMappings?: Array<string>;
188
- /**
189
- * Property mappings used for group creation/updating.
190
- * @type {Array<string>}
191
- * @memberof LDAPSourceRequest
192
- */
193
- propertyMappingsGroup?: Array<string>;
194
194
  }
195
195
  /**
196
196
  * Check if a given object implements the LDAPSourceRequest interface.
@@ -43,6 +43,8 @@ function LDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
43
43
  'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
44
44
  'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
45
45
  'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
46
+ 'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
47
+ 'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
46
48
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
47
49
  'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
48
50
  'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -65,8 +67,6 @@ function LDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
65
67
  'syncUsersPassword': !(0, runtime_1.exists)(json, 'sync_users_password') ? undefined : json['sync_users_password'],
66
68
  'syncGroups': !(0, runtime_1.exists)(json, 'sync_groups') ? undefined : json['sync_groups'],
67
69
  'syncParentGroup': !(0, runtime_1.exists)(json, 'sync_parent_group') ? undefined : json['sync_parent_group'],
68
- 'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
69
- 'propertyMappingsGroup': !(0, runtime_1.exists)(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
70
70
  };
71
71
  }
72
72
  exports.LDAPSourceRequestFromJSONTyped = LDAPSourceRequestFromJSONTyped;
@@ -83,6 +83,8 @@ function LDAPSourceRequestToJSON(value) {
83
83
  'enabled': value.enabled,
84
84
  'authentication_flow': value.authenticationFlow,
85
85
  'enrollment_flow': value.enrollmentFlow,
86
+ 'user_property_mappings': value.userPropertyMappings,
87
+ 'group_property_mappings': value.groupPropertyMappings,
86
88
  'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
87
89
  'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
88
90
  'user_path_template': value.userPathTemplate,
@@ -105,8 +107,6 @@ function LDAPSourceRequestToJSON(value) {
105
107
  'sync_users_password': value.syncUsersPassword,
106
108
  'sync_groups': value.syncGroups,
107
109
  'sync_parent_group': value.syncParentGroup,
108
- 'property_mappings': value.propertyMappings,
109
- 'property_mappings_group': value.propertyMappingsGroup,
110
110
  };
111
111
  }
112
112
  exports.LDAPSourceRequestToJSON = LDAPSourceRequestToJSON;