Built motion from commit (unavailable).|2.5.27
[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 _0x0cde=['production','DATE','exports','STRING','TEXT','BLOB','long','getDataValue','preproduction','toString','utf8'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x0cde,0x1d0));var _0xe0cd=function(_0x4e4e65,_0xb2c8f7){_0x4e4e65=_0x4e4e65-0x0;var _0x671905=_0x0cde[_0x4e4e65];return _0x671905;};'use strict';var Sequelize=require('sequelize');module[_0xe0cd('0x0')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0xe0cd('0x1')]},'notes':{'type':Sequelize[_0xe0cd('0x2')]},'preproduction':{'type':Sequelize[_0xe0cd('0x3')](_0xe0cd('0x4')),'get':function(){if(this[_0xe0cd('0x5')](_0xe0cd('0x6'))){return this[_0xe0cd('0x5')](_0xe0cd('0x6'))[_0xe0cd('0x7')](_0xe0cd('0x8'));}}},'production':{'type':Sequelize['BLOB'](_0xe0cd('0x4')),'get':function(){if(this[_0xe0cd('0x5')]('production')){return this['getDataValue'](_0xe0cd('0x9'))[_0xe0cd('0x7')](_0xe0cd('0x8'));}}},'savedAt':{'type':Sequelize['DATE']},'publishedAt':{'type':Sequelize[_0xe0cd('0xa')]}};