ongkir
Version:
Shipping charges from logistic services in Indonesia
13 lines (12 loc) • 477 B
TypeScript
import { ExpeditionType } from './expeditions';
export declare type LocationType = {
id: string;
label: string;
value: string;
};
export declare type SubdistrictType = {
kode_kecamatan: string;
nama_kecamatan: string;
};
export declare function Location(expedition: ExpeditionType, param: 'asal' | 'tujuan', term: string): Promise<LocationType[]>;
export declare function Subdistrict(expedition: ExpeditionType, cityId: string): Promise<SubdistrictType[]>;