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 _0x64cf=['request-promise','path','rimraf','exports','define','whatsapp_accounts','lodash','util','../../config/logger','moment','bluebird'];(function(_0x58c67a,_0x1fdf49){var _0x2ada00=function(_0x3145c7){while(--_0x3145c7){_0x58c67a['push'](_0x58c67a['shift']());}};_0x2ada00(++_0x1fdf49);}(_0x64cf,0xab));var _0xf64c=function(_0x4c12ec,_0x2e9103){_0x4c12ec=_0x4c12ec-0x0;var _0x3ae42c=_0x64cf[_0x4c12ec];return _0x3ae42c;};'use strict';var _=require(_0xf64c('0x0'));var util=require(_0xf64c('0x1'));var logger=require(_0xf64c('0x2'))('api');var moment=require(_0xf64c('0x3'));var BPromise=require(_0xf64c('0x4'));var rp=require(_0xf64c('0x5'));var fs=require('fs');var path=require(_0xf64c('0x6'));var rimraf=require(_0xf64c('0x7'));var config=require('../../config/environment');var attributes=require('./whatsappAccount.attributes');module[_0xf64c('0x8')]=function(_0x9a96d3,_0x3874b7){return _0x9a96d3[_0xf64c('0x9')]('WhatsappAccount',attributes,{'tableName':_0xf64c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};