UNPKG

square-connect

Version:

JavaScript client library for the Square Connect v2 API

66 lines (59 loc) 1.32 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 BookingStatus. * @enum {} * @readonly */ var exports = { /** * value: "PENDING" * @const */ "PENDING": "PENDING", /** * value: "CANCELLED_BY_CUSTOMER" * @const */ "CANCELLED_BY_CUSTOMER": "CANCELLED_BY_CUSTOMER", /** * value: "CANCELLED_BY_SELLER" * @const */ "CANCELLED_BY_SELLER": "CANCELLED_BY_SELLER", /** * value: "DECLINED" * @const */ "DECLINED": "DECLINED", /** * value: "ACCEPTED" * @const */ "ACCEPTED": "ACCEPTED", /** * value: "NO_SHOW" * @const */ "NO_SHOW": "NO_SHOW"}; /** * Returns a <code>BookingStatus</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/BookingStatus} The enum <code>BookingStatus</code> value. */ exports.constructFromObject = function(object) { return object; } module.exports = exports;