0a2c6956e8b595be173454415f311a7b2f62710f
[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 _0x616a=['exports','name','system-','getDataValue','STRING','INTEGER'];(function(_0x3bd52b,_0xbbc735){var _0x1e5b89=function(_0x29ccc3){while(--_0x29ccc3){_0x3bd52b['push'](_0x3bd52b['shift']());}};_0x1e5b89(++_0xbbc735);}(_0x616a,0x15c));var _0xa616=function(_0x4d7852,_0x25a078){_0x4d7852=_0x4d7852-0x0;var _0x40654e=_0x616a[_0x4d7852];return _0x40654e;};'use strict';var Sequelize=require('sequelize');module[_0xa616('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xa616('0x1')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x18c5a5){return _0xa616('0x2')+this[_0xa616('0x3')](_0xa616('0x1'))+'-';}},'description':{'type':Sequelize[_0xa616('0x4')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0xa616('0x5')]}};