Built motion from commit (unavailable).|2.4.8
[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 _0xd2e3=['getDataValue','INTEGER','sequelize','exports','STRING','name'];(function(_0x2b6bd6,_0x1db5c4){var _0x573e92=function(_0x2b4388){while(--_0x2b4388){_0x2b6bd6['push'](_0x2b6bd6['shift']());}};_0x573e92(++_0x1db5c4);}(_0xd2e3,0x10a));var _0x3d2e=function(_0x8f6a89,_0x4402e1){_0x8f6a89=_0x8f6a89-0x0;var _0x4173c5=_0xd2e3[_0x8f6a89];return _0x4173c5;};'use strict';var Sequelize=require(_0x3d2e('0x0'));module[_0x3d2e('0x1')]={'name':{'type':Sequelize[_0x3d2e('0x2')],'allowNull':![],'unique':_0x3d2e('0x3')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x33d073){return'system-'+this[_0x3d2e('0x4')](_0x3d2e('0x3'))+'-';}},'description':{'type':Sequelize[_0x3d2e('0x2')]},'callerIdAll':{'type':Sequelize[_0x3d2e('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x3d2e('0x5')]}};