Built motion from commit e8d9bd62.|2.6.25
[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 _0xaa70=['system-','getDataValue','INTEGER','sequelize','exports','STRING','name'];(function(_0x19d6ee,_0x44bc9a){var _0x53a983=function(_0x4881c1){while(--_0x4881c1){_0x19d6ee['push'](_0x19d6ee['shift']());}};_0x53a983(++_0x44bc9a);}(_0xaa70,0x161));var _0x0aa7=function(_0x555b2f,_0x43b622){_0x555b2f=_0x555b2f-0x0;var _0x81c0a6=_0xaa70[_0x555b2f];return _0x81c0a6;};'use strict';var Sequelize=require(_0x0aa7('0x0'));module[_0x0aa7('0x1')]={'name':{'type':Sequelize[_0x0aa7('0x2')],'allowNull':![],'unique':_0x0aa7('0x3')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x42e627){return _0x0aa7('0x4')+this[_0x0aa7('0x5')](_0x0aa7('0x3'))+'-';}},'description':{'type':Sequelize[_0x0aa7('0x2')]},'callerIdAll':{'type':Sequelize[_0x0aa7('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x0aa7('0x6')]}};