Built motion from commit (unavailable).|2.5.4
[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 _0xedd7=['STRING','name','system-','getDataValue','exports'];(function(_0x243b2f,_0x30aa15){var _0xcb3c2d=function(_0x213bb2){while(--_0x213bb2){_0x243b2f['push'](_0x243b2f['shift']());}};_0xcb3c2d(++_0x30aa15);}(_0xedd7,0x90));var _0x7edd=function(_0x180833,_0x2cdcaf){_0x180833=_0x180833-0x0;var _0x119a72=_0xedd7[_0x180833];return _0x119a72;};'use strict';var Sequelize=require('sequelize');module[_0x7edd('0x0')]={'name':{'type':Sequelize[_0x7edd('0x1')],'allowNull':![],'unique':_0x7edd('0x2')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x19d1b5){return _0x7edd('0x3')+this[_0x7edd('0x4')](_0x7edd('0x2'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0x7edd('0x1')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};