initial
This commit is contained in:
79
ts/interfaces/peeringdb.api.exchange.ts
Normal file
79
ts/interfaces/peeringdb.api.exchange.ts
Normal file
@@ -0,0 +1,79 @@
|
||||
import type { IPeeringDbBaseObject } from '../peeringdb.types.js';
|
||||
|
||||
/**
|
||||
* Internet Exchange object from PeeringDB API
|
||||
* Represents an Internet Exchange Point (IXP)
|
||||
*/
|
||||
export interface IExchange extends IPeeringDbBaseObject {
|
||||
/** Exchange ID */
|
||||
id: number;
|
||||
|
||||
/** Organization ID */
|
||||
org_id: number;
|
||||
|
||||
/** Organization object (when depth > 0) */
|
||||
org?: any;
|
||||
|
||||
/** Exchange name */
|
||||
name: string;
|
||||
|
||||
/** Also known as (alternate names) */
|
||||
aka: string;
|
||||
|
||||
/** Name long */
|
||||
name_long: string;
|
||||
|
||||
/** Website */
|
||||
website: string;
|
||||
|
||||
/** City */
|
||||
city: string;
|
||||
|
||||
/** Country code (ISO 3166-1 alpha-2) */
|
||||
country: string;
|
||||
|
||||
/** Region/continent */
|
||||
region_continent: string;
|
||||
|
||||
/** Media type (Ethernet, ATM, etc.) */
|
||||
media: string;
|
||||
|
||||
/** Notes (markdown) */
|
||||
notes: string;
|
||||
|
||||
/** Proto unicast */
|
||||
proto_unicast: boolean;
|
||||
|
||||
/** Proto multicast */
|
||||
proto_multicast: boolean;
|
||||
|
||||
/** Proto IPv6 */
|
||||
proto_ipv6: boolean;
|
||||
|
||||
/** URL stats */
|
||||
url_stats: string;
|
||||
|
||||
/** Tech email */
|
||||
tech_email: string;
|
||||
|
||||
/** Tech phone */
|
||||
tech_phone: string;
|
||||
|
||||
/** Policy email */
|
||||
policy_email: string;
|
||||
|
||||
/** Policy phone */
|
||||
policy_phone: string;
|
||||
|
||||
/** Sales email */
|
||||
sales_email: string;
|
||||
|
||||
/** Sales phone */
|
||||
sales_phone: string;
|
||||
|
||||
/** Related IX LANs */
|
||||
ixlan_set?: number[] | any[];
|
||||
|
||||
/** Related IX-facility connections */
|
||||
ixfac_set?: number[] | any[];
|
||||
}
|
||||
Reference in New Issue
Block a user