Built motion from commit 616d3211.|2.6.4
[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 _0x6e5f=['VIRTUAL','system-','sequelize','exports','STRING','name'];(function(_0x2f48cd,_0x46a75a){var _0x193ae2=function(_0x253c01){while(--_0x253c01){_0x2f48cd['push'](_0x2f48cd['shift']());}};_0x193ae2(++_0x46a75a);}(_0x6e5f,0x1a0));var _0xf6e5=function(_0x3fcb3d,_0x1dbffc){_0x3fcb3d=_0x3fcb3d-0x0;var _0x2f91fb=_0x6e5f[_0x3fcb3d];return _0x2f91fb;};'use strict';var Sequelize=require(_0xf6e5('0x0'));module[_0xf6e5('0x1')]={'name':{'type':Sequelize[_0xf6e5('0x2')],'allowNull':![],'unique':_0xf6e5('0x3')},'prefix':{'type':Sequelize[_0xf6e5('0x4')],'get':function(_0x5ec52c){return _0xf6e5('0x5')+this['getDataValue'](_0xf6e5('0x3'))+'-';}},'description':{'type':Sequelize[_0xf6e5('0x2')]},'callerIdAll':{'type':Sequelize[_0xf6e5('0x2')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};