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 _0x543f=['define','whatsapp_accounts','lodash','../../config/logger','api','request-promise','path','rimraf','../../config/environment','exports'];(function(_0x5b533e,_0x3ef7e4){var _0x3eeb3a=function(_0x3d7597){while(--_0x3d7597){_0x5b533e['push'](_0x5b533e['shift']());}};_0x3eeb3a(++_0x3ef7e4);}(_0x543f,0xe8));var _0xf543=function(_0x584b71,_0x4b8559){_0x584b71=_0x584b71-0x0;var _0x161e94=_0x543f[_0x584b71];return _0x161e94;};'use strict';var _=require(_0xf543('0x0'));var util=require('util');var logger=require(_0xf543('0x1'))(_0xf543('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xf543('0x3'));var fs=require('fs');var path=require(_0xf543('0x4'));var rimraf=require(_0xf543('0x5'));var config=require(_0xf543('0x6'));var attributes=require('./whatsappAccount.attributes');module[_0xf543('0x7')]=function(_0x2139d5,_0x5640c8){return _0x2139d5[_0xf543('0x8')]('WhatsappAccount',attributes,{'tableName':_0xf543('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};