c5485852aaf82dc9ce73bf75117b39bd4a614776
[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 _0x15c2=['./intDeskAccount.attributes','../../components/integrations/configuration','define','DeskAccount','int_desk_accounts','util','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x2bb3e2,_0x3e6219){var _0x582650=function(_0x1a334d){while(--_0x1a334d){_0x2bb3e2['push'](_0x2bb3e2['shift']());}};_0x582650(++_0x3e6219);}(_0x15c2,0x191));var _0x215c=function(_0x485666,_0x3e8d2f){_0x485666=_0x485666-0x0;var _0x932e40=_0x15c2[_0x485666];return _0x932e40;};'use strict';var _=require('lodash');var util=require(_0x215c('0x0'));var logger=require('../../config/logger')(_0x215c('0x1'));var moment=require(_0x215c('0x2'));var BPromise=require(_0x215c('0x3'));var rp=require(_0x215c('0x4'));var fs=require('fs');var path=require(_0x215c('0x5'));var rimraf=require(_0x215c('0x6'));var config=require('../../config/environment');var attributes=require(_0x215c('0x7'));var integrations=require(_0x215c('0x8'));module['exports']=function(_0x48932f,_0x5882d9){return _0x48932f[_0x215c('0x9')](_0x215c('0xa'),attributes,{'tableName':_0x215c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};