UNPKG

airalo-sdk-type

Version:

UNOFFICIAL AIRALO API INTEGRATION FOR JAVASCRIPT/TYPESCRIPT

27 lines (26 loc) 750 B
import { ApiResult } from "../utils/helpers"; type CompatibleDevice = { name: string; model: string; brand: string; os: string; compatible: boolean; }; type EsimVoucher = { code: string; package_id: string; created_at: string; }; export declare const GetCompatibleDevices: () => Promise<ApiResult<CompatibleDevice[]>>; export declare const CreateEsimVoucher: (params: { package_id: string; quantity?: number; }) => Promise<ApiResult<EsimVoucher[]>>; declare const _default: { GetCompatibleDevices: () => Promise<ApiResult<CompatibleDevice[]>>; CreateEsimVoucher: (params: { package_id: string; quantity?: number; }) => Promise<ApiResult<EsimVoucher[]>>; }; export default _default;