UNPKG

@shipengine/connect-order-source-api

Version:

This is the typescript/javascript definitions for the order source api

60 lines 1.85 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SourceDetailsSchema = exports.SourceDetails = void 0; const tslib_1 = require("tslib"); const joi_1 = tslib_1.__importDefault(require("joi")); class SourceDetails { /** * @description The name of the plan the user is on * @example "Plus Store Monthly" */ subscription_plan_name; /** * @description The level of the plan the user is on * @example "Gold" */ subscription_plan_level; /** * @description The name for the order source * @example "Justin's Flower Imporiuim" */ source_name; /** * @description The email associated with the order source * @example "justin@flowerimporium.com" */ email; /** * @description The phone number associated with the order source * @example "555-555-5555" */ phone; /** * @description The locale of the user's account (ISO 639-1 standard language codes) * @example "en-us" */ locale; /** * @description The website of the order source * @example "https://www.selling.com" */ website; /** * @description Indicates whether the order source supports multiple ship from locations * @example "true" or "false" */ multilocation_enabled; /** * @description The default unit of measurement for weight used by the order source * @example "Gram", "Ounce", "Kilogram", "Pound" */ weight_unit; /** * @description The default currency code used by the order source (ISO 4217) * @example "USD", "CAD", "EUR", "GBP" */ currency_code; } exports.SourceDetails = SourceDetails; exports.SourceDetailsSchema = joi_1.default.object().pattern(/.*/, [joi_1.default.string()]); //# sourceMappingURL=source-details.js.map