ee6b9739068dd580bd732ac85106cb08ad268027
[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 _0xf921=['VIRTUAL','system-','exports','name'];(function(_0x5192a3,_0x13238e){var _0x16cd81=function(_0x498439){while(--_0x498439){_0x5192a3['push'](_0x5192a3['shift']());}};_0x16cd81(++_0x13238e);}(_0xf921,0x1e2));var _0x1f92=function(_0x36981f,_0x35de12){_0x36981f=_0x36981f-0x0;var _0x4c1845=_0xf921[_0x36981f];return _0x4c1845;};'use strict';var Sequelize=require('sequelize');module[_0x1f92('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x1f92('0x1')},'prefix':{'type':Sequelize[_0x1f92('0x2')],'get':function(_0x25c4d6){return _0x1f92('0x3')+this['getDataValue']('name')+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};