901bcb92df393fbd3bb4a2fb3377963debac9c7e
[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 _0x19ae=['rimraf','../../config/environment','DeskAccount','lodash','moment','bluebird','request-promise'];(function(_0xb3b452,_0x582e8e){var _0x238983=function(_0x3bc866){while(--_0x3bc866){_0xb3b452['push'](_0xb3b452['shift']());}};_0x238983(++_0x582e8e);}(_0x19ae,0xff));var _0xe19a=function(_0xf38945,_0x32ab08){_0xf38945=_0xf38945-0x0;var _0x1dfd54=_0x19ae[_0xf38945];return _0x1dfd54;};'use strict';var _=require(_0xe19a('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xe19a('0x1'));var BPromise=require(_0xe19a('0x2'));var rp=require(_0xe19a('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe19a('0x4'));var config=require(_0xe19a('0x5'));var attributes=require('./intDeskAccount.attributes');var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x3eeec0,_0xa4f815){return _0x3eeec0['define'](_0xe19a('0x6'),attributes,{'tableName':'int_desk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};