13d2817989955bdcbf658f5e730b50145743b1d3
[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 _0xca43=['INTEGER','exports','name','system-','getDataValue','STRING'];(function(_0x2f922f,_0x34a14f){var _0x4a63d4=function(_0x251b57){while(--_0x251b57){_0x2f922f['push'](_0x2f922f['shift']());}};_0x4a63d4(++_0x34a14f);}(_0xca43,0x151));var _0x3ca4=function(_0xd0698c,_0x214d84){_0xd0698c=_0xd0698c-0x0;var _0xfbd42a=_0xca43[_0xd0698c];return _0xfbd42a;};'use strict';var Sequelize=require('sequelize');module[_0x3ca4('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x3ca4('0x1')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x5b1104){return _0x3ca4('0x2')+this[_0x3ca4('0x3')](_0x3ca4('0x1'))+'-';}},'description':{'type':Sequelize[_0x3ca4('0x4')]},'callerIdAll':{'type':Sequelize[_0x3ca4('0x4')]},'VoiceExtensionId':{'type':Sequelize[_0x3ca4('0x5')]}};