Built motion from commit ab870f9e.|2.5.44
[motion2.git] / server / api / voicePrefix / voicePrefix.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 _0x557f=['sequelize','exports','VIRTUAL','system-','getDataValue','name','STRING','INTEGER'];(function(_0x18d77a,_0x2a05cb){var _0x1d6498=function(_0x5166b5){while(--_0x5166b5){_0x18d77a['push'](_0x18d77a['shift']());}};_0x1d6498(++_0x2a05cb);}(_0x557f,0xa0));var _0xf557=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x557f[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0xf557('0x0'));module[_0xf557('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0xf557('0x2')],'get':function(_0x26b725){return _0xf557('0x3')+this[_0xf557('0x4')](_0xf557('0x5'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0xf557('0x6')]},'VoiceExtensionId':{'type':Sequelize[_0xf557('0x7')]}};