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 _0xd1bb=['lodash','../../config/logger','api','bluebird','path','rimraf','exports','WhatsappAccount'];(function(_0x5b1097,_0x3ed62f){var _0x57979c=function(_0x512f68){while(--_0x512f68){_0x5b1097['push'](_0x5b1097['shift']());}};_0x57979c(++_0x3ed62f);}(_0xd1bb,0x140));var _0xbd1b=function(_0x5a4bcb,_0x357c03){_0x5a4bcb=_0x5a4bcb-0x0;var _0x5074a1=_0xd1bb[_0x5a4bcb];return _0x5074a1;};'use strict';var _=require(_0xbd1b('0x0'));var util=require('util');var logger=require(_0xbd1b('0x1'))(_0xbd1b('0x2'));var moment=require('moment');var BPromise=require(_0xbd1b('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xbd1b('0x4'));var rimraf=require(_0xbd1b('0x5'));var config=require('../../config/environment');var attributes=require('./whatsappAccount.attributes');module[_0xbd1b('0x6')]=function(_0x548ae5,_0x144fb6){return _0x548ae5['define'](_0xbd1b('0x7'),attributes,{'tableName':'whatsapp_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};