Built motion from commit 87cd5f02.|2.5.48
[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 _0xaed3=['VIRTUAL','system-','getDataValue','STRING','exports','name'];(function(_0x596797,_0x3a097a){var _0x20911e=function(_0x36fc6e){while(--_0x36fc6e){_0x596797['push'](_0x596797['shift']());}};_0x20911e(++_0x3a097a);}(_0xaed3,0x6a));var _0x3aed=function(_0x8ae98b,_0x155f88){_0x8ae98b=_0x8ae98b-0x0;var _0xc30bd4=_0xaed3[_0x8ae98b];return _0xc30bd4;};'use strict';var Sequelize=require('sequelize');module[_0x3aed('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x3aed('0x1')},'prefix':{'type':Sequelize[_0x3aed('0x2')],'get':function(_0x419784){return _0x3aed('0x3')+this[_0x3aed('0x4')](_0x3aed('0x1'))+'-';}},'description':{'type':Sequelize[_0x3aed('0x5')]},'callerIdAll':{'type':Sequelize[_0x3aed('0x5')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};