Built motion from commit (unavailable).|2.5.15
[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 _0xc034=['./smsQueueReport.attributes','exports','define','SmsQueueReport','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x25c988,_0xce8221){var _0x45fcc2=function(_0x47fba5){while(--_0x47fba5){_0x25c988['push'](_0x25c988['shift']());}};_0x45fcc2(++_0xce8221);}(_0xc034,0x170));var _0x4c03=function(_0x4757cc,_0x21abea){_0x4757cc=_0x4757cc-0x0;var _0x8b434f=_0xc034[_0x4757cc];return _0x8b434f;};'use strict';var _=require(_0x4c03('0x0'));var util=require('util');var logger=require(_0x4c03('0x1'))(_0x4c03('0x2'));var moment=require(_0x4c03('0x3'));var BPromise=require(_0x4c03('0x4'));var rp=require(_0x4c03('0x5'));var fs=require('fs');var path=require(_0x4c03('0x6'));var rimraf=require(_0x4c03('0x7'));var config=require(_0x4c03('0x8'));var attributes=require(_0x4c03('0x9'));module[_0x4c03('0xa')]=function(_0x3944f1,_0x4c5c6d){return _0x3944f1[_0x4c03('0xb')](_0x4c03('0xc'),attributes,{'tableName':'report_sms_queue','paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};