lml-main
Version:
This is now a mono repository published into many standalone packages.
15 lines • 759 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var redux_rx_http_1 = require("redux-rx-http");
exports.FETCH_COURIER_CALLSIGNS = redux_rx_http_1.createRxHttpActionTypes('FETCH_COURIER_CALLSIGNS');
exports.SET_COURIER_CALLSIGNS = 'SET_COURIER_CALLSIGNS';
exports.fetchCourierCallsigns = function (callsigns, args) {
return redux_rx_http_1.rxHttpPost('/v1/courierassignments/batch/courierId', exports.FETCH_COURIER_CALLSIGNS, { objects: callsigns }, {
args: tslib_1.__assign({ callsigns: callsigns }, args),
});
};
exports.setCourierCallsigns = function (callsigns) {
return ({ type: exports.SET_COURIER_CALLSIGNS, callsigns: callsigns });
};
//# sourceMappingURL=callsign.js.map