Built motion from commit (unavailable).|2.5.1
[motion2.git] / server / api / UserWhatsappInteraction / UserWhatsappInteraction.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 _0x5806=['./UserWhatsappInteraction.attributes','exports','define','UserWhatsappInteraction','user_has_whatsapp_interactions','util','../../config/logger','api','moment','request-promise','path'];(function(_0x5db0d0,_0x5c0410){var _0x393dac=function(_0x277e41){while(--_0x277e41){_0x5db0d0['push'](_0x5db0d0['shift']());}};_0x393dac(++_0x5c0410);}(_0x5806,0x10d));var _0x6580=function(_0x53a7a8,_0xed2bff){_0x53a7a8=_0x53a7a8-0x0;var _0x555f71=_0x5806[_0x53a7a8];return _0x555f71;};'use strict';var _=require('lodash');var util=require(_0x6580('0x0'));var logger=require(_0x6580('0x1'))(_0x6580('0x2'));var moment=require(_0x6580('0x3'));var BPromise=require('bluebird');var rp=require(_0x6580('0x4'));var fs=require('fs');var path=require(_0x6580('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x6580('0x6'));module[_0x6580('0x7')]=function(_0x5b4e75,_0x11e3e4){return _0x5b4e75[_0x6580('0x8')](_0x6580('0x9'),attributes,{'tableName':_0x6580('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};