Files
peeringdb/ts/interfaces/peeringdb.api.organization.ts

56 lines
1.0 KiB
TypeScript
Raw Normal View History

2025-11-18 20:47:48 +00:00
import type { IPeeringDbBaseObject } from '../peeringdb.types.js';
/**
* Organization object from PeeringDB API
* Organizations are the root object in PeeringDB and represent companies or entities
*/
export interface IOrganization extends IPeeringDbBaseObject {
/** Organization ID */
id: number;
/** Organization name */
name: string;
/** Organization website */
website: string;
/** Organization notes (markdown) */
notes: string;
/** Address line 1 */
address1: string;
/** Address line 2 */
address2: string;
/** City */
city: string;
/** State/Province */
state: string;
/** Zip/Postal code */
zipcode: string;
/** Country code (ISO 3166-1 alpha-2) */
country: string;
/** Latitude */
latitude: number | null;
/** Longitude */
longitude: number | null;
/** Floor area (sqm) */
floor_area: number | null;
/** Related networks */
net_set?: number[] | any[];
/** Related facilities */
fac_set?: number[] | any[];
/** Related internet exchanges */
ix_set?: number[] | any[];
}