8245690296701e28baa712ac9842e40c2356a0a0
[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 _0x4422=['sequelize','exports','STRING','VIRTUAL','system-','getDataValue','INTEGER'];(function(_0xb063d2,_0x15a239){var _0x117179=function(_0x451d2a){while(--_0x451d2a){_0xb063d2['push'](_0xb063d2['shift']());}};_0x117179(++_0x15a239);}(_0x4422,0x19d));var _0x2442=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x4422[_0x4565bf];return _0x5610ba;};'use strict';var Sequelize=require(_0x2442('0x0'));module[_0x2442('0x1')]={'name':{'type':Sequelize[_0x2442('0x2')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x2442('0x3')],'get':function(_0xd8eee8){return _0x2442('0x4')+this[_0x2442('0x5')]('name')+'-';}},'description':{'type':Sequelize[_0x2442('0x2')]},'callerIdAll':{'type':Sequelize[_0x2442('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x2442('0x6')]}};