UNPKG

square-connect

Version:

JavaScript client library for the Square Connect v2 API

91 lines (84 loc) 1.89 kB
/** * Square Connect API * Client library for accessing the Square Connect APIs * * OpenAPI spec version: 2.0 * Contact: developers@squareup.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Swagger Codegen version: 2.3.0-SNAPSHOT * */ var ApiClient = require('../ApiClient'); /** * Enum class MeasurementUnitVolume. * @enum {} * @readonly */ var exports = { /** * value: "GENERIC_FLUID_OUNCE" * @const */ "GENERIC_FLUID_OUNCE": "GENERIC_FLUID_OUNCE", /** * value: "GENERIC_SHOT" * @const */ "GENERIC_SHOT": "GENERIC_SHOT", /** * value: "GENERIC_CUP" * @const */ "GENERIC_CUP": "GENERIC_CUP", /** * value: "GENERIC_PINT" * @const */ "GENERIC_PINT": "GENERIC_PINT", /** * value: "GENERIC_QUART" * @const */ "GENERIC_QUART": "GENERIC_QUART", /** * value: "GENERIC_GALLON" * @const */ "GENERIC_GALLON": "GENERIC_GALLON", /** * value: "IMPERIAL_CUBIC_INCH" * @const */ "IMPERIAL_CUBIC_INCH": "IMPERIAL_CUBIC_INCH", /** * value: "IMPERIAL_CUBIC_FOOT" * @const */ "IMPERIAL_CUBIC_FOOT": "IMPERIAL_CUBIC_FOOT", /** * value: "IMPERIAL_CUBIC_YARD" * @const */ "IMPERIAL_CUBIC_YARD": "IMPERIAL_CUBIC_YARD", /** * value: "METRIC_MILLILITER" * @const */ "METRIC_MILLILITER": "METRIC_MILLILITER", /** * value: "METRIC_LITER" * @const */ "METRIC_LITER": "METRIC_LITER"}; /** * Returns a <code>MeasurementUnitVolume</code> enum value from a Javascript object name. * @param {Object} data The plain JavaScript object containing the name of the enum value. * @return {module:model/MeasurementUnitVolume} The enum <code>MeasurementUnitVolume</code> value. */ exports.constructFromObject = function(object) { return object; } module.exports = exports;