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 _0xa8d7=['bluebird','request-promise','rimraf','./whatsappAccount.attributes','define','WhatsappAccount','whatsapp_accounts','lodash','../../config/logger','api'];(function(_0x15cce1,_0x23fae1){var _0x2579f2=function(_0x28c481){while(--_0x28c481){_0x15cce1['push'](_0x15cce1['shift']());}};_0x2579f2(++_0x23fae1);}(_0xa8d7,0x147));var _0x7a8d=function(_0x4f6d08,_0x1b3dd0){_0x4f6d08=_0x4f6d08-0x0;var _0x53a9c6=_0xa8d7[_0x4f6d08];return _0x53a9c6;};'use strict';var _=require(_0x7a8d('0x0'));var util=require('util');var logger=require(_0x7a8d('0x1'))(_0x7a8d('0x2'));var moment=require('moment');var BPromise=require(_0x7a8d('0x3'));var rp=require(_0x7a8d('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7a8d('0x5'));var config=require('../../config/environment');var attributes=require(_0x7a8d('0x6'));module['exports']=function(_0x36669b,_0xf09d18){return _0x36669b[_0x7a8d('0x7')](_0x7a8d('0x8'),attributes,{'tableName':_0x7a8d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};