1cf37426141117531893e742079140d7abaa0850
[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 _0xf043=['STRING','TEXT','medium','getDataValue','key'];(function(_0x236d9c,_0x15f9ec){var _0x1be452=function(_0x5d3111){while(--_0x5d3111){_0x236d9c['push'](_0x236d9c['shift']());}};_0x1be452(++_0x15f9ec);}(_0xf043,0x1b3));var _0x3f04=function(_0x28989a,_0xd11763){_0x28989a=_0x28989a-0x0;var _0x5056ae=_0xf043[_0x28989a];return _0x5056ae;};'use strict';var Sequelize=require('sequelize');module['exports']={'key':{'type':Sequelize[_0x3f04('0x0')],'allowNull':![]},'value':{'type':Sequelize[_0x3f04('0x1')],'length':_0x3f04('0x2'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'name':{'type':Sequelize['VIRTUAL'],'get':function(){return this[_0x3f04('0x3')](_0x3f04('0x4'));}}};