Built motion from commit (unavailable).|2.4.21
[motion2.git] / server / api / squareProject / squareProject.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xf0ae=['TEXT','BLOB','long','preproduction','toString','utf8','getDataValue','production','exports','STRING','name'];(function(_0x319a41,_0x5e1cb2){var _0x14e330=function(_0x43bbaa){while(--_0x43bbaa){_0x319a41['push'](_0x319a41['shift']());}};_0x14e330(++_0x5e1cb2);}(_0xf0ae,0x168));var _0xef0a=function(_0x487b0c,_0x14ff74){_0x487b0c=_0x487b0c-0x0;var _0x1adbdc=_0xf0ae[_0x487b0c];return _0x1adbdc;};'use strict';var Sequelize=require('sequelize');module[_0xef0a('0x0')]={'name':{'type':Sequelize[_0xef0a('0x1')],'unique':_0xef0a('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0xef0a('0x1')]},'notes':{'type':Sequelize[_0xef0a('0x3')]},'preproduction':{'type':Sequelize[_0xef0a('0x4')](_0xef0a('0x5')),'get':function(){if(this['getDataValue'](_0xef0a('0x6'))){return this['getDataValue'](_0xef0a('0x6'))[_0xef0a('0x7')](_0xef0a('0x8'));}}},'production':{'type':Sequelize[_0xef0a('0x4')](_0xef0a('0x5')),'get':function(){if(this[_0xef0a('0x9')](_0xef0a('0xa'))){return this['getDataValue'](_0xef0a('0xa'))['toString'](_0xef0a('0x8'));}}}};