Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / whatsappTransferReport / whatsappTransferReport.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 _0x51ea=['./whatsappTransferReport.attributes','exports','define','WhatsappTransferReport','report_whatsapp_transfer','uniqueid','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x46c865,_0x154b2f){var _0x200973=function(_0x6c1275){while(--_0x6c1275){_0x46c865['push'](_0x46c865['shift']());}};_0x200973(++_0x154b2f);}(_0x51ea,0x150));var _0xa51e=function(_0x5e8282,_0x1f2962){_0x5e8282=_0x5e8282-0x0;var _0x5cd37d=_0x51ea[_0x5e8282];return _0x5cd37d;};'use strict';var _=require(_0xa51e('0x0'));var util=require(_0xa51e('0x1'));var logger=require('../../config/logger')(_0xa51e('0x2'));var moment=require(_0xa51e('0x3'));var BPromise=require(_0xa51e('0x4'));var rp=require(_0xa51e('0x5'));var fs=require('fs');var path=require(_0xa51e('0x6'));var rimraf=require(_0xa51e('0x7'));var config=require(_0xa51e('0x8'));var attributes=require(_0xa51e('0x9'));module[_0xa51e('0xa')]=function(_0x336809,_0x2b47a1){return _0x336809[_0xa51e('0xb')](_0xa51e('0xc'),attributes,{'tableName':_0xa51e('0xd'),'paranoid':![],'indexes':[{'name':_0xa51e('0xe'),'fields':[_0xa51e('0xe')]}],'timestamps':!![]});};