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 _0xe2f6=['request-promise','rimraf','../../config/environment','./whatsappAccount.attributes','exports','define','WhatsappAccount','whatsapp_accounts','lodash','api','moment','bluebird'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0xe2f6,0xbc));var _0x6e2f=function(_0x27b92f,_0x527750){_0x27b92f=_0x27b92f-0x0;var _0x3c5199=_0xe2f6[_0x27b92f];return _0x3c5199;};'use strict';var _=require(_0x6e2f('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x6e2f('0x1'));var moment=require(_0x6e2f('0x2'));var BPromise=require(_0x6e2f('0x3'));var rp=require(_0x6e2f('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6e2f('0x5'));var config=require(_0x6e2f('0x6'));var attributes=require(_0x6e2f('0x7'));module[_0x6e2f('0x8')]=function(_0x4fa8b4,_0x3a4e95){return _0x4fa8b4[_0x6e2f('0x9')](_0x6e2f('0xa'),attributes,{'tableName':_0x6e2f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};