edd6bdf4a609c6377ed80c66bab62fcd94b5f030
[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 _0x14f2=['getDataValue','STRING','name','VIRTUAL'];(function(_0x28aea5,_0x3bb12e){var _0x6a55f9=function(_0xf6ece8){while(--_0xf6ece8){_0x28aea5['push'](_0x28aea5['shift']());}};_0x6a55f9(++_0x3bb12e);}(_0x14f2,0x75));var _0x214f=function(_0xb4dd61,_0x5d0fa9){_0xb4dd61=_0xb4dd61-0x0;var _0x161a66=_0x14f2[_0xb4dd61];return _0x161a66;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x214f('0x0')],'allowNull':![],'unique':_0x214f('0x1')},'prefix':{'type':Sequelize[_0x214f('0x2')],'get':function(_0x7c082c){return'system-'+this[_0x214f('0x3')](_0x214f('0x1'))+'-';}},'description':{'type':Sequelize[_0x214f('0x0')]},'callerIdAll':{'type':Sequelize[_0x214f('0x0')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};