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 _0xe2dd=['priority','util','../../config/logger','bluebird','request-promise','path','rimraf','./cmHopper.attributes','define','CmHopper','cm_hopper','scheduledat','phone'];(function(_0x5cb1af,_0x4bdc8c){var _0x8d7940=function(_0x3db70a){while(--_0x3db70a){_0x5cb1af['push'](_0x5cb1af['shift']());}};_0x8d7940(++_0x4bdc8c);}(_0xe2dd,0x1e2));var _0xde2d=function(_0x12d033,_0x25fa2f){_0x12d033=_0x12d033-0x0;var _0x3b4e80=_0xe2dd[_0x12d033];return _0x3b4e80;};'use strict';var _=require('lodash');var util=require(_0xde2d('0x0'));var logger=require(_0xde2d('0x1'))('api');var moment=require('moment');var BPromise=require(_0xde2d('0x2'));var rp=require(_0xde2d('0x3'));var fs=require('fs');var path=require(_0xde2d('0x4'));var rimraf=require(_0xde2d('0x5'));var config=require('../../config/environment');var attributes=require(_0xde2d('0x6'));module['exports']=function(_0x4c9d9f,_0x5f0073){return _0x4c9d9f[_0xde2d('0x7')](_0xde2d('0x8'),attributes,{'tableName':_0xde2d('0x9'),'paranoid':![],'indexes':[{'name':_0xde2d('0xa'),'fields':[_0xde2d('0xa')]},{'name':_0xde2d('0xb'),'fields':[_0xde2d('0xb')]},{'name':_0xde2d('0xc'),'fields':[_0xde2d('0xc')]}],'timestamps':!![]});};