Built motion from commit 3c2ce842.|2.6.31
[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 _0x07dc=['VIRTUAL','name','INTEGER','exports','STRING'];(function(_0x29cd9e,_0x5146e1){var _0x53a4d3=function(_0x584b3e){while(--_0x584b3e){_0x29cd9e['push'](_0x29cd9e['shift']());}};_0x53a4d3(++_0x5146e1);}(_0x07dc,0xf8));var _0xc07d=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x07dc[_0x17d9e3];return _0x14192d;};'use strict';var Sequelize=require('sequelize');module[_0xc07d('0x0')]={'name':{'type':Sequelize[_0xc07d('0x1')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0xc07d('0x2')],'get':function(_0x3c1944){return'system-'+this['getDataValue'](_0xc07d('0x3'))+'-';}},'description':{'type':Sequelize['STRING']},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize[_0xc07d('0x4')]}};