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 _0x20f2=['WhatsappAccount','lodash','../../config/logger','api','moment','request-promise','path','../../config/environment','./whatsappAccount.attributes','exports','define'];(function(_0xf8f75,_0x21f39c){var _0x3ee326=function(_0x40b59b){while(--_0x40b59b){_0xf8f75['push'](_0xf8f75['shift']());}};_0x3ee326(++_0x21f39c);}(_0x20f2,0xe8));var _0x220f=function(_0x1aea23,_0x1c5738){_0x1aea23=_0x1aea23-0x0;var _0x29ca51=_0x20f2[_0x1aea23];return _0x29ca51;};'use strict';var _=require(_0x220f('0x0'));var util=require('util');var logger=require(_0x220f('0x1'))(_0x220f('0x2'));var moment=require(_0x220f('0x3'));var BPromise=require('bluebird');var rp=require(_0x220f('0x4'));var fs=require('fs');var path=require(_0x220f('0x5'));var rimraf=require('rimraf');var config=require(_0x220f('0x6'));var attributes=require(_0x220f('0x7'));module[_0x220f('0x8')]=function(_0x360401,_0x50ee17){return _0x360401[_0x220f('0x9')](_0x220f('0xa'),attributes,{'tableName':'whatsapp_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};