feathers-shippo
Version:
A Feathers JS adapter for the Shippo API
12 lines (11 loc) • 547 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ShippoCustomsDeclarations = void 0;
const service_1 = require("../service");
class ShippoCustomsDeclarations extends service_1.ShippoService {
constructor(options, app) {
options = Object.assign(Object.assign({ limiters: (0, service_1.shippoLimiters)(options.token) }, options), { path: 'customs/declarations', methods: ['get', 'find', 'create'] });
super(options, app);
}
}
exports.ShippoCustomsDeclarations = ShippoCustomsDeclarations;