a166ce7941be32ca2fba130d4e2e071422e4c8eb
[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 _0x6136=['exports','STRING','sequelize'];(function(_0x4e6ef6,_0x1f8d62){var _0x3319f4=function(_0x5b69b2){while(--_0x5b69b2){_0x4e6ef6['push'](_0x4e6ef6['shift']());}};_0x3319f4(++_0x1f8d62);}(_0x6136,0x95));var _0x6613=function(_0x4533e1,_0x1db84e){_0x4533e1=_0x4533e1-0x0;var _0x34b134=_0x6136[_0x4533e1];return _0x34b134;};'use strict';var Sequelize=require(_0x6613('0x0'));module[_0x6613('0x1')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x5c3b43){return this['getDataValue']('field');}},'field':{'type':Sequelize['STRING'],'allowNull':![]},'operator':{'type':Sequelize[_0x6613('0x2')],'allowNull':![]},'value':{'type':Sequelize[_0x6613('0x2')],'allowNull':![]}};