export interface ResponseASN { asn: number; cachegroup: string; cachegroupId: number; readonly id: number; readonly lastUpdated: Date; } export interface RequestASN { asn: number; cachegroupId: number; } export declare type ASN = RequestASN | ResponseASN; export declare const enum LocalizationMethod { CZ = "CZ", DEEP_CZ = "DEEP_CZ", GEO = "GEO" } export declare function localizationMethodToString(l: LocalizationMethod): string; export interface RequestCacheGroup { fallbacks?: Array | null; fallbackToClosest?: boolean | null; latitude?: number | null; localizationMethods?: Array | null; longitude?: number | null; name: string; parentCachegroupId?: number | null; secondaryParentCachegroupId?: number | null; shortName: string; typeId: number; } interface ResponseCacheGroupBase { fallbacks: Array; fallbackToClosest: boolean; readonly id: number; readonly lastUpdated: Date; latitude: number | null; localizationMethods: Array; longitude: number | null; name: string; shortName: string; typeId: number; typeName: string; } interface ResponseCacheGroupWithParent extends ResponseCacheGroupBase { parentCachegroupId: number; parentCachegroupName: string; } interface ResponseCacheGroupWithoutParent extends ResponseCacheGroupBase { parentCachegroupId: null; parentCachegroupName: null; } interface ResponseCacheGroupWithSecondaryParent extends ResponseCacheGroupBase { secondaryParentCachegroupId: number; secondaryParentCachegroupName: string; } interface ResponseCacheGroupWithoutSecondaryParent extends ResponseCacheGroupBase { secondaryParentCachegroupId: null; secondaryParentCachegroupName: null; } declare type ResponseCacheGroupWithParentButNotSecondary = ResponseCacheGroupWithParent & ResponseCacheGroupWithoutSecondaryParent; declare type ResponseCacheGroupWithParentAndSecondary = ResponseCacheGroupWithParent & ResponseCacheGroupWithSecondaryParent; declare type ResponseCacheGroupWithSecondaryButNotParent = ResponseCacheGroupWithoutParent & ResponseCacheGroupWithSecondaryParent; declare type ResponseCacheGroupWithoutParentOrSecondary = ResponseCacheGroupWithoutParent & ResponseCacheGroupWithoutSecondaryParent; export declare type ResponseCacheGroup = ResponseCacheGroupWithParentButNotSecondary | ResponseCacheGroupWithParentAndSecondary | ResponseCacheGroupWithSecondaryButNotParent | ResponseCacheGroupWithoutParentOrSecondary; export declare type CacheGroup = RequestCacheGroup | ResponseCacheGroup; export interface ResponseCacheGroupParameters { cachegroupParameters: Array<{ parameter: number; readonly lastUpdated: Date; cachegroup: string; }>; } export interface RequestCacheGroupParameter { cacheGroupId: number; parameterId: number; } export interface CacheGroupDeliveryServiceAssignmentRequest { deliveryServices: Array; } export interface CacheGroupDeliveryServiceAssignmentResponse { deliveryServices: Array; readonly id: number; serverNames: Array; } export {};