Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / cannedAnswer / cannedAnswer.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 _0xa1ae=['STRING','getDataValue','exports'];(function(_0x370338,_0x4178ec){var _0x2e10df=function(_0x109471){while(--_0x109471){_0x370338['push'](_0x370338['shift']());}};_0x2e10df(++_0x4178ec);}(_0xa1ae,0x146));var _0xea1a=function(_0x228305,_0x34b1fa){_0x228305=_0x228305-0x0;var _0x22c480=_0xa1ae[_0x228305];return _0x22c480;};'use strict';var Sequelize=require('sequelize');module[_0xea1a('0x0')]={'key':{'type':Sequelize[_0xea1a('0x1')],'allowNull':![]},'value':{'type':Sequelize['TEXT'],'length':'medium','allowNull':![]},'description':{'type':Sequelize[_0xea1a('0x1')]},'name':{'type':Sequelize['VIRTUAL'],'get':function(){return this[_0xea1a('0x2')]('key');}}};