Built motion from commit f3da74b7.|2.5.36
[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 _0x020e=['TEXT','VIRTUAL','sequelize','exports','STRING'];(function(_0x402b49,_0x3d425d){var _0x2a0a1e=function(_0x51c7fe){while(--_0x51c7fe){_0x402b49['push'](_0x402b49['shift']());}};_0x2a0a1e(++_0x3d425d);}(_0x020e,0xa7));var _0xe020=function(_0x2bf9d6,_0xa78e64){_0x2bf9d6=_0x2bf9d6-0x0;var _0x3ab768=_0x020e[_0x2bf9d6];return _0x3ab768;};'use strict';var Sequelize=require(_0xe020('0x0'));module[_0xe020('0x1')]={'key':{'type':Sequelize[_0xe020('0x2')],'allowNull':![]},'value':{'type':Sequelize[_0xe020('0x3')],'allowNull':![]},'description':{'type':Sequelize[_0xe020('0x2')]},'name':{'type':Sequelize[_0xe020('0x4')],'get':function(){return this['getDataValue']('key');}}};