0f77fc3199c4118a18fe40b2a6db3ee8e553ca81
[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 _0xcfd7=['sequelize','exports','STRING','key'];(function(_0x231de6,_0x516cfb){var _0x5c2924=function(_0x279539){while(--_0x279539){_0x231de6['push'](_0x231de6['shift']());}};_0x5c2924(++_0x516cfb);}(_0xcfd7,0x13c));var _0x7cfd=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xcfd7[_0x321bb2];return _0x9c12ed;};'use strict';var Sequelize=require(_0x7cfd('0x0'));module[_0x7cfd('0x1')]={'key':{'type':Sequelize[_0x7cfd('0x2')],'allowNull':![]},'value':{'type':Sequelize['TEXT'],'allowNull':![]},'description':{'type':Sequelize[_0x7cfd('0x2')]},'name':{'type':Sequelize['VIRTUAL'],'get':function(){return this['getDataValue'](_0x7cfd('0x3'));}}};