Built motion from commit (unavailable).|2.5.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 _0xd98c=['sequelize','exports','STRING','name','VIRTUAL','INTEGER'];(function(_0x3ed5e8,_0x2ceeef){var _0x19f6c5=function(_0x25d348){while(--_0x25d348){_0x3ed5e8['push'](_0x3ed5e8['shift']());}};_0x19f6c5(++_0x2ceeef);}(_0xd98c,0x168));var _0xcd98=function(_0x5d6654,_0x2a2ac6){_0x5d6654=_0x5d6654-0x0;var _0x4bb038=_0xd98c[_0x5d6654];return _0x4bb038;};'use strict';var Sequelize=require(_0xcd98('0x0'));module[_0xcd98('0x1')]={'name':{'type':Sequelize[_0xcd98('0x2')],'allowNull':![],'unique':_0xcd98('0x3')},'prefix':{'type':Sequelize[_0xcd98('0x4')],'get':function(_0x26fdf3){return'system-'+this['getDataValue'](_0xcd98('0x3'))+'-';}},'description':{'type':Sequelize[_0xcd98('0x2')]},'callerIdAll':{'type':Sequelize[_0xcd98('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0xcd98('0x5')]}};