ggez-banking-sdk
Version:
A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.
18 lines (17 loc) • 440 B
TypeScript
import type { GeoCoordinates } from "../banking/common";
type IPAddressStringResult = {
value: string;
};
type IPAddressAndLocation = {
ip_address: string;
country: string;
city: string;
latitude: number;
longitude: number;
};
interface CachedGeoData {
geo_coordinates: GeoCoordinates;
ip_address?: string;
timestamp: number;
}
export type { IPAddressStringResult, IPAddressAndLocation, CachedGeoData };