08b8edd45731288229ff7cacd28dc8be7e394f01
[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 _0xa482=['getDataValue','exports','STRING','TEXT','VIRTUAL'];(function(_0x52a545,_0x5aeb09){var _0x75df11=function(_0x34d868){while(--_0x34d868){_0x52a545['push'](_0x52a545['shift']());}};_0x75df11(++_0x5aeb09);}(_0xa482,0xf6));var _0x2a48=function(_0x54b7f,_0x23981e){_0x54b7f=_0x54b7f-0x0;var _0x5a9911=_0xa482[_0x54b7f];return _0x5a9911;};'use strict';var Sequelize=require('sequelize');module[_0x2a48('0x0')]={'key':{'type':Sequelize[_0x2a48('0x1')],'allowNull':![]},'value':{'type':Sequelize[_0x2a48('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0x2a48('0x1')]},'name':{'type':Sequelize[_0x2a48('0x3')],'get':function(){return this[_0x2a48('0x4')]('key');}}};