Built motion from commit (unavailable).|2.5.12
[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 _0xbd53=['api','moment','bluebird','request-promise','rimraf','./intDeskAccount.attributes','../../components/integrations/configuration','DeskAccount','int_desk_accounts','lodash','util'];(function(_0x81e39d,_0x4c3934){var _0x548fbb=function(_0x1adda5){while(--_0x1adda5){_0x81e39d['push'](_0x81e39d['shift']());}};_0x548fbb(++_0x4c3934);}(_0xbd53,0x1cc));var _0x3bd5=function(_0x3b4efc,_0xf130a6){_0x3b4efc=_0x3b4efc-0x0;var _0x174a78=_0xbd53[_0x3b4efc];return _0x174a78;};'use strict';var _=require(_0x3bd5('0x0'));var util=require(_0x3bd5('0x1'));var logger=require('../../config/logger')(_0x3bd5('0x2'));var moment=require(_0x3bd5('0x3'));var BPromise=require(_0x3bd5('0x4'));var rp=require(_0x3bd5('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3bd5('0x6'));var config=require('../../config/environment');var attributes=require(_0x3bd5('0x7'));var integrations=require(_0x3bd5('0x8'));module['exports']=function(_0x38a805,_0x57559f){return _0x38a805['define'](_0x3bd5('0x9'),attributes,{'tableName':_0x3bd5('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};