238c7fc5aeb65ae1eed676c33c4d4301755d80b4
[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 _0xb1de=['STRING','name','VIRTUAL','system-','sequelize'];(function(_0x44fe3e,_0x4887a2){var _0x278b89=function(_0xe0a54c){while(--_0xe0a54c){_0x44fe3e['push'](_0x44fe3e['shift']());}};_0x278b89(++_0x4887a2);}(_0xb1de,0x135));var _0xeb1d=function(_0x12fac6,_0x3e4af8){_0x12fac6=_0x12fac6-0x0;var _0x3b0893=_0xb1de[_0x12fac6];return _0x3b0893;};'use strict';var Sequelize=require(_0xeb1d('0x0'));module['exports']={'name':{'type':Sequelize[_0xeb1d('0x1')],'allowNull':![],'unique':_0xeb1d('0x2')},'prefix':{'type':Sequelize[_0xeb1d('0x3')],'get':function(_0x3a00a4){return _0xeb1d('0x4')+this['getDataValue'](_0xeb1d('0x2'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0xeb1d('0x1')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};