8a1fd791ab424ba858e41e5833d82fdcb5e0c4cd
[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 _0x8cfd=['sequelize','name','VIRTUAL','getDataValue','STRING','INTEGER'];(function(_0x5cf5dd,_0x300020){var _0x174bce=function(_0x31aae4){while(--_0x31aae4){_0x5cf5dd['push'](_0x5cf5dd['shift']());}};_0x174bce(++_0x300020);}(_0x8cfd,0x1b0));var _0xd8cf=function(_0x2136a6,_0x35af63){_0x2136a6=_0x2136a6-0x0;var _0x55b948=_0x8cfd[_0x2136a6];return _0x55b948;};'use strict';var Sequelize=require(_0xd8cf('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xd8cf('0x1')},'prefix':{'type':Sequelize[_0xd8cf('0x2')],'get':function(_0xf24b29){return'system-'+this[_0xd8cf('0x3')]('name')+'-';}},'description':{'type':Sequelize[_0xd8cf('0x4')]},'callerIdAll':{'type':Sequelize[_0xd8cf('0x4')]},'VoiceExtensionId':{'type':Sequelize[_0xd8cf('0x5')]}};