UNPKG

@myparcel/sdk

Version:

JavaScript SDK to connect to the MyParcel API via Node.js or browser

16 lines (14 loc) 724 B
import { SystemCountryCodesPerCountry, GetSystemCountryCodesParams } from './SystemCountryCodes.types'; import { AbstractPrivateEndpoint } from '../../../model/endpoint/AbstractPrivateEndpoint'; import { CreateDefinition } from '../../../model/endpoint/AbstractEndpoint.types'; type GetSystemCountryCodesDefinition = CreateDefinition<{ name: typeof GetSystemCountryCodes.name; parameters: GetSystemCountryCodesParams; response: SystemCountryCodesPerCountry; }>; export declare class GetSystemCountryCodes extends AbstractPrivateEndpoint<GetSystemCountryCodesDefinition> { readonly name = "getSystemCountryCodes"; readonly path = "system_country_codes"; readonly property = "countries"; } export {};