Built motion from commit f6d7e26c.|2.6.14
[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 _0x6502=['VIRTUAL','getDataValue','STRING','INTEGER','sequelize','exports','name'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0x6502,0x10e));var _0x2650=function(_0x5e941f,_0x41d741){_0x5e941f=_0x5e941f-0x0;var _0x5b52c4=_0x6502[_0x5e941f];return _0x5b52c4;};'use strict';var Sequelize=require(_0x2650('0x0'));module[_0x2650('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x2650('0x2')},'prefix':{'type':Sequelize[_0x2650('0x3')],'get':function(_0x5892fc){return'system-'+this[_0x2650('0x4')](_0x2650('0x2'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize[_0x2650('0x5')]},'VoiceExtensionId':{'type':Sequelize[_0x2650('0x6')]}};