Built motion from commit 37e1ed56.|2.6.29
[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 _0xe252=['../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','exports','define','int_desk_accounts','lodash','../../config/logger','api','moment','request-promise','rimraf'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0xe252,0x1e6));var _0x2e25=function(_0x487b0c,_0x14ff74){_0x487b0c=_0x487b0c-0x0;var _0x1adbdc=_0xe252[_0x487b0c];return _0x1adbdc;};'use strict';var _=require(_0x2e25('0x0'));var util=require('util');var logger=require(_0x2e25('0x1'))(_0x2e25('0x2'));var moment=require(_0x2e25('0x3'));var BPromise=require('bluebird');var rp=require(_0x2e25('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2e25('0x5'));var config=require(_0x2e25('0x6'));var attributes=require(_0x2e25('0x7'));var integrations=require(_0x2e25('0x8'));module[_0x2e25('0x9')]=function(_0x746703,_0x13852c){return _0x746703[_0x2e25('0xa')]('DeskAccount',attributes,{'tableName':_0x2e25('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};