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 _0x15ce=['rimraf','./whatsappAccount.attributes','exports','WhatsappAccount','whatsapp_accounts','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x493159,_0x3b3620){var _0x1dfa35=function(_0x2a687e){while(--_0x2a687e){_0x493159['push'](_0x493159['shift']());}};_0x1dfa35(++_0x3b3620);}(_0x15ce,0x94));var _0xe15c=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x15ce[_0xa464c9];return _0x3d73c4;};'use strict';var _=require(_0xe15c('0x0'));var util=require(_0xe15c('0x1'));var logger=require(_0xe15c('0x2'))('api');var moment=require(_0xe15c('0x3'));var BPromise=require(_0xe15c('0x4'));var rp=require(_0xe15c('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe15c('0x6'));var config=require('../../config/environment');var attributes=require(_0xe15c('0x7'));module[_0xe15c('0x8')]=function(_0x276b5d,_0xf1b139){return _0x276b5d['define'](_0xe15c('0x9'),attributes,{'tableName':_0xe15c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};