Built motion from commit 9e1399f3.|2.5.37
[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 _0x78cc=['path','rimraf','../../config/environment','SmsTransferReport','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0xb83474,_0x41a08a){var _0x1bb9e0=function(_0x3dbdfe){while(--_0x3dbdfe){_0xb83474['push'](_0xb83474['shift']());}};_0x1bb9e0(++_0x41a08a);}(_0x78cc,0x11c));var _0xc78c=function(_0x19ed59,_0x5b4ac6){_0x19ed59=_0x19ed59-0x0;var _0xe73f16=_0x78cc[_0x19ed59];return _0xe73f16;};'use strict';var _=require(_0xc78c('0x0'));var util=require('util');var logger=require(_0xc78c('0x1'))(_0xc78c('0x2'));var moment=require(_0xc78c('0x3'));var BPromise=require(_0xc78c('0x4'));var rp=require(_0xc78c('0x5'));var fs=require('fs');var path=require(_0xc78c('0x6'));var rimraf=require(_0xc78c('0x7'));var config=require(_0xc78c('0x8'));var attributes=require('./smsTransferReport.attributes');module['exports']=function(_0x5c884b,_0x204b56){return _0x5c884b['define'](_0xc78c('0x9'),attributes,{'tableName':'report_sms_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};