Built motion from commit (unavailable).|2.3.4
[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 _0x121b=['sequelize','exports','name','getDataValue','STRING','INTEGER'];(function(_0x318256,_0xa773f3){var _0xb1e352=function(_0x4bb14e){while(--_0x4bb14e){_0x318256['push'](_0x318256['shift']());}};_0xb1e352(++_0xa773f3);}(_0x121b,0x150));var _0xb121=function(_0xbc346f,_0x3db5c0){_0xbc346f=_0xbc346f-0x0;var _0x9f9260=_0x121b[_0xbc346f];return _0x9f9260;};'use strict';var Sequelize=require(_0xb121('0x0'));module[_0xb121('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xb121('0x2')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x71e49c){return'system-'+this[_0xb121('0x3')](_0xb121('0x2'))+'-';}},'description':{'type':Sequelize[_0xb121('0x4')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0xb121('0x5')]}};