Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / intDeskConfiguration / intDeskConfiguration.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xbcda=['lodash','util','../../config/logger','api','moment','request-promise','exports','define','int_desk_configurations'];(function(_0x40c8cc,_0x2eae97){var _0x5bb9e8=function(_0x526307){while(--_0x526307){_0x40c8cc['push'](_0x40c8cc['shift']());}};_0x5bb9e8(++_0x2eae97);}(_0xbcda,0xe1));var _0xabcd=function(_0x92c450,_0x41f1e3){_0x92c450=_0x92c450-0x0;var _0x2a9599=_0xbcda[_0x92c450];return _0x2a9599;};'use strict';var _=require(_0xabcd('0x0'));var util=require(_0xabcd('0x1'));var logger=require(_0xabcd('0x2'))(_0xabcd('0x3'));var moment=require(_0xabcd('0x4'));var BPromise=require('bluebird');var rp=require(_0xabcd('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./intDeskConfiguration.attributes');module[_0xabcd('0x6')]=function(_0x1e77ff,_0x51c40f){return _0x1e77ff[_0xabcd('0x7')]('DeskConfiguration',attributes,{'tableName':_0xabcd('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};