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 _0x99e9=['./intDeskAccount.attributes','exports','define','int_desk_accounts','util','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x5897cf,_0xe11a0f){var _0x50cc78=function(_0x175fe7){while(--_0x175fe7){_0x5897cf['push'](_0x5897cf['shift']());}};_0x50cc78(++_0xe11a0f);}(_0x99e9,0xb4));var _0x999e=function(_0x2ab365,_0xa3812e){_0x2ab365=_0x2ab365-0x0;var _0x49fef3=_0x99e9[_0x2ab365];return _0x49fef3;};'use strict';var _=require('lodash');var util=require(_0x999e('0x0'));var logger=require(_0x999e('0x1'))(_0x999e('0x2'));var moment=require(_0x999e('0x3'));var BPromise=require('bluebird');var rp=require(_0x999e('0x4'));var fs=require('fs');var path=require(_0x999e('0x5'));var rimraf=require(_0x999e('0x6'));var config=require('../../config/environment');var attributes=require(_0x999e('0x7'));var integrations=require('../../components/integrations/configuration');module[_0x999e('0x8')]=function(_0x1bda0a,_0x100330){return _0x1bda0a[_0x999e('0x9')]('DeskAccount',attributes,{'tableName':_0x999e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};