Built motion from commit (unavailable).|2.5.16
[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 _0x8dc1=['../../config/environment','exports','define','DeskConfiguration','int_desk_configurations','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x5c7bfd,_0x5b01cd){var _0x301b9e=function(_0xd6a679){while(--_0xd6a679){_0x5c7bfd['push'](_0x5c7bfd['shift']());}};_0x301b9e(++_0x5b01cd);}(_0x8dc1,0x1a5));var _0x18dc=function(_0x4cb366,_0x31332b){_0x4cb366=_0x4cb366-0x0;var _0x5b178f=_0x8dc1[_0x4cb366];return _0x5b178f;};'use strict';var _=require(_0x18dc('0x0'));var util=require(_0x18dc('0x1'));var logger=require(_0x18dc('0x2'))(_0x18dc('0x3'));var moment=require(_0x18dc('0x4'));var BPromise=require('bluebird');var rp=require(_0x18dc('0x5'));var fs=require('fs');var path=require(_0x18dc('0x6'));var rimraf=require(_0x18dc('0x7'));var config=require(_0x18dc('0x8'));var attributes=require('./intDeskConfiguration.attributes');module[_0x18dc('0x9')]=function(_0x4eb45f,_0x43c5fb){return _0x4eb45f[_0x18dc('0xa')](_0x18dc('0xb'),attributes,{'tableName':_0x18dc('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};