Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / intDeskAccount / intDeskAccount.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 _0x90e7=['../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','define','DeskAccount','int_desk_accounts','util'];(function(_0x419981,_0xfbc0be){var _0x15e4f9=function(_0x5d1b56){while(--_0x5d1b56){_0x419981['push'](_0x419981['shift']());}};_0x15e4f9(++_0xfbc0be);}(_0x90e7,0x77));var _0x790e=function(_0x2f4a33,_0x4bda55){_0x2f4a33=_0x2f4a33-0x0;var _0x8abd11=_0x90e7[_0x2f4a33];return _0x8abd11;};'use strict';var _=require('lodash');var util=require(_0x790e('0x0'));var logger=require(_0x790e('0x1'))(_0x790e('0x2'));var moment=require(_0x790e('0x3'));var BPromise=require(_0x790e('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x790e('0x5'));var config=require(_0x790e('0x6'));var attributes=require(_0x790e('0x7'));var integrations=require(_0x790e('0x8'));module['exports']=function(_0x249cde,_0x31028b){return _0x249cde[_0x790e('0x9')](_0x790e('0xa'),attributes,{'tableName':_0x790e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};