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 _0x0a84=['path','rimraf','../../config/environment','./whatsappAccount.attributes','define','whatsapp_accounts','util','../../config/logger','bluebird','request-promise'];(function(_0x20489f,_0x5a2f2a){var _0xe454c2=function(_0x46a64a){while(--_0x46a64a){_0x20489f['push'](_0x20489f['shift']());}};_0xe454c2(++_0x5a2f2a);}(_0x0a84,0x11e));var _0x40a8=function(_0x5f2ed9,_0x420db4){_0x5f2ed9=_0x5f2ed9-0x0;var _0x2ee43c=_0x0a84[_0x5f2ed9];return _0x2ee43c;};'use strict';var _=require('lodash');var util=require(_0x40a8('0x0'));var logger=require(_0x40a8('0x1'))('api');var moment=require('moment');var BPromise=require(_0x40a8('0x2'));var rp=require(_0x40a8('0x3'));var fs=require('fs');var path=require(_0x40a8('0x4'));var rimraf=require(_0x40a8('0x5'));var config=require(_0x40a8('0x6'));var attributes=require(_0x40a8('0x7'));module['exports']=function(_0x5a1c4d,_0x13d06a){return _0x5a1c4d[_0x40a8('0x8')]('WhatsappAccount',attributes,{'tableName':_0x40a8('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};