8a386e7ec7a4317c13fcc07808b7d55d9e96bc01
[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 _0xe07d=['define','report_sms_queue','uniqueid','lodash','util','moment','path','rimraf','../../config/environment','./smsQueueReport.attributes','exports'];(function(_0x723ad0,_0x6957a8){var _0x2c5784=function(_0x498283){while(--_0x498283){_0x723ad0['push'](_0x723ad0['shift']());}};_0x2c5784(++_0x6957a8);}(_0xe07d,0x179));var _0xde07=function(_0x1ae5ab,_0xc5d441){_0x1ae5ab=_0x1ae5ab-0x0;var _0x1ce001=_0xe07d[_0x1ae5ab];return _0x1ce001;};'use strict';var _=require(_0xde07('0x0'));var util=require(_0xde07('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xde07('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xde07('0x3'));var rimraf=require(_0xde07('0x4'));var config=require(_0xde07('0x5'));var attributes=require(_0xde07('0x6'));module[_0xde07('0x7')]=function(_0x3a50dc,_0x2f2861){return _0x3a50dc[_0xde07('0x8')]('SmsQueueReport',attributes,{'tableName':_0xde07('0x9'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xde07('0xa')]}],'timestamps':!![]});};