@shipengine/connect-order-source-api
Version:
This is the typescript/javascript definitions for the order source api
24 lines • 910 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BuyerSchema = exports.Buyer = void 0;
const tslib_1 = require("tslib");
const joi_1 = tslib_1.__importDefault(require("joi"));
/** @description Contact information for the buyer of this sales order */
class Buyer {
/** @description An ID for this buyer in the vendor API */
buyer_id;
/** @description The full name of the buyer */
name;
/** @description The primary email address of the buyer */
email;
/** @description The primary phone number of the buyer */
phone;
}
exports.Buyer = Buyer;
exports.BuyerSchema = joi_1.default.object({
buyer_id: joi_1.default.string().optional().empty(),
name: joi_1.default.string().optional().empty(),
email: joi_1.default.string().optional().empty(),
phone: joi_1.default.string().optional().empty(),
});
//# sourceMappingURL=buyer.js.map