d22166460e030fb71fbcbd068f456b259f1b64ae
[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 _0xb030=['INTEGER','sequelize','exports','STRING','name','system-','getDataValue'];(function(_0x3879d6,_0xe3cca0){var _0x473c88=function(_0x3e18f0){while(--_0x3e18f0){_0x3879d6['push'](_0x3879d6['shift']());}};_0x473c88(++_0xe3cca0);}(_0xb030,0xa2));var _0x0b03=function(_0x34c3ac,_0x40a7f4){_0x34c3ac=_0x34c3ac-0x0;var _0x6661a1=_0xb030[_0x34c3ac];return _0x6661a1;};'use strict';var Sequelize=require(_0x0b03('0x0'));module[_0x0b03('0x1')]={'name':{'type':Sequelize[_0x0b03('0x2')],'allowNull':![],'unique':_0x0b03('0x3')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x41f440){return _0x0b03('0x4')+this[_0x0b03('0x5')](_0x0b03('0x3'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0x0b03('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x0b03('0x6')]}};