dcde13ffb83253a3fe471857e145d6a16b6b0c02
[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 _0x3281=['STRING','name','VIRTUAL','getDataValue','INTEGER','sequelize'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x3281,0x15b));var _0x1328=function(_0x4e1d03,_0x786f3a){_0x4e1d03=_0x4e1d03-0x0;var _0x362d4b=_0x3281[_0x4e1d03];return _0x362d4b;};'use strict';var Sequelize=require(_0x1328('0x0'));module['exports']={'name':{'type':Sequelize[_0x1328('0x1')],'allowNull':![],'unique':_0x1328('0x2')},'prefix':{'type':Sequelize[_0x1328('0x3')],'get':function(_0x4513c3){return'system-'+this[_0x1328('0x4')]('name')+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0x1328('0x1')]},'VoiceExtensionId':{'type':Sequelize[_0x1328('0x5')]}};