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 _0x4ad9=['rimraf','../../config/environment','./openchannelAccount.attributes','exports','define','openchannel_accounts','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x1d1d09,_0x504d77){var _0x8827e=function(_0x4f3128){while(--_0x4f3128){_0x1d1d09['push'](_0x1d1d09['shift']());}};_0x8827e(++_0x504d77);}(_0x4ad9,0xde));var _0x94ad=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x4ad9[_0x3b380d];return _0x54502b;};'use strict';var _=require('lodash');var util=require(_0x94ad('0x0'));var logger=require(_0x94ad('0x1'))('api');var moment=require(_0x94ad('0x2'));var BPromise=require(_0x94ad('0x3'));var rp=require(_0x94ad('0x4'));var fs=require('fs');var path=require(_0x94ad('0x5'));var rimraf=require(_0x94ad('0x6'));var config=require(_0x94ad('0x7'));var attributes=require(_0x94ad('0x8'));module[_0x94ad('0x9')]=function(_0x211191,_0x520ffc){return _0x211191[_0x94ad('0xa')]('OpenchannelAccount',attributes,{'tableName':_0x94ad('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};