e61a19d151dbab06f8f4abe8c53ee960400ab620
[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 _0x569e=['STRING','VIRTUAL','system-','getDataValue'];(function(_0x177e53,_0x3c5cb3){var _0x4f6e30=function(_0x1cb7fb){while(--_0x1cb7fb){_0x177e53['push'](_0x177e53['shift']());}};_0x4f6e30(++_0x3c5cb3);}(_0x569e,0x1c0));var _0xe569=function(_0x3612eb,_0x1f07a9){_0x3612eb=_0x3612eb-0x0;var _0x1a13ab=_0x569e[_0x3612eb];return _0x1a13ab;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xe569('0x0')],'allowNull':![],'unique':'name'},'prefix':{'type':Sequelize[_0xe569('0x1')],'get':function(_0x5acb5a){return _0xe569('0x2')+this[_0xe569('0x3')]('name')+'-';}},'description':{'type':Sequelize[_0xe569('0x0')]},'callerIdAll':{'type':Sequelize[_0xe569('0x0')]},'VoiceExtensionId':{'type':Sequelize['INTEGER']}};