0bf582ec67865e6549af0f5dc2d18d2ec35fc50f
[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 _0x2789=['getDataValue','name','INTEGER','sequelize','exports','STRING','VIRTUAL'];(function(_0x1af9d0,_0x5e34c5){var _0x34bda3=function(_0x424aae){while(--_0x424aae){_0x1af9d0['push'](_0x1af9d0['shift']());}};_0x34bda3(++_0x5e34c5);}(_0x2789,0x192));var _0x9278=function(_0x4b987b,_0x42e919){_0x4b987b=_0x4b987b-0x0;var _0x41be97=_0x2789[_0x4b987b];return _0x41be97;};'use strict';var Sequelize=require(_0x9278('0x0'));module[_0x9278('0x1')]={'name':{'type':Sequelize[_0x9278('0x2')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x9278('0x3')],'get':function(_0x3d8a8c){return'system-'+this[_0x9278('0x4')](_0x9278('0x5'))+'-';}},'description':{'type':Sequelize[_0x9278('0x2')]},'callerIdAll':{'type':Sequelize[_0x9278('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x9278('0x6')]}};