Built motion from commit e02f907f.|2.6.14
[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 _0x0fe6=['name','INTEGER','sequelize','exports','STRING','VIRTUAL'];(function(_0x44f5d1,_0x299ff1){var _0x2a2213=function(_0x5d25bb){while(--_0x5d25bb){_0x44f5d1['push'](_0x44f5d1['shift']());}};_0x2a2213(++_0x299ff1);}(_0x0fe6,0x104));var _0x60fe=function(_0x54e2f8,_0x2c2a88){_0x54e2f8=_0x54e2f8-0x0;var _0x34a489=_0x0fe6[_0x54e2f8];return _0x34a489;};'use strict';var Sequelize=require(_0x60fe('0x0'));module[_0x60fe('0x1')]={'name':{'type':Sequelize[_0x60fe('0x2')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x60fe('0x3')],'get':function(_0x1c54a4){return'system-'+this['getDataValue'](_0x60fe('0x4'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0x60fe('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x60fe('0x5')]}};