@shipengine/connect-order-source-api
Version:
This is the typescript/javascript definitions for the order source api
26 lines • 1.23 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PackingSlipTemplateSchema = exports.PackingSlipTemplate = void 0;
const tslib_1 = require("tslib");
const joi_1 = tslib_1.__importDefault(require("joi"));
/** @description The html templates for a given packing slip. */
class PackingSlipTemplate {
/** @description The name that should be associated with this packing slip in the platform */
name;
/** @description The html template that should be displayed at the top of the packing slip */
header;
/** @description The html template that should be displayed above the items being printed out */
items_header;
/** @description The html template that will be rendered for each item */
item;
/** @description The html template that should be displayed at the bottom of the packing slip */
footer;
}
exports.PackingSlipTemplate = PackingSlipTemplate;
exports.PackingSlipTemplateSchema = joi_1.default.object({
header: joi_1.default.string().required(),
items_header: joi_1.default.string().required(),
item: joi_1.default.string().required(),
footer: joi_1.default.string().required(),
});
//# sourceMappingURL=packing-slip-template.js.map