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 _0xfe88=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./whatsappAccount.attributes','define','WhatsappAccount','whatsapp_accounts','../../config/logger'];(function(_0x5c5b73,_0x26c7e4){var _0x3975db=function(_0x129032){while(--_0x129032){_0x5c5b73['push'](_0x5c5b73['shift']());}};_0x3975db(++_0x26c7e4);}(_0xfe88,0x180));var _0x8fe8=function(_0x2c6810,_0x23c079){_0x2c6810=_0x2c6810-0x0;var _0x213881=_0xfe88[_0x2c6810];return _0x213881;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x8fe8('0x0'))('api');var moment=require(_0x8fe8('0x1'));var BPromise=require(_0x8fe8('0x2'));var rp=require(_0x8fe8('0x3'));var fs=require('fs');var path=require(_0x8fe8('0x4'));var rimraf=require(_0x8fe8('0x5'));var config=require(_0x8fe8('0x6'));var attributes=require(_0x8fe8('0x7'));module['exports']=function(_0x409aa6,_0x24689c){return _0x409aa6[_0x8fe8('0x8')](_0x8fe8('0x9'),attributes,{'tableName':_0x8fe8('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};