Built motion from commit dbf3a7e2.|2.6.30
[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 _0x343e=['DeskAccount','int_desk_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','define'];(function(_0x243a4e,_0x9d5cb){var _0x5dcc61=function(_0x24ee88){while(--_0x24ee88){_0x243a4e['push'](_0x243a4e['shift']());}};_0x5dcc61(++_0x9d5cb);}(_0x343e,0xfe));var _0xe343=function(_0xe65d6e,_0x35f50d){_0xe65d6e=_0xe65d6e-0x0;var _0x1042ed=_0x343e[_0xe65d6e];return _0x1042ed;};'use strict';var _=require(_0xe343('0x0'));var util=require(_0xe343('0x1'));var logger=require(_0xe343('0x2'))(_0xe343('0x3'));var moment=require(_0xe343('0x4'));var BPromise=require(_0xe343('0x5'));var rp=require(_0xe343('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe343('0x7'));var config=require(_0xe343('0x8'));var attributes=require(_0xe343('0x9'));var integrations=require(_0xe343('0xa'));module['exports']=function(_0xd6d374,_0x154293){return _0xd6d374[_0xe343('0xb')](_0xe343('0xc'),attributes,{'tableName':_0xe343('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};