Built motion from commit (unavailable).|2.5.21
[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 _0x9d8c=['system-','INTEGER','exports','STRING','name'];(function(_0x138adb,_0x193fee){var _0x1b27f2=function(_0x5e97a2){while(--_0x5e97a2){_0x138adb['push'](_0x138adb['shift']());}};_0x1b27f2(++_0x193fee);}(_0x9d8c,0x1a6));var _0xc9d8=function(_0x2422c1,_0x44c27e){_0x2422c1=_0x2422c1-0x0;var _0x1f3267=_0x9d8c[_0x2422c1];return _0x1f3267;};'use strict';var Sequelize=require('sequelize');module[_0xc9d8('0x0')]={'name':{'type':Sequelize[_0xc9d8('0x1')],'allowNull':![],'unique':_0xc9d8('0x2')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x1269c1){return _0xc9d8('0x3')+this['getDataValue'](_0xc9d8('0x2'))+'-';}},'description':{'type':Sequelize[_0xc9d8('0x1')]},'callerIdAll':{'type':Sequelize[_0xc9d8('0x1')]},'VoiceExtensionId':{'type':Sequelize[_0xc9d8('0x4')]}};