Built motion from commit 06eb8eb0.|2.6.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 _0x656e=['exports','define','lodash','util','api','moment','path','rimraf','../../config/environment','./condition.attributes'];(function(_0x110924,_0x1374bb){var _0x12905b=function(_0x47d32c){while(--_0x47d32c){_0x110924['push'](_0x110924['shift']());}};_0x12905b(++_0x1374bb);}(_0x656e,0x174));var _0xe656=function(_0x83e917,_0x1791a1){_0x83e917=_0x83e917-0x0;var _0x40af5a=_0x656e[_0x83e917];return _0x40af5a;};'use strict';var _=require(_0xe656('0x0'));var util=require(_0xe656('0x1'));var logger=require('../../config/logger')(_0xe656('0x2'));var moment=require(_0xe656('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xe656('0x4'));var rimraf=require(_0xe656('0x5'));var config=require(_0xe656('0x6'));var attributes=require(_0xe656('0x7'));module[_0xe656('0x8')]=function(_0x444fc3,_0x1635c7){return _0x444fc3[_0xe656('0x9')]('Condition',attributes,{'tableName':'tools_conditions','paranoid':![],'indexes':[],'timestamps':!![]});};