5a0c65744cccf8a925a90736abc1b48e84aa564c
[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 _0x7ad7=['INTEGER','sequelize','name','VIRTUAL','system-','getDataValue','STRING'];(function(_0xc67528,_0x24e2fb){var _0x38e26d=function(_0x1b0efe){while(--_0x1b0efe){_0xc67528['push'](_0xc67528['shift']());}};_0x38e26d(++_0x24e2fb);}(_0x7ad7,0x17b));var _0x77ad=function(_0x260ef9,_0x8794da){_0x260ef9=_0x260ef9-0x0;var _0x5699ff=_0x7ad7[_0x260ef9];return _0x5699ff;};'use strict';var Sequelize=require(_0x77ad('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x77ad('0x1')},'prefix':{'type':Sequelize[_0x77ad('0x2')],'get':function(_0x15f658){return _0x77ad('0x3')+this[_0x77ad('0x4')](_0x77ad('0x1'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0x77ad('0x5')]},'VoiceExtensionId':{'type':Sequelize[_0x77ad('0x6')]}};