4e01b720cadc5dfc9d0166404d16700efa9344b7
[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 _0x3a87=['../../components/integrations/configuration','exports','int_desk_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intDeskAccount.attributes'];(function(_0x186376,_0x5d988a){var _0x2dbdd9=function(_0x96908e){while(--_0x96908e){_0x186376['push'](_0x186376['shift']());}};_0x2dbdd9(++_0x5d988a);}(_0x3a87,0x161));var _0x73a8=function(_0x284885,_0x34b143){_0x284885=_0x284885-0x0;var _0x3a9710=_0x3a87[_0x284885];return _0x3a9710;};'use strict';var _=require(_0x73a8('0x0'));var util=require(_0x73a8('0x1'));var logger=require(_0x73a8('0x2'))(_0x73a8('0x3'));var moment=require(_0x73a8('0x4'));var BPromise=require(_0x73a8('0x5'));var rp=require(_0x73a8('0x6'));var fs=require('fs');var path=require(_0x73a8('0x7'));var rimraf=require(_0x73a8('0x8'));var config=require(_0x73a8('0x9'));var attributes=require(_0x73a8('0xa'));var integrations=require(_0x73a8('0xb'));module[_0x73a8('0xc')]=function(_0x444018,_0x59f844){return _0x444018['define']('DeskAccount',attributes,{'tableName':_0x73a8('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};