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 _0x888a=['request-promise','path','../../config/environment','exports','define','OpenchannelAccount','lodash','util','../../config/logger','api','bluebird'];(function(_0x36c5b0,_0x5001da){var _0xf19333=function(_0x1e880a){while(--_0x1e880a){_0x36c5b0['push'](_0x36c5b0['shift']());}};_0xf19333(++_0x5001da);}(_0x888a,0xcc));var _0xa888=function(_0x2cd3d3,_0x33e9ad){_0x2cd3d3=_0x2cd3d3-0x0;var _0x14a15a=_0x888a[_0x2cd3d3];return _0x14a15a;};'use strict';var _=require(_0xa888('0x0'));var util=require(_0xa888('0x1'));var logger=require(_0xa888('0x2'))(_0xa888('0x3'));var moment=require('moment');var BPromise=require(_0xa888('0x4'));var rp=require(_0xa888('0x5'));var fs=require('fs');var path=require(_0xa888('0x6'));var rimraf=require('rimraf');var config=require(_0xa888('0x7'));var attributes=require('./openchannelAccount.attributes');module[_0xa888('0x8')]=function(_0x4c5b23,_0x30b683){return _0x4c5b23[_0xa888('0x9')](_0xa888('0xa'),attributes,{'tableName':'openchannel_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};