ee63410e59d4d700b19d06837b21b0dc496ddf2c
[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 _0xda06=['STRING','system-','getDataValue','name','exports'];(function(_0x1efa26,_0x2a2295){var _0x4bdc5f=function(_0x155bee){while(--_0x155bee){_0x1efa26['push'](_0x1efa26['shift']());}};_0x4bdc5f(++_0x2a2295);}(_0xda06,0x176));var _0x6da0=function(_0x3f9602,_0x115411){_0x3f9602=_0x3f9602-0x0;var _0xb22e48=_0xda06[_0x3f9602];return _0xb22e48;};'use strict';var Sequelize=require('sequelize');module[_0x6da0('0x0')]={'name':{'type':Sequelize[_0x6da0('0x1')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x3ff7b7){return _0x6da0('0x2')+this[_0x6da0('0x3')](_0x6da0('0x4'))+'-';}},'description':{'type':Sequelize[_0x6da0('0x1')]},'callerIdAll':{'type':Sequelize['STRING']},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};