a9dcb439a70fe6c9abf2eb8b24b63a72bcc77a19
[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 _0xcdf5=['getDataValue','INTEGER','exports','STRING','name','VIRTUAL','system-'];(function(_0x50ac3d,_0x4e8e7d){var _0x9a555c=function(_0x31028c){while(--_0x31028c){_0x50ac3d['push'](_0x50ac3d['shift']());}};_0x9a555c(++_0x4e8e7d);}(_0xcdf5,0x1bb));var _0x5cdf=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0xcdf5[_0x5b644e];return _0x49c6bf;};'use strict';var Sequelize=require('sequelize');module[_0x5cdf('0x0')]={'name':{'type':Sequelize[_0x5cdf('0x1')],'allowNull':![],'unique':_0x5cdf('0x2')},'prefix':{'type':Sequelize[_0x5cdf('0x3')],'get':function(_0x5e38da){return _0x5cdf('0x4')+this[_0x5cdf('0x5')](_0x5cdf('0x2'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0x5cdf('0x6')]}};