Built motion from commit 25580385.|2.6.2
[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 _0x3799=['STRING','VIRTUAL','system-','getDataValue','name','INTEGER','sequelize'];(function(_0x82158f,_0x4e103e){var _0x5f475f=function(_0x473255){while(--_0x473255){_0x82158f['push'](_0x82158f['shift']());}};_0x5f475f(++_0x4e103e);}(_0x3799,0x125));var _0x9379=function(_0x41d21b,_0x3cac66){_0x41d21b=_0x41d21b-0x0;var _0x2fc597=_0x3799[_0x41d21b];return _0x2fc597;};'use strict';var Sequelize=require(_0x9379('0x0'));module['exports']={'name':{'type':Sequelize[_0x9379('0x1')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x9379('0x2')],'get':function(_0x117eff){return _0x9379('0x3')+this[_0x9379('0x4')](_0x9379('0x5'))+'-';}},'description':{'type':Sequelize[_0x9379('0x1')]},'callerIdAll':{'type':Sequelize[_0x9379('0x1')]},'VoiceExtensionId':{'type':Sequelize[_0x9379('0x6')]}};