f02d96b3b9a7445af8aa0955c916722a8c30f620
[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 _0x6e17=['../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intVtigerAccount.attributes','../../components/integrations/configuration','exports','define','int_vtiger_accounts','util'];(function(_0xb22e94,_0xc843c6){var _0xcaada6=function(_0x52cb50){while(--_0x52cb50){_0xb22e94['push'](_0xb22e94['shift']());}};_0xcaada6(++_0xc843c6);}(_0x6e17,0x1ed));var _0x76e1=function(_0x524021,_0x25d5ea){_0x524021=_0x524021-0x0;var _0x269c3e=_0x6e17[_0x524021];return _0x269c3e;};'use strict';var _=require('lodash');var util=require(_0x76e1('0x0'));var logger=require(_0x76e1('0x1'))('api');var moment=require(_0x76e1('0x2'));var BPromise=require(_0x76e1('0x3'));var rp=require(_0x76e1('0x4'));var fs=require('fs');var path=require(_0x76e1('0x5'));var rimraf=require(_0x76e1('0x6'));var config=require(_0x76e1('0x7'));var attributes=require(_0x76e1('0x8'));var integrations=require(_0x76e1('0x9'));module[_0x76e1('0xa')]=function(_0x41d5dc,_0x5e844c){return _0x41d5dc[_0x76e1('0xb')]('VtigerAccount',attributes,{'tableName':_0x76e1('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};