Built motion from commit 47436d59.|2.6.7
[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 _0x1c50=['name','INTEGER','sequelize','exports','STRING','VIRTUAL','system-','getDataValue'];(function(_0x42f005,_0xc54931){var _0x111dd6=function(_0x4943d3){while(--_0x4943d3){_0x42f005['push'](_0x42f005['shift']());}};_0x111dd6(++_0xc54931);}(_0x1c50,0x162));var _0x01c5=function(_0x5d5de0,_0x2fc622){_0x5d5de0=_0x5d5de0-0x0;var _0x2a7792=_0x1c50[_0x5d5de0];return _0x2a7792;};'use strict';var Sequelize=require(_0x01c5('0x0'));module[_0x01c5('0x1')]={'name':{'type':Sequelize[_0x01c5('0x2')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x01c5('0x3')],'get':function(_0x200ebe){return _0x01c5('0x4')+this[_0x01c5('0x5')](_0x01c5('0x6'))+'-';}},'description':{'type':Sequelize[_0x01c5('0x2')]},'callerIdAll':{'type':Sequelize[_0x01c5('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x01c5('0x7')]}};