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 _0x35df=['path','../../config/environment','./whatsappAccount.attributes','exports','define','whatsapp_accounts','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0xe6d62f,_0x2fcb1c){var _0x38ee0e=function(_0x4bc80c){while(--_0x4bc80c){_0xe6d62f['push'](_0xe6d62f['shift']());}};_0x38ee0e(++_0x2fcb1c);}(_0x35df,0x10e));var _0xf35d=function(_0xbd08b4,_0x4790ed){_0xbd08b4=_0xbd08b4-0x0;var _0x314f1e=_0x35df[_0xbd08b4];return _0x314f1e;};'use strict';var _=require(_0xf35d('0x0'));var util=require(_0xf35d('0x1'));var logger=require(_0xf35d('0x2'))('api');var moment=require(_0xf35d('0x3'));var BPromise=require(_0xf35d('0x4'));var rp=require(_0xf35d('0x5'));var fs=require('fs');var path=require(_0xf35d('0x6'));var rimraf=require('rimraf');var config=require(_0xf35d('0x7'));var attributes=require(_0xf35d('0x8'));module[_0xf35d('0x9')]=function(_0x60ad5a,_0xf4d7fc){return _0x60ad5a[_0xf35d('0xa')]('WhatsappAccount',attributes,{'tableName':_0xf35d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};