Built motion from commit b7e79837.|2.6.29
[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 _0x8cd4=['INTEGER','sequelize','exports','STRING','name','getDataValue'];(function(_0x2eb4e3,_0x20a35f){var _0x4af8f6=function(_0x465c44){while(--_0x465c44){_0x2eb4e3['push'](_0x2eb4e3['shift']());}};_0x4af8f6(++_0x20a35f);}(_0x8cd4,0xc1));var _0x48cd=function(_0x3a9758,_0x5e54c3){_0x3a9758=_0x3a9758-0x0;var _0x57bde8=_0x8cd4[_0x3a9758];return _0x57bde8;};'use strict';var Sequelize=require(_0x48cd('0x0'));module[_0x48cd('0x1')]={'name':{'type':Sequelize[_0x48cd('0x2')],'allowNull':![],'unique':_0x48cd('0x3')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x2d1cb1){return'system-'+this[_0x48cd('0x4')](_0x48cd('0x3'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0x48cd('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x48cd('0x5')]}};