d18eea618f6cefb44aaad8ca2cc7f4593986755a
[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 _0x1ed0=['exports','STRING','VIRTUAL','getDataValue','sequelize'];(function(_0x4ebabc,_0x172a8c){var _0x3fbb0e=function(_0x1274fa){while(--_0x1274fa){_0x4ebabc['push'](_0x4ebabc['shift']());}};_0x3fbb0e(++_0x172a8c);}(_0x1ed0,0x72));var _0x01ed=function(_0x5e848d,_0x1dbd20){_0x5e848d=_0x5e848d-0x0;var _0x3785e5=_0x1ed0[_0x5e848d];return _0x3785e5;};'use strict';var Sequelize=require(_0x01ed('0x0'));module[_0x01ed('0x1')]={'key':{'type':Sequelize[_0x01ed('0x2')],'allowNull':![]},'value':{'type':Sequelize['TEXT'],'allowNull':![]},'description':{'type':Sequelize[_0x01ed('0x2')]},'name':{'type':Sequelize[_0x01ed('0x3')],'get':function(){return this[_0x01ed('0x4')]('key');}}};