f7569f6601d7266daa564eb4bf4b8dc604a7e461
[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 _0x7a19=['system-','getDataValue','INTEGER','exports','STRING','name'];(function(_0x477169,_0x3721a6){var _0x2ea046=function(_0x586af6){while(--_0x586af6){_0x477169['push'](_0x477169['shift']());}};_0x2ea046(++_0x3721a6);}(_0x7a19,0x17d));var _0x97a1=function(_0x5be381,_0xfa9759){_0x5be381=_0x5be381-0x0;var _0x1a0c23=_0x7a19[_0x5be381];return _0x1a0c23;};'use strict';var Sequelize=require('sequelize');module[_0x97a1('0x0')]={'name':{'type':Sequelize[_0x97a1('0x1')],'allowNull':![],'unique':_0x97a1('0x2')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x200642){return _0x97a1('0x3')+this[_0x97a1('0x4')](_0x97a1('0x2'))+'-';}},'description':{'type':Sequelize[_0x97a1('0x1')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0x97a1('0x5')]}};