Built motion from commit (unavailable).|2.4.21
[motion2.git] / server / api / smsQueueReport / smsQueueReport.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 _0xcf75=['../../config/logger','api','request-promise','path','../../config/environment','./smsQueueReport.attributes','exports','define','report_sms_queue','uniqueid','util'];(function(_0x55ef8b,_0x5deb5e){var _0x359c84=function(_0x437673){while(--_0x437673){_0x55ef8b['push'](_0x55ef8b['shift']());}};_0x359c84(++_0x5deb5e);}(_0xcf75,0x83));var _0x5cf7=function(_0x4a8b2e,_0x36192e){_0x4a8b2e=_0x4a8b2e-0x0;var _0x6eaa08=_0xcf75[_0x4a8b2e];return _0x6eaa08;};'use strict';var _=require('lodash');var util=require(_0x5cf7('0x0'));var logger=require(_0x5cf7('0x1'))(_0x5cf7('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x5cf7('0x3'));var fs=require('fs');var path=require(_0x5cf7('0x4'));var rimraf=require('rimraf');var config=require(_0x5cf7('0x5'));var attributes=require(_0x5cf7('0x6'));module[_0x5cf7('0x7')]=function(_0x4d6d52,_0x3eb82a){return _0x4d6d52[_0x5cf7('0x8')]('SmsQueueReport',attributes,{'tableName':_0x5cf7('0x9'),'paranoid':![],'indexes':[{'name':_0x5cf7('0xa'),'fields':[_0x5cf7('0xa')]}],'timestamps':!![]});};