Built motion from commit da617fac.|2.6.6
[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 _0x2c50=['VIRTUAL','getDataValue','STRING','INTEGER','sequelize','name'];(function(_0x41232a,_0x20440d){var _0x1ab731=function(_0x5976f2){while(--_0x5976f2){_0x41232a['push'](_0x41232a['shift']());}};_0x1ab731(++_0x20440d);}(_0x2c50,0x8e));var _0x02c5=function(_0x540dcb,_0x4eacb6){_0x540dcb=_0x540dcb-0x0;var _0x49353c=_0x2c50[_0x540dcb];return _0x49353c;};'use strict';var Sequelize=require(_0x02c5('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x02c5('0x1')},'prefix':{'type':Sequelize[_0x02c5('0x2')],'get':function(_0x85c16d){return'system-'+this[_0x02c5('0x3')](_0x02c5('0x1'))+'-';}},'description':{'type':Sequelize[_0x02c5('0x4')]},'callerIdAll':{'type':Sequelize[_0x02c5('0x4')]},'VoiceExtensionId':{'type':Sequelize[_0x02c5('0x5')]}};