Built motion from commit (unavailable).|2.5.30
[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 _0xa0e4=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./smsQueueReport.attributes','exports','define','report_sms_queue','uniqueid','lodash'];(function(_0x1ddedd,_0x485606){var _0xa3e1ac=function(_0x580444){while(--_0x580444){_0x1ddedd['push'](_0x1ddedd['shift']());}};_0xa3e1ac(++_0x485606);}(_0xa0e4,0x1a3));var _0x4a0e=function(_0x5124d2,_0x3400cb){_0x5124d2=_0x5124d2-0x0;var _0x361478=_0xa0e4[_0x5124d2];return _0x361478;};'use strict';var _=require(_0x4a0e('0x0'));var util=require(_0x4a0e('0x1'));var logger=require(_0x4a0e('0x2'))(_0x4a0e('0x3'));var moment=require(_0x4a0e('0x4'));var BPromise=require(_0x4a0e('0x5'));var rp=require(_0x4a0e('0x6'));var fs=require('fs');var path=require(_0x4a0e('0x7'));var rimraf=require(_0x4a0e('0x8'));var config=require(_0x4a0e('0x9'));var attributes=require(_0x4a0e('0xa'));module[_0x4a0e('0xb')]=function(_0x2bf15b,_0x3b3d6d){return _0x2bf15b[_0x4a0e('0xc')]('SmsQueueReport',attributes,{'tableName':_0x4a0e('0xd'),'paranoid':![],'indexes':[{'name':_0x4a0e('0xe'),'fields':[_0x4a0e('0xe')]}],'timestamps':!![]});};