75a6eb129eaff36075ab3e32433e556cffe947e7
[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 _0x2f68=['name','VIRTUAL','system-','INTEGER','exports','STRING'];(function(_0x359209,_0x5089d5){var _0x50daf8=function(_0x53ba5e){while(--_0x53ba5e){_0x359209['push'](_0x359209['shift']());}};_0x50daf8(++_0x5089d5);}(_0x2f68,0x9a));var _0x82f6=function(_0x583f9e,_0x1b60a2){_0x583f9e=_0x583f9e-0x0;var _0x3e2a17=_0x2f68[_0x583f9e];return _0x3e2a17;};'use strict';var Sequelize=require('sequelize');module[_0x82f6('0x0')]={'name':{'type':Sequelize[_0x82f6('0x1')],'allowNull':![],'unique':_0x82f6('0x2')},'prefix':{'type':Sequelize[_0x82f6('0x3')],'get':function(_0x4be334){return _0x82f6('0x4')+this['getDataValue'](_0x82f6('0x2'))+'-';}},'description':{'type':Sequelize[_0x82f6('0x1')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0x82f6('0x5')]}};