Built motion from commit eddce310.|2.6.12
[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 _0xb9e7=['getDataValue','INTEGER','exports','STRING','name','VIRTUAL','system-'];(function(_0x192359,_0x5518fd){var _0x3dd6d1=function(_0x1a4b25){while(--_0x1a4b25){_0x192359['push'](_0x192359['shift']());}};_0x3dd6d1(++_0x5518fd);}(_0xb9e7,0x121));var _0x7b9e=function(_0x16eb11,_0x1a2251){_0x16eb11=_0x16eb11-0x0;var _0x3ae7ef=_0xb9e7[_0x16eb11];return _0x3ae7ef;};'use strict';var Sequelize=require('sequelize');module[_0x7b9e('0x0')]={'name':{'type':Sequelize[_0x7b9e('0x1')],'allowNull':![],'unique':_0x7b9e('0x2')},'prefix':{'type':Sequelize[_0x7b9e('0x3')],'get':function(_0xa2fec4){return _0x7b9e('0x4')+this[_0x7b9e('0x5')]('name')+'-';}},'description':{'type':Sequelize[_0x7b9e('0x1')]},'callerIdAll':{'type':Sequelize[_0x7b9e('0x1')]},'VoiceExtensionId':{'type':Sequelize[_0x7b9e('0x6')]}};