e37e1b9c28d9bc9bf02869c0dfda5bf0a32c5875
[motion2.git] / server / api / intVtigerAccount / intVtigerAccount.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 _0x2610=['../../components/integrations/configuration','exports','define','VtigerAccount','int_vtiger_accounts','lodash','util','../../config/logger','api','moment','path','rimraf','../../config/environment','./intVtigerAccount.attributes'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0x2610,0x1e1));var _0x0261=function(_0x2008ee,_0xe5f904){_0x2008ee=_0x2008ee-0x0;var _0x25dede=_0x2610[_0x2008ee];return _0x25dede;};'use strict';var _=require(_0x0261('0x0'));var util=require(_0x0261('0x1'));var logger=require(_0x0261('0x2'))(_0x0261('0x3'));var moment=require(_0x0261('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x0261('0x5'));var rimraf=require(_0x0261('0x6'));var config=require(_0x0261('0x7'));var attributes=require(_0x0261('0x8'));var integrations=require(_0x0261('0x9'));module[_0x0261('0xa')]=function(_0x502e65,_0x38d916){return _0x502e65[_0x0261('0xb')](_0x0261('0xc'),attributes,{'tableName':_0x0261('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};