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 _0xff29=['rimraf','../../config/environment','./whatsappAccount.attributes','exports','define','WhatsappAccount','lodash','api','moment','bluebird','request-promise','path'];(function(_0x2c78d1,_0x16e275){var _0x4bbd2a=function(_0x45497b){while(--_0x45497b){_0x2c78d1['push'](_0x2c78d1['shift']());}};_0x4bbd2a(++_0x16e275);}(_0xff29,0xae));var _0x9ff2=function(_0x3a8d04,_0x420e3a){_0x3a8d04=_0x3a8d04-0x0;var _0x17b20a=_0xff29[_0x3a8d04];return _0x17b20a;};'use strict';var _=require(_0x9ff2('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x9ff2('0x1'));var moment=require(_0x9ff2('0x2'));var BPromise=require(_0x9ff2('0x3'));var rp=require(_0x9ff2('0x4'));var fs=require('fs');var path=require(_0x9ff2('0x5'));var rimraf=require(_0x9ff2('0x6'));var config=require(_0x9ff2('0x7'));var attributes=require(_0x9ff2('0x8'));module[_0x9ff2('0x9')]=function(_0x3df5e3,_0x40c0bc){return _0x3df5e3[_0x9ff2('0xa')](_0x9ff2('0xb'),attributes,{'tableName':'whatsapp_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};