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 _0x1fda=['bluebird','path','rimraf','../../config/environment','./openchannelAccount.attributes','exports','OpenchannelAccount','lodash','util'];(function(_0x2650e9,_0xb91cc){var _0x3511c8=function(_0x5069cf){while(--_0x5069cf){_0x2650e9['push'](_0x2650e9['shift']());}};_0x3511c8(++_0xb91cc);}(_0x1fda,0x103));var _0xa1fd=function(_0x57a84c,_0x36d73d){_0x57a84c=_0x57a84c-0x0;var _0x2e0d2d=_0x1fda[_0x57a84c];return _0x2e0d2d;};'use strict';var _=require(_0xa1fd('0x0'));var util=require(_0xa1fd('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xa1fd('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa1fd('0x3'));var rimraf=require(_0xa1fd('0x4'));var config=require(_0xa1fd('0x5'));var attributes=require(_0xa1fd('0x6'));module[_0xa1fd('0x7')]=function(_0x3ebf0f,_0x131624){return _0x3ebf0f['define'](_0xa1fd('0x8'),attributes,{'tableName':'openchannel_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};