07bd19d7f440a23d96989fee7ea0b5ffe3379510
[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 _0x8760=['name','VIRTUAL','system-','getDataValue','STRING'];(function(_0x23e5d2,_0x415e7a){var _0x51ee49=function(_0x2cc5fd){while(--_0x2cc5fd){_0x23e5d2['push'](_0x23e5d2['shift']());}};_0x51ee49(++_0x415e7a);}(_0x8760,0x78));var _0x0876=function(_0x1e381c,_0x47b5b9){_0x1e381c=_0x1e381c-0x0;var _0x9b5ea9=_0x8760[_0x1e381c];return _0x9b5ea9;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x0876('0x0')},'prefix':{'type':Sequelize[_0x0876('0x1')],'get':function(_0x231b0b){return _0x0876('0x2')+this[_0x0876('0x3')](_0x0876('0x0'))+'-';}},'description':{'type':Sequelize[_0x0876('0x4')]},'callerIdAll':{'type':Sequelize[_0x0876('0x4')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};