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 _0xe60b=['int_desk_accounts','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','exports'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0xe60b,0x1e1));var _0xbe60=function(_0x2013c8,_0x4c91a9){_0x2013c8=_0x2013c8-0x0;var _0x480b53=_0xe60b[_0x2013c8];return _0x480b53;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xbe60('0x0'))('api');var moment=require(_0xbe60('0x1'));var BPromise=require(_0xbe60('0x2'));var rp=require(_0xbe60('0x3'));var fs=require('fs');var path=require(_0xbe60('0x4'));var rimraf=require('rimraf');var config=require(_0xbe60('0x5'));var attributes=require(_0xbe60('0x6'));var integrations=require(_0xbe60('0x7'));module[_0xbe60('0x8')]=function(_0x808114,_0x2cb764){return _0x808114['define']('DeskAccount',attributes,{'tableName':_0xbe60('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};