Built motion from commit 9d0783e6.|2.6.13
[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 _0x1129=['sequelize','exports','STRING','name','VIRTUAL','system-','INTEGER'];(function(_0x8cb2f9,_0x2b8706){var _0x164887=function(_0x1812cc){while(--_0x1812cc){_0x8cb2f9['push'](_0x8cb2f9['shift']());}};_0x164887(++_0x2b8706);}(_0x1129,0x188));var _0x9112=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x1129[_0x20a584];return _0x4b41a8;};'use strict';var Sequelize=require(_0x9112('0x0'));module[_0x9112('0x1')]={'name':{'type':Sequelize[_0x9112('0x2')],'allowNull':![],'unique':_0x9112('0x3')},'prefix':{'type':Sequelize[_0x9112('0x4')],'get':function(_0x4d76d6){return _0x9112('0x5')+this['getDataValue']('name')+'-';}},'description':{'type':Sequelize[_0x9112('0x2')]},'callerIdAll':{'type':Sequelize[_0x9112('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x9112('0x6')]}};