@goauthentik/api 2024.12.3-1739801838 → 2024.12.3-1739965710

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.
@@ -31,6 +31,7 @@ export declare const AppEnum: {
31
31
  readonly AuthentikProvidersLdap: "authentik.providers.ldap";
32
32
  readonly AuthentikProvidersOauth2: "authentik.providers.oauth2";
33
33
  readonly AuthentikProvidersProxy: "authentik.providers.proxy";
34
+ readonly AuthentikProvidersRac: "authentik.providers.rac";
34
35
  readonly AuthentikProvidersRadius: "authentik.providers.radius";
35
36
  readonly AuthentikProvidersSaml: "authentik.providers.saml";
36
37
  readonly AuthentikProvidersScim: "authentik.providers.scim";
@@ -71,7 +72,6 @@ export declare const AppEnum: {
71
72
  readonly AuthentikEnterpriseAudit: "authentik.enterprise.audit";
72
73
  readonly AuthentikEnterpriseProvidersGoogleWorkspace: "authentik.enterprise.providers.google_workspace";
73
74
  readonly AuthentikEnterpriseProvidersMicrosoftEntra: "authentik.enterprise.providers.microsoft_entra";
74
- readonly AuthentikEnterpriseProvidersRac: "authentik.enterprise.providers.rac";
75
75
  readonly AuthentikEnterpriseProvidersSsf: "authentik.enterprise.providers.ssf";
76
76
  readonly AuthentikEnterpriseStagesAuthenticatorEndpointGdtc: "authentik.enterprise.stages.authenticator_endpoint_gdtc";
77
77
  readonly AuthentikEnterpriseStagesSource: "authentik.enterprise.stages.source";
@@ -33,6 +33,7 @@ export const AppEnum = {
33
33
  AuthentikProvidersLdap: 'authentik.providers.ldap',
34
34
  AuthentikProvidersOauth2: 'authentik.providers.oauth2',
35
35
  AuthentikProvidersProxy: 'authentik.providers.proxy',
36
+ AuthentikProvidersRac: 'authentik.providers.rac',
36
37
  AuthentikProvidersRadius: 'authentik.providers.radius',
37
38
  AuthentikProvidersSaml: 'authentik.providers.saml',
38
39
  AuthentikProvidersScim: 'authentik.providers.scim',
@@ -73,7 +74,6 @@ export const AppEnum = {
73
74
  AuthentikEnterpriseAudit: 'authentik.enterprise.audit',
74
75
  AuthentikEnterpriseProvidersGoogleWorkspace: 'authentik.enterprise.providers.google_workspace',
75
76
  AuthentikEnterpriseProvidersMicrosoftEntra: 'authentik.enterprise.providers.microsoft_entra',
76
- AuthentikEnterpriseProvidersRac: 'authentik.enterprise.providers.rac',
77
77
  AuthentikEnterpriseProvidersSsf: 'authentik.enterprise.providers.ssf',
78
78
  AuthentikEnterpriseStagesAuthenticatorEndpointGdtc: 'authentik.enterprise.stages.authenticator_endpoint_gdtc',
79
79
  AuthentikEnterpriseStagesSource: 'authentik.enterprise.stages.source',
@@ -83,6 +83,42 @@ export interface GeoIPPolicy {
83
83
  * @memberof GeoIPPolicy
84
84
  */
85
85
  readonly countriesObj: Array<DetailedCountryField>;
86
+ /**
87
+ *
88
+ * @type {boolean}
89
+ * @memberof GeoIPPolicy
90
+ */
91
+ checkHistoryDistance?: boolean;
92
+ /**
93
+ *
94
+ * @type {number}
95
+ * @memberof GeoIPPolicy
96
+ */
97
+ historyMaxDistanceKm?: number;
98
+ /**
99
+ *
100
+ * @type {number}
101
+ * @memberof GeoIPPolicy
102
+ */
103
+ distanceToleranceKm?: number;
104
+ /**
105
+ *
106
+ * @type {number}
107
+ * @memberof GeoIPPolicy
108
+ */
109
+ historyLoginCount?: number;
110
+ /**
111
+ *
112
+ * @type {boolean}
113
+ * @memberof GeoIPPolicy
114
+ */
115
+ checkImpossibleTravel?: boolean;
116
+ /**
117
+ *
118
+ * @type {number}
119
+ * @memberof GeoIPPolicy
120
+ */
121
+ impossibleToleranceKm?: number;
86
122
  }
87
123
  /**
88
124
  * Check if a given object implements the GeoIPPolicy interface.
@@ -56,6 +56,12 @@ export function GeoIPPolicyFromJSONTyped(json, ignoreDiscriminator) {
56
56
  'asns': json['asns'] == null ? undefined : json['asns'],
57
57
  'countries': (json['countries'].map(CountryCodeEnumFromJSON)),
58
58
  'countriesObj': (json['countries_obj'].map(DetailedCountryFieldFromJSON)),
59
+ 'checkHistoryDistance': json['check_history_distance'] == null ? undefined : json['check_history_distance'],
60
+ 'historyMaxDistanceKm': json['history_max_distance_km'] == null ? undefined : json['history_max_distance_km'],
61
+ 'distanceToleranceKm': json['distance_tolerance_km'] == null ? undefined : json['distance_tolerance_km'],
62
+ 'historyLoginCount': json['history_login_count'] == null ? undefined : json['history_login_count'],
63
+ 'checkImpossibleTravel': json['check_impossible_travel'] == null ? undefined : json['check_impossible_travel'],
64
+ 'impossibleToleranceKm': json['impossible_tolerance_km'] == null ? undefined : json['impossible_tolerance_km'],
59
65
  };
60
66
  }
61
67
  export function GeoIPPolicyToJSON(json) {
@@ -70,5 +76,11 @@ export function GeoIPPolicyToJSONTyped(value, ignoreDiscriminator = false) {
70
76
  'execution_logging': value['executionLogging'],
71
77
  'asns': value['asns'],
72
78
  'countries': (value['countries'].map(CountryCodeEnumToJSON)),
79
+ 'check_history_distance': value['checkHistoryDistance'],
80
+ 'history_max_distance_km': value['historyMaxDistanceKm'],
81
+ 'distance_tolerance_km': value['distanceToleranceKm'],
82
+ 'history_login_count': value['historyLoginCount'],
83
+ 'check_impossible_travel': value['checkImpossibleTravel'],
84
+ 'impossible_tolerance_km': value['impossibleToleranceKm'],
73
85
  };
74
86
  }
@@ -40,6 +40,42 @@ export interface GeoIPPolicyRequest {
40
40
  * @memberof GeoIPPolicyRequest
41
41
  */
42
42
  countries: Array<CountryCodeEnum>;
43
+ /**
44
+ *
45
+ * @type {boolean}
46
+ * @memberof GeoIPPolicyRequest
47
+ */
48
+ checkHistoryDistance?: boolean;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof GeoIPPolicyRequest
53
+ */
54
+ historyMaxDistanceKm?: number;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof GeoIPPolicyRequest
59
+ */
60
+ distanceToleranceKm?: number;
61
+ /**
62
+ *
63
+ * @type {number}
64
+ * @memberof GeoIPPolicyRequest
65
+ */
66
+ historyLoginCount?: number;
67
+ /**
68
+ *
69
+ * @type {boolean}
70
+ * @memberof GeoIPPolicyRequest
71
+ */
72
+ checkImpossibleTravel?: boolean;
73
+ /**
74
+ *
75
+ * @type {number}
76
+ * @memberof GeoIPPolicyRequest
77
+ */
78
+ impossibleToleranceKm?: number;
43
79
  }
44
80
  /**
45
81
  * Check if a given object implements the GeoIPPolicyRequest interface.
@@ -34,6 +34,12 @@ export function GeoIPPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
35
35
  'asns': json['asns'] == null ? undefined : json['asns'],
36
36
  'countries': (json['countries'].map(CountryCodeEnumFromJSON)),
37
+ 'checkHistoryDistance': json['check_history_distance'] == null ? undefined : json['check_history_distance'],
38
+ 'historyMaxDistanceKm': json['history_max_distance_km'] == null ? undefined : json['history_max_distance_km'],
39
+ 'distanceToleranceKm': json['distance_tolerance_km'] == null ? undefined : json['distance_tolerance_km'],
40
+ 'historyLoginCount': json['history_login_count'] == null ? undefined : json['history_login_count'],
41
+ 'checkImpossibleTravel': json['check_impossible_travel'] == null ? undefined : json['check_impossible_travel'],
42
+ 'impossibleToleranceKm': json['impossible_tolerance_km'] == null ? undefined : json['impossible_tolerance_km'],
37
43
  };
38
44
  }
39
45
  export function GeoIPPolicyRequestToJSON(json) {
@@ -48,5 +54,11 @@ export function GeoIPPolicyRequestToJSONTyped(value, ignoreDiscriminator = false
48
54
  'execution_logging': value['executionLogging'],
49
55
  'asns': value['asns'],
50
56
  'countries': (value['countries'].map(CountryCodeEnumToJSON)),
57
+ 'check_history_distance': value['checkHistoryDistance'],
58
+ 'history_max_distance_km': value['historyMaxDistanceKm'],
59
+ 'distance_tolerance_km': value['distanceToleranceKm'],
60
+ 'history_login_count': value['historyLoginCount'],
61
+ 'check_impossible_travel': value['checkImpossibleTravel'],
62
+ 'impossible_tolerance_km': value['impossibleToleranceKm'],
51
63
  };
52
64
  }
@@ -33,6 +33,9 @@ export declare const ModelEnum: {
33
33
  readonly AuthentikProvidersOauth2Scopemapping: "authentik_providers_oauth2.scopemapping";
34
34
  readonly AuthentikProvidersOauth2Oauth2provider: "authentik_providers_oauth2.oauth2provider";
35
35
  readonly AuthentikProvidersProxyProxyprovider: "authentik_providers_proxy.proxyprovider";
36
+ readonly AuthentikProvidersRacRacprovider: "authentik_providers_rac.racprovider";
37
+ readonly AuthentikProvidersRacEndpoint: "authentik_providers_rac.endpoint";
38
+ readonly AuthentikProvidersRacRacpropertymapping: "authentik_providers_rac.racpropertymapping";
36
39
  readonly AuthentikProvidersRadiusRadiusprovider: "authentik_providers_radius.radiusprovider";
37
40
  readonly AuthentikProvidersRadiusRadiusproviderpropertymapping: "authentik_providers_radius.radiusproviderpropertymapping";
38
41
  readonly AuthentikProvidersSamlSamlprovider: "authentik_providers_saml.samlprovider";
@@ -102,9 +105,6 @@ export declare const ModelEnum: {
102
105
  readonly AuthentikProvidersGoogleWorkspaceGoogleworkspaceprovidermapping: "authentik_providers_google_workspace.googleworkspaceprovidermapping";
103
106
  readonly AuthentikProvidersMicrosoftEntraMicrosoftentraprovider: "authentik_providers_microsoft_entra.microsoftentraprovider";
104
107
  readonly AuthentikProvidersMicrosoftEntraMicrosoftentraprovidermapping: "authentik_providers_microsoft_entra.microsoftentraprovidermapping";
105
- readonly AuthentikProvidersRacRacprovider: "authentik_providers_rac.racprovider";
106
- readonly AuthentikProvidersRacEndpoint: "authentik_providers_rac.endpoint";
107
- readonly AuthentikProvidersRacRacpropertymapping: "authentik_providers_rac.racpropertymapping";
108
108
  readonly AuthentikProvidersSsfSsfprovider: "authentik_providers_ssf.ssfprovider";
109
109
  readonly AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: "authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage";
110
110
  readonly AuthentikStagesSourceSourcestage: "authentik_stages_source.sourcestage";
@@ -35,6 +35,9 @@ export const ModelEnum = {
35
35
  AuthentikProvidersOauth2Scopemapping: 'authentik_providers_oauth2.scopemapping',
36
36
  AuthentikProvidersOauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
37
37
  AuthentikProvidersProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
38
+ AuthentikProvidersRacRacprovider: 'authentik_providers_rac.racprovider',
39
+ AuthentikProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
40
+ AuthentikProvidersRacRacpropertymapping: 'authentik_providers_rac.racpropertymapping',
38
41
  AuthentikProvidersRadiusRadiusprovider: 'authentik_providers_radius.radiusprovider',
39
42
  AuthentikProvidersRadiusRadiusproviderpropertymapping: 'authentik_providers_radius.radiusproviderpropertymapping',
40
43
  AuthentikProvidersSamlSamlprovider: 'authentik_providers_saml.samlprovider',
@@ -104,9 +107,6 @@ export const ModelEnum = {
104
107
  AuthentikProvidersGoogleWorkspaceGoogleworkspaceprovidermapping: 'authentik_providers_google_workspace.googleworkspaceprovidermapping',
105
108
  AuthentikProvidersMicrosoftEntraMicrosoftentraprovider: 'authentik_providers_microsoft_entra.microsoftentraprovider',
106
109
  AuthentikProvidersMicrosoftEntraMicrosoftentraprovidermapping: 'authentik_providers_microsoft_entra.microsoftentraprovidermapping',
107
- AuthentikProvidersRacRacprovider: 'authentik_providers_rac.racprovider',
108
- AuthentikProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
109
- AuthentikProvidersRacRacpropertymapping: 'authentik_providers_rac.racpropertymapping',
110
110
  AuthentikProvidersSsfSsfprovider: 'authentik_providers_ssf.ssfprovider',
111
111
  AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
112
112
  AuthentikStagesSourceSourcestage: 'authentik_stages_source.sourcestage',
@@ -40,6 +40,42 @@ export interface PatchedGeoIPPolicyRequest {
40
40
  * @memberof PatchedGeoIPPolicyRequest
41
41
  */
42
42
  countries?: Array<CountryCodeEnum>;
43
+ /**
44
+ *
45
+ * @type {boolean}
46
+ * @memberof PatchedGeoIPPolicyRequest
47
+ */
48
+ checkHistoryDistance?: boolean;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof PatchedGeoIPPolicyRequest
53
+ */
54
+ historyMaxDistanceKm?: number;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof PatchedGeoIPPolicyRequest
59
+ */
60
+ distanceToleranceKm?: number;
61
+ /**
62
+ *
63
+ * @type {number}
64
+ * @memberof PatchedGeoIPPolicyRequest
65
+ */
66
+ historyLoginCount?: number;
67
+ /**
68
+ *
69
+ * @type {boolean}
70
+ * @memberof PatchedGeoIPPolicyRequest
71
+ */
72
+ checkImpossibleTravel?: boolean;
73
+ /**
74
+ *
75
+ * @type {number}
76
+ * @memberof PatchedGeoIPPolicyRequest
77
+ */
78
+ impossibleToleranceKm?: number;
43
79
  }
44
80
  /**
45
81
  * Check if a given object implements the PatchedGeoIPPolicyRequest interface.
@@ -30,6 +30,12 @@ export function PatchedGeoIPPolicyRequestFromJSONTyped(json, ignoreDiscriminator
30
30
  'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
31
31
  'asns': json['asns'] == null ? undefined : json['asns'],
32
32
  'countries': json['countries'] == null ? undefined : (json['countries'].map(CountryCodeEnumFromJSON)),
33
+ 'checkHistoryDistance': json['check_history_distance'] == null ? undefined : json['check_history_distance'],
34
+ 'historyMaxDistanceKm': json['history_max_distance_km'] == null ? undefined : json['history_max_distance_km'],
35
+ 'distanceToleranceKm': json['distance_tolerance_km'] == null ? undefined : json['distance_tolerance_km'],
36
+ 'historyLoginCount': json['history_login_count'] == null ? undefined : json['history_login_count'],
37
+ 'checkImpossibleTravel': json['check_impossible_travel'] == null ? undefined : json['check_impossible_travel'],
38
+ 'impossibleToleranceKm': json['impossible_tolerance_km'] == null ? undefined : json['impossible_tolerance_km'],
33
39
  };
34
40
  }
35
41
  export function PatchedGeoIPPolicyRequestToJSON(json) {
@@ -44,5 +50,11 @@ export function PatchedGeoIPPolicyRequestToJSONTyped(value, ignoreDiscriminator
44
50
  'execution_logging': value['executionLogging'],
45
51
  'asns': value['asns'],
46
52
  'countries': value['countries'] == null ? undefined : (value['countries'].map(CountryCodeEnumToJSON)),
53
+ 'check_history_distance': value['checkHistoryDistance'],
54
+ 'history_max_distance_km': value['historyMaxDistanceKm'],
55
+ 'distance_tolerance_km': value['distanceToleranceKm'],
56
+ 'history_login_count': value['historyLoginCount'],
57
+ 'check_impossible_travel': value['checkImpossibleTravel'],
58
+ 'impossible_tolerance_km': value['impossibleToleranceKm'],
47
59
  };
48
60
  }
@@ -31,6 +31,7 @@ export declare const AppEnum: {
31
31
  readonly AuthentikProvidersLdap: "authentik.providers.ldap";
32
32
  readonly AuthentikProvidersOauth2: "authentik.providers.oauth2";
33
33
  readonly AuthentikProvidersProxy: "authentik.providers.proxy";
34
+ readonly AuthentikProvidersRac: "authentik.providers.rac";
34
35
  readonly AuthentikProvidersRadius: "authentik.providers.radius";
35
36
  readonly AuthentikProvidersSaml: "authentik.providers.saml";
36
37
  readonly AuthentikProvidersScim: "authentik.providers.scim";
@@ -71,7 +72,6 @@ export declare const AppEnum: {
71
72
  readonly AuthentikEnterpriseAudit: "authentik.enterprise.audit";
72
73
  readonly AuthentikEnterpriseProvidersGoogleWorkspace: "authentik.enterprise.providers.google_workspace";
73
74
  readonly AuthentikEnterpriseProvidersMicrosoftEntra: "authentik.enterprise.providers.microsoft_entra";
74
- readonly AuthentikEnterpriseProvidersRac: "authentik.enterprise.providers.rac";
75
75
  readonly AuthentikEnterpriseProvidersSsf: "authentik.enterprise.providers.ssf";
76
76
  readonly AuthentikEnterpriseStagesAuthenticatorEndpointGdtc: "authentik.enterprise.stages.authenticator_endpoint_gdtc";
77
77
  readonly AuthentikEnterpriseStagesSource: "authentik.enterprise.stages.source";
@@ -41,6 +41,7 @@ exports.AppEnum = {
41
41
  AuthentikProvidersLdap: 'authentik.providers.ldap',
42
42
  AuthentikProvidersOauth2: 'authentik.providers.oauth2',
43
43
  AuthentikProvidersProxy: 'authentik.providers.proxy',
44
+ AuthentikProvidersRac: 'authentik.providers.rac',
44
45
  AuthentikProvidersRadius: 'authentik.providers.radius',
45
46
  AuthentikProvidersSaml: 'authentik.providers.saml',
46
47
  AuthentikProvidersScim: 'authentik.providers.scim',
@@ -81,7 +82,6 @@ exports.AppEnum = {
81
82
  AuthentikEnterpriseAudit: 'authentik.enterprise.audit',
82
83
  AuthentikEnterpriseProvidersGoogleWorkspace: 'authentik.enterprise.providers.google_workspace',
83
84
  AuthentikEnterpriseProvidersMicrosoftEntra: 'authentik.enterprise.providers.microsoft_entra',
84
- AuthentikEnterpriseProvidersRac: 'authentik.enterprise.providers.rac',
85
85
  AuthentikEnterpriseProvidersSsf: 'authentik.enterprise.providers.ssf',
86
86
  AuthentikEnterpriseStagesAuthenticatorEndpointGdtc: 'authentik.enterprise.stages.authenticator_endpoint_gdtc',
87
87
  AuthentikEnterpriseStagesSource: 'authentik.enterprise.stages.source',
@@ -83,6 +83,42 @@ export interface GeoIPPolicy {
83
83
  * @memberof GeoIPPolicy
84
84
  */
85
85
  readonly countriesObj: Array<DetailedCountryField>;
86
+ /**
87
+ *
88
+ * @type {boolean}
89
+ * @memberof GeoIPPolicy
90
+ */
91
+ checkHistoryDistance?: boolean;
92
+ /**
93
+ *
94
+ * @type {number}
95
+ * @memberof GeoIPPolicy
96
+ */
97
+ historyMaxDistanceKm?: number;
98
+ /**
99
+ *
100
+ * @type {number}
101
+ * @memberof GeoIPPolicy
102
+ */
103
+ distanceToleranceKm?: number;
104
+ /**
105
+ *
106
+ * @type {number}
107
+ * @memberof GeoIPPolicy
108
+ */
109
+ historyLoginCount?: number;
110
+ /**
111
+ *
112
+ * @type {boolean}
113
+ * @memberof GeoIPPolicy
114
+ */
115
+ checkImpossibleTravel?: boolean;
116
+ /**
117
+ *
118
+ * @type {number}
119
+ * @memberof GeoIPPolicy
120
+ */
121
+ impossibleToleranceKm?: number;
86
122
  }
87
123
  /**
88
124
  * Check if a given object implements the GeoIPPolicy interface.
@@ -63,6 +63,12 @@ function GeoIPPolicyFromJSONTyped(json, ignoreDiscriminator) {
63
63
  'asns': json['asns'] == null ? undefined : json['asns'],
64
64
  'countries': (json['countries'].map(CountryCodeEnum_1.CountryCodeEnumFromJSON)),
65
65
  'countriesObj': (json['countries_obj'].map(DetailedCountryField_1.DetailedCountryFieldFromJSON)),
66
+ 'checkHistoryDistance': json['check_history_distance'] == null ? undefined : json['check_history_distance'],
67
+ 'historyMaxDistanceKm': json['history_max_distance_km'] == null ? undefined : json['history_max_distance_km'],
68
+ 'distanceToleranceKm': json['distance_tolerance_km'] == null ? undefined : json['distance_tolerance_km'],
69
+ 'historyLoginCount': json['history_login_count'] == null ? undefined : json['history_login_count'],
70
+ 'checkImpossibleTravel': json['check_impossible_travel'] == null ? undefined : json['check_impossible_travel'],
71
+ 'impossibleToleranceKm': json['impossible_tolerance_km'] == null ? undefined : json['impossible_tolerance_km'],
66
72
  };
67
73
  }
68
74
  function GeoIPPolicyToJSON(json) {
@@ -77,5 +83,11 @@ function GeoIPPolicyToJSONTyped(value, ignoreDiscriminator = false) {
77
83
  'execution_logging': value['executionLogging'],
78
84
  'asns': value['asns'],
79
85
  'countries': (value['countries'].map(CountryCodeEnum_1.CountryCodeEnumToJSON)),
86
+ 'check_history_distance': value['checkHistoryDistance'],
87
+ 'history_max_distance_km': value['historyMaxDistanceKm'],
88
+ 'distance_tolerance_km': value['distanceToleranceKm'],
89
+ 'history_login_count': value['historyLoginCount'],
90
+ 'check_impossible_travel': value['checkImpossibleTravel'],
91
+ 'impossible_tolerance_km': value['impossibleToleranceKm'],
80
92
  };
81
93
  }
@@ -40,6 +40,42 @@ export interface GeoIPPolicyRequest {
40
40
  * @memberof GeoIPPolicyRequest
41
41
  */
42
42
  countries: Array<CountryCodeEnum>;
43
+ /**
44
+ *
45
+ * @type {boolean}
46
+ * @memberof GeoIPPolicyRequest
47
+ */
48
+ checkHistoryDistance?: boolean;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof GeoIPPolicyRequest
53
+ */
54
+ historyMaxDistanceKm?: number;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof GeoIPPolicyRequest
59
+ */
60
+ distanceToleranceKm?: number;
61
+ /**
62
+ *
63
+ * @type {number}
64
+ * @memberof GeoIPPolicyRequest
65
+ */
66
+ historyLoginCount?: number;
67
+ /**
68
+ *
69
+ * @type {boolean}
70
+ * @memberof GeoIPPolicyRequest
71
+ */
72
+ checkImpossibleTravel?: boolean;
73
+ /**
74
+ *
75
+ * @type {number}
76
+ * @memberof GeoIPPolicyRequest
77
+ */
78
+ impossibleToleranceKm?: number;
43
79
  }
44
80
  /**
45
81
  * Check if a given object implements the GeoIPPolicyRequest interface.
@@ -41,6 +41,12 @@ function GeoIPPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
41
41
  'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
42
42
  'asns': json['asns'] == null ? undefined : json['asns'],
43
43
  'countries': (json['countries'].map(CountryCodeEnum_1.CountryCodeEnumFromJSON)),
44
+ 'checkHistoryDistance': json['check_history_distance'] == null ? undefined : json['check_history_distance'],
45
+ 'historyMaxDistanceKm': json['history_max_distance_km'] == null ? undefined : json['history_max_distance_km'],
46
+ 'distanceToleranceKm': json['distance_tolerance_km'] == null ? undefined : json['distance_tolerance_km'],
47
+ 'historyLoginCount': json['history_login_count'] == null ? undefined : json['history_login_count'],
48
+ 'checkImpossibleTravel': json['check_impossible_travel'] == null ? undefined : json['check_impossible_travel'],
49
+ 'impossibleToleranceKm': json['impossible_tolerance_km'] == null ? undefined : json['impossible_tolerance_km'],
44
50
  };
45
51
  }
46
52
  function GeoIPPolicyRequestToJSON(json) {
@@ -55,5 +61,11 @@ function GeoIPPolicyRequestToJSONTyped(value, ignoreDiscriminator = false) {
55
61
  'execution_logging': value['executionLogging'],
56
62
  'asns': value['asns'],
57
63
  'countries': (value['countries'].map(CountryCodeEnum_1.CountryCodeEnumToJSON)),
64
+ 'check_history_distance': value['checkHistoryDistance'],
65
+ 'history_max_distance_km': value['historyMaxDistanceKm'],
66
+ 'distance_tolerance_km': value['distanceToleranceKm'],
67
+ 'history_login_count': value['historyLoginCount'],
68
+ 'check_impossible_travel': value['checkImpossibleTravel'],
69
+ 'impossible_tolerance_km': value['impossibleToleranceKm'],
58
70
  };
59
71
  }
@@ -33,6 +33,9 @@ export declare const ModelEnum: {
33
33
  readonly AuthentikProvidersOauth2Scopemapping: "authentik_providers_oauth2.scopemapping";
34
34
  readonly AuthentikProvidersOauth2Oauth2provider: "authentik_providers_oauth2.oauth2provider";
35
35
  readonly AuthentikProvidersProxyProxyprovider: "authentik_providers_proxy.proxyprovider";
36
+ readonly AuthentikProvidersRacRacprovider: "authentik_providers_rac.racprovider";
37
+ readonly AuthentikProvidersRacEndpoint: "authentik_providers_rac.endpoint";
38
+ readonly AuthentikProvidersRacRacpropertymapping: "authentik_providers_rac.racpropertymapping";
36
39
  readonly AuthentikProvidersRadiusRadiusprovider: "authentik_providers_radius.radiusprovider";
37
40
  readonly AuthentikProvidersRadiusRadiusproviderpropertymapping: "authentik_providers_radius.radiusproviderpropertymapping";
38
41
  readonly AuthentikProvidersSamlSamlprovider: "authentik_providers_saml.samlprovider";
@@ -102,9 +105,6 @@ export declare const ModelEnum: {
102
105
  readonly AuthentikProvidersGoogleWorkspaceGoogleworkspaceprovidermapping: "authentik_providers_google_workspace.googleworkspaceprovidermapping";
103
106
  readonly AuthentikProvidersMicrosoftEntraMicrosoftentraprovider: "authentik_providers_microsoft_entra.microsoftentraprovider";
104
107
  readonly AuthentikProvidersMicrosoftEntraMicrosoftentraprovidermapping: "authentik_providers_microsoft_entra.microsoftentraprovidermapping";
105
- readonly AuthentikProvidersRacRacprovider: "authentik_providers_rac.racprovider";
106
- readonly AuthentikProvidersRacEndpoint: "authentik_providers_rac.endpoint";
107
- readonly AuthentikProvidersRacRacpropertymapping: "authentik_providers_rac.racpropertymapping";
108
108
  readonly AuthentikProvidersSsfSsfprovider: "authentik_providers_ssf.ssfprovider";
109
109
  readonly AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: "authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage";
110
110
  readonly AuthentikStagesSourceSourcestage: "authentik_stages_source.sourcestage";
@@ -43,6 +43,9 @@ exports.ModelEnum = {
43
43
  AuthentikProvidersOauth2Scopemapping: 'authentik_providers_oauth2.scopemapping',
44
44
  AuthentikProvidersOauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
45
45
  AuthentikProvidersProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
46
+ AuthentikProvidersRacRacprovider: 'authentik_providers_rac.racprovider',
47
+ AuthentikProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
48
+ AuthentikProvidersRacRacpropertymapping: 'authentik_providers_rac.racpropertymapping',
46
49
  AuthentikProvidersRadiusRadiusprovider: 'authentik_providers_radius.radiusprovider',
47
50
  AuthentikProvidersRadiusRadiusproviderpropertymapping: 'authentik_providers_radius.radiusproviderpropertymapping',
48
51
  AuthentikProvidersSamlSamlprovider: 'authentik_providers_saml.samlprovider',
@@ -112,9 +115,6 @@ exports.ModelEnum = {
112
115
  AuthentikProvidersGoogleWorkspaceGoogleworkspaceprovidermapping: 'authentik_providers_google_workspace.googleworkspaceprovidermapping',
113
116
  AuthentikProvidersMicrosoftEntraMicrosoftentraprovider: 'authentik_providers_microsoft_entra.microsoftentraprovider',
114
117
  AuthentikProvidersMicrosoftEntraMicrosoftentraprovidermapping: 'authentik_providers_microsoft_entra.microsoftentraprovidermapping',
115
- AuthentikProvidersRacRacprovider: 'authentik_providers_rac.racprovider',
116
- AuthentikProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
117
- AuthentikProvidersRacRacpropertymapping: 'authentik_providers_rac.racpropertymapping',
118
118
  AuthentikProvidersSsfSsfprovider: 'authentik_providers_ssf.ssfprovider',
119
119
  AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
120
120
  AuthentikStagesSourceSourcestage: 'authentik_stages_source.sourcestage',
@@ -40,6 +40,42 @@ export interface PatchedGeoIPPolicyRequest {
40
40
  * @memberof PatchedGeoIPPolicyRequest
41
41
  */
42
42
  countries?: Array<CountryCodeEnum>;
43
+ /**
44
+ *
45
+ * @type {boolean}
46
+ * @memberof PatchedGeoIPPolicyRequest
47
+ */
48
+ checkHistoryDistance?: boolean;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof PatchedGeoIPPolicyRequest
53
+ */
54
+ historyMaxDistanceKm?: number;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof PatchedGeoIPPolicyRequest
59
+ */
60
+ distanceToleranceKm?: number;
61
+ /**
62
+ *
63
+ * @type {number}
64
+ * @memberof PatchedGeoIPPolicyRequest
65
+ */
66
+ historyLoginCount?: number;
67
+ /**
68
+ *
69
+ * @type {boolean}
70
+ * @memberof PatchedGeoIPPolicyRequest
71
+ */
72
+ checkImpossibleTravel?: boolean;
73
+ /**
74
+ *
75
+ * @type {number}
76
+ * @memberof PatchedGeoIPPolicyRequest
77
+ */
78
+ impossibleToleranceKm?: number;
43
79
  }
44
80
  /**
45
81
  * Check if a given object implements the PatchedGeoIPPolicyRequest interface.
@@ -37,6 +37,12 @@ function PatchedGeoIPPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
38
38
  'asns': json['asns'] == null ? undefined : json['asns'],
39
39
  'countries': json['countries'] == null ? undefined : (json['countries'].map(CountryCodeEnum_1.CountryCodeEnumFromJSON)),
40
+ 'checkHistoryDistance': json['check_history_distance'] == null ? undefined : json['check_history_distance'],
41
+ 'historyMaxDistanceKm': json['history_max_distance_km'] == null ? undefined : json['history_max_distance_km'],
42
+ 'distanceToleranceKm': json['distance_tolerance_km'] == null ? undefined : json['distance_tolerance_km'],
43
+ 'historyLoginCount': json['history_login_count'] == null ? undefined : json['history_login_count'],
44
+ 'checkImpossibleTravel': json['check_impossible_travel'] == null ? undefined : json['check_impossible_travel'],
45
+ 'impossibleToleranceKm': json['impossible_tolerance_km'] == null ? undefined : json['impossible_tolerance_km'],
40
46
  };
41
47
  }
42
48
  function PatchedGeoIPPolicyRequestToJSON(json) {
@@ -51,5 +57,11 @@ function PatchedGeoIPPolicyRequestToJSONTyped(value, ignoreDiscriminator = false
51
57
  'execution_logging': value['executionLogging'],
52
58
  'asns': value['asns'],
53
59
  'countries': value['countries'] == null ? undefined : (value['countries'].map(CountryCodeEnum_1.CountryCodeEnumToJSON)),
60
+ 'check_history_distance': value['checkHistoryDistance'],
61
+ 'history_max_distance_km': value['historyMaxDistanceKm'],
62
+ 'distance_tolerance_km': value['distanceToleranceKm'],
63
+ 'history_login_count': value['historyLoginCount'],
64
+ 'check_impossible_travel': value['checkImpossibleTravel'],
65
+ 'impossible_tolerance_km': value['impossibleToleranceKm'],
54
66
  };
55
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2024.12.3-1739801838",
3
+ "version": "2024.12.3-1739965710",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -35,6 +35,7 @@ export const AppEnum = {
35
35
  AuthentikProvidersLdap: 'authentik.providers.ldap',
36
36
  AuthentikProvidersOauth2: 'authentik.providers.oauth2',
37
37
  AuthentikProvidersProxy: 'authentik.providers.proxy',
38
+ AuthentikProvidersRac: 'authentik.providers.rac',
38
39
  AuthentikProvidersRadius: 'authentik.providers.radius',
39
40
  AuthentikProvidersSaml: 'authentik.providers.saml',
40
41
  AuthentikProvidersScim: 'authentik.providers.scim',
@@ -75,7 +76,6 @@ export const AppEnum = {
75
76
  AuthentikEnterpriseAudit: 'authentik.enterprise.audit',
76
77
  AuthentikEnterpriseProvidersGoogleWorkspace: 'authentik.enterprise.providers.google_workspace',
77
78
  AuthentikEnterpriseProvidersMicrosoftEntra: 'authentik.enterprise.providers.microsoft_entra',
78
- AuthentikEnterpriseProvidersRac: 'authentik.enterprise.providers.rac',
79
79
  AuthentikEnterpriseProvidersSsf: 'authentik.enterprise.providers.ssf',
80
80
  AuthentikEnterpriseStagesAuthenticatorEndpointGdtc: 'authentik.enterprise.stages.authenticator_endpoint_gdtc',
81
81
  AuthentikEnterpriseStagesSource: 'authentik.enterprise.stages.source',
@@ -100,6 +100,42 @@ export interface GeoIPPolicy {
100
100
  * @memberof GeoIPPolicy
101
101
  */
102
102
  readonly countriesObj: Array<DetailedCountryField>;
103
+ /**
104
+ *
105
+ * @type {boolean}
106
+ * @memberof GeoIPPolicy
107
+ */
108
+ checkHistoryDistance?: boolean;
109
+ /**
110
+ *
111
+ * @type {number}
112
+ * @memberof GeoIPPolicy
113
+ */
114
+ historyMaxDistanceKm?: number;
115
+ /**
116
+ *
117
+ * @type {number}
118
+ * @memberof GeoIPPolicy
119
+ */
120
+ distanceToleranceKm?: number;
121
+ /**
122
+ *
123
+ * @type {number}
124
+ * @memberof GeoIPPolicy
125
+ */
126
+ historyLoginCount?: number;
127
+ /**
128
+ *
129
+ * @type {boolean}
130
+ * @memberof GeoIPPolicy
131
+ */
132
+ checkImpossibleTravel?: boolean;
133
+ /**
134
+ *
135
+ * @type {number}
136
+ * @memberof GeoIPPolicy
137
+ */
138
+ impossibleToleranceKm?: number;
103
139
  }
104
140
 
105
141
  /**
@@ -139,6 +175,12 @@ export function GeoIPPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean
139
175
  'asns': json['asns'] == null ? undefined : json['asns'],
140
176
  'countries': ((json['countries'] as Array<any>).map(CountryCodeEnumFromJSON)),
141
177
  'countriesObj': ((json['countries_obj'] as Array<any>).map(DetailedCountryFieldFromJSON)),
178
+ 'checkHistoryDistance': json['check_history_distance'] == null ? undefined : json['check_history_distance'],
179
+ 'historyMaxDistanceKm': json['history_max_distance_km'] == null ? undefined : json['history_max_distance_km'],
180
+ 'distanceToleranceKm': json['distance_tolerance_km'] == null ? undefined : json['distance_tolerance_km'],
181
+ 'historyLoginCount': json['history_login_count'] == null ? undefined : json['history_login_count'],
182
+ 'checkImpossibleTravel': json['check_impossible_travel'] == null ? undefined : json['check_impossible_travel'],
183
+ 'impossibleToleranceKm': json['impossible_tolerance_km'] == null ? undefined : json['impossible_tolerance_km'],
142
184
  };
143
185
  }
144
186
 
@@ -157,6 +199,12 @@ export function GeoIPPolicyToJSONTyped(value?: Omit<GeoIPPolicy, 'pk'|'component
157
199
  'execution_logging': value['executionLogging'],
158
200
  'asns': value['asns'],
159
201
  'countries': ((value['countries'] as Array<any>).map(CountryCodeEnumToJSON)),
202
+ 'check_history_distance': value['checkHistoryDistance'],
203
+ 'history_max_distance_km': value['historyMaxDistanceKm'],
204
+ 'distance_tolerance_km': value['distanceToleranceKm'],
205
+ 'history_login_count': value['historyLoginCount'],
206
+ 'check_impossible_travel': value['checkImpossibleTravel'],
207
+ 'impossible_tolerance_km': value['impossibleToleranceKm'],
160
208
  };
161
209
  }
162
210
 
@@ -51,6 +51,42 @@ export interface GeoIPPolicyRequest {
51
51
  * @memberof GeoIPPolicyRequest
52
52
  */
53
53
  countries: Array<CountryCodeEnum>;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof GeoIPPolicyRequest
58
+ */
59
+ checkHistoryDistance?: boolean;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof GeoIPPolicyRequest
64
+ */
65
+ historyMaxDistanceKm?: number;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof GeoIPPolicyRequest
70
+ */
71
+ distanceToleranceKm?: number;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof GeoIPPolicyRequest
76
+ */
77
+ historyLoginCount?: number;
78
+ /**
79
+ *
80
+ * @type {boolean}
81
+ * @memberof GeoIPPolicyRequest
82
+ */
83
+ checkImpossibleTravel?: boolean;
84
+ /**
85
+ *
86
+ * @type {number}
87
+ * @memberof GeoIPPolicyRequest
88
+ */
89
+ impossibleToleranceKm?: number;
54
90
  }
55
91
 
56
92
  /**
@@ -76,6 +112,12 @@ export function GeoIPPolicyRequestFromJSONTyped(json: any, ignoreDiscriminator:
76
112
  'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
77
113
  'asns': json['asns'] == null ? undefined : json['asns'],
78
114
  'countries': ((json['countries'] as Array<any>).map(CountryCodeEnumFromJSON)),
115
+ 'checkHistoryDistance': json['check_history_distance'] == null ? undefined : json['check_history_distance'],
116
+ 'historyMaxDistanceKm': json['history_max_distance_km'] == null ? undefined : json['history_max_distance_km'],
117
+ 'distanceToleranceKm': json['distance_tolerance_km'] == null ? undefined : json['distance_tolerance_km'],
118
+ 'historyLoginCount': json['history_login_count'] == null ? undefined : json['history_login_count'],
119
+ 'checkImpossibleTravel': json['check_impossible_travel'] == null ? undefined : json['check_impossible_travel'],
120
+ 'impossibleToleranceKm': json['impossible_tolerance_km'] == null ? undefined : json['impossible_tolerance_km'],
79
121
  };
80
122
  }
81
123
 
@@ -94,6 +136,12 @@ export function GeoIPPolicyRequestToJSONTyped(value?: GeoIPPolicyRequest | null,
94
136
  'execution_logging': value['executionLogging'],
95
137
  'asns': value['asns'],
96
138
  'countries': ((value['countries'] as Array<any>).map(CountryCodeEnumToJSON)),
139
+ 'check_history_distance': value['checkHistoryDistance'],
140
+ 'history_max_distance_km': value['historyMaxDistanceKm'],
141
+ 'distance_tolerance_km': value['distanceToleranceKm'],
142
+ 'history_login_count': value['historyLoginCount'],
143
+ 'check_impossible_travel': value['checkImpossibleTravel'],
144
+ 'impossible_tolerance_km': value['impossibleToleranceKm'],
97
145
  };
98
146
  }
99
147
 
@@ -37,6 +37,9 @@ export const ModelEnum = {
37
37
  AuthentikProvidersOauth2Scopemapping: 'authentik_providers_oauth2.scopemapping',
38
38
  AuthentikProvidersOauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
39
39
  AuthentikProvidersProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
40
+ AuthentikProvidersRacRacprovider: 'authentik_providers_rac.racprovider',
41
+ AuthentikProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
42
+ AuthentikProvidersRacRacpropertymapping: 'authentik_providers_rac.racpropertymapping',
40
43
  AuthentikProvidersRadiusRadiusprovider: 'authentik_providers_radius.radiusprovider',
41
44
  AuthentikProvidersRadiusRadiusproviderpropertymapping: 'authentik_providers_radius.radiusproviderpropertymapping',
42
45
  AuthentikProvidersSamlSamlprovider: 'authentik_providers_saml.samlprovider',
@@ -106,9 +109,6 @@ export const ModelEnum = {
106
109
  AuthentikProvidersGoogleWorkspaceGoogleworkspaceprovidermapping: 'authentik_providers_google_workspace.googleworkspaceprovidermapping',
107
110
  AuthentikProvidersMicrosoftEntraMicrosoftentraprovider: 'authentik_providers_microsoft_entra.microsoftentraprovider',
108
111
  AuthentikProvidersMicrosoftEntraMicrosoftentraprovidermapping: 'authentik_providers_microsoft_entra.microsoftentraprovidermapping',
109
- AuthentikProvidersRacRacprovider: 'authentik_providers_rac.racprovider',
110
- AuthentikProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
111
- AuthentikProvidersRacRacpropertymapping: 'authentik_providers_rac.racpropertymapping',
112
112
  AuthentikProvidersSsfSsfprovider: 'authentik_providers_ssf.ssfprovider',
113
113
  AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
114
114
  AuthentikStagesSourceSourcestage: 'authentik_stages_source.sourcestage',
@@ -51,6 +51,42 @@ export interface PatchedGeoIPPolicyRequest {
51
51
  * @memberof PatchedGeoIPPolicyRequest
52
52
  */
53
53
  countries?: Array<CountryCodeEnum>;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof PatchedGeoIPPolicyRequest
58
+ */
59
+ checkHistoryDistance?: boolean;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof PatchedGeoIPPolicyRequest
64
+ */
65
+ historyMaxDistanceKm?: number;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof PatchedGeoIPPolicyRequest
70
+ */
71
+ distanceToleranceKm?: number;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof PatchedGeoIPPolicyRequest
76
+ */
77
+ historyLoginCount?: number;
78
+ /**
79
+ *
80
+ * @type {boolean}
81
+ * @memberof PatchedGeoIPPolicyRequest
82
+ */
83
+ checkImpossibleTravel?: boolean;
84
+ /**
85
+ *
86
+ * @type {number}
87
+ * @memberof PatchedGeoIPPolicyRequest
88
+ */
89
+ impossibleToleranceKm?: number;
54
90
  }
55
91
 
56
92
  /**
@@ -74,6 +110,12 @@ export function PatchedGeoIPPolicyRequestFromJSONTyped(json: any, ignoreDiscrimi
74
110
  'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
75
111
  'asns': json['asns'] == null ? undefined : json['asns'],
76
112
  'countries': json['countries'] == null ? undefined : ((json['countries'] as Array<any>).map(CountryCodeEnumFromJSON)),
113
+ 'checkHistoryDistance': json['check_history_distance'] == null ? undefined : json['check_history_distance'],
114
+ 'historyMaxDistanceKm': json['history_max_distance_km'] == null ? undefined : json['history_max_distance_km'],
115
+ 'distanceToleranceKm': json['distance_tolerance_km'] == null ? undefined : json['distance_tolerance_km'],
116
+ 'historyLoginCount': json['history_login_count'] == null ? undefined : json['history_login_count'],
117
+ 'checkImpossibleTravel': json['check_impossible_travel'] == null ? undefined : json['check_impossible_travel'],
118
+ 'impossibleToleranceKm': json['impossible_tolerance_km'] == null ? undefined : json['impossible_tolerance_km'],
77
119
  };
78
120
  }
79
121
 
@@ -92,6 +134,12 @@ export function PatchedGeoIPPolicyRequestToJSONTyped(value?: PatchedGeoIPPolicyR
92
134
  'execution_logging': value['executionLogging'],
93
135
  'asns': value['asns'],
94
136
  'countries': value['countries'] == null ? undefined : ((value['countries'] as Array<any>).map(CountryCodeEnumToJSON)),
137
+ 'check_history_distance': value['checkHistoryDistance'],
138
+ 'history_max_distance_km': value['historyMaxDistanceKm'],
139
+ 'distance_tolerance_km': value['distanceToleranceKm'],
140
+ 'history_login_count': value['historyLoginCount'],
141
+ 'check_impossible_travel': value['checkImpossibleTravel'],
142
+ 'impossible_tolerance_km': value['impossibleToleranceKm'],
95
143
  };
96
144
  }
97
145