initial
This commit is contained in:
55
ts/interfaces/peeringdb.api.organization.ts
Normal file
55
ts/interfaces/peeringdb.api.organization.ts
Normal file
@@ -0,0 +1,55 @@
|
||||
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[];
|
||||
}
|
||||
Reference in New Issue
Block a user