Built motion from commit 3e059bc2.|2.5.32
[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 _0x9e7f=['rimraf','../../config/environment','../../components/integrations/configuration','DeskAccount','int_desk_accounts','lodash','util','api','moment','bluebird','request-promise'];(function(_0x5b561d,_0x422b7c){var _0x431060=function(_0x401409){while(--_0x401409){_0x5b561d['push'](_0x5b561d['shift']());}};_0x431060(++_0x422b7c);}(_0x9e7f,0x7e));var _0xf9e7=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x9e7f[_0x2dafbe];return _0x58a45a;};'use strict';var _=require(_0xf9e7('0x0'));var util=require(_0xf9e7('0x1'));var logger=require('../../config/logger')(_0xf9e7('0x2'));var moment=require(_0xf9e7('0x3'));var BPromise=require(_0xf9e7('0x4'));var rp=require(_0xf9e7('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf9e7('0x6'));var config=require(_0xf9e7('0x7'));var attributes=require('./intDeskAccount.attributes');var integrations=require(_0xf9e7('0x8'));module['exports']=function(_0x551092,_0x24ebbf){return _0x551092['define'](_0xf9e7('0x9'),attributes,{'tableName':_0xf9e7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};