Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / condition / condition.model.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 _0xfc8c=['define','Condition','tools_conditions','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','exports'];(function(_0x104590,_0x21b0b5){var _0x380a7c=function(_0x48fd82){while(--_0x48fd82){_0x104590['push'](_0x104590['shift']());}};_0x380a7c(++_0x21b0b5);}(_0xfc8c,0x1a3));var _0xcfc8=function(_0x3438e0,_0x140a7f){_0x3438e0=_0x3438e0-0x0;var _0x45cbba=_0xfc8c[_0x3438e0];return _0x45cbba;};'use strict';var _=require(_0xcfc8('0x0'));var util=require(_0xcfc8('0x1'));var logger=require(_0xcfc8('0x2'))(_0xcfc8('0x3'));var moment=require(_0xcfc8('0x4'));var BPromise=require('bluebird');var rp=require(_0xcfc8('0x5'));var fs=require('fs');var path=require(_0xcfc8('0x6'));var rimraf=require(_0xcfc8('0x7'));var config=require(_0xcfc8('0x8'));var attributes=require('./condition.attributes');module[_0xcfc8('0x9')]=function(_0x7d4cb4,_0x43928f){return _0x7d4cb4[_0xcfc8('0xa')](_0xcfc8('0xb'),attributes,{'tableName':_0xcfc8('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};