Built motion from commit (unavailable).|2.5.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 _0xdc46=['production','DATE','sequelize','exports','STRING','BLOB','long','getDataValue','preproduction','toString','utf8'];(function(_0x43dc9a,_0x33fbdb){var _0x225e35=function(_0x464bf0){while(--_0x464bf0){_0x43dc9a['push'](_0x43dc9a['shift']());}};_0x225e35(++_0x33fbdb);}(_0xdc46,0x141));var _0x6dc4=function(_0x175626,_0x4088bd){_0x175626=_0x175626-0x0;var _0x3e76b6=_0xdc46[_0x175626];return _0x3e76b6;};'use strict';var Sequelize=require(_0x6dc4('0x0'));module[_0x6dc4('0x1')]={'name':{'type':Sequelize[_0x6dc4('0x2')],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0x6dc4('0x2')]},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0x6dc4('0x3')](_0x6dc4('0x4')),'get':function(){if(this[_0x6dc4('0x5')](_0x6dc4('0x6'))){return this['getDataValue']('preproduction')[_0x6dc4('0x7')](_0x6dc4('0x8'));}}},'production':{'type':Sequelize['BLOB'](_0x6dc4('0x4')),'get':function(){if(this['getDataValue']('production')){return this[_0x6dc4('0x5')](_0x6dc4('0x9'))[_0x6dc4('0x7')](_0x6dc4('0x8'));}}},'savedAt':{'type':Sequelize[_0x6dc4('0xa')]},'publishedAt':{'type':Sequelize[_0x6dc4('0xa')]}};