Built motion from commit d5e4af8c.|2.6.23
[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 _0x7704=['VIRTUAL','system-','INTEGER','exports','STRING','name'];(function(_0xf6615a,_0x1d6e2c){var _0x362f2e=function(_0xbbe4f3){while(--_0xbbe4f3){_0xf6615a['push'](_0xf6615a['shift']());}};_0x362f2e(++_0x1d6e2c);}(_0x7704,0xe1));var _0x4770=function(_0x159b50,_0x4316ee){_0x159b50=_0x159b50-0x0;var _0x3ac3e7=_0x7704[_0x159b50];return _0x3ac3e7;};'use strict';var Sequelize=require('sequelize');module[_0x4770('0x0')]={'name':{'type':Sequelize[_0x4770('0x1')],'allowNull':![],'unique':_0x4770('0x2')},'prefix':{'type':Sequelize[_0x4770('0x3')],'get':function(_0x373341){return _0x4770('0x4')+this['getDataValue'](_0x4770('0x2'))+'-';}},'description':{'type':Sequelize[_0x4770('0x1')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0x4770('0x5')]}};