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 _0xfff8=['bluebird','request-promise','path','rimraf','../../config/environment','./intDeskConfiguration.attributes','exports','DeskConfiguration','int_desk_configurations','lodash','util','api'];(function(_0x3962a3,_0x4a3813){var _0x5b5093=function(_0x1e011c){while(--_0x1e011c){_0x3962a3['push'](_0x3962a3['shift']());}};_0x5b5093(++_0x4a3813);}(_0xfff8,0x69));var _0x8fff=function(_0x4765b9,_0x229dd7){_0x4765b9=_0x4765b9-0x0;var _0x579a9e=_0xfff8[_0x4765b9];return _0x579a9e;};'use strict';var _=require(_0x8fff('0x0'));var util=require(_0x8fff('0x1'));var logger=require('../../config/logger')(_0x8fff('0x2'));var moment=require('moment');var BPromise=require(_0x8fff('0x3'));var rp=require(_0x8fff('0x4'));var fs=require('fs');var path=require(_0x8fff('0x5'));var rimraf=require(_0x8fff('0x6'));var config=require(_0x8fff('0x7'));var attributes=require(_0x8fff('0x8'));module[_0x8fff('0x9')]=function(_0x5861f1,_0x101683){return _0x5861f1['define'](_0x8fff('0xa'),attributes,{'tableName':_0x8fff('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};