Built motion from commit b0a9a629.|2.6.33
[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 _0x9271=['STRING','sequelize','VIRTUAL','system-','getDataValue','name'];(function(_0x283be7,_0x32b82d){var _0x3ab88f=function(_0x1fd76e){while(--_0x1fd76e){_0x283be7['push'](_0x283be7['shift']());}};_0x3ab88f(++_0x32b82d);}(_0x9271,0x12d));var _0x1927=function(_0x5ee7f0,_0x582b03){_0x5ee7f0=_0x5ee7f0-0x0;var _0x3d3b62=_0x9271[_0x5ee7f0];return _0x3d3b62;};'use strict';var Sequelize=require(_0x1927('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x1927('0x1')],'get':function(_0x233606){return _0x1927('0x2')+this[_0x1927('0x3')](_0x1927('0x4'))+'-';}},'description':{'type':Sequelize[_0x1927('0x5')]},'callerIdAll':{'type':Sequelize[_0x1927('0x5')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};