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 _0x524a=['define','cm_hopper','scheduledat','phone','priority','lodash','../../config/logger','moment','bluebird','request-promise','rimraf','./cmHopper.attributes','exports'];(function(_0x3eb818,_0x4aecf5){var _0x4857a8=function(_0x66def3){while(--_0x66def3){_0x3eb818['push'](_0x3eb818['shift']());}};_0x4857a8(++_0x4aecf5);}(_0x524a,0x123));var _0xa524=function(_0x5e6c3b,_0x62105e){_0x5e6c3b=_0x5e6c3b-0x0;var _0x33bbf5=_0x524a[_0x5e6c3b];return _0x33bbf5;};'use strict';var _=require(_0xa524('0x0'));var util=require('util');var logger=require(_0xa524('0x1'))('api');var moment=require(_0xa524('0x2'));var BPromise=require(_0xa524('0x3'));var rp=require(_0xa524('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa524('0x5'));var config=require('../../config/environment');var attributes=require(_0xa524('0x6'));module[_0xa524('0x7')]=function(_0x2f5769,_0x5edf75){return _0x2f5769[_0xa524('0x8')]('CmHopper',attributes,{'tableName':_0xa524('0x9'),'paranoid':![],'indexes':[{'name':_0xa524('0xa'),'fields':[_0xa524('0xa')]},{'name':_0xa524('0xb'),'fields':[_0xa524('0xb')]},{'name':_0xa524('0xc'),'fields':[_0xa524('0xc')]}],'timestamps':!![]});};