7d2ec19216e47e06533876f1523d3441b622a702
[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 _0x5c1b=['DeskConfiguration','int_desk_configurations','util','../../config/logger','moment','bluebird','path','../../config/environment','define'];(function(_0x219438,_0xa4039c){var _0x32553e=function(_0x34f57b){while(--_0x34f57b){_0x219438['push'](_0x219438['shift']());}};_0x32553e(++_0xa4039c);}(_0x5c1b,0x65));var _0xb5c1=function(_0x50e15f,_0x691fdb){_0x50e15f=_0x50e15f-0x0;var _0xeb1425=_0x5c1b[_0x50e15f];return _0xeb1425;};'use strict';var _=require('lodash');var util=require(_0xb5c1('0x0'));var logger=require(_0xb5c1('0x1'))('api');var moment=require(_0xb5c1('0x2'));var BPromise=require(_0xb5c1('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb5c1('0x4'));var rimraf=require('rimraf');var config=require(_0xb5c1('0x5'));var attributes=require('./intDeskConfiguration.attributes');module['exports']=function(_0x3b5cb4,_0x5c6ead){return _0x3b5cb4[_0xb5c1('0x6')](_0xb5c1('0x7'),attributes,{'tableName':_0xb5c1('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};