Built motion from commit d1eab355.|2.6.28
[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 _0xf898=['medium','STRING','getDataValue','exports'];(function(_0x2f1f86,_0x2f3985){var _0x4d917d=function(_0x47cd98){while(--_0x47cd98){_0x2f1f86['push'](_0x2f1f86['shift']());}};_0x4d917d(++_0x2f3985);}(_0xf898,0x16f));var _0x8f89=function(_0x3ebe0,_0x135858){_0x3ebe0=_0x3ebe0-0x0;var _0x44e536=_0xf898[_0x3ebe0];return _0x44e536;};'use strict';var Sequelize=require('sequelize');module[_0x8f89('0x0')]={'key':{'type':Sequelize['STRING'],'allowNull':![]},'value':{'type':Sequelize['TEXT'],'length':_0x8f89('0x1'),'allowNull':![]},'description':{'type':Sequelize[_0x8f89('0x2')]},'name':{'type':Sequelize['VIRTUAL'],'get':function(){return this[_0x8f89('0x3')]('key');}}};