8cbdbfb70ba7b13586adbe80cc4f31329ef2c105
[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 _0x3466=['STRING','getDataValue','sequelize','exports'];(function(_0x24a5cf,_0x4446e4){var _0xcc694d=function(_0x5b13b6){while(--_0x5b13b6){_0x24a5cf['push'](_0x24a5cf['shift']());}};_0xcc694d(++_0x4446e4);}(_0x3466,0x1ce));var _0x6346=function(_0x239f0e,_0x20dd66){_0x239f0e=_0x239f0e-0x0;var _0x4b1ec3=_0x3466[_0x239f0e];return _0x4b1ec3;};'use strict';var Sequelize=require(_0x6346('0x0'));module[_0x6346('0x1')]={'key':{'type':Sequelize[_0x6346('0x2')],'allowNull':![]},'value':{'type':Sequelize['TEXT'],'allowNull':![]},'description':{'type':Sequelize['STRING']},'name':{'type':Sequelize['VIRTUAL'],'get':function(){return this[_0x6346('0x3')]('key');}}};