cb63907f8ff4cc85b8a089ad19495049d71a9bba
[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 _0xde2f=['../../components/integrations/configuration','exports','define','lodash','util','api','moment','request-promise','rimraf','../../config/environment','./intDeskAccount.attributes'];(function(_0x114be8,_0x323182){var _0x89020c=function(_0x30a38a){while(--_0x30a38a){_0x114be8['push'](_0x114be8['shift']());}};_0x89020c(++_0x323182);}(_0xde2f,0x92));var _0xfde2=function(_0x1c31dc,_0x2a8ca8){_0x1c31dc=_0x1c31dc-0x0;var _0x14c76e=_0xde2f[_0x1c31dc];return _0x14c76e;};'use strict';var _=require(_0xfde2('0x0'));var util=require(_0xfde2('0x1'));var logger=require('../../config/logger')(_0xfde2('0x2'));var moment=require(_0xfde2('0x3'));var BPromise=require('bluebird');var rp=require(_0xfde2('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfde2('0x5'));var config=require(_0xfde2('0x6'));var attributes=require(_0xfde2('0x7'));var integrations=require(_0xfde2('0x8'));module[_0xfde2('0x9')]=function(_0x3ec0b8,_0x4ebd66){return _0x3ec0b8[_0xfde2('0xa')]('DeskAccount',attributes,{'tableName':'int_desk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};