ba8b50a2375309218f3db1c8208c0046e8c033bf
[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 _0x3ce9=['sequelize','STRING','name','VIRTUAL','system-','getDataValue','INTEGER'];(function(_0x509da2,_0xd2f81a){var _0x277535=function(_0x4823bb){while(--_0x4823bb){_0x509da2['push'](_0x509da2['shift']());}};_0x277535(++_0xd2f81a);}(_0x3ce9,0x85));var _0x93ce=function(_0x2cd1de,_0x38289c){_0x2cd1de=_0x2cd1de-0x0;var _0xd44908=_0x3ce9[_0x2cd1de];return _0xd44908;};'use strict';var Sequelize=require(_0x93ce('0x0'));module['exports']={'name':{'type':Sequelize[_0x93ce('0x1')],'allowNull':![],'unique':_0x93ce('0x2')},'prefix':{'type':Sequelize[_0x93ce('0x3')],'get':function(_0x2e50ab){return _0x93ce('0x4')+this[_0x93ce('0x5')]('name')+'-';}},'description':{'type':Sequelize[_0x93ce('0x1')]},'callerIdAll':{'type':Sequelize[_0x93ce('0x1')]},'VoiceExtensionId':{'type':Sequelize[_0x93ce('0x6')]}};