Built motion from commit b5413ace.|2.6.9
[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 _0xb364=['STRING','INTEGER','name','system-','getDataValue'];(function(_0x1cdc7b,_0x1d3d53){var _0x2d8126=function(_0x3b45fb){while(--_0x3b45fb){_0x1cdc7b['push'](_0x1cdc7b['shift']());}};_0x2d8126(++_0x1d3d53);}(_0xb364,0x7f));var _0x4b36=function(_0x7da51b,_0x337ee8){_0x7da51b=_0x7da51b-0x0;var _0x1867d7=_0xb364[_0x7da51b];return _0x1867d7;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x4b36('0x0')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x3363d0){return _0x4b36('0x1')+this[_0x4b36('0x2')](_0x4b36('0x0'))+'-';}},'description':{'type':Sequelize[_0x4b36('0x3')]},'callerIdAll':{'type':Sequelize[_0x4b36('0x3')]},'VoiceExtensionId':{'type':Sequelize[_0x4b36('0x4')]}};