1de415f75513e623bd9d5522824792c56d316cff
[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 _0xf29c=['define','SmsTransferReport','report_sms_transfer','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./smsTransferReport.attributes','exports'];(function(_0x45c1fb,_0x27942b){var _0x25480a=function(_0x315e81){while(--_0x315e81){_0x45c1fb['push'](_0x45c1fb['shift']());}};_0x25480a(++_0x27942b);}(_0xf29c,0xc7));var _0xcf29=function(_0x554b62,_0x2c2b58){_0x554b62=_0x554b62-0x0;var _0x2b1796=_0xf29c[_0x554b62];return _0x2b1796;};'use strict';var _=require('lodash');var util=require(_0xcf29('0x0'));var logger=require(_0xcf29('0x1'))(_0xcf29('0x2'));var moment=require(_0xcf29('0x3'));var BPromise=require(_0xcf29('0x4'));var rp=require(_0xcf29('0x5'));var fs=require('fs');var path=require(_0xcf29('0x6'));var rimraf=require(_0xcf29('0x7'));var config=require(_0xcf29('0x8'));var attributes=require(_0xcf29('0x9'));module[_0xcf29('0xa')]=function(_0x89a1c8,_0x347493){return _0x89a1c8[_0xcf29('0xb')](_0xcf29('0xc'),attributes,{'tableName':_0xcf29('0xd'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};