Built motion from commit 936e8062.|2.5.33
[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 _0x4852=['int_desk_accounts','util','moment','bluebird','request-promise','rimraf','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','define','DeskAccount'];(function(_0x54e9db,_0xa43aea){var _0x5a3fed=function(_0x5a285a){while(--_0x5a285a){_0x54e9db['push'](_0x54e9db['shift']());}};_0x5a3fed(++_0xa43aea);}(_0x4852,0x85));var _0x2485=function(_0x198340,_0x1308eb){_0x198340=_0x198340-0x0;var _0x4bb14b=_0x4852[_0x198340];return _0x4bb14b;};'use strict';var _=require('lodash');var util=require(_0x2485('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x2485('0x1'));var BPromise=require(_0x2485('0x2'));var rp=require(_0x2485('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2485('0x4'));var config=require(_0x2485('0x5'));var attributes=require(_0x2485('0x6'));var integrations=require(_0x2485('0x7'));module['exports']=function(_0x306e59,_0x4ca5fd){return _0x306e59[_0x2485('0x8')](_0x2485('0x9'),attributes,{'tableName':_0x2485('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};