Built motion from commit (unavailable).|2.5.16
[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 _0x928f=['sequelize','STRING','VIRTUAL','system-','getDataValue','name','INTEGER'];(function(_0x20c8f5,_0x290b4f){var _0x42127c=function(_0x347097){while(--_0x347097){_0x20c8f5['push'](_0x20c8f5['shift']());}};_0x42127c(++_0x290b4f);}(_0x928f,0x196));var _0xf928=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x928f[_0x2dafbe];return _0x58a45a;};'use strict';var Sequelize=require(_0xf928('0x0'));module['exports']={'name':{'type':Sequelize[_0xf928('0x1')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0xf928('0x2')],'get':function(_0xed9bcd){return _0xf928('0x3')+this[_0xf928('0x4')](_0xf928('0x5'))+'-';}},'description':{'type':Sequelize[_0xf928('0x1')]},'callerIdAll':{'type':Sequelize[_0xf928('0x1')]},'VoiceExtensionId':{'type':Sequelize[_0xf928('0x6')]}};