UNPKG

square-connect

Version:

JavaScript client library for the Square Connect v2 API

86 lines (79 loc) 1.59 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 Product. * @enum {} * @readonly */ var exports = { /** * value: "SQUARE_POS" * @const */ "SQUARE_POS": "SQUARE_POS", /** * value: "EXTERNAL_API" * @const */ "EXTERNAL_API": "EXTERNAL_API", /** * value: "BILLING" * @const */ "BILLING": "BILLING", /** * value: "APPOINTMENTS" * @const */ "APPOINTMENTS": "APPOINTMENTS", /** * value: "INVOICES" * @const */ "INVOICES": "INVOICES", /** * value: "ONLINE_STORE" * @const */ "ONLINE_STORE": "ONLINE_STORE", /** * value: "PAYROLL" * @const */ "PAYROLL": "PAYROLL", /** * value: "DASHBOARD" * @const */ "DASHBOARD": "DASHBOARD", /** * value: "ITEM_LIBRARY_IMPORT" * @const */ "ITEM_LIBRARY_IMPORT": "ITEM_LIBRARY_IMPORT", /** * value: "OTHER" * @const */ "OTHER": "OTHER"}; /** * Returns a <code>Product</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/Product} The enum <code>Product</code> value. */ exports.constructFromObject = function(object) { return object; } module.exports = exports;