1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xbee7=['../../config/logger','bluebird','path','../../config/environment','./whatsappAccount.attributes','exports','define','WhatsappAccount','whatsapp_accounts','lodash'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xbee7,0x135));var _0x7bee=function(_0x39ae28,_0x1615d1){_0x39ae28=_0x39ae28-0x0;var _0x57610b=_0xbee7[_0x39ae28];return _0x57610b;};'use strict';var _=require(_0x7bee('0x0'));var util=require('util');var logger=require(_0x7bee('0x1'))('api');var moment=require('moment');var BPromise=require(_0x7bee('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7bee('0x3'));var rimraf=require('rimraf');var config=require(_0x7bee('0x4'));var attributes=require(_0x7bee('0x5'));module[_0x7bee('0x6')]=function(_0x40b2b6,_0x5d9458){return _0x40b2b6[_0x7bee('0x7')](_0x7bee('0x8'),attributes,{'tableName':_0x7bee('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};