07998e853673b2bb1ef89dd7f8f514b3d4d12995
[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 _0x58a7=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./smsQueueReport.attributes','exports','SmsQueueReport','uniqueid'];(function(_0x2587ee,_0x5d8b3e){var _0x12a07d=function(_0x3c5b28){while(--_0x3c5b28){_0x2587ee['push'](_0x2587ee['shift']());}};_0x12a07d(++_0x5d8b3e);}(_0x58a7,0xf7));var _0x758a=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x58a7[_0x122ef9];return _0x42fba0;};'use strict';var _=require(_0x758a('0x0'));var util=require(_0x758a('0x1'));var logger=require(_0x758a('0x2'))(_0x758a('0x3'));var moment=require(_0x758a('0x4'));var BPromise=require(_0x758a('0x5'));var rp=require(_0x758a('0x6'));var fs=require('fs');var path=require(_0x758a('0x7'));var rimraf=require('rimraf');var config=require(_0x758a('0x8'));var attributes=require(_0x758a('0x9'));module[_0x758a('0xa')]=function(_0x294cf3,_0x5a34af){return _0x294cf3['define'](_0x758a('0xb'),attributes,{'tableName':'report_sms_queue','paranoid':![],'indexes':[{'name':_0x758a('0xc'),'fields':[_0x758a('0xc')]}],'timestamps':!![]});};