Built motion from commit (unavailable).|2.4.20
[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 _0xaadd=['STRING','TEXT','BLOB','long','getDataValue','preproduction','utf8','production','toString','sequelize','exports'];(function(_0x248cfe,_0xe12c46){var _0xe04fe0=function(_0x28fa29){while(--_0x28fa29){_0x248cfe['push'](_0x248cfe['shift']());}};_0xe04fe0(++_0xe12c46);}(_0xaadd,0x153));var _0xdaad=function(_0x1ee0a1,_0x51058e){_0x1ee0a1=_0x1ee0a1-0x0;var _0x1d2d5b=_0xaadd[_0x1ee0a1];return _0x1d2d5b;};'use strict';var Sequelize=require(_0xdaad('0x0'));module[_0xdaad('0x1')]={'name':{'type':Sequelize[_0xdaad('0x2')],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0xdaad('0x2')]},'notes':{'type':Sequelize[_0xdaad('0x3')]},'preproduction':{'type':Sequelize[_0xdaad('0x4')](_0xdaad('0x5')),'get':function(){if(this[_0xdaad('0x6')](_0xdaad('0x7'))){return this['getDataValue']('preproduction')['toString'](_0xdaad('0x8'));}}},'production':{'type':Sequelize[_0xdaad('0x4')](_0xdaad('0x5')),'get':function(){if(this[_0xdaad('0x6')](_0xdaad('0x9'))){return this[_0xdaad('0x6')]('production')[_0xdaad('0xa')](_0xdaad('0x8'));}}}};