f74793cd7d743a96fb900c80c640d60a6a9fce45
[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 _0x8497=['TEXT','sequelize','exports','STRING'];(function(_0x3c219d,_0x18a7cc){var _0x1e6765=function(_0xb94b81){while(--_0xb94b81){_0x3c219d['push'](_0x3c219d['shift']());}};_0x1e6765(++_0x18a7cc);}(_0x8497,0x109));var _0x7849=function(_0x436820,_0x3e3eb9){_0x436820=_0x436820-0x0;var _0x5e1800=_0x8497[_0x436820];return _0x5e1800;};'use strict';var Sequelize=require(_0x7849('0x0'));module[_0x7849('0x1')]={'key':{'type':Sequelize[_0x7849('0x2')],'allowNull':![]},'value':{'type':Sequelize[_0x7849('0x3')],'allowNull':![]},'description':{'type':Sequelize[_0x7849('0x2')]},'name':{'type':Sequelize['VIRTUAL'],'get':function(){return this['getDataValue']('key');}}};