1e05be57ff78de1ca2f9d68b691646c8a645d965
[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 _0xd571=['VIRTUAL','system-','getDataValue','exports','STRING'];(function(_0x2cc0c5,_0x47a192){var _0x4ec66e=function(_0x1b8cde){while(--_0x1b8cde){_0x2cc0c5['push'](_0x2cc0c5['shift']());}};_0x4ec66e(++_0x47a192);}(_0xd571,0x1c5));var _0x1d57=function(_0x580bae,_0x1f2c51){_0x580bae=_0x580bae-0x0;var _0x754b61=_0xd571[_0x580bae];return _0x754b61;};'use strict';var Sequelize=require('sequelize');module[_0x1d57('0x0')]={'name':{'type':Sequelize[_0x1d57('0x1')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0x1d57('0x2')],'get':function(_0x3d0922){return _0x1d57('0x3')+this[_0x1d57('0x4')]('name')+'-';}},'description':{'type':Sequelize[_0x1d57('0x1')]},'callerIdAll':{'type':Sequelize[_0x1d57('0x1')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};