97913f1d3528d618e97227983847268449c7ccd1
[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 _0x2845=['getDataValue','STRING','INTEGER','sequelize','exports','name','system-'];(function(_0x1b2ff2,_0x1d8749){var _0x22e540=function(_0xd6652f){while(--_0xd6652f){_0x1b2ff2['push'](_0x1b2ff2['shift']());}};_0x22e540(++_0x1d8749);}(_0x2845,0x18b));var _0x5284=function(_0x1ac7fd,_0x39fc4e){_0x1ac7fd=_0x1ac7fd-0x0;var _0x468291=_0x2845[_0x1ac7fd];return _0x468291;};'use strict';var Sequelize=require(_0x5284('0x0'));module[_0x5284('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x5284('0x2')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x27eb79){return _0x5284('0x3')+this[_0x5284('0x4')](_0x5284('0x2'))+'-';}},'description':{'type':Sequelize[_0x5284('0x5')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0x5284('0x6')]}};