df27173aab40163ccc1937a2e8766b5cbb3a459d
[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 _0xb2f5=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intDeskConfiguration.attributes','exports','define','DeskConfiguration','int_desk_configurations','lodash'];(function(_0x44dc2e,_0x291519){var _0x9b1497=function(_0x2d4654){while(--_0x2d4654){_0x44dc2e['push'](_0x44dc2e['shift']());}};_0x9b1497(++_0x291519);}(_0xb2f5,0x167));var _0x5b2f=function(_0x1694f5,_0x49b7c3){_0x1694f5=_0x1694f5-0x0;var _0x5b4321=_0xb2f5[_0x1694f5];return _0x5b4321;};'use strict';var _=require(_0x5b2f('0x0'));var util=require(_0x5b2f('0x1'));var logger=require(_0x5b2f('0x2'))(_0x5b2f('0x3'));var moment=require(_0x5b2f('0x4'));var BPromise=require(_0x5b2f('0x5'));var rp=require(_0x5b2f('0x6'));var fs=require('fs');var path=require(_0x5b2f('0x7'));var rimraf=require(_0x5b2f('0x8'));var config=require(_0x5b2f('0x9'));var attributes=require(_0x5b2f('0xa'));module[_0x5b2f('0xb')]=function(_0x5305a1,_0x5e81a3){return _0x5305a1[_0x5b2f('0xc')](_0x5b2f('0xd'),attributes,{'tableName':_0x5b2f('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};