114584aa702c67b9b6d38b26f46496e6542732a2
[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 _0xf709=['STRING','INTEGER','sequelize','exports','VIRTUAL','system-','getDataValue','name'];(function(_0x725a4c,_0x102507){var _0x37b2cc=function(_0x505fc9){while(--_0x505fc9){_0x725a4c['push'](_0x725a4c['shift']());}};_0x37b2cc(++_0x102507);}(_0xf709,0x1c2));var _0x9f70=function(_0x100668,_0x16bfe2){_0x100668=_0x100668-0x0;var _0x3a3c61=_0xf709[_0x100668];return _0x3a3c61;};'use strict';var Sequelize=require(_0x9f70('0x0'));module[_0x9f70('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x9f70('0x2')],'get':function(_0x3717c7){return _0x9f70('0x3')+this[_0x9f70('0x4')](_0x9f70('0x5'))+'-';}},'description':{'type':Sequelize[_0x9f70('0x6')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0x9f70('0x7')]}};