Built motion from commit ffdca78c.|2.6.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 _0x4a6b=['sequelize','STRING','VIRTUAL','system-','getDataValue','name'];(function(_0x371f74,_0xa98a8){var _0x360e64=function(_0x1a1d51){while(--_0x1a1d51){_0x371f74['push'](_0x371f74['shift']());}};_0x360e64(++_0xa98a8);}(_0x4a6b,0xc6));var _0xb4a6=function(_0x2f250f,_0x126661){_0x2f250f=_0x2f250f-0x0;var _0x217a1d=_0x4a6b[_0x2f250f];return _0x217a1d;};'use strict';var Sequelize=require(_0xb4a6('0x0'));module['exports']={'name':{'type':Sequelize[_0xb4a6('0x1')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0xb4a6('0x2')],'get':function(_0x5cb6f8){return _0xb4a6('0x3')+this[_0xb4a6('0x4')](_0xb4a6('0x5'))+'-';}},'description':{'type':Sequelize[_0xb4a6('0x1')]},'callerIdAll':{'type':Sequelize[_0xb4a6('0x1')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};