Built motion from commit (unavailable).|2.4.18
[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 _0xe1eb=['util','../../config/logger','api','moment','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','exports','define','DeskAccount','int_desk_accounts','lodash'];(function(_0x76f50b,_0x2bf5d1){var _0x4c56fc=function(_0x291787){while(--_0x291787){_0x76f50b['push'](_0x76f50b['shift']());}};_0x4c56fc(++_0x2bf5d1);}(_0xe1eb,0x173));var _0xbe1e=function(_0xfd2dd2,_0x41e8d6){_0xfd2dd2=_0xfd2dd2-0x0;var _0x3f28f1=_0xe1eb[_0xfd2dd2];return _0x3f28f1;};'use strict';var _=require(_0xbe1e('0x0'));var util=require(_0xbe1e('0x1'));var logger=require(_0xbe1e('0x2'))(_0xbe1e('0x3'));var moment=require(_0xbe1e('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xbe1e('0x5'));var attributes=require(_0xbe1e('0x6'));var integrations=require(_0xbe1e('0x7'));module[_0xbe1e('0x8')]=function(_0x5ca169,_0x319992){return _0x5ca169[_0xbe1e('0x9')](_0xbe1e('0xa'),attributes,{'tableName':_0xbe1e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};