1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x6693=['scheduledat','phone','priority','lodash','util','../../config/logger','moment','../../config/environment','./cmHopper.attributes','exports','define','cm_hopper'];(function(_0x2f7a75,_0x456c9){var _0x7ccb0b=function(_0xef89a2){while(--_0xef89a2){_0x2f7a75['push'](_0x2f7a75['shift']());}};_0x7ccb0b(++_0x456c9);}(_0x6693,0xf3));var _0x3669=function(_0x66f74,_0x5d0688){_0x66f74=_0x66f74-0x0;var _0x2aa9fd=_0x6693[_0x66f74];return _0x2aa9fd;};'use strict';var _=require(_0x3669('0x0'));var util=require(_0x3669('0x1'));var logger=require(_0x3669('0x2'))('api');var moment=require(_0x3669('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x3669('0x4'));var attributes=require(_0x3669('0x5'));module[_0x3669('0x6')]=function(_0x156155,_0x399c3d){return _0x156155[_0x3669('0x7')]('CmHopper',attributes,{'tableName':_0x3669('0x8'),'paranoid':![],'indexes':[{'name':_0x3669('0x9'),'fields':[_0x3669('0x9')]},{'name':_0x3669('0xa'),'fields':[_0x3669('0xa')]},{'name':_0x3669('0xb'),'fields':[_0x3669('0xb')]}],'timestamps':!![]});};