Built motion from commit 47436d59.|2.6.7
[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 _0x4011=['../../config/logger','api','moment','bluebird','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','exports','define','lodash','util'];(function(_0x17cb63,_0x4c0e90){var _0x4340bc=function(_0x364807){while(--_0x364807){_0x17cb63['push'](_0x17cb63['shift']());}};_0x4340bc(++_0x4c0e90);}(_0x4011,0x18a));var _0x1401=function(_0x1d2c4a,_0x54c283){_0x1d2c4a=_0x1d2c4a-0x0;var _0x23e15d=_0x4011[_0x1d2c4a];return _0x23e15d;};'use strict';var _=require(_0x1401('0x0'));var util=require(_0x1401('0x1'));var logger=require(_0x1401('0x2'))(_0x1401('0x3'));var moment=require(_0x1401('0x4'));var BPromise=require(_0x1401('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x1401('0x6'));var attributes=require(_0x1401('0x7'));var integrations=require(_0x1401('0x8'));module[_0x1401('0x9')]=function(_0x31129d,_0x4774e1){return _0x31129d[_0x1401('0xa')]('DeskAccount',attributes,{'tableName':'int_desk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};