127dd53da0c13b6f54387f445cb6bc79d852668c
[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 _0xd5ad=['INTEGER','sequelize','STRING','system-','getDataValue','name'];(function(_0x29e6e1,_0x5dce92){var _0xf15909=function(_0x1a824d){while(--_0x1a824d){_0x29e6e1['push'](_0x29e6e1['shift']());}};_0xf15909(++_0x5dce92);}(_0xd5ad,0x1e1));var _0xdd5a=function(_0x3cc19e,_0x4c3a2e){_0x3cc19e=_0x3cc19e-0x0;var _0x2c772a=_0xd5ad[_0x3cc19e];return _0x2c772a;};'use strict';var Sequelize=require(_0xdd5a('0x0'));module['exports']={'name':{'type':Sequelize[_0xdd5a('0x1')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x2d6ea9){return _0xdd5a('0x2')+this[_0xdd5a('0x3')](_0xdd5a('0x4'))+'-';}},'description':{'type':Sequelize[_0xdd5a('0x1')]},'callerIdAll':{'type':Sequelize[_0xdd5a('0x1')]},'VoiceExtensionId':{'type':Sequelize[_0xdd5a('0x5')]}};