84bcaa0a7705a770d42568a17c8f3d9e722fd007
[motion2.git] / server / api / condition / condition.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 _0x49eb=['STRING','sequelize','exports'];(function(_0xa4fbf6,_0x428841){var _0x2c5557=function(_0x48fd8a){while(--_0x48fd8a){_0xa4fbf6['push'](_0xa4fbf6['shift']());}};_0x2c5557(++_0x428841);}(_0x49eb,0x184));var _0xb49e=function(_0xfbddcb,_0xca93ee){_0xfbddcb=_0xfbddcb-0x0;var _0x1ef2e9=_0x49eb[_0xfbddcb];return _0x1ef2e9;};'use strict';var Sequelize=require(_0xb49e('0x0'));module[_0xb49e('0x1')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x114bfc){return this['getDataValue']('field');}},'field':{'type':Sequelize['STRING'],'allowNull':![]},'operator':{'type':Sequelize['STRING'],'allowNull':![]},'value':{'type':Sequelize[_0xb49e('0x2')],'allowNull':![]}};