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 _0x8cef=['../../config/environment','define','whatsapp_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x53cc80,_0x51492a){var _0x13e14d=function(_0x3d8335){while(--_0x3d8335){_0x53cc80['push'](_0x53cc80['shift']());}};_0x13e14d(++_0x51492a);}(_0x8cef,0x142));var _0xf8ce=function(_0x27b267,_0x3eba43){_0x27b267=_0x27b267-0x0;var _0x140266=_0x8cef[_0x27b267];return _0x140266;};'use strict';var _=require(_0xf8ce('0x0'));var util=require(_0xf8ce('0x1'));var logger=require(_0xf8ce('0x2'))(_0xf8ce('0x3'));var moment=require(_0xf8ce('0x4'));var BPromise=require(_0xf8ce('0x5'));var rp=require(_0xf8ce('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf8ce('0x7'));var config=require(_0xf8ce('0x8'));var attributes=require('./whatsappAccount.attributes');module['exports']=function(_0x5e7d4d,_0x29ac73){return _0x5e7d4d[_0xf8ce('0x9')]('WhatsappAccount',attributes,{'tableName':_0xf8ce('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};