f13876b9b1d9051e59cb37116983e097fab5729d
[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 _0x0da9=['getDataValue','INTEGER','sequelize','exports','STRING','name','VIRTUAL'];(function(_0x41a0fd,_0xce6c5f){var _0x1b21a2=function(_0x508c4d){while(--_0x508c4d){_0x41a0fd['push'](_0x41a0fd['shift']());}};_0x1b21a2(++_0xce6c5f);}(_0x0da9,0x64));var _0x90da=function(_0x2c8afe,_0x100f80){_0x2c8afe=_0x2c8afe-0x0;var _0x982977=_0x0da9[_0x2c8afe];return _0x982977;};'use strict';var Sequelize=require(_0x90da('0x0'));module[_0x90da('0x1')]={'name':{'type':Sequelize[_0x90da('0x2')],'allowNull':![],'unique':_0x90da('0x3')},'prefix':{'type':Sequelize[_0x90da('0x4')],'get':function(_0x3120aa){return'system-'+this[_0x90da('0x5')](_0x90da('0x3'))+'-';}},'description':{'type':Sequelize[_0x90da('0x2')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0x90da('0x6')]}};