Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / api / cmHopper / cmHopper.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 _0x263e=['request-promise','path','../../config/environment','./cmHopper.attributes','exports','define','scheduledat','phone','priority','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x161935,_0x1d53a0){var _0xf2b8b8=function(_0x32bb0c){while(--_0x32bb0c){_0x161935['push'](_0x161935['shift']());}};_0xf2b8b8(++_0x1d53a0);}(_0x263e,0x126));var _0xe263=function(_0x7880d2,_0x32e7d6){_0x7880d2=_0x7880d2-0x0;var _0x35ebbe=_0x263e[_0x7880d2];return _0x35ebbe;};'use strict';var _=require(_0xe263('0x0'));var util=require(_0xe263('0x1'));var logger=require(_0xe263('0x2'))(_0xe263('0x3'));var moment=require(_0xe263('0x4'));var BPromise=require(_0xe263('0x5'));var rp=require(_0xe263('0x6'));var fs=require('fs');var path=require(_0xe263('0x7'));var rimraf=require('rimraf');var config=require(_0xe263('0x8'));var attributes=require(_0xe263('0x9'));module[_0xe263('0xa')]=function(_0xf26b41,_0x15e4e7){return _0xf26b41[_0xe263('0xb')]('CmHopper',attributes,{'tableName':'cm_hopper','paranoid':![],'indexes':[{'name':_0xe263('0xc'),'fields':['scheduledat']},{'name':_0xe263('0xd'),'fields':[_0xe263('0xd')]},{'name':_0xe263('0xe'),'fields':[_0xe263('0xe')]}],'timestamps':!![]});};