4899a9e88d48e72e61bcf925201da822b9b5ddaf
[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 _0xfb09=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./smsTransferReport.attributes','exports','define','report_sms_transfer','uniqueid','lodash','util'];(function(_0x4be8b6,_0x319fa7){var _0x4e5cc4=function(_0x58778d){while(--_0x58778d){_0x4be8b6['push'](_0x4be8b6['shift']());}};_0x4e5cc4(++_0x319fa7);}(_0xfb09,0xa3));var _0x9fb0=function(_0x51404c,_0x3e87fb){_0x51404c=_0x51404c-0x0;var _0x205bb9=_0xfb09[_0x51404c];return _0x205bb9;};'use strict';var _=require(_0x9fb0('0x0'));var util=require(_0x9fb0('0x1'));var logger=require(_0x9fb0('0x2'))(_0x9fb0('0x3'));var moment=require(_0x9fb0('0x4'));var BPromise=require(_0x9fb0('0x5'));var rp=require(_0x9fb0('0x6'));var fs=require('fs');var path=require(_0x9fb0('0x7'));var rimraf=require(_0x9fb0('0x8'));var config=require(_0x9fb0('0x9'));var attributes=require(_0x9fb0('0xa'));module[_0x9fb0('0xb')]=function(_0x49d0e5,_0xb5d812){return _0x49d0e5[_0x9fb0('0xc')]('SmsTransferReport',attributes,{'tableName':_0x9fb0('0xd'),'paranoid':![],'indexes':[{'name':_0x9fb0('0xe'),'fields':[_0x9fb0('0xe')]}],'timestamps':!![]});};