b573c771901dab748e723f7f9ef06ee7cddaa0c4
[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 _0xf0f5=['system-','getDataValue','INTEGER','exports','STRING','name'];(function(_0x487b0c,_0x14ff74){var _0x1adbdc=function(_0x2e7b9d){while(--_0x2e7b9d){_0x487b0c['push'](_0x487b0c['shift']());}};_0x1adbdc(++_0x14ff74);}(_0xf0f5,0x75));var _0x5f0f=function(_0x10de99,_0xdd42d){_0x10de99=_0x10de99-0x0;var _0x8550e5=_0xf0f5[_0x10de99];return _0x8550e5;};'use strict';var Sequelize=require('sequelize');module[_0x5f0f('0x0')]={'name':{'type':Sequelize[_0x5f0f('0x1')],'allowNull':![],'unique':_0x5f0f('0x2')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x4ae771){return _0x5f0f('0x3')+this[_0x5f0f('0x4')](_0x5f0f('0x2'))+'-';}},'description':{'type':Sequelize[_0x5f0f('0x1')]},'callerIdAll':{'type':Sequelize[_0x5f0f('0x1')]},'VoiceExtensionId':{'type':Sequelize[_0x5f0f('0x5')]}};