Built motion from commit f7863d46.|2.5.41
[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 _0x620f=['lodash','util','../../config/logger','moment','bluebird','request-promise','../../config/environment','exports','define','DeskConfiguration','int_desk_configurations'];(function(_0x5d58ff,_0x893d00){var _0x22c12e=function(_0x588109){while(--_0x588109){_0x5d58ff['push'](_0x5d58ff['shift']());}};_0x22c12e(++_0x893d00);}(_0x620f,0x160));var _0xf620=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0x620f[_0x4b369d];return _0x571a98;};'use strict';var _=require(_0xf620('0x0'));var util=require(_0xf620('0x1'));var logger=require(_0xf620('0x2'))('api');var moment=require(_0xf620('0x3'));var BPromise=require(_0xf620('0x4'));var rp=require(_0xf620('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xf620('0x6'));var attributes=require('./intDeskConfiguration.attributes');module[_0xf620('0x7')]=function(_0x2cf552,_0x238009){return _0x2cf552[_0xf620('0x8')](_0xf620('0x9'),attributes,{'tableName':_0xf620('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};