@myparcel/sdk
Version:
JavaScript SDK to connect to the MyParcel API via Node.js or browser
17 lines (15 loc) • 558 B
TypeScript
import { AbstractPublicEndpoint } from '../../../model/endpoint/AbstractPublicEndpoint';
import { CreateDefinition } from '../../../model/endpoint/AbstractEndpoint.types';
import { Carrier } from './Carrier.types';
export type GetCarriersDefinition = CreateDefinition<{
name: typeof GetCarriers.name;
response: Carrier[];
}>;
/**
* Get all carriers.
*/
export declare class GetCarriers extends AbstractPublicEndpoint<GetCarriersDefinition> {
readonly name = "getCarriers";
readonly path = "carriers";
readonly property = "carriers";
}