Built motion from commit 9e1399f3.|2.5.37
[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 _0xd5e1=['getDataValue','sequelize','exports','STRING','name','VIRTUAL','system-'];(function(_0x55dee1,_0x172927){var _0x1d6d61=function(_0x28e15d){while(--_0x28e15d){_0x55dee1['push'](_0x55dee1['shift']());}};_0x1d6d61(++_0x172927);}(_0xd5e1,0xcc));var _0x1d5e=function(_0x3e7d99,_0x17da8c){_0x3e7d99=_0x3e7d99-0x0;var _0x16d663=_0xd5e1[_0x3e7d99];return _0x16d663;};'use strict';var Sequelize=require(_0x1d5e('0x0'));module[_0x1d5e('0x1')]={'name':{'type':Sequelize[_0x1d5e('0x2')],'allowNull':![],'unique':_0x1d5e('0x3')},'prefix':{'type':Sequelize[_0x1d5e('0x4')],'get':function(_0x4cc61f){return _0x1d5e('0x5')+this[_0x1d5e('0x6')](_0x1d5e('0x3'))+'-';}},'description':{'type':Sequelize[_0x1d5e('0x2')]},'callerIdAll':{'type':Sequelize[_0x1d5e('0x2')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};