Built motion from commit e1760111.|2.6.18
[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 _0x5426=['name','VIRTUAL','getDataValue','INTEGER','exports','STRING'];(function(_0x126dbe,_0x127fac){var _0x4378a3=function(_0xd0481f){while(--_0xd0481f){_0x126dbe['push'](_0x126dbe['shift']());}};_0x4378a3(++_0x127fac);}(_0x5426,0x17e));var _0x6542=function(_0x1919f2,_0x2d29a1){_0x1919f2=_0x1919f2-0x0;var _0x360e8d=_0x5426[_0x1919f2];return _0x360e8d;};'use strict';var Sequelize=require('sequelize');module[_0x6542('0x0')]={'name':{'type':Sequelize[_0x6542('0x1')],'allowNull':![],'unique':_0x6542('0x2')},'prefix':{'type':Sequelize[_0x6542('0x3')],'get':function(_0x545482){return'system-'+this[_0x6542('0x4')](_0x6542('0x2'))+'-';}},'description':{'type':Sequelize[_0x6542('0x1')]},'callerIdAll':{'type':Sequelize[_0x6542('0x1')]},'VoiceExtensionId':{'type':Sequelize[_0x6542('0x5')]}};