Built motion from commit (unavailable).|2.5.24
[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 _0x6812=['STRING','name','system-'];(function(_0xe0967d,_0x549626){var _0x5218c8=function(_0x4b1e85){while(--_0x4b1e85){_0xe0967d['push'](_0xe0967d['shift']());}};_0x5218c8(++_0x549626);}(_0x6812,0x121));var _0x2681=function(_0x3c759c,_0x542f95){_0x3c759c=_0x3c759c-0x0;var _0x399441=_0x6812[_0x3c759c];return _0x399441;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x2681('0x0')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x2d19ad){return _0x2681('0x1')+this['getDataValue'](_0x2681('0x0'))+'-';}},'description':{'type':Sequelize[_0x2681('0x2')]},'callerIdAll':{'type':Sequelize[_0x2681('0x2')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};