Built motion from commit (unavailable).|2.5.22
[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 _0x3d70=['utf8','BLOB','production','DATE','exports','STRING','name','TEXT','long','getDataValue','toString'];(function(_0x261bbf,_0x567f53){var _0x3434e5=function(_0x5c194c){while(--_0x5c194c){_0x261bbf['push'](_0x261bbf['shift']());}};_0x3434e5(++_0x567f53);}(_0x3d70,0xf6));var _0x03d7=function(_0x2d9c6a,_0x59393d){_0x2d9c6a=_0x2d9c6a-0x0;var _0xf3c918=_0x3d70[_0x2d9c6a];return _0xf3c918;};'use strict';var Sequelize=require('sequelize');module[_0x03d7('0x0')]={'name':{'type':Sequelize[_0x03d7('0x1')],'unique':_0x03d7('0x2'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize[_0x03d7('0x3')]},'preproduction':{'type':Sequelize['BLOB'](_0x03d7('0x4')),'get':function(){if(this[_0x03d7('0x5')]('preproduction')){return this[_0x03d7('0x5')]('preproduction')[_0x03d7('0x6')](_0x03d7('0x7'));}}},'production':{'type':Sequelize[_0x03d7('0x8')](_0x03d7('0x4')),'get':function(){if(this['getDataValue'](_0x03d7('0x9'))){return this[_0x03d7('0x5')](_0x03d7('0x9'))['toString'](_0x03d7('0x7'));}}},'savedAt':{'type':Sequelize[_0x03d7('0xa')]},'publishedAt':{'type':Sequelize['DATE']}};