/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc1
 * 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<number>}
     * @memberof GeoIPPolicy
     */
    asns?: Array<number>;
    /**
     *
     * @type {Array<CountryCodeEnum>}
     * @memberof GeoIPPolicy
     */
    countries: Array<CountryCodeEnum>;
    /**
     *
     * @type {Array<DetailedCountryField>}
     * @memberof GeoIPPolicy
     */
    readonly countriesObj: Array<DetailedCountryField>;
    /**
     *
     * @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<GeoIPPolicy, 'pk' | 'component' | 'verbose_name' | 'verbose_name_plural' | 'meta_model_name' | 'bound_to' | 'countries_obj'> | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=GeoIPPolicy.d.ts.map