Built motion from commit 52c8a02d.|2.6.29
[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 _0x35ec=['INTEGER','exports','name','VIRTUAL','system-'];(function(_0x18a436,_0x1dbe06){var _0x5c2cf8=function(_0x4712d1){while(--_0x4712d1){_0x18a436['push'](_0x18a436['shift']());}};_0x5c2cf8(++_0x1dbe06);}(_0x35ec,0x88));var _0xc35e=function(_0x2fff2f,_0x1ffa7a){_0x2fff2f=_0x2fff2f-0x0;var _0x46da54=_0x35ec[_0x2fff2f];return _0x46da54;};'use strict';var Sequelize=require('sequelize');module[_0xc35e('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xc35e('0x1')},'prefix':{'type':Sequelize[_0xc35e('0x2')],'get':function(_0x503a5d){return _0xc35e('0x3')+this['getDataValue'](_0xc35e('0x1'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0xc35e('0x4')]}};