Built motion from commit (unavailable).|2.4.3
[motion2.git] / server / api / smsTransferReport / smsTransferReport.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 _0x4905=['../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./smsTransferReport.attributes','define','SmsTransferReport','report_sms_transfer','uniqueid','util'];(function(_0x3d3b66,_0x26362c){var _0x36d72c=function(_0x41e0c0){while(--_0x41e0c0){_0x3d3b66['push'](_0x3d3b66['shift']());}};_0x36d72c(++_0x26362c);}(_0x4905,0x1b9));var _0x5490=function(_0x10d34b,_0x4fef76){_0x10d34b=_0x10d34b-0x0;var _0x92b0bf=_0x4905[_0x10d34b];return _0x92b0bf;};'use strict';var _=require('lodash');var util=require(_0x5490('0x0'));var logger=require(_0x5490('0x1'))('api');var moment=require(_0x5490('0x2'));var BPromise=require(_0x5490('0x3'));var rp=require(_0x5490('0x4'));var fs=require('fs');var path=require(_0x5490('0x5'));var rimraf=require(_0x5490('0x6'));var config=require(_0x5490('0x7'));var attributes=require(_0x5490('0x8'));module['exports']=function(_0x265a39,_0x27efbd){return _0x265a39[_0x5490('0x9')](_0x5490('0xa'),attributes,{'tableName':_0x5490('0xb'),'paranoid':![],'indexes':[{'name':_0x5490('0xc'),'fields':[_0x5490('0xc')]}],'timestamps':!![]});};