Built motion from commit 753c950e.|2.5.42
[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 _0x19ef=['sequelize','exports','STRING','name','VIRTUAL','system-','getDataValue'];(function(_0x370b33,_0x3c4221){var _0x58d7b=function(_0x503bba){while(--_0x503bba){_0x370b33['push'](_0x370b33['shift']());}};_0x58d7b(++_0x3c4221);}(_0x19ef,0xa8));var _0xf19e=function(_0x219987,_0x2eccf6){_0x219987=_0x219987-0x0;var _0xfe118=_0x19ef[_0x219987];return _0xfe118;};'use strict';var Sequelize=require(_0xf19e('0x0'));module[_0xf19e('0x1')]={'name':{'type':Sequelize[_0xf19e('0x2')],'allowNull':![],'unique':_0xf19e('0x3')},'prefix':{'type':Sequelize[_0xf19e('0x4')],'get':function(_0x590156){return _0xf19e('0x5')+this[_0xf19e('0x6')](_0xf19e('0x3'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0xf19e('0x2')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};