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 _0x638a=['../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','./whatsappAccount.attributes','exports','define','whatsapp_accounts','util'];(function(_0x293a80,_0x5547c8){var _0x13940e=function(_0x1ead15){while(--_0x1ead15){_0x293a80['push'](_0x293a80['shift']());}};_0x13940e(++_0x5547c8);}(_0x638a,0x154));var _0xa638=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x638a[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0xa638('0x0'));var logger=require(_0xa638('0x1'))(_0xa638('0x2'));var moment=require('moment');var BPromise=require(_0xa638('0x3'));var rp=require(_0xa638('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa638('0x5'));var config=require(_0xa638('0x6'));var attributes=require(_0xa638('0x7'));module[_0xa638('0x8')]=function(_0x595348,_0x295f66){return _0x595348[_0xa638('0x9')]('WhatsappAccount',attributes,{'tableName':_0xa638('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};