Built motion from commit 85328c08.|2.5.50
[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 _0x7565=['system-','getDataValue','name','INTEGER','sequelize','exports','STRING','VIRTUAL'];(function(_0x477d8f,_0x4e0e3c){var _0x17c560=function(_0x549209){while(--_0x549209){_0x477d8f['push'](_0x477d8f['shift']());}};_0x17c560(++_0x4e0e3c);}(_0x7565,0x7c));var _0x5756=function(_0x302f4a,_0x1f14d1){_0x302f4a=_0x302f4a-0x0;var _0x243d7b=_0x7565[_0x302f4a];return _0x243d7b;};'use strict';var Sequelize=require(_0x5756('0x0'));module[_0x5756('0x1')]={'name':{'type':Sequelize[_0x5756('0x2')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x5756('0x3')],'get':function(_0xb50ecd){return _0x5756('0x4')+this[_0x5756('0x5')](_0x5756('0x6'))+'-';}},'description':{'type':Sequelize[_0x5756('0x2')]},'callerIdAll':{'type':Sequelize[_0x5756('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x5756('0x7')]}};