c3d6c6876e8ffb336c666aeff44f4b8472d1a39c
[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 _0x0842=['util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intDeskAccount.attributes','exports','DeskAccount','int_desk_accounts'];(function(_0x1103e2,_0x457108){var _0x236611=function(_0xb4e08e){while(--_0xb4e08e){_0x1103e2['push'](_0x1103e2['shift']());}};_0x236611(++_0x457108);}(_0x0842,0x90));var _0x2084=function(_0x2d7cca,_0x104977){_0x2d7cca=_0x2d7cca-0x0;var _0x347b84=_0x0842[_0x2d7cca];return _0x347b84;};'use strict';var _=require('lodash');var util=require(_0x2084('0x0'));var logger=require(_0x2084('0x1'))('api');var moment=require(_0x2084('0x2'));var BPromise=require(_0x2084('0x3'));var rp=require(_0x2084('0x4'));var fs=require('fs');var path=require(_0x2084('0x5'));var rimraf=require(_0x2084('0x6'));var config=require(_0x2084('0x7'));var attributes=require(_0x2084('0x8'));var integrations=require('../../components/integrations/configuration');module[_0x2084('0x9')]=function(_0x44de6a,_0x273ed6){return _0x44de6a['define'](_0x2084('0xa'),attributes,{'tableName':_0x2084('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};