Built motion from commit 10af8726.|2.6.34
[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 _0xf878=['name','INTEGER','sequelize','STRING','system-','getDataValue'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0xf878,0x98));var _0x8f87=function(_0x417238,_0x3b3da4){_0x417238=_0x417238-0x0;var _0x5b01c4=_0xf878[_0x417238];return _0x5b01c4;};'use strict';var Sequelize=require(_0x8f87('0x0'));module['exports']={'name':{'type':Sequelize[_0x8f87('0x1')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x15d1de){return _0x8f87('0x2')+this[_0x8f87('0x3')](_0x8f87('0x4'))+'-';}},'description':{'type':Sequelize[_0x8f87('0x1')]},'callerIdAll':{'type':Sequelize[_0x8f87('0x1')]},'VoiceExtensionId':{'type':Sequelize[_0x8f87('0x5')]}};