e659e4acdd5df31824aaff27521b81ee5afb4ea9
[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 _0xb38a=['../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','exports','DeskAccount','int_desk_accounts','util'];(function(_0x2aa1d8,_0x383a76){var _0x4b96ec=function(_0x55e260){while(--_0x55e260){_0x2aa1d8['push'](_0x2aa1d8['shift']());}};_0x4b96ec(++_0x383a76);}(_0xb38a,0x1e0));var _0xab38=function(_0x3147ec,_0x19663e){_0x3147ec=_0x3147ec-0x0;var _0x47886d=_0xb38a[_0x3147ec];return _0x47886d;};'use strict';var _=require('lodash');var util=require(_0xab38('0x0'));var logger=require(_0xab38('0x1'))(_0xab38('0x2'));var moment=require(_0xab38('0x3'));var BPromise=require(_0xab38('0x4'));var rp=require(_0xab38('0x5'));var fs=require('fs');var path=require(_0xab38('0x6'));var rimraf=require('rimraf');var config=require(_0xab38('0x7'));var attributes=require(_0xab38('0x8'));var integrations=require(_0xab38('0x9'));module[_0xab38('0xa')]=function(_0x79e138,_0x4c8344){return _0x79e138['define'](_0xab38('0xb'),attributes,{'tableName':_0xab38('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};