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 _0xdcda=['WhatsappAccount','whatsapp_accounts','lodash','util','../../config/logger','api','moment','request-promise','rimraf','exports','define'];(function(_0x2dea24,_0x2fc021){var _0x309d58=function(_0x2eb89f){while(--_0x2eb89f){_0x2dea24['push'](_0x2dea24['shift']());}};_0x309d58(++_0x2fc021);}(_0xdcda,0x178));var _0xadcd=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0xdcda[_0x19950b];return _0x3c6b41;};'use strict';var _=require(_0xadcd('0x0'));var util=require(_0xadcd('0x1'));var logger=require(_0xadcd('0x2'))(_0xadcd('0x3'));var moment=require(_0xadcd('0x4'));var BPromise=require('bluebird');var rp=require(_0xadcd('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xadcd('0x6'));var config=require('../../config/environment');var attributes=require('./whatsappAccount.attributes');module[_0xadcd('0x7')]=function(_0x5d7c59,_0x1882c1){return _0x5d7c59[_0xadcd('0x8')](_0xadcd('0x9'),attributes,{'tableName':_0xadcd('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};