airalo-sdk-type
Version:
UNOFFICIAL AIRALO API INTEGRATION FOR JAVASCRIPT/TYPESCRIPT
56 lines (55 loc) • 1.25 kB
TypeScript
export type Sim = {
id: number;
created_at: string;
iccid: string;
lpa: string;
imsis: string | null;
matching_id: string;
qrcode: string;
qrcode_url: string;
direct_apple_installation_url: string;
airalo_code: string | null;
apn_type: string;
apn_value: string | null;
is_roaming: boolean;
confirmation_code: string | null;
msisdn: string | null;
};
export type Order = {
id: number;
code: string;
currency: string;
package_id: string;
quantity: number;
type: string;
description: string | null;
esim_type: string;
validity: number;
package: string;
data: string;
price: number;
net_price: number;
created_at: string;
manual_installation: string;
qrcode_installation: string;
installation_guides: Record<string, string>;
text: number | null;
voice: number | null;
brand_settings_name: string | null;
sims: Sim[];
};
export type OrderStatus = {
id: number;
slug: string;
description: string;
};
export type OrderListMeta = {
message: string;
current_page: number;
from: number;
last_page: number;
path: string;
per_page: number;
to: number;
total: number;
};