Built motion from commit (unavailable).|2.5.12
[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 _0x6ab9=['exports','WhatsappTransferReport','report_whatsapp_transfer','uniqueid','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./whatsappTransferReport.attributes'];(function(_0x6fb8f6,_0x11c6c5){var _0x17e3d1=function(_0x26fbdf){while(--_0x26fbdf){_0x6fb8f6['push'](_0x6fb8f6['shift']());}};_0x17e3d1(++_0x11c6c5);}(_0x6ab9,0xdc));var _0x96ab=function(_0x2aecb2,_0x343312){_0x2aecb2=_0x2aecb2-0x0;var _0x3ebb80=_0x6ab9[_0x2aecb2];return _0x3ebb80;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x96ab('0x0'))('api');var moment=require(_0x96ab('0x1'));var BPromise=require(_0x96ab('0x2'));var rp=require(_0x96ab('0x3'));var fs=require('fs');var path=require(_0x96ab('0x4'));var rimraf=require(_0x96ab('0x5'));var config=require(_0x96ab('0x6'));var attributes=require(_0x96ab('0x7'));module[_0x96ab('0x8')]=function(_0x3e9633,_0xe6dfa5){return _0x3e9633['define'](_0x96ab('0x9'),attributes,{'tableName':_0x96ab('0xa'),'paranoid':![],'indexes':[{'name':_0x96ab('0xb'),'fields':[_0x96ab('0xb')]}],'timestamps':!![]});};