9e7c15220b1e98ced7f93d97bd7276949993958e
[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 _0xf394=['INTEGER','sequelize','exports','STRING','name','VIRTUAL','system-','getDataValue'];(function(_0x2dc057,_0x15a187){var _0x55d098=function(_0x2321c4){while(--_0x2321c4){_0x2dc057['push'](_0x2dc057['shift']());}};_0x55d098(++_0x15a187);}(_0xf394,0xa9));var _0x4f39=function(_0x6c993a,_0x5ea3ab){_0x6c993a=_0x6c993a-0x0;var _0x27f547=_0xf394[_0x6c993a];return _0x27f547;};'use strict';var Sequelize=require(_0x4f39('0x0'));module[_0x4f39('0x1')]={'name':{'type':Sequelize[_0x4f39('0x2')],'allowNull':![],'unique':_0x4f39('0x3')},'prefix':{'type':Sequelize[_0x4f39('0x4')],'get':function(_0x35d093){return _0x4f39('0x5')+this[_0x4f39('0x6')](_0x4f39('0x3'))+'-';}},'description':{'type':Sequelize[_0x4f39('0x2')]},'callerIdAll':{'type':Sequelize[_0x4f39('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x4f39('0x7')]}};