51b914d2af07cd7df7fa2b32b197402e002a6ad3
[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 _0x1fb6=['name','system-','getDataValue','STRING','INTEGER','exports'];(function(_0x53a3e5,_0x23ca3a){var _0x591cea=function(_0x222ff1){while(--_0x222ff1){_0x53a3e5['push'](_0x53a3e5['shift']());}};_0x591cea(++_0x23ca3a);}(_0x1fb6,0x149));var _0x61fb=function(_0x35223f,_0x300377){_0x35223f=_0x35223f-0x0;var _0x8a4a3e=_0x1fb6[_0x35223f];return _0x8a4a3e;};'use strict';var Sequelize=require('sequelize');module[_0x61fb('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x61fb('0x1')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x22d8d0){return _0x61fb('0x2')+this[_0x61fb('0x3')](_0x61fb('0x1'))+'-';}},'description':{'type':Sequelize[_0x61fb('0x4')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0x61fb('0x5')]}};