square-connect
Version:
JavaScript client library for the Square Connect v2 API
131 lines (124 loc) • 2.38 kB
JavaScript
/**
* 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 CustomerCreationSource.
* @enum {}
* @readonly
*/
var exports = {
/**
* value: "OTHER"
* @const
*/
"OTHER": "OTHER",
/**
* value: "APPOINTMENTS"
* @const
*/
"APPOINTMENTS": "APPOINTMENTS",
/**
* value: "COUPON"
* @const
*/
"COUPON": "COUPON",
/**
* value: "DELETION_RECOVERY"
* @const
*/
"DELETION_RECOVERY": "DELETION_RECOVERY",
/**
* value: "DIRECTORY"
* @const
*/
"DIRECTORY": "DIRECTORY",
/**
* value: "EGIFTING"
* @const
*/
"EGIFTING": "EGIFTING",
/**
* value: "EMAIL_COLLECTION"
* @const
*/
"EMAIL_COLLECTION": "EMAIL_COLLECTION",
/**
* value: "FEEDBACK"
* @const
*/
"FEEDBACK": "FEEDBACK",
/**
* value: "IMPORT"
* @const
*/
"IMPORT": "IMPORT",
/**
* value: "INVOICES"
* @const
*/
"INVOICES": "INVOICES",
/**
* value: "LOYALTY"
* @const
*/
"LOYALTY": "LOYALTY",
/**
* value: "MARKETING"
* @const
*/
"MARKETING": "MARKETING",
/**
* value: "MERGE"
* @const
*/
"MERGE": "MERGE",
/**
* value: "ONLINE_STORE"
* @const
*/
"ONLINE_STORE": "ONLINE_STORE",
/**
* value: "INSTANT_PROFILE"
* @const
*/
"INSTANT_PROFILE": "INSTANT_PROFILE",
/**
* value: "TERMINAL"
* @const
*/
"TERMINAL": "TERMINAL",
/**
* value: "THIRD_PARTY"
* @const
*/
"THIRD_PARTY": "THIRD_PARTY",
/**
* value: "THIRD_PARTY_IMPORT"
* @const
*/
"THIRD_PARTY_IMPORT": "THIRD_PARTY_IMPORT",
/**
* value: "UNMERGE_RECOVERY"
* @const
*/
"UNMERGE_RECOVERY": "UNMERGE_RECOVERY"};
/**
* Returns a <code>CustomerCreationSource</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/CustomerCreationSource} The enum <code>CustomerCreationSource</code> value.
*/
exports.constructFromObject = function(object) {
return object;
}
module.exports = exports;