Built motion from commit 4c281f94.|2.6.31
[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 _0x7fa6=['int_desk_configurations','lodash','util','api','moment','bluebird','rimraf','../../config/environment','exports','define','DeskConfiguration'];(function(_0x4e44b4,_0x7a7eb3){var _0xffcd76=function(_0x2c3f78){while(--_0x2c3f78){_0x4e44b4['push'](_0x4e44b4['shift']());}};_0xffcd76(++_0x7a7eb3);}(_0x7fa6,0xb1));var _0x67fa=function(_0x4801b7,_0x14d2e0){_0x4801b7=_0x4801b7-0x0;var _0x54fb9c=_0x7fa6[_0x4801b7];return _0x54fb9c;};'use strict';var _=require(_0x67fa('0x0'));var util=require(_0x67fa('0x1'));var logger=require('../../config/logger')(_0x67fa('0x2'));var moment=require(_0x67fa('0x3'));var BPromise=require(_0x67fa('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x67fa('0x5'));var config=require(_0x67fa('0x6'));var attributes=require('./intDeskConfiguration.attributes');module[_0x67fa('0x7')]=function(_0x29d5c4,_0x47aedd){return _0x29d5c4[_0x67fa('0x8')](_0x67fa('0x9'),attributes,{'tableName':_0x67fa('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};