Built motion from commit d6d69adf.|2.6.33
[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 _0x5e24=['define','int_desk_configurations','util','api','bluebird','request-promise','path','rimraf','../../config/environment','./intDeskConfiguration.attributes','exports'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x5e24,0xb2));var _0x45e2=function(_0x1906f4,_0x530f6a){_0x1906f4=_0x1906f4-0x0;var _0x58e1de=_0x5e24[_0x1906f4];return _0x58e1de;};'use strict';var _=require('lodash');var util=require(_0x45e2('0x0'));var logger=require('../../config/logger')(_0x45e2('0x1'));var moment=require('moment');var BPromise=require(_0x45e2('0x2'));var rp=require(_0x45e2('0x3'));var fs=require('fs');var path=require(_0x45e2('0x4'));var rimraf=require(_0x45e2('0x5'));var config=require(_0x45e2('0x6'));var attributes=require(_0x45e2('0x7'));module[_0x45e2('0x8')]=function(_0x2bb7a9,_0x422f9e){return _0x2bb7a9[_0x45e2('0x9')]('DeskConfiguration',attributes,{'tableName':_0x45e2('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};