Built motion from commit 9d1906d1.|2.5.40
[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 _0x16d3=['name','INTEGER','sequelize','exports','STRING','VIRTUAL','getDataValue'];(function(_0x3acc71,_0x49564c){var _0x11d931=function(_0x456fce){while(--_0x456fce){_0x3acc71['push'](_0x3acc71['shift']());}};_0x11d931(++_0x49564c);}(_0x16d3,0x1d7));var _0x316d=function(_0x11bd81,_0x11fa4c){_0x11bd81=_0x11bd81-0x0;var _0x158de0=_0x16d3[_0x11bd81];return _0x158de0;};'use strict';var Sequelize=require(_0x316d('0x0'));module[_0x316d('0x1')]={'name':{'type':Sequelize[_0x316d('0x2')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x316d('0x3')],'get':function(_0x55f883){return'system-'+this[_0x316d('0x4')](_0x316d('0x5'))+'-';}},'description':{'type':Sequelize[_0x316d('0x2')]},'callerIdAll':{'type':Sequelize[_0x316d('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x316d('0x6')]}};