dddfc8cb755668246d5a5b4a018b8e23ce9e1de8
[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 _0xde58=['moment','bluebird','path','rimraf','../../config/environment','DeskConfiguration','int_desk_configurations','lodash','util','api'];(function(_0x21353c,_0x2ea587){var _0xa99120=function(_0x557f33){while(--_0x557f33){_0x21353c['push'](_0x21353c['shift']());}};_0xa99120(++_0x2ea587);}(_0xde58,0x1ab));var _0x8de5=function(_0x4c5b52,_0x1a945a){_0x4c5b52=_0x4c5b52-0x0;var _0x24fce3=_0xde58[_0x4c5b52];return _0x24fce3;};'use strict';var _=require(_0x8de5('0x0'));var util=require(_0x8de5('0x1'));var logger=require('../../config/logger')(_0x8de5('0x2'));var moment=require(_0x8de5('0x3'));var BPromise=require(_0x8de5('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8de5('0x5'));var rimraf=require(_0x8de5('0x6'));var config=require(_0x8de5('0x7'));var attributes=require('./intDeskConfiguration.attributes');module['exports']=function(_0x1ebeda,_0x719131){return _0x1ebeda['define'](_0x8de5('0x8'),attributes,{'tableName':_0x8de5('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};