Built motion from commit (unavailable).|2.5.22
[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 _0x7ee4=['VIRTUAL','getDataValue','name','INTEGER','exports','STRING'];(function(_0x5a8857,_0x30235c){var _0x15d8b6=function(_0x4a5a85){while(--_0x4a5a85){_0x5a8857['push'](_0x5a8857['shift']());}};_0x15d8b6(++_0x30235c);}(_0x7ee4,0xac));var _0x47ee=function(_0x7d3039,_0x63151b){_0x7d3039=_0x7d3039-0x0;var _0x24031e=_0x7ee4[_0x7d3039];return _0x24031e;};'use strict';var Sequelize=require('sequelize');module[_0x47ee('0x0')]={'name':{'type':Sequelize[_0x47ee('0x1')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x47ee('0x2')],'get':function(_0x5e5290){return'system-'+this[_0x47ee('0x3')](_0x47ee('0x4'))+'-';}},'description':{'type':Sequelize[_0x47ee('0x1')]},'callerIdAll':{'type':Sequelize[_0x47ee('0x1')]},'VoiceExtensionId':{'type':Sequelize[_0x47ee('0x5')]}};