72409cc5c047c0ca03f521f4732159a6af06c5dd
[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 _0xd6f4=['VIRTUAL','INTEGER','sequelize','STRING','name'];(function(_0x1beef3,_0x57c4b8){var _0x5af964=function(_0x36f463){while(--_0x36f463){_0x1beef3['push'](_0x1beef3['shift']());}};_0x5af964(++_0x57c4b8);}(_0xd6f4,0x7f));var _0x4d6f=function(_0x9a401d,_0x324ede){_0x9a401d=_0x9a401d-0x0;var _0x5b4021=_0xd6f4[_0x9a401d];return _0x5b4021;};'use strict';var Sequelize=require(_0x4d6f('0x0'));module['exports']={'name':{'type':Sequelize[_0x4d6f('0x1')],'allowNull':![],'unique':_0x4d6f('0x2')},'prefix':{'type':Sequelize[_0x4d6f('0x3')],'get':function(_0x3dfc20){return'system-'+this['getDataValue'](_0x4d6f('0x2'))+'-';}},'description':{'type':Sequelize[_0x4d6f('0x1')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0x4d6f('0x4')]}};