Built motion from commit (unavailable).|2.5.27
[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 _0x0b40=['system-','getDataValue','name','INTEGER','exports','STRING','VIRTUAL'];(function(_0x42ee1e,_0x3f1a64){var _0x1e21b8=function(_0x56098b){while(--_0x56098b){_0x42ee1e['push'](_0x42ee1e['shift']());}};_0x1e21b8(++_0x3f1a64);}(_0x0b40,0xba));var _0x00b4=function(_0x503950,_0x5022eb){_0x503950=_0x503950-0x0;var _0x1657a9=_0x0b40[_0x503950];return _0x1657a9;};'use strict';var Sequelize=require('sequelize');module[_0x00b4('0x0')]={'name':{'type':Sequelize[_0x00b4('0x1')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x00b4('0x2')],'get':function(_0x309480){return _0x00b4('0x3')+this[_0x00b4('0x4')](_0x00b4('0x5'))+'-';}},'description':{'type':Sequelize[_0x00b4('0x1')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0x00b4('0x6')]}};