Built motion from commit 97153652.|2.6.26
[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 _0xa1a7=['exports','DeskAccount','lodash','util','moment','bluebird','request-promise','path','./intDeskAccount.attributes','../../components/integrations/configuration'];(function(_0x4fc9e6,_0xc51915){var _0x551d28=function(_0x1a603b){while(--_0x1a603b){_0x4fc9e6['push'](_0x4fc9e6['shift']());}};_0x551d28(++_0xc51915);}(_0xa1a7,0xb6));var _0x7a1a=function(_0x38e8b0,_0x5b8cb5){_0x38e8b0=_0x38e8b0-0x0;var _0x139697=_0xa1a7[_0x38e8b0];return _0x139697;};'use strict';var _=require(_0x7a1a('0x0'));var util=require(_0x7a1a('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x7a1a('0x2'));var BPromise=require(_0x7a1a('0x3'));var rp=require(_0x7a1a('0x4'));var fs=require('fs');var path=require(_0x7a1a('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x7a1a('0x6'));var integrations=require(_0x7a1a('0x7'));module[_0x7a1a('0x8')]=function(_0x2d2c74,_0x4530ea){return _0x2d2c74['define'](_0x7a1a('0x9'),attributes,{'tableName':'int_desk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};