Built motion from commit (unavailable).|2.5.4
[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 _0xa748=['exports','define','DeskAccount','lodash','api','request-promise','rimraf','../../components/integrations/configuration'];(function(_0x311909,_0x414bf7){var _0x8d3163=function(_0x226f55){while(--_0x226f55){_0x311909['push'](_0x311909['shift']());}};_0x8d3163(++_0x414bf7);}(_0xa748,0x15b));var _0x8a74=function(_0x293036,_0xe496cf){_0x293036=_0x293036-0x0;var _0x502667=_0xa748[_0x293036];return _0x502667;};'use strict';var _=require(_0x8a74('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x8a74('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x8a74('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8a74('0x3'));var config=require('../../config/environment');var attributes=require('./intDeskAccount.attributes');var integrations=require(_0x8a74('0x4'));module[_0x8a74('0x5')]=function(_0x3fc182,_0x50cb47){return _0x3fc182[_0x8a74('0x6')](_0x8a74('0x7'),attributes,{'tableName':'int_desk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};