Built motion from commit b0a9a629.|2.6.33
[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 _0x2e2b=['./condition.attributes','exports','define','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x429cdc,_0x53fb92){var _0x458f8a=function(_0x3afbd3){while(--_0x3afbd3){_0x429cdc['push'](_0x429cdc['shift']());}};_0x458f8a(++_0x53fb92);}(_0x2e2b,0x12f));var _0xb2e2=function(_0x1203f,_0x554bbc){_0x1203f=_0x1203f-0x0;var _0x365f0a=_0x2e2b[_0x1203f];return _0x365f0a;};'use strict';var _=require(_0xb2e2('0x0'));var util=require(_0xb2e2('0x1'));var logger=require(_0xb2e2('0x2'))(_0xb2e2('0x3'));var moment=require(_0xb2e2('0x4'));var BPromise=require(_0xb2e2('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb2e2('0x6'));var rimraf=require(_0xb2e2('0x7'));var config=require(_0xb2e2('0x8'));var attributes=require(_0xb2e2('0x9'));module[_0xb2e2('0xa')]=function(_0x17271c,_0xd25623){return _0x17271c[_0xb2e2('0xb')]('Condition',attributes,{'tableName':'tools_conditions','paranoid':![],'indexes':[],'timestamps':!![]});};