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 _0x6fd2=['util','../../config/logger','moment','path','../../config/environment','./smsQueueReport.attributes','define','SmsQueueReport','report_sms_queue','uniqueid','lodash'];(function(_0x3d2d6f,_0x368872){var _0x5c0022=function(_0x408819){while(--_0x408819){_0x3d2d6f['push'](_0x3d2d6f['shift']());}};_0x5c0022(++_0x368872);}(_0x6fd2,0x107));var _0x26fd=function(_0x28d18d,_0x55896b){_0x28d18d=_0x28d18d-0x0;var _0x470640=_0x6fd2[_0x28d18d];return _0x470640;};'use strict';var _=require(_0x26fd('0x0'));var util=require(_0x26fd('0x1'));var logger=require(_0x26fd('0x2'))('api');var moment=require(_0x26fd('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x26fd('0x4'));var rimraf=require('rimraf');var config=require(_0x26fd('0x5'));var attributes=require(_0x26fd('0x6'));module['exports']=function(_0x540f0d,_0x2222dd){return _0x540f0d[_0x26fd('0x7')](_0x26fd('0x8'),attributes,{'tableName':_0x26fd('0x9'),'paranoid':![],'indexes':[{'name':_0x26fd('0xa'),'fields':['uniqueid']}],'timestamps':!![]});};