/** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2025.6.3 * Contact: hello@goauthentik.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { DetailedCountryField } from './DetailedCountryField'; import type { CountryCodeEnum } from './CountryCodeEnum'; /** * GeoIP Policy Serializer * @export * @interface GeoIPPolicy */ export interface GeoIPPolicy { /** * * @type {string} * @memberof GeoIPPolicy */ readonly pk: string; /** * * @type {string} * @memberof GeoIPPolicy */ name: string; /** * When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged. * @type {boolean} * @memberof GeoIPPolicy */ executionLogging?: boolean; /** * Get object component so that we know how to edit the object * @type {string} * @memberof GeoIPPolicy */ readonly component: string; /** * Return object's verbose_name * @type {string} * @memberof GeoIPPolicy */ readonly verboseName: string; /** * Return object's plural verbose_name * @type {string} * @memberof GeoIPPolicy */ readonly verboseNamePlural: string; /** * Return internal model name * @type {string} * @memberof GeoIPPolicy */ readonly metaModelName: string; /** * Return objects policy is bound to * @type {number} * @memberof GeoIPPolicy */ readonly boundTo: number; /** * * @type {Array} * @memberof GeoIPPolicy */ asns?: Array; /** * * @type {Array} * @memberof GeoIPPolicy */ countries: Array; /** * * @type {Array} * @memberof GeoIPPolicy */ readonly countriesObj: Array; /** * * @type {boolean} * @memberof GeoIPPolicy */ checkHistoryDistance?: boolean; /** * * @type {number} * @memberof GeoIPPolicy */ historyMaxDistanceKm?: number; /** * * @type {number} * @memberof GeoIPPolicy */ distanceToleranceKm?: number; /** * * @type {number} * @memberof GeoIPPolicy */ historyLoginCount?: number; /** * * @type {boolean} * @memberof GeoIPPolicy */ checkImpossibleTravel?: boolean; /** * * @type {number} * @memberof GeoIPPolicy */ impossibleToleranceKm?: number; } /** * Check if a given object implements the GeoIPPolicy interface. */ export declare function instanceOfGeoIPPolicy(value: object): value is GeoIPPolicy; export declare function GeoIPPolicyFromJSON(json: any): GeoIPPolicy; export declare function GeoIPPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeoIPPolicy; export declare function GeoIPPolicyToJSON(json: any): GeoIPPolicy; export declare function GeoIPPolicyToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=GeoIPPolicy.d.ts.map