27004c1c36ff28f32abaa2ed51bd96892cccff86
[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 _0x6031=['INTEGER','sequelize','exports','STRING','name','VIRTUAL','getDataValue'];(function(_0x2652c4,_0x2f85c9){var _0x135ac1=function(_0xabfe58){while(--_0xabfe58){_0x2652c4['push'](_0x2652c4['shift']());}};_0x135ac1(++_0x2f85c9);}(_0x6031,0x197));var _0x1603=function(_0x190d6d,_0x1f0288){_0x190d6d=_0x190d6d-0x0;var _0x4415c9=_0x6031[_0x190d6d];return _0x4415c9;};'use strict';var Sequelize=require(_0x1603('0x0'));module[_0x1603('0x1')]={'name':{'type':Sequelize[_0x1603('0x2')],'allowNull':![],'unique':_0x1603('0x3')},'prefix':{'type':Sequelize[_0x1603('0x4')],'get':function(_0x43a837){return'system-'+this[_0x1603('0x5')](_0x1603('0x3'))+'-';}},'description':{'type':Sequelize[_0x1603('0x2')]},'callerIdAll':{'type':Sequelize[_0x1603('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x1603('0x6')]}};