1536d863d01e96ef6e20f757a1258810d5178b6e
[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 _0x47e7=['lodash','../../config/logger','api','bluebird','request-promise','path','rimraf','./intDeskAccount.attributes','../../components/integrations/configuration','define','DeskAccount','int_desk_accounts'];(function(_0x42b4a7,_0x46bfd2){var _0x36bb5e=function(_0x1295e4){while(--_0x1295e4){_0x42b4a7['push'](_0x42b4a7['shift']());}};_0x36bb5e(++_0x46bfd2);}(_0x47e7,0xe4));var _0x747e=function(_0x62d40f,_0x149b3d){_0x62d40f=_0x62d40f-0x0;var _0xe3c339=_0x47e7[_0x62d40f];return _0xe3c339;};'use strict';var _=require(_0x747e('0x0'));var util=require('util');var logger=require(_0x747e('0x1'))(_0x747e('0x2'));var moment=require('moment');var BPromise=require(_0x747e('0x3'));var rp=require(_0x747e('0x4'));var fs=require('fs');var path=require(_0x747e('0x5'));var rimraf=require(_0x747e('0x6'));var config=require('../../config/environment');var attributes=require(_0x747e('0x7'));var integrations=require(_0x747e('0x8'));module['exports']=function(_0x5e8e45,_0x5d9437){return _0x5e8e45[_0x747e('0x9')](_0x747e('0xa'),attributes,{'tableName':_0x747e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};